@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
@@ -1 +1 @@
1
- {"version":3,"file":"AccordionItem.js","sourceRoot":"","sources":["../../../src/components/Accordion/AccordionItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAG9C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAKpD,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAAqB,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE;IAClF,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IACxD,MAAM,UAAU,GAAG,MAAM,EAAE,MAAM,CAAC;IAClC,MAAM,IAAI,GAAG,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,UAAU,CAAC;IAEjD,MAAM,YAAY,GAAG,CAAC,CAAa,EAAE,EAAE;QACrC,IAAI,CAAC,UAAU,EAAE;YACf,OAAO;SACR;QAED,WAAW,CAAC,CAAC,QAAQ,CAAC,CAAC;QACvB,MAAM,YAAY,GAAG,eAAe,CAAC,CAAC,CAAC,CAAC;QACxC,YAAY,CAAC,KAAK,CAAC,SAAS,GAAG,YAAY,CAAC,KAAK,CAAC,SAAS;YACzD,CAAC,CAAC,IAAI;YACN,CAAC,CAAC,GAAG,YAAY,CAAC,YAAY,IAAI,CAAC;IACvC,CAAC,CAAC;IAEF,OAAO,CACL,cAAI,SAAS,EAAC,oEAAoE,aAChF,kBACE,SAAS,EAAE;UACT,UAAU,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,EAAE,EAAE,EAC5C,OAAO,EAAE,YAAY,aAErB,eACE,SAAS,EAAE,kCACT,UAAU,CAAC,CAAC,CAAC,+BAA+B,CAAC,CAAC,CAAC,EACjD,EAAE,YAED,KAAK,GACD,EACN,UAAU,CAAC,CAAC,CAAC,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,IACzD,EACR,UAAU,CAAC,CAAC,CAAC,CACZ,cACE,SAAS,EAAE,GACT,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EACtB,oFAAoF,YAEnF,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,KAAK,EAAE,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,GAC7E,CACP,CAAC,CAAC,CAAC,IAAI,IACL,CACN,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,WAAW,GAAG,CAAC,KAA0B,EAAE,CAAS,EAAE,OAA2B,EAAE,EAAE;IACzF,MAAM,IAAI,GAAG,KAAK,EAAE,kBAAkB,CAAC;IACvC,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,IAAI,IAAI,eAAe,CAAC,EAAE;QACvC,OAAO,IAAI,CAAC;KACb;IAED,MAAM,cAAc,GAAa,eAAe,CAAC,IAAI,CAAC,CAAC;IACvD,OAAO,CACL,cAAK,SAAS,EAAC,gBAAgB,YAC7B,KAAC,cAAc,IAAC,OAAO,EAAE,OAAO,KAAM,KAAK,GAAI,IADZ,SAAS,CAAC,EAAE,CAE3C,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CACrC,MAAM,CAAC,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,WAAW,CAAC"}
1
+ {"version":3,"file":"AccordionItem.js","sourceRoot":"","sources":["../../../src/components/Accordion/AccordionItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAI1D,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAAqB,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE;IAClF,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,eAAe,CAAC;QACzD,OAAO;QACP,MAAM;KACP,CAAC,CAAC;IAEH,OAAO,CACL,cAAI,SAAS,EAAC,oEAAoE,aAChF,kBACE,SAAS,EAAE;UACT,UAAU,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,EAAE,EAAE,EAC5C,OAAO,EAAE,YAAY,aAErB,eACE,SAAS,EAAE,8BACT,UAAU,CAAC,CAAC,CAAC,+BAA+B,CAAC,CAAC,CAAC,EACjD,EAAE,YAED,KAAK,GACD,EACN,UAAU,CAAC,CAAC,CAAC,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,IACzD,EACR,UAAU,CAAC,CAAC,CAAC,KAAC,kBAAkB,IAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAI,CAAC,CAAC,CAAC,IAAI,IAC1E,CACN,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { UniBlockProps } from '../../types';
2
+ import type { AccordionItemCommonProps } from './AccordionContent';
3
+ export interface AccordionItemProps extends AccordionItemCommonProps, UniBlockProps {
4
+ }
5
+ export declare const AccordionItem: (props: import("@redneckz/uni-jsx").PropsWithChildren<AccordionItemProps, any>, context?: any) => any;
@@ -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
+ import { Icon } from '../../ui-kit/Icon/Icon.js';
4
+ import { AccordionItemInner } from './AccordionItemInner.js';
5
+ import { isActiveHandler } from './utils/isActiveHandler.js';
6
+ export const AccordionItem = JSX(({ label, blocks, bordered, context }) => {
7
+ const { hasContent, icon, handleToggle } = isActiveHandler({
8
+ context,
9
+ blocks,
10
+ });
11
+ return (_jsxs("li", { className: `${bordered ? 'border p-4 rounded mb-4' : 'border-0 border-b last:border-b-0 py-[14px]'} border-solid border-main-divider`, children: [_jsxs("button", { className: `border-none bg-transparent flex justify-between text-left w-full font-sans text-primary-text
12
+ ${hasContent ? 'group cursor-pointer' : ''}`, onClick: handleToggle, children: [_jsx("span", { className: `text-m-title-xs pr-2.5 font-medium ${hasContent ? 'group-hover:text-primary-main' : ''}`, children: label }), hasContent ? _jsx(Icon, { name: icon, width: "24", height: "24" }) : null] }), hasContent ? _jsx(AccordionItemInner, { blocks: blocks, context: context }) : null] }));
13
+ });
14
+ //# sourceMappingURL=AccordionItem.mobile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccordionItem.mobile.js","sourceRoot":"","sources":["../../../src/components/Accordion/AccordionItem.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAI1D,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAAqB,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;IAC5F,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,eAAe,CAAC;QACzD,OAAO;QACP,MAAM;KACP,CAAC,CAAC;IAEH,OAAO,CACL,cACE,SAAS,EAAE,GACT,QAAQ,CAAC,CAAC,CAAC,yBAAyB,CAAC,CAAC,CAAC,6CACzC,mCAAmC,aAEnC,kBACE,SAAS,EAAE;UACT,UAAU,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,EAAE,EAAE,EAC5C,OAAO,EAAE,YAAY,aAErB,eACE,SAAS,EAAE,sCACT,UAAU,CAAC,CAAC,CAAC,+BAA+B,CAAC,CAAC,CAAC,EACjD,EAAE,YAED,KAAK,GACD,EACN,UAAU,CAAC,CAAC,CAAC,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,IACzD,EACR,UAAU,CAAC,CAAC,CAAC,KAAC,kBAAkB,IAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAI,CAAC,CAAC,CAAC,IAAI,IAC1E,CACN,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { AccordionItemProps } from './AccordionItem';
2
+ export declare const AccordionItemInner: (props: import("@redneckz/uni-jsx").PropsWithChildren<AccordionItemProps, any>, context?: any) => any;
@@ -0,0 +1,15 @@
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ import { AccordionBlocks } from './AccordionBlocks.js';
4
+ export const AccordionItemInner = JSX(({ blocks, context }) => {
5
+ return (_jsx("div", { className: 'transition-all duration-300 max-h-0 overflow-hidden group-last:last:pb-0', children: blocks?.length ? blocks.map(renderBlock(context)) : null }));
6
+ });
7
+ const renderBlock = (context) => (block, i) => {
8
+ const type = block?.accordionBlockType;
9
+ if (!type || !(type in AccordionBlocks)) {
10
+ return null;
11
+ }
12
+ const AccordionBlock = AccordionBlocks[type];
13
+ return (_jsx("div", { className: "mb-5 last:mb-0 pb-5", children: _jsx(AccordionBlock, { context: context, ...block, className: "!p-0" }) }, `block_${i}`));
14
+ };
15
+ //# sourceMappingURL=AccordionItemInner.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccordionItemInner.js","sourceRoot":"","sources":["../../../src/components/Accordion/AccordionItemInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAIpD,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAqB,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE;IAChF,OAAO,CACL,cAAK,SAAS,EAAE,0EAA0E,YACvF,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,GACrD,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,WAAW,GAAG,CAAC,OAA2B,EAAE,EAAE,CAAC,CAAC,KAA0B,EAAE,CAAS,EAAE,EAAE;IAC7F,MAAM,IAAI,GAAG,KAAK,EAAE,kBAAkB,CAAC;IACvC,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,IAAI,IAAI,eAAe,CAAC,EAAE;QACvC,OAAO,IAAI,CAAC;KACb;IAED,MAAM,cAAc,GAAa,eAAe,CAAC,IAAI,CAAC,CAAC;IACvD,OAAO,CACL,cAAK,SAAS,EAAC,qBAAqB,YAClC,KAAC,cAAc,IAAC,OAAO,EAAE,OAAO,KAAM,KAAK,EAAE,SAAS,EAAC,MAAM,GAAG,IADxB,SAAS,CAAC,EAAE,CAEhD,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { AccordionItemProps } from './AccordionItem';
2
+ export declare const AccordionItemInner: (props: import("@redneckz/uni-jsx").PropsWithChildren<AccordionItemProps, any>, context?: any) => any;
@@ -0,0 +1,15 @@
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ import { AccordionBlocks } from './AccordionBlocks.js';
4
+ export const AccordionItemInner = JSX(({ blocks, context }) => {
5
+ return (_jsx("div", { className: `transition-all duration-300 max-h-0 overflow-hidden group-last:last:pb-0 `, children: blocks?.length ? blocks.map(renderBlock(context)) : null }));
6
+ });
7
+ const renderBlock = (context) => (block, i) => {
8
+ const type = block?.accordionBlockType;
9
+ if (!type || !(type in AccordionBlocks)) {
10
+ return null;
11
+ }
12
+ const AccordionBlock = AccordionBlocks[type];
13
+ return (_jsx("div", { className: "mb-5 last:mb-0 py-2.5", children: _jsx(AccordionBlock, { context: context, ...block, className: "!p-0" }) }, `block_${i}`));
14
+ };
15
+ //# sourceMappingURL=AccordionItemInner.mobile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccordionItemInner.mobile.js","sourceRoot":"","sources":["../../../src/components/Accordion/AccordionItemInner.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAIpD,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAqB,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE;IAChF,OAAO,CACL,cAAK,SAAS,EAAE,2EAA2E,YACxF,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,GACrD,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,WAAW,GAAG,CAAC,OAA2B,EAAE,EAAE,CAAC,CAAC,KAA0B,EAAE,CAAS,EAAE,EAAE;IAC7F,MAAM,IAAI,GAAG,KAAK,EAAE,kBAAkB,CAAC;IACvC,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,IAAI,IAAI,eAAe,CAAC,EAAE;QACvC,OAAO,IAAI,CAAC;KACb;IAED,MAAM,cAAc,GAAa,eAAe,CAAC,IAAI,CAAC,CAAC;IACvD,OAAO,CACL,cAAK,SAAS,EAAC,uBAAuB,YACpC,KAAC,cAAc,IAAC,OAAO,EAAE,OAAO,KAAM,KAAK,EAAE,SAAS,EAAC,MAAM,GAAG,IADtB,SAAS,CAAC,EAAE,CAElD,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,9 @@
1
+ export declare const isActiveHandler: ({ context, blocks }: {
2
+ context: any;
3
+ blocks: any;
4
+ }) => {
5
+ isActive: any;
6
+ hasContent: any;
7
+ icon: "MinusIcon" | "PlusIcon";
8
+ handleToggle: (e: MouseEvent) => void;
9
+ };
@@ -0,0 +1,18 @@
1
+ export const isActiveHandler = ({ context, blocks }) => {
2
+ const [isActive, setIsActive] = context.useState(false);
3
+ const hasContent = blocks?.length;
4
+ const icon = isActive ? 'MinusIcon' : 'PlusIcon';
5
+ const getContentBlock = ({ target }) => target.tagName === 'BUTTON' ? target.nextSibling : target.parentNode.nextSibling;
6
+ const handleToggle = (e) => {
7
+ if (!hasContent) {
8
+ return;
9
+ }
10
+ setIsActive(!isActive);
11
+ const contentBlock = getContentBlock(e);
12
+ contentBlock.style.maxHeight = contentBlock.style.maxHeight
13
+ ? null
14
+ : `${contentBlock.scrollHeight}px`;
15
+ };
16
+ return { isActive, hasContent, icon, handleToggle };
17
+ };
18
+ //# sourceMappingURL=isActiveHandler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isActiveHandler.js","sourceRoot":"","sources":["../../../../src/components/Accordion/utils/isActiveHandler.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE;IACrD,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IACxD,MAAM,UAAU,GAAG,MAAM,EAAE,MAAM,CAAC;IAClC,MAAM,IAAI,GAAa,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,UAAU,CAAC;IAE3D,MAAM,eAAe,GAAG,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CACrC,MAAM,CAAC,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,WAAW,CAAC;IAEnF,MAAM,YAAY,GAAG,CAAC,CAAa,EAAE,EAAE;QACrC,IAAI,CAAC,UAAU,EAAE;YACf,OAAO;SACR;QAED,WAAW,CAAC,CAAC,QAAQ,CAAC,CAAC;QACvB,MAAM,YAAY,GAAG,eAAe,CAAC,CAAC,CAAC,CAAC;QACxC,YAAY,CAAC,KAAK,CAAC,SAAS,GAAG,YAAY,CAAC,KAAK,CAAC,SAAS;YACzD,CAAC,CAAC,IAAI;YACN,CAAC,CAAC,GAAG,YAAY,CAAC,YAAY,IAAI,CAAC;IACvC,CAAC,CAAC;IAEF,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;AACtD,CAAC,CAAC"}
@@ -1,39 +1,10 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- import { useLink } from '../../hooks/useLink.js';
4
- import { BlockItem } from '../../ui-kit/BlockItem/BlockItem.js';
5
- import { Button } from '../../ui-kit/Button/Button.js';
6
- import { Icon } from '../../ui-kit/Icon/Icon.js';
7
- import { Img } from '../../ui-kit/Img.js';
8
3
  import { Title } from '../../ui-kit/Title/Title.js';
9
- import { getColSpan } from '../../utils/getColSpan.js';
4
+ import { BaseTileInner } from './BaseTileInner.js';
5
+ import { getTitleSizeByClassName } from './getTitleSizeByClassName.js';
10
6
  const TITLE_CLASSES = 'font-medium m-0 whitespace-pre-wrap max-w-[600px]';
11
7
  export const BaseTile = JSX(({ className, context, title, titleSize, description, children, buttons, image, items, version = 'primary', }) => {
12
- const router = context.useRouter();
13
- const { handlerDecorator } = context;
14
- return (_jsxs("div", { className: `font-sans flex flex-col grow h-full items-start`, children: [title && (_jsx(Title, { size: getTitleSize(titleSize, className), className: `${TITLE_CLASSES} ${version === 'primary' ? 'text-primary-text' : ''}`, children: title })), _jsxs("div", { className: "flex grow w-full justify-between", children: [_jsxs("div", { className: "flex flex-col justify-between items-start", children: [_jsxs("div", { children: [description && (_jsx("div", { className: `font-normal text-base mt-4 max-w-[600px]`, children: description })), children, items?.length ? renderItems(items, version) : null] }), buttons?.length ? (_jsx("div", { className: "flex mt-9 gap-3", children: buttons.map((button, index) => renderButton(useLink({ router, handlerDecorator }, button), index)) })) : null] }), image?.src && _jsx(Img, { className: "mt-auto ml-7", image: image })] })] }));
8
+ return (_jsxs("div", { className: `font-sans flex flex-col grow h-full items-start`, children: [title && (_jsx(Title, { size: titleSize || getTitleSizeByClassName(className), className: `${TITLE_CLASSES} ${version === 'primary' ? 'text-primary-text' : ''}`, children: title })), _jsx(BaseTileInner, { context: context, buttons: buttons, image: image, children: children, description: description, items: items })] }));
15
9
  });
16
- function getTitleSize(titleSize, className = '') {
17
- if (titleSize) {
18
- return titleSize;
19
- }
20
- const colSpan = getColSpan(className);
21
- if (colSpan <= 4) {
22
- return 'S';
23
- }
24
- else if (colSpan <= 8) {
25
- return 'M';
26
- }
27
- else {
28
- return 'L';
29
- }
30
- }
31
- function renderItems(items = [], version) {
32
- return (_jsx("section", { className: "max-w-[600px] mt-5", role: "list", children: items.map((_, i) => (_jsx(BlockItem, { className: i ? 'mt-2.5' : '', text: _, white: version !== 'primary' }, String(i)))) }));
33
- }
34
- function renderButton({ icon, asSVG, ...button }, i) {
35
- if (!button?.text)
36
- return;
37
- return icon ? (_jsx(Button, { appendLeft: _jsx(Icon, { name: icon, asSVG: asSVG, width: "24", height: "24" }), ...button }, String(i))) : (_jsx(Button, { ...button }, String(i)));
38
- }
39
10
  //# sourceMappingURL=BaseTile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BaseTile.js","sourceRoot":"","sources":["../../../src/components/BaseTile/BaseTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAG9C,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAKpD,MAAM,aAAa,GAAG,mDAAmD,CAAC;AAE1E,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CACzB,CAAC,EACC,SAAS,EACT,OAAO,EACP,KAAK,EACL,SAAS,EACT,WAAW,EACX,QAAQ,EACR,OAAO,EACP,KAAK,EACL,KAAK,EACL,OAAO,GAAG,SAAS,GACpB,EAAE,EAAE;IACH,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IACnC,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IACrC,OAAO,CACL,eAAK,SAAS,EAAE,iDAAiD,aAC9D,KAAK,IAAI,CACR,KAAC,KAAK,IACJ,IAAI,EAAE,YAAY,CAAC,SAAS,EAAE,SAAS,CAAC,EACxC,SAAS,EAAE,GAAG,aAAa,IAAI,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,EAAE,YAEhF,KAAK,GACA,CACT,EACD,eAAK,SAAS,EAAC,kCAAkC,aAC/C,eAAK,SAAS,EAAC,2CAA2C,aACxD,0BACG,WAAW,IAAI,CACd,cAAK,SAAS,EAAE,0CAA0C,YAAG,WAAW,GAAO,CAChF,EACA,QAAQ,EACR,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,IAC/C,EACL,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CACjB,cAAK,SAAS,EAAC,iBAAiB,YAC7B,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,IACJ,EACL,KAAK,EAAE,GAAG,IAAI,KAAC,GAAG,IAAC,SAAS,EAAC,cAAc,EAAC,KAAK,EAAE,KAAK,GAAI,IACzD,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,SAAS,YAAY,CAAC,SAAS,EAAE,SAAS,GAAG,EAAE;IAC7C,IAAI,SAAS,EAAE;QACb,OAAO,SAAS,CAAC;KAClB;IAED,MAAM,OAAO,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC;IACtC,IAAI,OAAO,IAAI,CAAC,EAAE;QAChB,OAAO,GAAG,CAAC;KACZ;SAAM,IAAI,OAAO,IAAI,CAAC,EAAE;QACvB,OAAO,GAAG,CAAC;KACZ;SAAM;QACL,OAAO,GAAG,CAAC;KACZ;AACH,CAAC;AAED,SAAS,WAAW,CAAC,QAAkB,EAAE,EAAE,OAAsB;IAC/D,OAAO,CACL,kBAAS,SAAS,EAAC,oBAAoB,EAAC,IAAI,EAAC,MAAM,YAChD,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACnB,KAAC,SAAS,IAER,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,EAC5B,IAAI,EAAE,CAAC,EACP,KAAK,EAAE,OAAO,KAAK,SAAS,IAHvB,MAAM,CAAC,CAAC,CAAC,CAId,CACH,CAAC,GACM,CACX,CAAC;AACJ,CAAC;AAED,SAAS,YAAY,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,MAAM,EAAsB,EAAE,CAAS;IAC7E,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,EAAE,KAAK,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,KACjE,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"}
1
+ {"version":3,"file":"BaseTile.js","sourceRoot":"","sources":["../../../src/components/BaseTile/BaseTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAIpE,MAAM,aAAa,GAAG,mDAAmD,CAAC;AAE1E,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CACzB,CAAC,EACC,SAAS,EACT,OAAO,EACP,KAAK,EACL,SAAS,EACT,WAAW,EACX,QAAQ,EACR,OAAO,EACP,KAAK,EACL,KAAK,EACL,OAAO,GAAG,SAAS,GACpB,EAAE,EAAE;IACH,OAAO,CACL,eAAK,SAAS,EAAE,iDAAiD,aAC9D,KAAK,IAAI,CACR,KAAC,KAAK,IACJ,IAAI,EAAE,SAAS,IAAI,uBAAuB,CAAC,SAAS,CAAC,EACrD,SAAS,EAAE,GAAG,aAAa,IAAI,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,EAAE,YAEhF,KAAK,GACA,CACT,EACD,KAAC,aAAa,IACZ,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,KAAK,GACZ,IACE,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { UniBlockProps } from '../../types';
2
+ import type { BaseTileCommonProps } from './BaseTileProps';
3
+ export interface BaseTileProps extends BaseTileCommonProps, UniBlockProps {
4
+ }
5
+ export declare const BaseTile: (props: import("@redneckz/uni-jsx").PropsWithChildren<BaseTileProps, any>, context?: any) => any;
@@ -0,0 +1,15 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ import { Title } from '../../ui-kit/Title/Title.js';
4
+ import { BaseTileInner } from './BaseTileInner.js';
5
+ import { getTitleSizeByClassName } from './getTitleSizeByClassName.js';
6
+ const alignBlock = {
7
+ left: 'items-start',
8
+ center: 'items-center',
9
+ right: 'items-end',
10
+ };
11
+ const TITLE_CLASSES = 'font-medium m-0 whitespace-pre-wrap max-w-[600px]';
12
+ export const BaseTile = JSX(({ className, context, title, titleSize, description, children, buttons, image, items, version = 'primary', align = 'left', }) => {
13
+ return (_jsxs("div", { className: `font-sans flex flex-col grow h-full ${alignBlock[align]}`, children: [title && (_jsx(Title, { size: titleSize || getTitleSizeByClassName(className), className: `${TITLE_CLASSES} ${version === 'primary' ? 'text-primary-text' : ''}`, children: title })), _jsx(BaseTileInner, { context: context, buttons: buttons, image: image, children: children, description: description, items: items })] }));
14
+ });
15
+ //# sourceMappingURL=BaseTile.mobile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseTile.mobile.js","sourceRoot":"","sources":["../../../src/components/BaseTile/BaseTile.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,MAAM,UAAU,GAA8B;IAC5C,IAAI,EAAE,aAAa;IACnB,MAAM,EAAE,cAAc;IACtB,KAAK,EAAE,WAAW;CACnB,CAAC;AAIF,MAAM,aAAa,GAAG,mDAAmD,CAAC;AAE1E,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CACzB,CAAC,EACC,SAAS,EACT,OAAO,EACP,KAAK,EACL,SAAS,EACT,WAAW,EACX,QAAQ,EACR,OAAO,EACP,KAAK,EACL,KAAK,EACL,OAAO,GAAG,SAAS,EACnB,KAAK,GAAG,MAAM,GACf,EAAE,EAAE;IACH,OAAO,CACL,eAAK,SAAS,EAAE,uCAAuC,UAAU,CAAC,KAAK,CAAC,EAAE,aACvE,KAAK,IAAI,CACR,KAAC,KAAK,IACJ,IAAI,EAAE,SAAS,IAAI,uBAAuB,CAAC,SAAS,CAAC,EACrD,SAAS,EAAE,GAAG,aAAa,IAAI,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,EAAE,YAEhF,KAAK,GACA,CACT,EACD,KAAC,aAAa,IACZ,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,KAAK,GACZ,IACE,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { UniBlockProps } from '../../types';
2
+ import type { BaseTileMainProps } from './BaseTileProps';
3
+ export interface BaseTileInnerProps extends BaseTileMainProps, UniBlockProps {
4
+ }
5
+ export declare const BaseTileInner: (props: import("@redneckz/uni-jsx").PropsWithChildren<BaseTileInnerProps, any>, context?: any) => any;
@@ -0,0 +1,12 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ import { useLink } from '../../hooks/useLink.js';
4
+ import { Img } from '../../ui-kit/Img.js';
5
+ import { renderButton } from './renderButton.js';
6
+ import { renderItems } from './renderItems.js';
7
+ export const BaseTileInner = JSX(({ context, description, children, buttons, image, items, version = 'primary' }) => {
8
+ const router = context.useRouter();
9
+ const { handlerDecorator } = context;
10
+ return (_jsxs("div", { className: `flex grow w-full justify-between}`, children: [_jsxs("div", { className: `flex flex-col justify-between items-start}`, children: [_jsxs("div", { children: [description && (_jsx("div", { className: `font-normal text-base mt-4 max-w-[600px]`, children: description })), children, items?.length && renderItems(items, version)] }), buttons?.length && (_jsx("div", { className: "flex mt-9 gap-3", children: buttons.map((button, index) => renderButton(useLink({ router, handlerDecorator }, button), index)) }))] }), image?.src && _jsx(Img, { className: "mt-auto ml-7", image: image })] }));
11
+ });
12
+ //# sourceMappingURL=BaseTileInner.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseTileInner.js","sourceRoot":"","sources":["../../../src/components/BaseTile/BaseTileInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AAEvC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAC9B,CAAC,EAAE,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,GAAG,SAAS,EAAE,EAAE,EAAE;IACjF,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IACnC,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IACrC,OAAO,CACL,eAAK,SAAS,EAAE,mCAAmC,aACjD,eAAK,SAAS,EAAE,4CAA4C,aAC1D,0BACG,WAAW,IAAI,CACd,cAAK,SAAS,EAAE,0CAA0C,YAAG,WAAW,GAAO,CAChF,EACA,QAAQ,EACR,KAAK,EAAE,MAAM,IAAI,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,IACzC,EACL,OAAO,EAAE,MAAM,IAAI,CAClB,cAAK,SAAS,EAAC,iBAAiB,YAC7B,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,IACG,EACL,KAAK,EAAE,GAAG,IAAI,KAAC,GAAG,IAAC,SAAS,EAAC,cAAc,EAAC,KAAK,EAAE,KAAK,GAAI,IACzD,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { UniBlockProps } from '../../types';
2
+ import type { BaseTileMainProps } from './BaseTileProps';
3
+ export interface BaseTileInnerProps extends BaseTileMainProps, UniBlockProps {
4
+ }
5
+ export declare const BaseTileInner: (props: import("@redneckz/uni-jsx").PropsWithChildren<BaseTileInnerProps, any>, context?: any) => any;
@@ -0,0 +1,12 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ import { useLink } from '../../hooks/useLink.js';
4
+ import { Img } from '../../ui-kit/Img.js';
5
+ import { renderButton } from './renderButton.js';
6
+ import { renderItems } from './renderItems.js';
7
+ export const BaseTileInner = JSX(({ context, description, children, buttons, image, items, version = 'primary' }) => {
8
+ const router = context.useRouter();
9
+ const { handlerDecorator } = context;
10
+ return (_jsxs("div", { children: [description && _jsx("div", { className: `font-normal text-base mt-3`, children: description }), children, items?.length && renderItems(items, version), buttons?.length && (_jsx("div", { className: "mt-[18px]", children: buttons.map((button, index) => renderButton(useLink({ router, handlerDecorator }, button), index)) })), image?.src && _jsx(Img, { className: "mt-auto ml-7", image: image })] }));
11
+ });
12
+ //# sourceMappingURL=BaseTileInner.mobile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseTileInner.mobile.js","sourceRoot":"","sources":["../../../src/components/BaseTile/BaseTileInner.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AAEvC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAC9B,CAAC,EAAE,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,GAAG,SAAS,EAAE,EAAE,EAAE;IACjF,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IACnC,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IACrC,OAAO,CACL,0BACG,WAAW,IAAI,cAAK,SAAS,EAAE,4BAA4B,YAAG,WAAW,GAAO,EAChF,QAAQ,EACR,KAAK,EAAE,MAAM,IAAI,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,EAC5C,OAAO,EAAE,MAAM,IAAI,CAClB,cAAK,SAAS,EAAC,WAAW,YACvB,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,EACA,KAAK,EAAE,GAAG,IAAI,KAAC,GAAG,IAAC,SAAS,EAAC,cAAc,EAAC,KAAK,EAAE,KAAK,GAAI,IACzD,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -16,9 +16,14 @@ export interface BaseTileIconButton extends ButtonWithIconProps {
16
16
  icon?: IconName;
17
17
  }
18
18
  /**
19
- * @title Плитка
19
+ * @title Общий компонент плиток
20
20
  */
21
- export interface BaseTileCommonProps {
21
+ export interface BaseTileCommonProps extends BaseTileTitleProps, BaseTileMainProps {
22
+ }
23
+ /**
24
+ * @title Заголовк плитки
25
+ */
26
+ export interface BaseTileTitleProps {
22
27
  /** @title Заголовок */
23
28
  title?: string;
24
29
  /**
@@ -26,7 +31,8 @@ export interface BaseTileCommonProps {
26
31
  * @default M
27
32
  */
28
33
  titleSize?: TitleSize;
29
- /** @title Описание */
34
+ }
35
+ export interface BaseTileMainProps {
30
36
  description?: string;
31
37
  image?: Picture;
32
38
  /** @title Список */
@@ -0,0 +1 @@
1
+ export declare function getTitleSizeByClassName(className?: string): "L" | "M" | "S";
@@ -0,0 +1,14 @@
1
+ import { getColSpan } from '../../utils/getColSpan.js';
2
+ export function getTitleSizeByClassName(className = '') {
3
+ const colSpan = getColSpan(className);
4
+ if (colSpan <= 4) {
5
+ return 'S';
6
+ }
7
+ else if (colSpan <= 8) {
8
+ return 'M';
9
+ }
10
+ else {
11
+ return 'L';
12
+ }
13
+ }
14
+ //# sourceMappingURL=getTitleSizeByClassName.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTitleSizeByClassName.js","sourceRoot":"","sources":["../../../src/components/BaseTile/getTitleSizeByClassName.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,MAAM,UAAU,uBAAuB,CAAC,SAAS,GAAG,EAAE;IACpD,MAAM,OAAO,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC;IACtC,IAAI,OAAO,IAAI,CAAC,EAAE;QAChB,OAAO,GAAG,CAAC;KACZ;SAAM,IAAI,OAAO,IAAI,CAAC,EAAE;QACvB,OAAO,GAAG,CAAC;KACZ;SAAM;QACL,OAAO,GAAG,CAAC;KACZ;AACH,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { BaseTileIconButton } from './BaseTileProps';
2
+ export declare function renderButton({ icon, ...button }: BaseTileIconButton, i: number): any;
@@ -0,0 +1,9 @@
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { Button } from '../../ui-kit/Button/Button.js';
3
+ import { Icon } from '../../ui-kit/Icon/Icon.js';
4
+ export function renderButton({ icon, ...button }, i) {
5
+ if (!button?.text)
6
+ return;
7
+ return icon ? (_jsx(Button, { appendLeft: _jsx(Icon, { name: icon, width: "24", height: "24" }), ...button }, String(i))) : (_jsx(Button, { ...button }, String(i)));
8
+ }
9
+ //# sourceMappingURL=renderButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderButton.js","sourceRoot":"","sources":["../../../src/components/BaseTile/renderButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAG9C,MAAM,UAAU,YAAY,CAAC,EAAE,IAAI,EAAE,GAAG,MAAM,EAAsB,EAAE,CAAS;IAC7E,IAAI,CAAC,MAAM,EAAE,IAAI;QAAE,OAAO;IAE1B,OAAO,IAAI,CAAC,CAAC,CAAC,CACZ,KAAC,MAAM,IAAiB,UAAU,EAAE,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,KAAM,MAAM,IAA9E,MAAM,CAAC,CAAC,CAAC,CAAyE,CAChG,CAAC,CAAC,CAAC,CACF,KAAC,MAAM,OAAqB,MAAM,IAArB,MAAM,CAAC,CAAC,CAAC,CAAgB,CACvC,CAAC;AACJ,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { BaseTileIconButton } from './BaseTileProps';
2
+ export declare function renderButton({ icon, ...button }: BaseTileIconButton, i: number): any;
@@ -0,0 +1,10 @@
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { Button } from '../../ui-kit/Button/Button.js';
3
+ import { Icon } from '../../ui-kit/Icon/Icon.js';
4
+ const PADDING_TOP_CLASSES = 'first:mt-0 mt-3';
5
+ export function renderButton({ icon, ...button }, i) {
6
+ if (!button?.text)
7
+ return;
8
+ return icon ? (_jsx(Button, { className: PADDING_TOP_CLASSES, appendLeft: _jsx(Icon, { name: icon, width: "24", height: "24" }), ...button }, String(i))) : (_jsx(Button, { className: PADDING_TOP_CLASSES, ...button }, String(i)));
9
+ }
10
+ //# sourceMappingURL=renderButton.mobile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderButton.mobile.js","sourceRoot":"","sources":["../../../src/components/BaseTile/renderButton.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAG9C,MAAM,mBAAmB,GAAG,iBAAiB,CAAC;AAE9C,MAAM,UAAU,YAAY,CAAC,EAAE,IAAI,EAAE,GAAG,MAAM,EAAsB,EAAE,CAAS;IAC7E,IAAI,CAAC,MAAM,EAAE,IAAI;QAAE,OAAO;IAE1B,OAAO,IAAI,CAAC,CAAC,CAAC,CACZ,KAAC,MAAM,IACL,SAAS,EAAE,mBAAmB,EAE9B,UAAU,EAAE,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,KACnD,MAAM,IAFL,MAAM,CAAC,CAAC,CAAC,CAGd,CACH,CAAC,CAAC,CAAC,CACF,KAAC,MAAM,IAAC,SAAS,EAAE,mBAAmB,KAAsB,MAAM,IAArB,MAAM,CAAC,CAAC,CAAC,CAAgB,CACvE,CAAC;AACJ,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { BlockVersion } from '../../model/BlockVersion';
2
+ export declare function renderItems(items?: string[], version?: BlockVersion): any;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { BlockItem } from '../../ui-kit/BlockItem/BlockItem.js';
3
+ export function renderItems(items = [], version) {
4
+ return (_jsx("section", { className: "max-w-[600px] mt-5", role: "list", children: items.map((_, i) => (_jsx(BlockItem, { className: "mt-2.5 first:mt-0", text: _, version: version }, String(i)))) }));
5
+ }
6
+ //# sourceMappingURL=renderItems.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderItems.js","sourceRoot":"","sources":["../../../src/components/BaseTile/renderItems.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAE7D,MAAM,UAAU,WAAW,CAAC,QAAkB,EAAE,EAAE,OAAsB;IACtE,OAAO,CACL,kBAAS,SAAS,EAAC,oBAAoB,EAAC,IAAI,EAAC,MAAM,YAChD,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACnB,KAAC,SAAS,IAAiB,SAAS,EAAC,mBAAmB,EAAC,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,OAAO,IAAlE,MAAM,CAAC,CAAC,CAAC,CAA6D,CACvF,CAAC,GACM,CACX,CAAC;AACJ,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { BlockVersion } from '../../model/BlockVersion';
2
+ export declare function renderItems(items?: string[], version?: BlockVersion): any;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { BlockItem } from '../../ui-kit/BlockItem/BlockItem.js';
3
+ export function renderItems(items = [], version) {
4
+ return (_jsx("section", { className: "mt-3", role: "list", children: items.map((_, i) => (_jsx(BlockItem, { className: "mt-1.5 first:mt-0", text: _, version: version }, String(i)))) }));
5
+ }
6
+ //# sourceMappingURL=renderItems.mobile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderItems.mobile.js","sourceRoot":"","sources":["../../../src/components/BaseTile/renderItems.mobile.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAE7D,MAAM,UAAU,WAAW,CAAC,QAAkB,EAAE,EAAE,OAAsB;IACtE,OAAO,CACL,kBAAS,SAAS,EAAC,MAAM,EAAC,IAAI,EAAC,MAAM,YAClC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACnB,KAAC,SAAS,IAAiB,SAAS,EAAC,mBAAmB,EAAC,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,OAAO,IAAlE,MAAM,CAAC,CAAC,CAAC,CAA6D,CACvF,CAAC,GACM,CACX,CAAC;AACJ,CAAC"}
@@ -1,16 +1,11 @@
1
1
  export declare const Blocks: {
2
2
  ExchangeRateTile: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./ExchangeRateTile/ExchangeRateTile").ExchangeRateTileProps, any>, context?: any) => any;
3
3
  Footer: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./Footer/Footer").FooterProps, any>, context?: any) => any;
4
- Gallery: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./Gallery/GalleryProps").GalleryProps, any>, context?: any) => any;
5
4
  Header: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./Header/Header").HeaderProps, any>, context?: any) => any;
6
5
  Headline: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./Headline/Headline").HeadlineProps, any>, context?: any) => any;
7
- MobileAppTile: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./MobileAppTile/MobileAppTile").MobileAppTileProps, any>, context?: any) => any;
8
- PictureText: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./PictureText/PictureText").PictureTextProps, any>, context?: any) => any;
9
6
  Placeholder: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./Placeholder/Placeholder").PlaceholderProps, any>, context?: any) => any;
10
7
  ProductBlock: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./ProductBlock/ProductBlock").ProductBlockProps, any>, context?: any) => any;
11
- ProductTile: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./ProductTile/ProductTile").ProductTileProps, any>, context?: any) => any;
8
+ ProductGallery: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./ProductGallery/ProductGallery").ProductGalleryProps, any>, context?: any) => any;
12
9
  TextBlock: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./TextBlock/TextBlock").TextBlockProps, any>, context?: any) => any;
13
- Tile: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./Tile/Tile").TileProps, any>, context?: any) => any;
14
- Navigation: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./Navigation/Navigation").NavigationProps, any>, context?: any) => any;
15
10
  StepsBlock: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./StepsBlock/StepsBlock").StepsBlockProps, any>, context?: any) => any;
16
11
  };
@@ -1,31 +1,21 @@
1
1
  import { ExchangeRateTile } from './ExchangeRateTile/ExchangeRateTile.js';
2
2
  import { Footer } from './Footer/Footer.js';
3
- import { Gallery } from './Gallery/Gallery.js';
4
3
  import { Header } from './Header/Header.js';
5
4
  import { Headline } from './Headline/Headline.js';
6
- import { MobileAppTile } from './MobileAppTile/MobileAppTile.js';
7
- import { Navigation } from './Navigation/Navigation.js';
8
- import { PictureText } from './PictureText/PictureText.js';
9
5
  import { Placeholder } from './Placeholder/Placeholder.js';
10
6
  import { ProductBlock } from './ProductBlock/ProductBlock.js';
11
- import { ProductTile } from './ProductTile/ProductTile.js';
7
+ import { ProductGallery } from './ProductGallery/ProductGallery.js';
12
8
  import { StepsBlock } from './StepsBlock/StepsBlock.js';
13
9
  import { TextBlock } from './TextBlock/TextBlock.js';
14
- import { Tile } from './Tile/Tile.js';
15
10
  export const Blocks = {
16
11
  ExchangeRateTile,
17
12
  Footer,
18
- Gallery,
19
13
  Header,
20
14
  Headline,
21
- MobileAppTile,
22
- PictureText,
23
15
  Placeholder,
24
16
  ProductBlock,
25
- ProductTile,
17
+ ProductGallery,
26
18
  TextBlock,
27
- Tile,
28
- Navigation,
29
19
  StepsBlock,
30
20
  };
31
21
  //# sourceMappingURL=Blocks.mobile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Blocks.mobile.js","sourceRoot":"","sources":["../../src/components/Blocks.mobile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAEnC,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,gBAAgB;IAChB,MAAM;IACN,OAAO;IACP,MAAM;IACN,QAAQ;IACR,aAAa;IACb,WAAW;IACX,WAAW;IACX,YAAY;IACZ,WAAW;IACX,SAAS;IACT,IAAI;IACJ,UAAU;IACV,UAAU;CACX,CAAC"}
1
+ {"version":3,"file":"Blocks.mobile.js","sourceRoot":"","sources":["../../src/components/Blocks.mobile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,gBAAgB;IAChB,MAAM;IACN,MAAM;IACN,QAAQ;IACR,WAAW;IACX,YAAY;IACZ,cAAc;IACd,SAAS;IACT,UAAU;CACX,CAAC"}
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -1,7 +1,7 @@
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 { Logo } from '../../ui-kit/Logo/Logo.js';
4
- import { SearchBar } from '../../ui-kit/SearchBar.js';
4
+ import { SearchBar } from '../../ui-kit/SearchBar/SearchBar.js';
5
5
  import { Contacts } from './Contacts.js';
6
6
  import { HorizontalNavigation } from './HorizontalNavigation.js';
7
7
  import { Sitemap } from './Sitemap.js';
@@ -1 +1 @@
1
- {"version":3,"file":"Footer.js","sourceRoot":"","sources":["../../../src/components/Footer/Footer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,sBAAsB,GAAG,WAAW,CAAC;AAC3C,MAAM,4BAA4B,GAAG,cAAc,CAAC;AAIpD,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CACvB,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,kBAAkB,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;IACzF,OAAO,CACL,kBAAQ,SAAS,EAAE,uBAAuB,SAAS,IAAI,EAAE,EAAE,aACzD,eAAK,SAAS,EAAC,6CAA6C,aAC1D,KAAC,IAAI,IAAC,SAAS,EAAE,GAAG,sBAAsB,IAAI,4BAA4B,EAAE,GAAI,EAChF,KAAC,SAAS,IAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAC,MAAM,GAAG,IAC5C,EACN,eAAK,SAAS,EAAC,wCAAwC,aACrD,KAAC,QAAQ,IACP,SAAS,EAAE,GAAG,sBAAsB,6BAA6B,4BAA4B,EAAE,EAC/F,KAAK,EAAE,QAAQ,EACf,OAAO,EAAE,OAAO,EAChB,SAAS,SACT,EACF,KAAC,OAAO,IAAC,SAAS,EAAC,UAAU,EAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,GAAI,IAC/D,EACN,KAAC,WAAW,IAAC,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,GAAI,EACrD,KAAC,oBAAoB,IAAC,KAAK,EAAE,kBAAkB,EAAE,OAAO,EAAE,OAAO,GAAI,EACrE,KAAC,eAAe,IAAC,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,GAAI,IAChD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"Footer.js","sourceRoot":"","sources":["../../../src/components/Footer/Footer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,sBAAsB,GAAG,WAAW,CAAC;AAC3C,MAAM,4BAA4B,GAAG,cAAc,CAAC;AAIpD,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CACvB,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,kBAAkB,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;IACzF,OAAO,CACL,kBAAQ,SAAS,EAAE,uBAAuB,SAAS,IAAI,EAAE,EAAE,aACzD,eAAK,SAAS,EAAC,6CAA6C,aAC1D,KAAC,IAAI,IAAC,SAAS,EAAE,GAAG,sBAAsB,IAAI,4BAA4B,EAAE,GAAI,EAChF,KAAC,SAAS,IAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAC,MAAM,GAAG,IAC5C,EACN,eAAK,SAAS,EAAC,wCAAwC,aACrD,KAAC,QAAQ,IACP,SAAS,EAAE,GAAG,sBAAsB,6BAA6B,4BAA4B,EAAE,EAC/F,KAAK,EAAE,QAAQ,EACf,OAAO,EAAE,OAAO,EAChB,SAAS,SACT,EACF,KAAC,OAAO,IAAC,SAAS,EAAC,UAAU,EAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,GAAI,IAC/D,EACN,KAAC,WAAW,IAAC,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,GAAI,EACrD,KAAC,oBAAoB,IAAC,KAAK,EAAE,kBAAkB,EAAE,OAAO,EAAE,OAAO,GAAI,EACrE,KAAC,eAAe,IAAC,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,GAAI,IAChD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,5 +1,24 @@
1
- import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
+ import { Accordion } from '../Accordion/Accordion.js';
4
+ import { MobileAppTile } from '../MobileAppTile/MobileAppTile.js';
5
+ import { Contacts } from './Contacts.js';
6
+ import { HorizontalNavigation } from './HorizontalNavigation.js';
7
+ import { SocialMedia } from './SocialMedia.js';
3
8
  import { TextInformation } from './TextInformation.js';
4
- export const Footer = JSX(({ className, context }) => (_jsx("footer", { className: `${className} px-9 py-2 bg-white rounded-bl-3xl rounded-br-3xl`, children: _jsx(TextInformation, { context: context }) })));
9
+ import { Button } from '../../ui-kit/Button/Button.js';
10
+ import { Icon } from '../../ui-kit/Icon/Icon.js';
11
+ import { SearchBar } from '../../ui-kit/SearchBar/SearchBar.js';
12
+ import { getAccordionItems } from '../../utils/getAccordionItems.js';
13
+ export const Footer = JSX(({ className = '', documents, relatedEnterprises, contacts, socialMedia, topItems, context, horizontalNavigationTitle, subMenu, }) => {
14
+ const propsTextBlock = {
15
+ context,
16
+ accordionItems: getAccordionItems(topItems),
17
+ };
18
+ return (_jsxs("footer", { className: `px-4 py-[26px] bg-white ${className}`, children: [_jsx(Contacts, { className: "overflow-hidden", items: contacts, context: context, hasButton: true }), _jsx(Accordion, { className: "p-0 pt-0 pb-0 mb-4", ...propsTextBlock }), _jsx("div", { children: subMenu?.map(renderSubMenuItem) }), _jsx(MobileAppTile, { context: context, title: "\u041C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435", description: "\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0434\u043B\u044F IOS \u0438 Android" }), _jsx(SearchBar, { context: context, className: "grow" }), _jsx(SocialMedia, { className: "pb-4", media: socialMedia, context: context }), _jsx(HorizontalNavigation, { title: horizontalNavigationTitle, links: relatedEnterprises, context: context }), _jsx(TextInformation, { links: documents, context: context })] }));
19
+ });
20
+ const renderSubMenuItem = (menu, i) => {
21
+ const { icon, href, text } = menu;
22
+ return (_jsxs(Button, { href: href, className: "flex text-sm mb-4", children: [icon ? _jsx(Icon, { className: "pr-1", name: icon, width: "24", height: "24", asSVG: true }) : null, _jsx("span", { className: "pl-0.5 font-medium", children: text })] }, `footer-${i}`));
23
+ };
5
24
  //# sourceMappingURL=Footer.mobile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Footer.mobile.js","sourceRoot":"","sources":["../../../src/components/Footer/Footer.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAIpD,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAc,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CACjE,iBAAQ,SAAS,EAAE,GAAG,SAAS,mDAAmD,YAChF,KAAC,eAAe,IAAC,OAAO,EAAE,OAAO,GAAI,GAC9B,CACV,CAAC,CAAC"}
1
+ {"version":3,"file":"Footer.mobile.js","sourceRoot":"","sources":["../../../src/components/Footer/Footer.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAIlE,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CACvB,CAAC,EACC,SAAS,GAAG,EAAE,EACd,SAAS,EACT,kBAAkB,EAClB,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,OAAO,EACP,yBAAyB,EACzB,OAAO,GACR,EAAE,EAAE;IACH,MAAM,cAAc,GAAmB;QACrC,OAAO;QACP,cAAc,EAAE,iBAAiB,CAAC,QAAQ,CAAC;KAC5C,CAAC;IACF,OAAO,CACL,kBAAQ,SAAS,EAAE,2BAA2B,SAAS,EAAE,aACvD,KAAC,QAAQ,IAAC,SAAS,EAAC,iBAAiB,EAAC,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,SAAG,EACrF,KAAC,SAAS,IAAC,SAAS,EAAC,oBAAoB,KAAK,cAAc,GAAI,EAChE,wBAAM,OAAO,EAAE,GAAG,CAAC,iBAAiB,CAAC,GAAO,EAC5C,KAAC,aAAa,IACZ,OAAO,EAAE,OAAO,EAChB,KAAK,EAAC,qHAAsB,EAC5B,WAAW,EAAC,8FAA6B,GACzC,EACF,KAAC,SAAS,IAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAC,MAAM,GAAG,EAChD,KAAC,WAAW,IAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,GAAI,EACtE,KAAC,oBAAoB,IACnB,KAAK,EAAE,yBAAyB,EAChC,KAAK,EAAE,kBAAkB,EACzB,OAAO,EAAE,OAAO,GAChB,EACF,KAAC,eAAe,IAAC,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,GAAI,IAChD,CACV,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,iBAAiB,GAAG,CAAC,IAAiB,EAAE,CAAS,EAAE,EAAE;IACzD,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IAClC,OAAO,CACL,MAAC,MAAM,IAAqB,IAAI,EAAE,IAAI,EAAE,SAAS,EAAC,mBAAmB,aAClE,IAAI,CAAC,CAAC,CAAC,KAAC,IAAI,IAAC,SAAS,EAAC,MAAM,EAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,CAAC,CAAC,CAAC,IAAI,EACjF,eAAM,SAAS,EAAC,oBAAoB,YAAE,IAAI,GAAQ,KAFvC,UAAU,CAAC,EAAE,CAGjB,CACV,CAAC;AACJ,CAAC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import type { LinkProps } from '../../model/LinkProps';
2
2
  import type { SitemapProps } from '../../services/sitemap/SitemapProps';
3
+ import type { IconName } from '../../ui-kit/Icon/IconProps';
3
4
  /**
4
5
  * @title Тип контакта
5
6
  * @enumNames [
@@ -22,6 +23,13 @@ export interface ContactInfo {
22
23
  * @required ["href"]
23
24
  */
24
25
  export declare type SocialMedia = Omit<LinkProps, 'text'>;
26
+ /**
27
+ * @title Пункт подменю
28
+ */
29
+ export interface SubMenuItem extends LinkProps {
30
+ /** @title Иконка подменю */
31
+ icon?: IconName;
32
+ }
25
33
  /**
26
34
  * @title Подвал
27
35
  * @required ["topItems"]
@@ -35,4 +43,8 @@ export interface FooterContent extends SitemapProps {
35
43
  contacts?: ContactInfo[];
36
44
  /** @title Социальные сети */
37
45
  socialMedia?: SocialMedia[];
46
+ /** @title Заголовок для меню */
47
+ horizontalNavigationTitle?: string;
48
+ /** @title Подменю */
49
+ subMenu?: SubMenuItem[];
38
50
  }
@@ -1,2 +1,6 @@
1
+ import type { UniBlockProps } from '../../types';
1
2
  import type { FooterLink } from './FooterLink';
2
- export declare const HorizontalNavigation: (props: import("@redneckz/uni-jsx").PropsWithChildren<FooterLink, any>, context?: any) => any;
3
+ export interface HorizontalNavigationProps extends FooterLink, UniBlockProps {
4
+ title?: string;
5
+ }
6
+ export declare const HorizontalNavigation: (props: import("@redneckz/uni-jsx").PropsWithChildren<HorizontalNavigationProps, any>, context?: any) => any;
@@ -1,10 +1,10 @@
1
1
  import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { useLink } from '../../hooks/useLink.js';
4
- export const HorizontalNavigation = JSX(({ className, links, context }) => {
4
+ export const HorizontalNavigation = JSX(({ links, className = '', context }) => {
5
5
  const router = context.useRouter();
6
6
  const { handlerDecorator } = context;
7
- return (_jsx("div", { className: `${className || ''}`, children: links?.length ? (_jsx("div", { className: "flex justify-between items-center gap-5 py-5 border-solid border-x-0 border-y border-y-main-divider", children: links.map((_, i) => (_jsx(HorizontalNavigationLink, { index: i, ...useLink({ router, handlerDecorator }, _) }, String(i)))) })) : null }));
7
+ return (_jsx("div", { className: className, children: links?.length ? (_jsx("div", { className: "flex justify-between items-center gap-5 py-5 border-solid border-x-0 border-y border-y-main-divider", children: links.map((_, i) => (_jsx(HorizontalNavigationLink, { index: i, ...useLink({ router, handlerDecorator }, _) }, String(i)))) })) : null }));
8
8
  });
9
- const HorizontalNavigationLink = JSX(({ className, index, text, href, target, onClick }) => (_jsx("a", { className: `font-sans font-normal text-sm text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${className || ''}`, href: href, target: target, onClick: onClick, children: text || `Документ ${index}` })));
9
+ const HorizontalNavigationLink = JSX(({ className = '', index, text, href, target, onClick }) => (_jsx("a", { className: `font-sans font-normal text-sm text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${className}`, href: href, target: target, onClick: onClick, children: text || `Документ ${index}` })));
10
10
  //# sourceMappingURL=HorizontalNavigation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HorizontalNavigation.js","sourceRoot":"","sources":["../../../src/components/Footer/HorizontalNavigation.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAI9C,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CAAa,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE;IACpF,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IACnC,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IAErC,OAAO,CACL,cAAK,SAAS,EAAE,GAAG,SAAS,IAAI,EAAE,EAAE,YACjC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,cAAK,SAAS,EAAC,qGAAqG,YACjH,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACnB,KAAC,wBAAwB,IAEvB,KAAK,EAAE,CAAC,KACJ,OAAO,CAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,CAAC,CAAC,IAFvC,MAAM,CAAC,CAAC,CAAC,CAGd,CACH,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,GACJ,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAQH,MAAM,wBAAwB,GAAG,GAAG,CAClC,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CACrD,YACE,SAAS,EAAE,qHACT,SAAS,IAAI,EACf,EAAE,EACF,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,YAEf,IAAI,IAAI,YAAY,KAAK,EAAE,GAC1B,CACL,CACF,CAAC"}
1
+ {"version":3,"file":"HorizontalNavigation.js","sourceRoot":"","sources":["../../../src/components/Footer/HorizontalNavigation.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAS9C,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CACrC,CAAC,EAAE,KAAK,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;IACrC,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IACnC,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IAErC,OAAO,CACL,cAAK,SAAS,EAAE,SAAS,YACtB,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,cAAK,SAAS,EAAC,qGAAqG,YACjH,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACnB,KAAC,wBAAwB,IAEvB,KAAK,EAAE,CAAC,KACJ,OAAO,CAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,CAAC,CAAC,IAFvC,MAAM,CAAC,CAAC,CAAC,CAGd,CACH,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,GACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAQF,MAAM,wBAAwB,GAAG,GAAG,CAClC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAC1D,YACE,SAAS,EAAE,sHAAsH,SAAS,EAAE,EAC5I,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,YAEf,IAAI,IAAI,YAAY,KAAK,EAAE,GAC1B,CACL,CACF,CAAC"}