@redneckz/wildless-cms-uni-blocks 0.11.1 → 0.11.3

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 (597) hide show
  1. package/bin/migration-scripts/0.11.1.js +34 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +90 -64
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
  6. package/bundle/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
  7. package/bundle/components/CarouselCard/CarouselCard.d.ts +1 -1
  8. package/bundle/components/CarouselCard/getCardWidth.d.ts +1 -0
  9. package/bundle/components/CarouselCard/titleSize.d.ts +1 -0
  10. package/bundle/components/CarouselCard/titleSize.mobile.d.ts +1 -0
  11. package/bundle/components/Footer/Contacts.d.ts +2 -2
  12. package/bundle/components/Footer/FooterContent.d.ts +9 -1
  13. package/bundle/components/Footer/FooterDataProps.d.ts +2 -2
  14. package/bundle/components/Header/Header.mobile.d.ts +2 -2
  15. package/bundle/components/Header/HeaderContent.d.ts +13 -1
  16. package/bundle/components/Header/HeaderTop.d.ts +6 -2
  17. package/bundle/components/PictureText/positionStyle.d.ts +1 -0
  18. package/bundle/components/PictureText/positionStyle.mobile.d.ts +1 -0
  19. package/bundle/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
  20. package/bundle/components/PictureText/styleInsuranceSum.d.ts +1 -0
  21. package/bundle/components/PictureText/styleInsuranceSum.mobile.d.ts +1 -0
  22. package/bundle/components/PictureText/styleValueBlock.d.ts +2 -0
  23. package/bundle/components/PictureText/styleValueBlock.mobile.d.ts +2 -0
  24. package/bundle/components/ProductGallery/ProductGallery.mobile.d.ts +5 -0
  25. package/bundle/components/RollupItem/RollupItemContent.d.ts +4 -2
  26. package/bundle/components/RollupItem/renderRoundedIcon.d.ts +3 -0
  27. package/bundle/components/RollupItem/renderRoundedIcon.mobile.d.ts +4 -0
  28. package/bundle/icons/IconName.d.ts +4 -2
  29. package/bundle/ui-kit/BenefitItem/borderRadius.mobile.d.ts +1 -0
  30. package/bundle/ui-kit/BenefitItem/labelSize.d.ts +1 -0
  31. package/bundle/ui-kit/BenefitItem/labelSize.mobile.d.ts +1 -0
  32. package/bundle/ui-kit/Heading/headingTag.d.ts +2 -0
  33. package/bundle/ui-kit/Heading/headingTag.mobile.d.ts +2 -0
  34. package/bundle/ui-kit/Icon/IconProps.d.ts +8 -3
  35. package/bundle/ui-kit/Icon/RoundedIcon.d.ts +5 -1
  36. package/cosmos-static/icons/ChevronLeft.svg +1 -0
  37. package/dist/components/BaseTile/BaseTile.js +2 -1
  38. package/dist/components/BaseTile/BaseTile.js.map +1 -1
  39. package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  40. package/dist/components/Blocks.js +2 -2
  41. package/dist/components/Blocks.js.map +1 -1
  42. package/dist/components/Blocks.mobile.js +10 -0
  43. package/dist/components/Blocks.mobile.js.map +1 -1
  44. package/dist/components/Bonus/Bonus.js +1 -1
  45. package/dist/components/BusinessBlock/BusinessCard.js +1 -1
  46. package/dist/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
  47. package/dist/components/{ButtonBlock/ButtonBlock.js → ButtonsBlock/ButtonsBlock.js} +3 -3
  48. package/dist/components/ButtonsBlock/ButtonsBlock.js.map +1 -0
  49. package/dist/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
  50. package/dist/components/{ButtonBlock/ButtonBlockContent.js → ButtonsBlock/ButtonsBlockContent.js} +1 -1
  51. package/dist/components/ButtonsBlock/ButtonsBlockContent.js.map +1 -0
  52. package/dist/components/CardTransfer/CardTransfer.js +1 -1
  53. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  54. package/dist/components/CarouselCard/CarouselCard.d.ts +1 -1
  55. package/dist/components/CarouselCard/CarouselCard.js +9 -7
  56. package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  57. package/dist/components/CarouselCard/getCardWidth.d.ts +1 -0
  58. package/dist/components/CarouselCard/getCardWidth.js +18 -0
  59. package/dist/components/CarouselCard/getCardWidth.js.map +1 -0
  60. package/dist/components/CarouselCard/titleSize.d.ts +1 -0
  61. package/dist/components/CarouselCard/titleSize.js +4 -0
  62. package/dist/components/CarouselCard/titleSize.js.map +1 -0
  63. package/dist/components/CarouselCard/titleSize.mobile.d.ts +1 -0
  64. package/dist/components/CarouselCard/titleSize.mobile.js +4 -0
  65. package/dist/components/CarouselCard/titleSize.mobile.js.map +1 -0
  66. package/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
  67. package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  68. package/dist/components/Footer/Contacts.d.ts +2 -2
  69. package/dist/components/Footer/Contacts.js +4 -5
  70. package/dist/components/Footer/Contacts.js.map +1 -1
  71. package/dist/components/Footer/FooterContent.d.ts +9 -1
  72. package/dist/components/Footer/FooterDataProps.d.ts +2 -2
  73. package/dist/components/Header/Header.mobile.d.ts +2 -2
  74. package/dist/components/Header/Header.mobile.js +3 -17
  75. package/dist/components/Header/Header.mobile.js.map +1 -1
  76. package/dist/components/Header/HeaderContent.d.ts +13 -1
  77. package/dist/components/Header/HeaderTop.d.ts +6 -2
  78. package/dist/components/Header/HeaderTop.js +15 -2
  79. package/dist/components/Header/HeaderTop.js.map +1 -1
  80. package/dist/components/Headline/headlineVersionStyles.js +6 -6
  81. package/dist/components/Headline/headlineVersionStyles.js.map +1 -1
  82. package/dist/components/PictureText/PictureText.js +5 -11
  83. package/dist/components/PictureText/PictureText.js.map +1 -1
  84. package/dist/components/PictureText/positionStyle.d.ts +1 -0
  85. package/dist/components/PictureText/positionStyle.js +4 -0
  86. package/dist/components/PictureText/positionStyle.js.map +1 -0
  87. package/dist/components/PictureText/positionStyle.mobile.d.ts +1 -0
  88. package/dist/components/PictureText/positionStyle.mobile.js +4 -0
  89. package/dist/components/PictureText/positionStyle.mobile.js.map +1 -0
  90. package/dist/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
  91. package/dist/components/PictureText/renderInsuranceSumMonth.js +15 -0
  92. package/dist/components/PictureText/renderInsuranceSumMonth.js.map +1 -0
  93. package/dist/components/PictureText/styleInsuranceSum.d.ts +1 -0
  94. package/dist/components/PictureText/styleInsuranceSum.js +4 -0
  95. package/dist/components/PictureText/styleInsuranceSum.js.map +1 -0
  96. package/dist/components/PictureText/styleInsuranceSum.mobile.d.ts +1 -0
  97. package/dist/components/PictureText/styleInsuranceSum.mobile.js +4 -0
  98. package/dist/components/PictureText/styleInsuranceSum.mobile.js.map +1 -0
  99. package/dist/components/PictureText/styleValueBlock.d.ts +2 -0
  100. package/dist/components/PictureText/styleValueBlock.js +5 -0
  101. package/dist/components/PictureText/styleValueBlock.js.map +1 -0
  102. package/dist/components/PictureText/styleValueBlock.mobile.d.ts +2 -0
  103. package/dist/components/PictureText/styleValueBlock.mobile.js +5 -0
  104. package/dist/components/PictureText/styleValueBlock.mobile.js.map +1 -0
  105. package/dist/components/ProductGallery/ProductGallery.mobile.d.ts +5 -0
  106. package/dist/components/ProductGallery/ProductGallery.mobile.js +13 -0
  107. package/dist/components/ProductGallery/ProductGallery.mobile.js.map +1 -0
  108. package/dist/components/RollupItem/RollupItem.js +14 -9
  109. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  110. package/dist/components/RollupItem/RollupItemContent.d.ts +4 -2
  111. package/dist/components/RollupItem/renderRoundedIcon.d.ts +3 -0
  112. package/dist/components/RollupItem/renderRoundedIcon.js +5 -0
  113. package/dist/components/RollupItem/renderRoundedIcon.js.map +1 -0
  114. package/dist/components/RollupItem/renderRoundedIcon.mobile.d.ts +4 -0
  115. package/dist/components/RollupItem/renderRoundedIcon.mobile.js +7 -0
  116. package/dist/components/RollupItem/renderRoundedIcon.mobile.js.map +1 -0
  117. package/dist/content-page-repository/transformImg.js +1 -1
  118. package/dist/content-page-repository/transformImg.js.map +1 -1
  119. package/dist/icons/IconName.d.ts +4 -2
  120. package/dist/icons/IconName.js +3 -1
  121. package/dist/icons/IconName.js.map +1 -1
  122. package/dist/ui-kit/BenefitItem/BenefitItem.js +12 -11
  123. package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  124. package/dist/ui-kit/BenefitItem/borderRadius.mobile.d.ts +1 -0
  125. package/dist/ui-kit/BenefitItem/borderRadius.mobile.js +4 -0
  126. package/dist/ui-kit/BenefitItem/borderRadius.mobile.js.map +1 -0
  127. package/dist/ui-kit/BenefitItem/labelSize.d.ts +1 -0
  128. package/dist/ui-kit/BenefitItem/labelSize.js +4 -0
  129. package/dist/ui-kit/BenefitItem/labelSize.js.map +1 -0
  130. package/dist/ui-kit/BenefitItem/labelSize.mobile.d.ts +1 -0
  131. package/dist/ui-kit/BenefitItem/labelSize.mobile.js +4 -0
  132. package/dist/ui-kit/BenefitItem/labelSize.mobile.js.map +1 -0
  133. package/dist/ui-kit/Button/renderButtonsSection.js +2 -2
  134. package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  135. package/dist/ui-kit/Heading/Heading.js +5 -1
  136. package/dist/ui-kit/Heading/Heading.js.map +1 -1
  137. package/dist/ui-kit/Heading/headingTag.d.ts +2 -0
  138. package/dist/ui-kit/Heading/headingTag.js +5 -0
  139. package/dist/ui-kit/Heading/headingTag.js.map +1 -0
  140. package/dist/ui-kit/Heading/headingTag.mobile.d.ts +2 -0
  141. package/dist/ui-kit/Heading/headingTag.mobile.js +13 -0
  142. package/dist/ui-kit/Heading/headingTag.mobile.js.map +1 -0
  143. package/dist/ui-kit/Icon/IconProps.d.ts +8 -3
  144. package/dist/ui-kit/Icon/RoundedIcon.d.ts +5 -1
  145. package/dist/ui-kit/Icon/RoundedIcon.js +5 -1
  146. package/dist/ui-kit/Icon/RoundedIcon.js.map +1 -1
  147. package/lib/common.css +1 -1
  148. package/lib/components/BaseTile/BaseTile.js +2 -1
  149. package/lib/components/BaseTile/BaseTile.js.map +1 -1
  150. package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  151. package/lib/components/Blocks.js +2 -2
  152. package/lib/components/Blocks.js.map +1 -1
  153. package/lib/components/Blocks.mobile.js +10 -0
  154. package/lib/components/Blocks.mobile.js.map +1 -1
  155. package/lib/components/Bonus/Bonus.js +1 -1
  156. package/lib/components/BusinessBlock/BusinessCard.js +1 -1
  157. package/lib/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
  158. package/lib/components/ButtonsBlock/ButtonsBlock.fixture.mobile.d.ts +6 -0
  159. package/lib/components/{ButtonBlock/ButtonBlock.js → ButtonsBlock/ButtonsBlock.js} +2 -2
  160. package/lib/components/ButtonsBlock/ButtonsBlock.js.map +1 -0
  161. package/lib/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
  162. package/lib/components/ButtonsBlock/ButtonsBlockContent.js +2 -0
  163. package/lib/components/ButtonsBlock/ButtonsBlockContent.js.map +1 -0
  164. package/lib/components/CardTransfer/CardTransfer.fixture.mobile.d.ts +6 -0
  165. package/lib/components/CardTransfer/CardTransfer.js +1 -1
  166. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  167. package/lib/components/CarouselCard/CarouselCard.d.ts +1 -1
  168. package/lib/components/CarouselCard/CarouselCard.fixture.mobile.d.ts +8 -0
  169. package/lib/components/CarouselCard/CarouselCard.js +9 -7
  170. package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  171. package/lib/components/CarouselCard/getCardWidth.d.ts +1 -0
  172. package/lib/components/CarouselCard/getCardWidth.js +15 -0
  173. package/lib/components/CarouselCard/getCardWidth.js.map +1 -0
  174. package/lib/components/CarouselCard/titleSize.d.ts +1 -0
  175. package/lib/components/CarouselCard/titleSize.js +2 -0
  176. package/lib/components/CarouselCard/titleSize.js.map +1 -0
  177. package/lib/components/CarouselCard/titleSize.mobile.d.ts +1 -0
  178. package/lib/components/CarouselCard/titleSize.mobile.js +2 -0
  179. package/lib/components/CarouselCard/titleSize.mobile.js.map +1 -0
  180. package/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
  181. package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  182. package/lib/components/Footer/Contacts.d.ts +2 -2
  183. package/lib/components/Footer/Contacts.js +4 -5
  184. package/lib/components/Footer/Contacts.js.map +1 -1
  185. package/lib/components/Footer/FooterContent.d.ts +9 -1
  186. package/lib/components/Footer/FooterDataProps.d.ts +2 -2
  187. package/lib/components/Header/Header.fixture.mobile.d.ts +2 -0
  188. package/lib/components/Header/Header.mobile.d.ts +2 -2
  189. package/lib/components/Header/Header.mobile.js +4 -18
  190. package/lib/components/Header/Header.mobile.js.map +1 -1
  191. package/lib/components/Header/HeaderContent.d.ts +13 -1
  192. package/lib/components/Header/HeaderTop.d.ts +6 -2
  193. package/lib/components/Header/HeaderTop.js +15 -2
  194. package/lib/components/Header/HeaderTop.js.map +1 -1
  195. package/lib/components/Headline/headlineVersionStyles.js +6 -6
  196. package/lib/components/Headline/headlineVersionStyles.js.map +1 -1
  197. package/lib/components/PictureText/PictureText.fixture.mobile.d.ts +14 -0
  198. package/lib/components/PictureText/PictureText.js +5 -11
  199. package/lib/components/PictureText/PictureText.js.map +1 -1
  200. package/lib/components/PictureText/positionStyle.d.ts +1 -0
  201. package/lib/components/PictureText/positionStyle.js +2 -0
  202. package/lib/components/PictureText/positionStyle.js.map +1 -0
  203. package/lib/components/PictureText/positionStyle.mobile.d.ts +1 -0
  204. package/lib/components/PictureText/positionStyle.mobile.js +2 -0
  205. package/lib/components/PictureText/positionStyle.mobile.js.map +1 -0
  206. package/lib/components/PictureText/renderBenefit.d.ts +0 -1
  207. package/lib/components/PictureText/renderInsuranceSumMonth.d.ts +1 -0
  208. package/lib/components/PictureText/renderInsuranceSumMonth.js +12 -0
  209. package/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -0
  210. package/lib/components/PictureText/styleInsuranceSum.d.ts +1 -0
  211. package/lib/components/PictureText/styleInsuranceSum.js +2 -0
  212. package/lib/components/PictureText/styleInsuranceSum.js.map +1 -0
  213. package/lib/components/PictureText/styleInsuranceSum.mobile.d.ts +1 -0
  214. package/lib/components/PictureText/styleInsuranceSum.mobile.js +2 -0
  215. package/lib/components/PictureText/styleInsuranceSum.mobile.js.map +1 -0
  216. package/lib/components/PictureText/styleValueBlock.d.ts +2 -0
  217. package/lib/components/PictureText/styleValueBlock.js +3 -0
  218. package/lib/components/PictureText/styleValueBlock.js.map +1 -0
  219. package/lib/components/PictureText/styleValueBlock.mobile.d.ts +2 -0
  220. package/lib/components/PictureText/styleValueBlock.mobile.js +3 -0
  221. package/lib/components/PictureText/styleValueBlock.mobile.js.map +1 -0
  222. package/lib/components/ProductGallery/ProductGallery.fixture.mobile.d.ts +7 -0
  223. package/lib/components/ProductGallery/ProductGallery.mobile.d.ts +5 -0
  224. package/lib/components/ProductGallery/ProductGallery.mobile.js +11 -0
  225. package/lib/components/ProductGallery/ProductGallery.mobile.js.map +1 -0
  226. package/lib/components/RollupItem/RollupItem.fixture.mobile.d.ts +1 -0
  227. package/lib/components/RollupItem/RollupItem.js +14 -9
  228. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  229. package/lib/components/RollupItem/RollupItemContent.d.ts +4 -2
  230. package/lib/components/RollupItem/renderRoundedIcon.d.ts +3 -0
  231. package/lib/components/RollupItem/renderRoundedIcon.js +2 -0
  232. package/lib/components/RollupItem/renderRoundedIcon.js.map +1 -0
  233. package/lib/components/RollupItem/renderRoundedIcon.mobile.d.ts +3 -0
  234. package/lib/components/RollupItem/renderRoundedIcon.mobile.js +4 -0
  235. package/lib/components/RollupItem/renderRoundedIcon.mobile.js.map +1 -0
  236. package/lib/content-page-repository/transformImg.js +1 -1
  237. package/lib/content-page-repository/transformImg.js.map +1 -1
  238. package/lib/icons/IconName.d.ts +4 -2
  239. package/lib/icons/IconName.js +3 -1
  240. package/lib/icons/IconName.js.map +1 -1
  241. package/lib/ui-kit/BenefitItem/BenefitItem.js +12 -11
  242. package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  243. package/lib/ui-kit/BenefitItem/borderRadius.mobile.d.ts +1 -0
  244. package/lib/ui-kit/BenefitItem/borderRadius.mobile.js +2 -0
  245. package/lib/ui-kit/BenefitItem/borderRadius.mobile.js.map +1 -0
  246. package/lib/ui-kit/BenefitItem/labelSize.d.ts +1 -0
  247. package/lib/ui-kit/BenefitItem/labelSize.js +2 -0
  248. package/lib/ui-kit/BenefitItem/labelSize.js.map +1 -0
  249. package/lib/ui-kit/BenefitItem/labelSize.mobile.d.ts +1 -0
  250. package/lib/ui-kit/BenefitItem/labelSize.mobile.js +2 -0
  251. package/lib/ui-kit/BenefitItem/labelSize.mobile.js.map +1 -0
  252. package/lib/ui-kit/Button/renderButtonsSection.js +2 -2
  253. package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  254. package/lib/ui-kit/Heading/Heading.js +5 -1
  255. package/lib/ui-kit/Heading/Heading.js.map +1 -1
  256. package/lib/ui-kit/Heading/headingTag.d.ts +2 -0
  257. package/lib/ui-kit/Heading/headingTag.js +2 -0
  258. package/lib/ui-kit/Heading/headingTag.js.map +1 -0
  259. package/lib/ui-kit/Heading/headingTag.mobile.d.ts +2 -0
  260. package/lib/ui-kit/Heading/headingTag.mobile.js +10 -0
  261. package/lib/ui-kit/Heading/headingTag.mobile.js.map +1 -0
  262. package/lib/ui-kit/Icon/IconProps.d.ts +8 -3
  263. package/lib/ui-kit/Icon/RoundedIcon.d.ts +5 -1
  264. package/lib/ui-kit/Icon/RoundedIcon.js +5 -1
  265. package/lib/ui-kit/Icon/RoundedIcon.js.map +1 -1
  266. package/mobile/bundle/bundle.umd.js +532 -655
  267. package/mobile/bundle/bundle.umd.min.js +1 -1
  268. package/mobile/bundle/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
  269. package/mobile/bundle/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
  270. package/mobile/bundle/components/CarouselCard/CarouselCard.d.ts +1 -1
  271. package/mobile/bundle/components/CarouselCard/getCardWidth.d.ts +1 -0
  272. package/mobile/bundle/components/CarouselCard/titleSize.d.ts +1 -0
  273. package/mobile/bundle/components/Footer/Contacts.d.ts +2 -2
  274. package/mobile/bundle/components/Footer/FooterContent.d.ts +9 -1
  275. package/mobile/bundle/components/Footer/FooterDataProps.d.ts +2 -2
  276. package/mobile/bundle/components/Header/Header.d.ts +2 -2
  277. package/mobile/bundle/components/Header/HeaderContent.d.ts +13 -1
  278. package/mobile/bundle/components/Header/HeaderTop.d.ts +6 -2
  279. package/mobile/bundle/components/PictureText/positionStyle.d.ts +1 -0
  280. package/mobile/bundle/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
  281. package/mobile/bundle/components/PictureText/styleInsuranceSum.d.ts +1 -0
  282. package/mobile/bundle/components/PictureText/styleValueBlock.d.ts +2 -0
  283. package/mobile/bundle/components/RollupItem/RollupItemContent.d.ts +4 -2
  284. package/mobile/bundle/components/RollupItem/renderRoundedIcon.d.ts +4 -0
  285. package/mobile/bundle/icons/IconName.d.ts +4 -2
  286. package/mobile/bundle/ui-kit/BenefitItem/labelSize.d.ts +1 -0
  287. package/mobile/bundle/ui-kit/Heading/headingTag.d.ts +2 -0
  288. package/mobile/bundle/ui-kit/Icon/IconProps.d.ts +8 -3
  289. package/mobile/bundle/ui-kit/Icon/RoundedIcon.d.ts +5 -1
  290. package/mobile/dist/components/BaseTile/BaseTile.js +2 -1
  291. package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
  292. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  293. package/mobile/dist/components/Blocks.js +10 -0
  294. package/mobile/dist/components/Blocks.js.map +1 -1
  295. package/mobile/dist/components/Bonus/Bonus.js +1 -1
  296. package/mobile/dist/components/BusinessBlock/BusinessCard.js +1 -1
  297. package/mobile/dist/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
  298. package/mobile/dist/components/{ButtonBlock/ButtonBlock.js → ButtonsBlock/ButtonsBlock.js} +3 -3
  299. package/mobile/dist/components/ButtonsBlock/ButtonsBlock.js.map +1 -0
  300. package/mobile/dist/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
  301. package/mobile/dist/components/{ButtonBlock/ButtonBlockContent.js → ButtonsBlock/ButtonsBlockContent.js} +1 -1
  302. package/mobile/dist/components/ButtonsBlock/ButtonsBlockContent.js.map +1 -0
  303. package/mobile/dist/components/CardTransfer/CardTransfer.js +1 -1
  304. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  305. package/mobile/dist/components/CarouselCard/CarouselCard.d.ts +1 -1
  306. package/mobile/dist/components/CarouselCard/CarouselCard.js +9 -7
  307. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  308. package/mobile/dist/components/CarouselCard/getCardWidth.d.ts +1 -0
  309. package/mobile/dist/components/CarouselCard/getCardWidth.js +18 -0
  310. package/mobile/dist/components/CarouselCard/getCardWidth.js.map +1 -0
  311. package/mobile/dist/components/CarouselCard/titleSize.d.ts +1 -0
  312. package/mobile/dist/components/CarouselCard/titleSize.js +4 -0
  313. package/mobile/dist/components/CarouselCard/titleSize.js.map +1 -0
  314. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
  315. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  316. package/mobile/dist/components/Footer/Contacts.d.ts +2 -2
  317. package/mobile/dist/components/Footer/Contacts.js +4 -5
  318. package/mobile/dist/components/Footer/Contacts.js.map +1 -1
  319. package/mobile/dist/components/Footer/FooterContent.d.ts +9 -1
  320. package/mobile/dist/components/Footer/FooterDataProps.d.ts +2 -2
  321. package/mobile/dist/components/Header/Header.d.ts +2 -2
  322. package/mobile/dist/components/Header/Header.js +3 -17
  323. package/mobile/dist/components/Header/Header.js.map +1 -1
  324. package/mobile/dist/components/Header/HeaderContent.d.ts +13 -1
  325. package/mobile/dist/components/Header/HeaderTop.d.ts +6 -2
  326. package/mobile/dist/components/Header/HeaderTop.js +15 -2
  327. package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
  328. package/mobile/dist/components/Headline/headlineVersionStyles.js +6 -6
  329. package/mobile/dist/components/Headline/headlineVersionStyles.js.map +1 -1
  330. package/mobile/dist/components/PictureText/PictureText.js +5 -11
  331. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  332. package/mobile/dist/components/PictureText/positionStyle.d.ts +1 -0
  333. package/mobile/dist/components/PictureText/positionStyle.js +4 -0
  334. package/mobile/dist/components/PictureText/positionStyle.js.map +1 -0
  335. package/mobile/dist/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
  336. package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js +15 -0
  337. package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js.map +1 -0
  338. package/mobile/dist/components/PictureText/styleInsuranceSum.d.ts +1 -0
  339. package/mobile/dist/components/PictureText/styleInsuranceSum.js +4 -0
  340. package/mobile/dist/components/PictureText/styleInsuranceSum.js.map +1 -0
  341. package/mobile/dist/components/PictureText/styleValueBlock.d.ts +2 -0
  342. package/mobile/dist/components/PictureText/styleValueBlock.js +5 -0
  343. package/mobile/dist/components/PictureText/styleValueBlock.js.map +1 -0
  344. package/mobile/dist/components/ProductGallery/ProductGallery.js +4 -17
  345. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  346. package/mobile/dist/components/RollupItem/RollupItem.js +14 -9
  347. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  348. package/mobile/dist/components/RollupItem/RollupItemContent.d.ts +4 -2
  349. package/mobile/dist/components/RollupItem/renderRoundedIcon.d.ts +4 -0
  350. package/mobile/dist/components/RollupItem/renderRoundedIcon.js +7 -0
  351. package/mobile/dist/components/RollupItem/renderRoundedIcon.js.map +1 -0
  352. package/mobile/dist/content-page-repository/transformImg.js +1 -1
  353. package/mobile/dist/content-page-repository/transformImg.js.map +1 -1
  354. package/mobile/dist/icons/IconName.d.ts +4 -2
  355. package/mobile/dist/icons/IconName.js +3 -1
  356. package/mobile/dist/icons/IconName.js.map +1 -1
  357. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +12 -11
  358. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  359. package/mobile/dist/ui-kit/BenefitItem/labelSize.d.ts +1 -0
  360. package/mobile/dist/ui-kit/BenefitItem/labelSize.js +4 -0
  361. package/mobile/dist/ui-kit/BenefitItem/labelSize.js.map +1 -0
  362. package/mobile/dist/ui-kit/Button/renderButtonsSection.js +2 -2
  363. package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  364. package/mobile/dist/ui-kit/Heading/Heading.js +12 -11
  365. package/mobile/dist/ui-kit/Heading/Heading.js.map +1 -1
  366. package/mobile/dist/ui-kit/Heading/headingTag.d.ts +2 -0
  367. package/mobile/dist/ui-kit/Heading/headingTag.js +13 -0
  368. package/mobile/dist/ui-kit/Heading/headingTag.js.map +1 -0
  369. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +8 -3
  370. package/mobile/dist/ui-kit/Icon/RoundedIcon.d.ts +5 -1
  371. package/mobile/dist/ui-kit/Icon/RoundedIcon.js +5 -1
  372. package/mobile/dist/ui-kit/Icon/RoundedIcon.js.map +1 -1
  373. package/mobile/lib/common.css +1 -1
  374. package/mobile/lib/components/BaseTile/BaseTile.js +2 -1
  375. package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
  376. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  377. package/mobile/lib/components/Blocks.js +10 -0
  378. package/mobile/lib/components/Blocks.js.map +1 -1
  379. package/mobile/lib/components/Bonus/Bonus.js +1 -1
  380. package/mobile/lib/components/BusinessBlock/BusinessCard.js +1 -1
  381. package/mobile/lib/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
  382. package/mobile/lib/components/{ButtonBlock/ButtonBlock.js → ButtonsBlock/ButtonsBlock.js} +2 -2
  383. package/mobile/lib/components/ButtonsBlock/ButtonsBlock.js.map +1 -0
  384. package/mobile/lib/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
  385. package/mobile/lib/components/ButtonsBlock/ButtonsBlockContent.js +2 -0
  386. package/mobile/lib/components/ButtonsBlock/ButtonsBlockContent.js.map +1 -0
  387. package/mobile/lib/components/CardTransfer/CardTransfer.js +1 -1
  388. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  389. package/mobile/lib/components/CarouselCard/CarouselCard.d.ts +1 -1
  390. package/mobile/lib/components/CarouselCard/CarouselCard.js +9 -7
  391. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  392. package/mobile/lib/components/CarouselCard/getCardWidth.d.ts +1 -0
  393. package/mobile/lib/components/CarouselCard/getCardWidth.js +15 -0
  394. package/mobile/lib/components/CarouselCard/getCardWidth.js.map +1 -0
  395. package/mobile/lib/components/CarouselCard/titleSize.d.ts +1 -0
  396. package/mobile/lib/components/CarouselCard/titleSize.js +2 -0
  397. package/mobile/lib/components/CarouselCard/titleSize.js.map +1 -0
  398. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
  399. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  400. package/mobile/lib/components/Footer/Contacts.d.ts +2 -2
  401. package/mobile/lib/components/Footer/Contacts.js +4 -5
  402. package/mobile/lib/components/Footer/Contacts.js.map +1 -1
  403. package/mobile/lib/components/Footer/FooterContent.d.ts +9 -1
  404. package/mobile/lib/components/Footer/FooterDataProps.d.ts +2 -2
  405. package/mobile/lib/components/Header/Header.d.ts +2 -2
  406. package/mobile/lib/components/Header/Header.js +4 -18
  407. package/mobile/lib/components/Header/Header.js.map +1 -1
  408. package/mobile/lib/components/Header/HeaderContent.d.ts +13 -1
  409. package/mobile/lib/components/Header/HeaderTop.d.ts +6 -2
  410. package/mobile/lib/components/Header/HeaderTop.js +15 -2
  411. package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
  412. package/mobile/lib/components/Headline/headlineVersionStyles.js +6 -6
  413. package/mobile/lib/components/Headline/headlineVersionStyles.js.map +1 -1
  414. package/mobile/lib/components/PictureText/PictureText.js +5 -11
  415. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  416. package/mobile/lib/components/PictureText/positionStyle.d.ts +1 -0
  417. package/mobile/lib/components/PictureText/positionStyle.js +2 -0
  418. package/mobile/lib/components/PictureText/positionStyle.js.map +1 -0
  419. package/mobile/lib/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
  420. package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js +12 -0
  421. package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -0
  422. package/mobile/lib/components/PictureText/styleInsuranceSum.d.ts +1 -0
  423. package/mobile/lib/components/PictureText/styleInsuranceSum.js +2 -0
  424. package/mobile/lib/components/PictureText/styleInsuranceSum.js.map +1 -0
  425. package/mobile/lib/components/PictureText/styleValueBlock.d.ts +2 -0
  426. package/mobile/lib/components/PictureText/styleValueBlock.js +3 -0
  427. package/mobile/lib/components/PictureText/styleValueBlock.js.map +1 -0
  428. package/mobile/lib/components/ProductGallery/ProductGallery.js +5 -18
  429. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  430. package/mobile/lib/components/RollupItem/RollupItem.js +14 -9
  431. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  432. package/mobile/lib/components/RollupItem/RollupItemContent.d.ts +4 -2
  433. package/mobile/lib/components/RollupItem/renderRoundedIcon.d.ts +4 -0
  434. package/mobile/lib/components/RollupItem/renderRoundedIcon.js +4 -0
  435. package/mobile/lib/components/RollupItem/renderRoundedIcon.js.map +1 -0
  436. package/mobile/lib/content-page-repository/transformImg.js +1 -1
  437. package/mobile/lib/content-page-repository/transformImg.js.map +1 -1
  438. package/mobile/lib/icons/IconName.d.ts +4 -2
  439. package/mobile/lib/icons/IconName.js +3 -1
  440. package/mobile/lib/icons/IconName.js.map +1 -1
  441. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +12 -11
  442. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  443. package/mobile/lib/ui-kit/BenefitItem/labelSize.d.ts +1 -0
  444. package/mobile/lib/ui-kit/BenefitItem/labelSize.js +2 -0
  445. package/mobile/lib/ui-kit/BenefitItem/labelSize.js.map +1 -0
  446. package/mobile/lib/ui-kit/Button/renderButtonsSection.js +2 -2
  447. package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  448. package/mobile/lib/ui-kit/Heading/Heading.js +12 -11
  449. package/mobile/lib/ui-kit/Heading/Heading.js.map +1 -1
  450. package/mobile/lib/ui-kit/Heading/headingTag.d.ts +2 -0
  451. package/mobile/lib/ui-kit/Heading/headingTag.js +10 -0
  452. package/mobile/lib/ui-kit/Heading/headingTag.js.map +1 -0
  453. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +8 -3
  454. package/mobile/lib/ui-kit/Icon/RoundedIcon.d.ts +5 -1
  455. package/mobile/lib/ui-kit/Icon/RoundedIcon.js +5 -1
  456. package/mobile/lib/ui-kit/Icon/RoundedIcon.js.map +1 -1
  457. package/mobile/src/components/BaseTile/BaseTile.tsx +6 -3
  458. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  459. package/mobile/src/components/Blocks.ts +10 -0
  460. package/mobile/src/components/Bonus/Bonus.tsx +1 -1
  461. package/mobile/src/components/BusinessBlock/BusinessCard.tsx +1 -1
  462. package/mobile/src/components/ButtonsBlock/ButtonsBlock.example.json +14 -0
  463. package/{src/components/ButtonBlock/ButtonBlock.tsx → mobile/src/components/ButtonsBlock/ButtonsBlock.tsx} +4 -4
  464. package/mobile/src/components/ButtonsBlock/ButtonsBlock.ui.json +14 -0
  465. package/mobile/src/components/ButtonsBlock/ButtonsBlockContent.ts +9 -0
  466. package/mobile/src/components/CardTransfer/CardTransfer.tsx +9 -3
  467. package/mobile/src/components/CarouselCard/CarouselCard.tsx +16 -12
  468. package/mobile/src/components/CarouselCard/getCardWidth.tsx +16 -0
  469. package/mobile/src/components/CarouselCard/titleSize.tsx +1 -0
  470. package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +1 -3
  471. package/mobile/src/components/Footer/Contacts.tsx +20 -12
  472. package/mobile/src/components/Footer/FooterContent.ts +10 -1
  473. package/mobile/src/components/Footer/FooterDataProps.ts +2 -2
  474. package/mobile/src/components/Header/Header.tsx +19 -50
  475. package/mobile/src/components/Header/HeaderContent.ts +15 -1
  476. package/mobile/src/components/Header/HeaderTop.tsx +62 -25
  477. package/mobile/src/components/Headline/headlineVersionStyles.ts +6 -6
  478. package/mobile/src/components/PictureText/PictureText.tsx +13 -27
  479. package/mobile/src/components/PictureText/positionStyle.tsx +1 -0
  480. package/mobile/src/components/PictureText/renderInsuranceSumMonth.tsx +28 -0
  481. package/mobile/src/components/PictureText/styleInsuranceSum.tsx +1 -0
  482. package/mobile/src/components/PictureText/styleValueBlock.tsx +2 -0
  483. package/mobile/src/components/ProductGallery/ProductGallery.tsx +18 -59
  484. package/mobile/src/components/RollupItem/RollupItem.tsx +25 -18
  485. package/mobile/src/components/RollupItem/RollupItem.ui.json +7 -1
  486. package/mobile/src/components/RollupItem/RollupItemContent.ts +4 -2
  487. package/mobile/src/components/RollupItem/renderRoundedIcon.tsx +7 -0
  488. package/mobile/src/content-page-repository/transformImg.ts +1 -1
  489. package/mobile/src/icons/ChevronLeft.svg +3 -0
  490. package/mobile/src/icons/IconName.ts +5 -5
  491. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +26 -22
  492. package/mobile/src/ui-kit/BenefitItem/labelSize.tsx +1 -0
  493. package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +8 -2
  494. package/mobile/src/ui-kit/Heading/Heading.tsx +17 -16
  495. package/mobile/src/ui-kit/Heading/headingTag.ts +12 -0
  496. package/mobile/src/ui-kit/Icon/IconProps.ts +9 -4
  497. package/mobile/src/ui-kit/Icon/RoundedIcon.tsx +18 -6
  498. package/package.json +1 -1
  499. package/src/components/BaseTile/BaseTile.tsx +6 -3
  500. package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  501. package/src/components/Blocks.mobile.ts +10 -0
  502. package/src/components/Blocks.ts +2 -2
  503. package/src/components/Bonus/Bonus.tsx +1 -1
  504. package/src/components/BusinessBlock/BusinessCard.tsx +1 -1
  505. package/src/components/ButtonsBlock/ButtonsBlock.example.json +14 -0
  506. package/src/components/ButtonsBlock/ButtonsBlock.fixture.mobile.tsx +26 -0
  507. package/src/components/ButtonsBlock/ButtonsBlock.fixture.tsx +26 -0
  508. package/{mobile/src/components/ButtonBlock/ButtonBlock.tsx → src/components/ButtonsBlock/ButtonsBlock.tsx} +4 -4
  509. package/src/components/ButtonsBlock/ButtonsBlock.ui.json +14 -0
  510. package/src/components/ButtonsBlock/ButtonsBlockContent.ts +9 -0
  511. package/src/components/CardTransfer/CardTransfer.fixture.mobile.tsx +18 -0
  512. package/src/components/CardTransfer/CardTransfer.tsx +9 -3
  513. package/src/components/CarouselCard/CarouselCard.fixture.mobile.tsx +28 -0
  514. package/src/components/CarouselCard/CarouselCard.tsx +16 -12
  515. package/src/components/CarouselCard/getCardWidth.tsx +16 -0
  516. package/src/components/CarouselCard/titleSize.mobile.tsx +1 -0
  517. package/src/components/CarouselCard/titleSize.tsx +1 -0
  518. package/src/components/CarouselProductCard/CarouselProductCard.tsx +1 -3
  519. package/src/components/Footer/Contacts.tsx +20 -12
  520. package/src/components/Footer/FooterContent.ts +10 -1
  521. package/src/components/Footer/FooterDataProps.ts +2 -2
  522. package/src/components/Header/Header.fixture.mobile.tsx +4 -0
  523. package/src/components/Header/Header.mobile.tsx +19 -50
  524. package/src/components/Header/HeaderContent.ts +15 -1
  525. package/src/components/Header/HeaderTop.tsx +62 -25
  526. package/src/components/Headline/headlineVersionStyles.ts +6 -6
  527. package/src/components/PictureText/PictureText.fixture.mobile.tsx +122 -0
  528. package/src/components/PictureText/PictureText.tsx +13 -27
  529. package/src/components/PictureText/positionStyle.mobile.tsx +1 -0
  530. package/src/components/PictureText/positionStyle.tsx +1 -0
  531. package/src/components/PictureText/renderInsuranceSumMonth.tsx +28 -0
  532. package/src/components/PictureText/styleInsuranceSum.mobile.tsx +1 -0
  533. package/src/components/PictureText/styleInsuranceSum.tsx +1 -0
  534. package/src/components/PictureText/styleValueBlock.mobile.tsx +2 -0
  535. package/src/components/PictureText/styleValueBlock.tsx +2 -0
  536. package/src/components/ProductGallery/ProductGallery.fixture.mobile.tsx +142 -0
  537. package/src/components/ProductGallery/ProductGallery.mobile.tsx +34 -0
  538. package/src/components/RollupItem/RollupItem.fixture.mobile.tsx +15 -0
  539. package/src/components/RollupItem/RollupItem.tsx +25 -18
  540. package/src/components/RollupItem/RollupItem.ui.json +7 -1
  541. package/src/components/RollupItem/RollupItemContent.ts +4 -2
  542. package/src/components/RollupItem/renderRoundedIcon.mobile.tsx +7 -0
  543. package/src/components/RollupItem/renderRoundedIcon.tsx +4 -0
  544. package/src/content-page-repository/transformImg.ts +1 -1
  545. package/src/icons/ChevronLeft.svg +3 -0
  546. package/src/icons/IconName.ts +5 -1
  547. package/src/ui-kit/BenefitItem/BenefitItem.tsx +26 -22
  548. package/src/ui-kit/BenefitItem/borderRadius.mobile.tsx +1 -0
  549. package/src/ui-kit/BenefitItem/labelSize.mobile.tsx +1 -0
  550. package/src/ui-kit/BenefitItem/labelSize.tsx +1 -0
  551. package/src/ui-kit/Button/renderButtonsSection.tsx +8 -2
  552. package/src/ui-kit/Heading/Heading.fixture.mobile.tsx +6 -6
  553. package/src/ui-kit/Heading/Heading.fixture.tsx +6 -6
  554. package/src/ui-kit/Heading/Heading.tsx +8 -3
  555. package/src/ui-kit/Heading/headingTag.mobile.ts +12 -0
  556. package/src/ui-kit/Heading/headingTag.ts +3 -0
  557. package/src/ui-kit/Icon/IconProps.ts +9 -4
  558. package/src/ui-kit/Icon/RoundedIcon.tsx +18 -6
  559. package/tailwind.config.cjs +10 -4
  560. package/bundle/components/ButtonBlock/ButtonBlock.d.ts +0 -6
  561. package/bundle/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
  562. package/bundle/ui-kit/Heading/Heading.mobile.d.ts +0 -2
  563. package/dist/components/ButtonBlock/ButtonBlock.d.ts +0 -6
  564. package/dist/components/ButtonBlock/ButtonBlock.js.map +0 -1
  565. package/dist/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
  566. package/dist/components/ButtonBlock/ButtonBlockContent.js.map +0 -1
  567. package/dist/ui-kit/Heading/Heading.mobile.d.ts +0 -2
  568. package/dist/ui-kit/Heading/Heading.mobile.js +0 -18
  569. package/dist/ui-kit/Heading/Heading.mobile.js.map +0 -1
  570. package/lib/components/ButtonBlock/ButtonBlock.d.ts +0 -6
  571. package/lib/components/ButtonBlock/ButtonBlock.js.map +0 -1
  572. package/lib/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
  573. package/lib/components/ButtonBlock/ButtonBlockContent.js +0 -2
  574. package/lib/components/ButtonBlock/ButtonBlockContent.js.map +0 -1
  575. package/lib/ui-kit/Heading/Heading.mobile.d.ts +0 -2
  576. package/lib/ui-kit/Heading/Heading.mobile.js +0 -16
  577. package/lib/ui-kit/Heading/Heading.mobile.js.map +0 -1
  578. package/mobile/bundle/components/ButtonBlock/ButtonBlock.d.ts +0 -6
  579. package/mobile/bundle/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
  580. package/mobile/dist/components/ButtonBlock/ButtonBlock.d.ts +0 -6
  581. package/mobile/dist/components/ButtonBlock/ButtonBlock.js.map +0 -1
  582. package/mobile/dist/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
  583. package/mobile/dist/components/ButtonBlock/ButtonBlockContent.js.map +0 -1
  584. package/mobile/lib/components/ButtonBlock/ButtonBlock.d.ts +0 -6
  585. package/mobile/lib/components/ButtonBlock/ButtonBlock.js.map +0 -1
  586. package/mobile/lib/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
  587. package/mobile/lib/components/ButtonBlock/ButtonBlockContent.js +0 -2
  588. package/mobile/lib/components/ButtonBlock/ButtonBlockContent.js.map +0 -1
  589. package/mobile/src/components/ButtonBlock/ButtonBlock.example.json +0 -12
  590. package/mobile/src/components/ButtonBlock/ButtonBlock.ui.json +0 -12
  591. package/mobile/src/components/ButtonBlock/ButtonBlockContent.ts +0 -9
  592. package/src/components/ButtonBlock/ButtonBlock.example.json +0 -12
  593. package/src/components/ButtonBlock/ButtonBlock.fixture.tsx +0 -19
  594. package/src/components/ButtonBlock/ButtonBlock.ui.json +0 -12
  595. package/src/components/ButtonBlock/ButtonBlockContent.ts +0 -9
  596. package/src/ui-kit/Heading/Heading.mobile.tsx +0 -22
  597. /package/lib/components/{ButtonBlock/ButtonBlock.fixture.d.ts → ButtonsBlock/ButtonsBlock.fixture.d.ts} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"Contacts.js","sourceRoot":"","sources":["../../../src/components/Footer/Contacts.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AASpD,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CAAgB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CACnF,eAAK,SAAS,EAAE,SAAS,aACtB,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,IAAI,EAC/C,SAAS,CAAC,CAAC,CAAC,CACX,KAAC,MAAM,IACL,OAAO,EAAC,SAAS,EACjB,SAAS,EAAC,aAAa,EACvB,IAAI,EAAC,wCAAwC,EAC7C,MAAM,EAAC,QAAQ,EACf,SAAS,EAAC,iFAAgB,EAC1B,IAAI,EAAC,iFAAgB,GACrB,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC,CAAC;AAEH,MAAM,aAAa,GAAG,CAAC,IAAiB,EAAE,KAAa,EAAE,EAAE;IACzD,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,WAA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AS,EAAC,8CAA8C,EAAC,IAAI,EAAE,UAAU,IAAI,EAAE,YAC/E,IAAI,GACH,CACL,CAAC;QACJ;YACE,OAAO,yBAAO,IAAI,GAAQ,CAAC;KAC9B;AACH,CAAC,CAAC;AAEF,MAAM,SAAS,GAAG,CAAC,CAAS,EAAE,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import type { DescriptionProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
2
3
  import type { LinkProps } from '../../model/LinkProps';
3
4
  import type { IconProps } from '../../model/Picture';
4
- import type { UniBlockContent } from '../../model/JSXBlock';
5
5
  /**
6
6
  * @title Тип контакта
7
7
  * @enumNames [
@@ -18,6 +18,14 @@ export declare type ContactInfo = DescriptionProps & {
18
18
  text?: string;
19
19
  type?: ContactType;
20
20
  };
21
+ /**
22
+ * @title Группа контактов
23
+ */
24
+ export declare type ContactGroup = {
25
+ /** @title Имя */
26
+ title?: string;
27
+ items?: ContactInfo[];
28
+ };
21
29
  /**
22
30
  * @title Пункт подменю
23
31
  */
@@ -1,11 +1,11 @@
1
1
  import type { LinkCommonProps, LinkProps } from '../../model/LinkProps';
2
2
  import type { Picture } from '../../model/Picture';
3
3
  import type { SitemapData } from '../../services/sitemap/SitemapData';
4
- import type { ContactInfo, SubMenuItem } from './FooterContent';
4
+ import type { ContactGroup, SubMenuItem } from './FooterContent';
5
5
  export interface FooterDataProps extends SitemapData {
6
6
  documents?: LinkProps[];
7
7
  relatedEnterprises?: LinkProps[];
8
- contacts?: ContactInfo[];
8
+ contacts?: ContactGroup[];
9
9
  socialMedia?: LinkCommonProps[];
10
10
  mobileApps?: LinkCommonProps[];
11
11
  horizontalNavigationTitle?: string;
@@ -3,5 +3,7 @@ import '../../setup-fixture';
3
3
  declare const _default: {
4
4
  default: JSX.Element;
5
5
  transparent: JSX.Element;
6
+ withTitle: JSX.Element;
7
+ backButton: JSX.Element;
6
8
  };
7
9
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import type { UniBlockProps } from '../../model/JSXBlock';
2
2
  import type { HeaderContent } from './HeaderContent';
3
- export interface HeaderProps extends HeaderContent, UniBlockProps {
3
+ export interface HeaderMobileProps extends HeaderContent, UniBlockProps {
4
4
  }
5
- export declare const Header: import("@redneckz/uni-jsx").UNIComponent<HeaderProps, any, any>;
5
+ export declare const Header: import("@redneckz/uni-jsx").UNIComponent<HeaderMobileProps, any, any>;
@@ -1,30 +1,16 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- import { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
4
- import { useRouter } from '../../hooks/useRouter.js';
5
3
  import { useSWRResource } from '../../hooks/useSWRResource.js';
6
4
  import { projectSettings } from '../../ProjectSettings.js';
7
- import { findActiveSubItem } from '../../services/sitemap/findActiveSubItem.js';
8
- import { isTopItemActive } from '../../services/sitemap/isTopItemActive.js';
9
5
  import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
10
- import { HeaderItem } from '../../ui-kit/HeaderItem/HeaderItem.js';
11
- import { LinkList } from '../../ui-kit/LinkList/LinkList.js';
12
- import { RollupItem } from '../RollupItem/RollupItem.js';
13
- import { HeaderBurger } from './HeaderBurger.js';
14
6
  import { HeaderTop } from './HeaderTop.js';
15
7
  const BG_COLOR_TO_BLOCK_VERSION = {
16
8
  'bg-white': 'primary',
17
9
  transparent: 'transparent',
18
10
  };
19
- export const Header = JSX(({ bgColor = 'bg-white', version = BG_COLOR_TO_BLOCK_VERSION[bgColor], ...rest }) => {
20
- const router = useRouter();
11
+ export const Header = JSX(({ bgColor = 'bg-white', version = BG_COLOR_TO_BLOCK_VERSION[bgColor], mobileHeaderType = 'none', ...rest }) => {
21
12
  const fallback = rest.options?.page?.fallback;
22
- const { topItems, dispositions, defaultLocation, logo } = useSWRResource(projectSettings.SITEMAP || 'sitemap', fallback);
23
- const activeTopItem = topItems?.find(isTopItemActive(router));
24
- const subItems = activeTopItem?.items;
25
- const activeSubItem = findActiveSubItem(router)(subItems);
26
- const [burgerMenuShow, setBurgerMenuShow] = useState(false);
27
- const handleBurgerMenuShow = useCallback(() => setBurgerMenuShow((_) => !_), []);
28
- return (_jsxs(BlockWrapper, { tag: "header", version: version, ...rest, children: [_jsxs("div", { className: "container px-4 py-0 box-border", children: [_jsx(HeaderTop, { onClick: handleBurgerMenuShow, bgColor: bgColor, logo: logo }), _jsx("nav", { className: "flex items-center m-0 p-0 overflow-y-hidden w-full h-12", children: _jsx("div", { className: "flex no-scrollbar horizontal-list h-full items-center", children: subItems?.map((_, i) => (_jsx(HeaderItem, { className: "mr-8 whitespace-nowrap text-s", active: _ === activeSubItem, ..._ }, String(i)))) }) })] }), burgerMenuShow ? (_jsx(HeaderBurger, { onClick: handleBurgerMenuShow, burgerSubMenu: dispositions, defaultLocation: defaultLocation, children: _jsx("div", { className: "list-none m-0 p-0", children: topItems?.map((item, i) => (_jsx(RollupItem, { label: item.text, children: _jsx(LinkList, { className: "mt-2.5", items: item.items }) }, String(i)))) }) })) : null] }));
13
+ const { logo, internetBankUrl } = useSWRResource(projectSettings.SITEMAP || 'sitemap', fallback);
14
+ return (_jsx(BlockWrapper, { tag: "header", version: version, ...rest, children: _jsx("div", { className: "container px-4 py-1 box-border", children: _jsx(HeaderTop, { bgColor: bgColor, logo: logo, internetBankUrl: internetBankUrl, version: version, mobileHeaderType: mobileHeaderType, ...rest }) }) }));
29
15
  });
30
16
  //# sourceMappingURL=Header.mobile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Header.mobile.js","sourceRoot":"","sources":["../../../src/components/Header/Header.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE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,CAEb,CACd,CAAC,GACE,GACO,CAChB,CAAC,CAAC,CAAC,IAAI,IACK,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"Header.mobile.js","sourceRoot":"","sources":["../../../src/components/Header/Header.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAK5D,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAKxC,MAAM,yBAAyB,GAAyC;IACtE,UAAU,EAAE,SAAS;IACrB,WAAW,EAAE,aAAa;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CACvB,CAAC,EACC,OAAO,GAAG,UAAU,EACpB,OAAO,GAAG,yBAAyB,CAAC,OAAO,CAAC,EAC5C,gBAAgB,GAAG,MAAM,EACzB,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,QAAQ,GAAyB,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,QAAQ,CAAC;IACpE,MAAM,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,cAAc,CAC9C,eAAe,CAAC,OAAO,IAAI,SAAS,EACpC,QAAQ,CACT,CAAC;IAEF,OAAO,CACL,KAAC,YAAY,IAAC,GAAG,EAAC,QAAQ,EAAC,OAAO,EAAE,OAAO,KAAM,IAAI,YACnD,cAAK,SAAS,EAAC,gCAAgC,YAC7C,KAAC,SAAS,IACR,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,IAAI,EACV,eAAe,EAAE,eAAe,EAChC,OAAO,EAAE,OAAO,EAChB,gBAAgB,EAAE,gBAAgB,KAC9B,IAAI,GACR,GACE,GACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -21,10 +21,22 @@ export declare type Logo = ImageContent & {
21
21
  /** @title Текст логотипа */
22
22
  title?: string;
23
23
  };
24
+ /**
25
+ * @title Мобильный тип шапки
26
+ * @enumNames ["Не выбрано", "Название", "Кнопка возврата"]
27
+ */
28
+ export declare type MobileHeaderType = 'none' | 'withTitle' | 'backwardButton';
29
+ export interface MobileHeaderProps {
30
+ mobileHeaderType?: MobileHeaderType;
31
+ /** @title Название (мобильная версия) */
32
+ mobileTitle?: string;
33
+ /** @title Кнопка возврата (мобильная версия) */
34
+ mobileBackwardButtonTitle?: string;
35
+ }
24
36
  /**
25
37
  * @title Шапка (для мобильных горизонтальная прокрутка shift+mouseScroll)
26
38
  */
27
- export interface HeaderContent {
39
+ export interface HeaderContent extends MobileHeaderProps {
28
40
  /** @hidden */
29
41
  showSubMenu?: boolean;
30
42
  /** @hidden */
@@ -1,8 +1,12 @@
1
1
  import type { BgColorVersion } from '../../model/BgColorVersion';
2
2
  import type { LogoType } from '../../model/LogoType';
3
- export interface HeaderTopProps {
4
- onClick: () => void;
3
+ import type { BlockVersion } from '../../model/BlockVersion';
4
+ import type { MobileHeaderProps, MobileHeaderType } from './HeaderContent';
5
+ export interface HeaderTopProps extends MobileHeaderProps {
5
6
  bgColor?: BgColorVersion;
6
7
  logo?: LogoType;
8
+ internetBankUrl?: string;
9
+ version?: BlockVersion;
10
+ mobileHeaderType?: MobileHeaderType;
7
11
  }
8
12
  export declare const HeaderTop: import("@redneckz/uni-jsx").UNIComponent<HeaderTopProps, any, any>;
@@ -1,6 +1,19 @@
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 { Img } from '../../ui-kit/Img/Img.js';
4
3
  import { Logo } from '../../ui-kit/Logo/Logo.js';
5
- export const HeaderTop = JSX(({ onClick, bgColor, logo }) => (_jsxs("div", { className: "flex items-center justify-between border-0 border-b border-main-divider h-12", children: [_jsxs("div", { className: "flex items-center", children: [_jsx("button", { className: "pl-0 pr-4 border-0 bg-transparent cursor-pointer", onClick: onClick, "aria-label": "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E", children: _jsx(Img, { image: { icon: 'BurgerIcon', iconVersion: bgColor === 'bg-white' ? 'black' : 'white' }, className: "text-primary-text w-6 h-6", width: "24", height: "24" }) }), _jsx(Logo, { className: "mr-8", bgColor: bgColor, logo: logo })] }), _jsx("button", { className: "text-primary-main group-data-transparent:text-white group-data-transparent:hover:text-primary-hover text-s border-0 bg-transparent", children: "\u0412\u043E\u0439\u0442\u0438" })] })));
4
+ import { Button } from '../../ui-kit/Button/Button.js';
5
+ import { style } from '../../utils/style.js';
6
+ import { Img } from '../../ui-kit/Img/Img.js';
7
+ const BUTTON_STYLE = {
8
+ default: 'px-5 bg-main-divider rounded hover:text-primary-main',
9
+ transparent: 'text-white hover:text-primary-hover',
10
+ };
11
+ export const HeaderTop = JSX(({ bgColor, logo, internetBankUrl, version, mobileHeaderType, mobileTitle, mobileBackwardButtonTitle, }) => {
12
+ const isTypeNone = mobileHeaderType === 'none';
13
+ const isTypeWithTitle = mobileHeaderType === 'withTitle';
14
+ return (_jsxs("div", { className: "flex items-center justify-between w-full", children: [isTypeNone || isTypeWithTitle ? (_jsx(Logo, { bgColor: bgColor, logo: logo, showTitle: isTypeNone })) : null, isTypeWithTitle ? mobileTitle : null, mobileHeaderType === 'backwardButton' ? (_jsxs(Button, { className: "flex items-center text-l", children: [_jsx(Img, { className: "w-6 h-6", image: {
15
+ icon: 'ChevronLeft',
16
+ iconVersion: 'black',
17
+ } }), mobileBackwardButtonTitle] })) : null, internetBankUrl ? (_jsx(Button, { href: internetBankUrl, ariaLabel: "\u0412\u043E\u0439\u0442\u0438", target: "_blank", className: style('p-3 my-1 text-s whitespace-nowrap text-primary-main hover:text-primary-hover', BUTTON_STYLE[version === 'transparent' ? 'transparent' : 'default']), children: "\u0412\u043E\u0439\u0442\u0438" })) : null] }));
18
+ });
6
19
  //# sourceMappingURL=HeaderTop.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderTop.js","sourceRoot":"","sources":["../../../src/components/Header/HeaderTop.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAQ9C,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAAiB,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAC3E,eAAK,SAAS,EAAC,8EAA8E,aAC3F,eAAK,SAAS,EAAC,mBAAmB,aAChC,iBACE,SAAS,EAAC,kDAAkD,EAC5D,OAAO,EAAE,OAAO,gBACL,qEAAc,YAEzB,KAAC,GAAG,IACF,KAAK,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,WAAW,EAAE,OAAO,KAAK,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,EAAE,EACtF,SAAS,EAAC,2BAA2B,EACrC,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,GACX,GACK,EACT,KAAC,IAAI,IAAC,SAAS,EAAC,MAAM,EAAC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,GAAI,IACnD,EACN,iBAAQ,SAAS,EAAC,oIAAoI,+CAE7I,IACL,CACP,CAAC,CAAC"}
1
+ {"version":3,"file":"HeaderTop.js","sourceRoot":"","sources":["../../../src/components/Header/HeaderTop.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;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,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -2,32 +2,32 @@ export const headlineVersionStyles = {
2
2
  XXL: {
3
3
  title: { headingType: 'h0', as: 'h1' },
4
4
  descriptionSize: 'text-h5',
5
- descriptionStyle: 'mt-5',
5
+ descriptionStyle: 'mt-headline-xxl',
6
6
  },
7
7
  XL: {
8
8
  title: { headingType: 'h1', as: 'h1' },
9
9
  descriptionSize: 'text-xl-light',
10
- descriptionStyle: 'mt-4',
10
+ descriptionStyle: 'mt-headline-l',
11
11
  },
12
12
  L: {
13
13
  title: { headingType: 'h2', as: 'h2' },
14
14
  descriptionSize: 'text-xl-light',
15
- descriptionStyle: 'mt-4',
15
+ descriptionStyle: 'mt-headline-l',
16
16
  },
17
17
  M: {
18
18
  title: { headingType: 'h3', as: 'h3' },
19
19
  descriptionSize: 'text-xl-light',
20
- descriptionStyle: 'mt-3',
20
+ descriptionStyle: 'mt-headline-m',
21
21
  },
22
22
  S: {
23
23
  title: { headingType: 'h4', as: 'h4' },
24
24
  descriptionSize: 'text-xl-light',
25
- descriptionStyle: 'mt-2',
25
+ descriptionStyle: 'mt-headline-s',
26
26
  },
27
27
  XS: {
28
28
  title: { headingType: 'h5', as: 'h5' },
29
29
  descriptionSize: 'text-l-light',
30
- descriptionStyle: 'mt-2',
30
+ descriptionStyle: 'mt-headline-s',
31
31
  },
32
32
  };
33
33
  // TODO Move to Gallery and rename
@@ -1 +1 @@
1
- {"version":3,"file":"headlineVersionStyles.js","sourceRoot":"","sources":["../../../src/components/Headline/headlineVersionStyles.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,MAAM,qBAAqB,GAO9B;IACF,GAAG,EAAE;QACH,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtC,eAAe,EAAE,SAAS;QAC1B,gBAAgB,EAAE,MAAM;KACzB;IACD,EAAE,EAAE;QACF,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtC,eAAe,EAAE,eAAe;QAChC,gBAAgB,EAAE,MAAM;KACzB;IACD,CAAC,EAAE;QACD,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtC,eAAe,EAAE,eAAe;QAChC,gBAAgB,EAAE,MAAM;KACzB;IACD,CAAC,EAAE;QACD,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtC,eAAe,EAAE,eAAe;QAChC,gBAAgB,EAAE,MAAM;KACzB;IACD,CAAC,EAAE;QACD,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtC,eAAe,EAAE,eAAe;QAChC,gBAAgB,EAAE,MAAM;KACzB;IACD,EAAE,EAAE;QACF,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtC,eAAe,EAAE,cAAc;QAC/B,gBAAgB,EAAE,MAAM;KACzB;CACF,CAAC;AAEF,kCAAkC;AAClC,MAAM,CAAC,MAAM,sBAAsB,GAAyC;IAC1E,EAAE,EAAE,SAAS;IACb,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE,SAAS;IACf,GAAG,EAAE,cAAc;IACnB,GAAG,EAAE,QAAQ;IACb,CAAC,EAAE,cAAc;IACjB,CAAC,EAAE,cAAc;IACjB,EAAE,EAAE,eAAe;CACpB,CAAC"}
1
+ {"version":3,"file":"headlineVersionStyles.js","sourceRoot":"","sources":["../../../src/components/Headline/headlineVersionStyles.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,MAAM,qBAAqB,GAO9B;IACF,GAAG,EAAE;QACH,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtC,eAAe,EAAE,SAAS;QAC1B,gBAAgB,EAAE,iBAAiB;KACpC;IACD,EAAE,EAAE;QACF,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtC,eAAe,EAAE,eAAe;QAChC,gBAAgB,EAAE,eAAe;KAClC;IACD,CAAC,EAAE;QACD,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtC,eAAe,EAAE,eAAe;QAChC,gBAAgB,EAAE,eAAe;KAClC;IACD,CAAC,EAAE;QACD,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtC,eAAe,EAAE,eAAe;QAChC,gBAAgB,EAAE,eAAe;KAClC;IACD,CAAC,EAAE;QACD,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtC,eAAe,EAAE,eAAe;QAChC,gBAAgB,EAAE,eAAe;KAClC;IACD,EAAE,EAAE;QACF,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtC,eAAe,EAAE,cAAc;QAC/B,gBAAgB,EAAE,eAAe;KAClC;CACF,CAAC;AAEF,kCAAkC;AAClC,MAAM,CAAC,MAAM,sBAAsB,GAAyC;IAC1E,EAAE,EAAE,SAAS;IACb,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE,SAAS;IACf,GAAG,EAAE,cAAc;IACnB,GAAG,EAAE,QAAQ;IACb,CAAC,EAAE,cAAc;IACjB,CAAC,EAAE,cAAc;IACjB,EAAE,EAAE,eAAe;CACpB,CAAC"}
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ import '../../setup-fixture';
3
+ import type { PictureTextContent } from './PictureTextContent';
4
+ export declare const PICTURE_TEXT: PictureTextContent;
5
+ export declare const INSURANCE_TEXT: PictureTextContent;
6
+ export declare const BENEFITS_HTML_TEXT: PictureTextContent;
7
+ declare const _default: {
8
+ default: JSX.Element;
9
+ secondary: JSX.Element;
10
+ 'insurance sum': JSX.Element;
11
+ 'insurance monthPay': JSX.Element;
12
+ 'benefits as html': JSX.Element;
13
+ };
14
+ export default _default;
@@ -2,17 +2,11 @@ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
4
4
  import { Img } from '../../ui-kit/Img/Img.js';
5
- import { toLocalNumberFormat } from '../../utils/toLocalNumberFormat.js';
6
5
  import { Headline } from '../Headline/Headline.js';
7
6
  import { renderBenefit } from './renderBenefit.js';
8
- export const PictureText = JSX(({ className = '', title, description, image, benefits, sum, monthLimit, directionRight = false, version = 'primary', ...rest }) => (_jsxs(BlockWrapper, { className: `relative py-12 px-24 ${className}`, version: version, ...rest, children: [_jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M" }), _jsxs("div", { className: 'flex justify-center gap-[122px] mt-[30px]', children: [image?.src ? _jsx(Img, { className: directionRight ? 'order-2' : '', image: image }) : null, _jsxs("div", { className: "w-[558px] m-auto", children: [benefits?.length ? (_jsx("div", { className: "flex flex-col gap-4", children: benefits.map(renderBenefit(version)) })) : null, renderInsuranceSumMonth(Number(sum), Number(monthLimit))] })] })] })));
9
- function renderInsuranceSumMonth(sum, monthLimit) {
10
- return sum || monthLimit ? (_jsxs("div", { className: "bg-main-divider rounded-md flex mt-7 gap-6 px-5 py-4", children: [Number(sum) > 0 ? renderValueBlock('Страховая сумма:', sum, Boolean(monthLimit)) : null, Number(monthLimit) > 0
11
- ? renderValueBlock('Ежемесячный лимит:', monthLimit, Boolean(sum))
12
- : null] })) : null;
13
- }
14
- function renderValueBlock(title, sum = 0, isAnotherBlock = false) {
15
- const widthStyle = isAnotherBlock ? 'w-fit' : 'w-full';
16
- return (_jsxs("div", { className: `flex justify-between items-center gap-2 w-full whitespace-pre ${widthStyle}`, children: [_jsx("span", { className: "text-secondary-text text-l-light", children: title }), _jsxs("span", { className: "text-primary-main text-h6", children: [toLocalNumberFormat(2)(sum), " \u20BD"] })] }));
17
- }
7
+ import { style } from '../../utils/style.js';
8
+ import { positionStyle } from './positionStyle.js';
9
+ import { renderInsuranceSumMonth } from './renderInsuranceSumMonth.js';
10
+ export const PictureText = JSX(({ className = '', title, description, image, benefits, sum, monthLimit, directionRight = false, version = 'primary', ...rest }) => (_jsxs(BlockWrapper, { className: style('relative p-default', className), version: version, ...rest, children: [_jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M" // TODO: Сверить с макетом после влития мобильных правок Headline (DRAFT)
11
+ , align: "text-left" }), _jsxs("div", { className: style('flex mt-6', positionStyle), children: [image?.src ? _jsx(Img, { className: directionRight ? 'order-2' : '', image: image }) : null, _jsxs("div", { children: [benefits?.length ? (_jsx("div", { className: "flex flex-col gap-4", children: benefits.map(renderBenefit(version)) })) : null, renderInsuranceSumMonth(Number(sum), Number(monthLimit))] })] })] })));
18
12
  //# sourceMappingURL=PictureText.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PictureText.js","sourceRoot":"","sources":["../../../src/components/PictureText/PictureText.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAIhD,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAC5B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,WAAW,EACX,KAAK,EACL,QAAQ,EACR,GAAG,EACH,UAAU,EACV,cAAc,GAAG,KAAK,EACtB,OAAO,GAAG,SAAS,EACnB,GAAG,IAAI,EACR,EAAE,EAAE,CAAC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,IAAI,aACzF,KAAC,QAAQ,IACP,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,CAAC,yEAAyE;cAC7F,KAAK,EAAC,WAAW,GACjB,EACF,eAAK,SAAS,EAAE,KAAK,CAAC,WAAW,EAAE,aAAa,CAAC,aAC9C,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,SAAS,EAAE,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EACtF,0BACG,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CAClB,cAAK,SAAS,EAAC,qBAAqB,YAAE,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,GAAO,CAClF,CAAC,CAAC,CAAC,IAAI,EACP,uBAAuB,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC,CAAC,IACrD,IACF,IACO,CAChB,CACF,CAAC"}
@@ -0,0 +1 @@
1
+ export declare const positionStyle = "justify-center items-center gap-32";
@@ -0,0 +1,2 @@
1
+ export const positionStyle = 'justify-center items-center gap-32';
2
+ //# sourceMappingURL=positionStyle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"positionStyle.js","sourceRoot":"","sources":["../../../src/components/PictureText/positionStyle.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG,oCAAoC,CAAC"}
@@ -0,0 +1 @@
1
+ export declare const positionStyle = "justify-end flex-col-reverse gap-4";
@@ -0,0 +1,2 @@
1
+ export const positionStyle = 'justify-end flex-col-reverse gap-4';
2
+ //# sourceMappingURL=positionStyle.mobile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"positionStyle.mobile.js","sourceRoot":"","sources":["../../../src/components/PictureText/positionStyle.mobile.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG,oCAAoC,CAAC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { BlockVersion } from '../../model/BlockVersion';
3
2
  import type { ComplexBenefitProps } from '../../ui-kit/BenefitItem/BenefitItemProps';
4
3
  export declare const renderBenefit: (version: BlockVersion) => (benefit: ComplexBenefitProps, i: number) => JSX.Element | null;
@@ -0,0 +1 @@
1
+ export declare const renderInsuranceSumMonth: (sum?: number, monthLimit?: number) => JSX.Element | null;
@@ -0,0 +1,12 @@
1
+ import { jsxs as _jsxs, jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { Text } from '../../ui-kit/Text/Text.js';
3
+ import { style } from '../../utils/style.js';
4
+ import { styleInsuranceSum } from './styleInsuranceSum.js';
5
+ import { toLocalNumberFormat } from '../../utils/toLocalNumberFormat.js';
6
+ import { styleValueBlock, styleValueBlockText } from './styleValueBlock.js';
7
+ export const renderInsuranceSumMonth = (sum = 0, monthLimit = 0) => sum || monthLimit ? (_jsxs("div", { className: style('flex mt-6', styleInsuranceSum), children: [sum > 0 ? renderValueBlock('Страховая сумма:', sum, Boolean(monthLimit)) : null, monthLimit > 0 ? renderValueBlock('Ежемесячный лимит:', monthLimit, Boolean(sum)) : null] })) : null;
8
+ const renderValueBlock = (title, sum = 0, isAnotherBlock = false) => {
9
+ const widthStyle = isAnotherBlock ? 'w-fit' : 'w-full';
10
+ return (_jsxs("div", { className: style(`flex w-full whitespace-pre`, styleValueBlock, widthStyle), children: [_jsx(Text, { font: "font-light", size: "text-l", children: title }), _jsxs(Text, { size: "text-h6", color: styleValueBlockText, children: [toLocalNumberFormat(2)(sum), " \u20BD"] })] }));
11
+ };
12
+ //# sourceMappingURL=renderInsuranceSumMonth.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderInsuranceSumMonth.js","sourceRoot":"","sources":["../../../src/components/PictureText/renderInsuranceSumMonth.tsx"],"names":[],"mappings":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AmB,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,eACvB,IACH,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ export declare const styleInsuranceSum = "bg-main-divider rounded-md px-5 py-4 gap-6";
@@ -0,0 +1,2 @@
1
+ export const styleInsuranceSum = 'bg-main-divider rounded-md px-5 py-4 gap-6';
2
+ //# sourceMappingURL=styleInsuranceSum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styleInsuranceSum.js","sourceRoot":"","sources":["../../../src/components/PictureText/styleInsuranceSum.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,iBAAiB,GAAG,4CAA4C,CAAC"}
@@ -0,0 +1 @@
1
+ export declare const styleInsuranceSum = "flex-col gap-2";
@@ -0,0 +1,2 @@
1
+ export const styleInsuranceSum = 'flex-col gap-2';
2
+ //# sourceMappingURL=styleInsuranceSum.mobile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styleInsuranceSum.mobile.js","sourceRoot":"","sources":["../../../src/components/PictureText/styleInsuranceSum.mobile.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,iBAAiB,GAAG,gBAAgB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const styleValueBlock = "justify-between items-center gap-2";
2
+ export declare const styleValueBlockText = "text-primary-main";
@@ -0,0 +1,3 @@
1
+ export const styleValueBlock = 'justify-between items-center gap-2';
2
+ export const styleValueBlockText = 'text-primary-main';
3
+ //# sourceMappingURL=styleValueBlock.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styleValueBlock.js","sourceRoot":"","sources":["../../../src/components/PictureText/styleValueBlock.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG,oCAAoC,CAAC;AACpE,MAAM,CAAC,MAAM,mBAAmB,GAAG,mBAAmB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const styleValueBlock = "flex-col gap-1";
2
+ export declare const styleValueBlockText = "";
@@ -0,0 +1,3 @@
1
+ export const styleValueBlock = 'flex-col gap-1';
2
+ export const styleValueBlockText = '';
3
+ //# sourceMappingURL=styleValueBlock.mobile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styleValueBlock.mobile.js","sourceRoot":"","sources":["../../../src/components/PictureText/styleValueBlock.mobile.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG,gBAAgB,CAAC;AAChD,MAAM,CAAC,MAAM,mBAAmB,GAAG,EAAE,CAAC"}
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import '../../setup-fixture';
3
+ declare const _default: {
4
+ default: JSX.Element;
5
+ primary: JSX.Element;
6
+ };
7
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import type { UniBlockProps } from '../../model/JSXBlock';
2
+ import type { ProductGalleryContent } from './ProductGalleryContent';
3
+ export interface ProductGalleryProps extends ProductGalleryContent, UniBlockProps {
4
+ }
5
+ export declare const ProductGallery: import("@redneckz/uni-jsx").UNIComponent<ProductGalleryProps, any, any>;
@@ -0,0 +1,11 @@
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
4
+ import { SwipeListControl } from '../../ui-kit/SwipeListControl/SwipeListControl.js';
5
+ import { ProductBlockInner } from '../ProductBlock/ProductBlockInner.js';
6
+ export const ProductGallery = JSX(({ className = '', slides = [], ...rest }) => {
7
+ const galleryBlocks = slides.map((s) => s.productBlock);
8
+ return (_jsx(BlockWrapper, { className: `box-border py-6 overflow-hidden relative w-100 mb-6 ${className}`, ...rest, children: _jsx(SwipeListControl, { gap: 0, padding: 0, children: galleryBlocks.map((_, i) => renderProductBlock({ ..._, ...rest }, i)) }) }));
9
+ });
10
+ const renderProductBlock = (block, i) => (_jsx(ProductBlockInner, { className: "z-10 px-5 group-data-secondary:text-white", ...block }, String(i)));
11
+ //# sourceMappingURL=ProductGallery.mobile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProductGallery.mobile.js","sourceRoot":"","sources":["../../../src/components/ProductGallery/ProductGallery.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAElF,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAKtE,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAC/B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,MAAM,GAAG,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC3C,MAAM,aAAa,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC;IAExD,OAAO,CACL,KAAC,YAAY,IACX,SAAS,EAAE,uDAAuD,SAAS,EAAE,KACzE,IAAI,YAER,KAAC,gBAAgB,IAAC,GAAG,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,YACjC,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,EAAE,GAAG,CAAC,EAAE,GAAG,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,GACrD,GACN,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,kBAAkB,GAAG,CAAC,KAA+B,EAAE,CAAS,EAAE,EAAE,CAAC,CACzE,KAAC,iBAAiB,IAEhB,SAAS,EAAC,2CAA2C,KACjD,KAAK,IAFJ,MAAM,CAAC,CAAC,CAAC,CAGd,CACH,CAAC"}
@@ -5,5 +5,6 @@ export declare const ROLLUP_ITEM: BlockDef;
5
5
  declare const _default: {
6
6
  default: JSX.Element;
7
7
  labelIcon: JSX.Element;
8
+ labelIconSecondary: JSX.Element;
8
9
  };
9
10
  export default _default;
@@ -6,7 +6,7 @@ import { DefaultFoldButton } from '../../ui-kit/Foldable/DefaultFoldButton.js';
6
6
  import { Foldable } from '../../ui-kit/Foldable/Foldable.js';
7
7
  import { FoldableSection } from '../../ui-kit/Foldable/FoldableSection.js';
8
8
  import { Icon } from '../../ui-kit/Icon/Icon.js';
9
- import { RoundedIcon } from '../../ui-kit/Icon/RoundedIcon.js';
9
+ import { renderRoundedIcon } from './renderRoundedIcon.js';
10
10
  import { Text } from '../../ui-kit/Text/Text.js';
11
11
  import { style } from '../../utils/style.js';
12
12
  import { foldableSectionStyles } from './foldableSectionStyles.js';
@@ -14,25 +14,30 @@ import { getIconName } from './getIconName.js';
14
14
  import { labelSize } from './labelSize.js';
15
15
  import { rollupIconVersion } from './rollupIconVersion.js';
16
16
  import { rollupItemStyles } from './rollupItemStyles.js';
17
- export const RollupItem = JSX(({ className = '', label = 'Развернуть', labelIcon, isExpanded, isFoldButtonOnTop = true, version = 'primary', ...rest }) => {
18
- return (_jsx(BlockWrapper, { className: style('w-full', rollupItemStyles, className), tag: "div", version: "transparent", ...rest, children: _jsx(Foldable, { isFoldButtonOnTop: isFoldButtonOnTop, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (_jsx(FoldableSection, { className: style('gap-5 [&>*]:p-0', foldableSectionStyles), isUnfolded: isUnfolded, children: renderChildren(rest) })), renderFoldButton: ({ isUnfolded, onToggle }) => renderFoldButton({ version, label, labelIcon, isUnfolded, onToggle }) }) }));
17
+ export const RollupItem = JSX(({ className = '', label = 'Развернуть', labelIcon, labelIconBgVersion, isExpanded, isFoldButtonOnTop = true, version = 'primary', ...rest }) => {
18
+ return (_jsx(BlockWrapper, { className: style('w-full', rollupItemStyles, className), tag: "div", version: "transparent", ...rest, children: _jsx(Foldable, { isFoldButtonOnTop: isFoldButtonOnTop, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (_jsx(FoldableSection, { className: style('gap-5 [&>*]:p-0', foldableSectionStyles), isUnfolded: isUnfolded, children: renderChildren(rest) })), renderFoldButton: ({ isUnfolded, onToggle }) => renderFoldButton({
19
+ version,
20
+ label,
21
+ labelIcon,
22
+ labelIconBgVersion,
23
+ isUnfolded,
24
+ onToggle,
25
+ }) }) }));
19
26
  });
20
27
  RollupItem.childrenTypes = {
21
28
  exclude: ['RollupItem'],
22
29
  };
23
- const renderFoldButton = ({ version, label: defaultLabel, labelIcon, isUnfolded, onToggle, }) => {
30
+ const renderFoldButton = ({ version, label: defaultLabel, labelIcon, labelIconBgVersion, isUnfolded, onToggle, }) => {
24
31
  const label = defaultLabel || (isUnfolded ? 'Скрыть' : 'Развернуть');
25
32
  return version === 'primary' ? (renderPrimaryFoldButton({
26
33
  label,
27
34
  labelIcon,
35
+ labelIconBgVersion,
28
36
  icon: getIconName(isUnfolded),
29
37
  onToggle,
30
38
  })) : (_jsx(DefaultFoldButton, { label: label, icon: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', onClick: onToggle }));
31
39
  };
32
- const renderPrimaryFoldButton = ({ label, icon, onToggle, labelIcon }) => {
33
- const iconWidth = String(labelIcon?.size?.width || 24);
34
- const iconHeight = String(labelIcon?.size?.height || 24);
35
- const iconName = labelIcon?.icon;
36
- return (_jsxs("button", { className: style('border-none bg-transparent px-0 flex justify-between items-center w-full cursor-pointer group/button', iconName ? 'py-2' : 'py-5'), onClick: onToggle, children: [_jsxs("div", { className: "flex items-center group-hover/button:text-primary-main", children: [iconName ? (_jsx(RoundedIcon, { name: iconName, width: iconWidth, height: iconHeight, iconVersion: labelIcon?.iconVersion })) : null, label ? (_jsx(Text, { size: labelSize, font: "font-normal", children: label })) : null] }), icon ? _jsx(Icon, { name: icon, iconVersion: rollupIconVersion, width: "24", height: "24" }) : null] }));
40
+ const renderPrimaryFoldButton = ({ label, labelIconBgVersion, icon, onToggle, labelIcon, }) => {
41
+ return (_jsxs("button", { className: style('border-none bg-transparent px-0 flex justify-between items-center w-full cursor-pointer group/button', labelIcon?.icon ? 'py-2' : 'py-5'), onClick: onToggle, children: [_jsxs("div", { className: "flex items-center group-hover/button:text-primary-main", children: [renderRoundedIcon(labelIcon, labelIconBgVersion), label ? (_jsx(Text, { size: labelSize, font: "font-normal", children: label })) : null] }), icon ? _jsx(Icon, { name: icon, iconVersion: rollupIconVersion, width: "24", height: "24" }) : null] }));
37
42
  };
38
43
  //# sourceMappingURL=RollupItem.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RollupItem.js","sourceRoot":"","sources":["../../../src/components/RollupItem/RollupItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAIpE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAC5E,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAE1D,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAItD,MAAM,CAAC,MAAM,UAAU,GAA8B,GAAG,CACtD,CAAC,EACC,SAAS,GAA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,CAAC;AAUF,MAAM,uBAAuB,GAAG,CAAC,EAC/B,KAAK,EACL,kBAAkB,EAClB,IAAI,EACJ,QAAQ,EACR,SAAS,GACc,EAAE,EAAE;IAC3B,OAAO,CACL,kBACE,SAAS,EAAE,KAAK,CACd,sGAAsG,EACtG,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAClC,EACD,OAAO,EAAE,QAAQ,aAEjB,eAAK,SAAS,EAAC,wDAAwD,aACpE,iBAAiB,CAAC,SAAS,EAAE,kBAAkB,CAAC,EAChD,KAAK,CAAC,CAAC,CAAC,CACP,KAAC,IAAI,IAAC,IAAI,EAAE,SAAS,EAAE,IAAI,EAAC,aAAa,YACtC,KAAK,GACD,CACR,CAAC,CAAC,CAAC,IAAI,IACJ,EACL,IAAI,CAAC,CAAC,CAAC,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,iBAAiB,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,IACnF,CACV,CAAC;AACJ,CAAC,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import type { LabelProps } from '../../model/HeadlineType';
2
2
  import type { UniBlockContent } from '../../model/JSXBlock';
3
- import type { IconProps } from '../../ui-kit/Icon/IconProps';
3
+ import type { Picture } from '../../model/Picture';
4
+ import type { IconBgVersion } from '../../ui-kit/Icon/IconProps';
4
5
  /**
5
6
  * @title Сворачивающаяся секция
6
7
  */
@@ -9,5 +10,6 @@ export declare type RollupItemContent = UniBlockContent & LabelProps & {
9
10
  isExpanded?: boolean;
10
11
  /** @title Кнопка сверху */
11
12
  isFoldButtonOnTop?: boolean;
12
- labelIcon?: IconProps;
13
+ labelIcon?: Picture;
14
+ labelIconBgVersion?: IconBgVersion;
13
15
  };
@@ -0,0 +1,3 @@
1
+ import type { Picture } from '../../model/Picture';
2
+ import type { IconBgVersion } from '../../ui-kit/Icon/IconProps';
3
+ export declare const renderRoundedIcon: (icon?: Picture, iconBgVersion?: IconBgVersion) => null;
@@ -0,0 +1,2 @@
1
+ export const renderRoundedIcon = (icon, iconBgVersion) => null;
2
+ //# sourceMappingURL=renderRoundedIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderRoundedIcon.js","sourceRoot":"","sources":["../../../src/components/RollupItem/renderRoundedIcon.tsx"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,IAAc,EAAE,aAA6B,EAAE,EAAE,CAAC,IAAI,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { Picture } from '../../model/Picture';
2
+ import type { IconBgVersion } from '../../ui-kit/Icon/IconProps';
3
+ export declare const renderRoundedIcon: (icon?: Picture, iconBgVersion?: IconBgVersion) => JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { RoundedIcon } from '../../ui-kit/Icon/RoundedIcon.js';
3
+ export const renderRoundedIcon = (icon, iconBgVersion) => (_jsx(RoundedIcon, { ...icon, iconBgVersion: iconBgVersion }));
4
+ //# sourceMappingURL=renderRoundedIcon.mobile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderRoundedIcon.mobile.js","sourceRoot":"","sources":["../../../src/components/RollupItem/renderRoundedIcon.mobile.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAG5D,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,IAAc,EAAE,aAA6B,EAAE,EAAE,CAAC,CAClF,KAAC,WAAW,OAAK,IAAI,EAAE,aAAa,EAAE,aAAa,GAAI,CACxD,CAAC"}
@@ -41,6 +41,6 @@ export function transformImg(src, pagePath, options) {
41
41
  cache.set(output, result);
42
42
  return result;
43
43
  }
44
- const computeTransformationChain = ({ size, containerSize, alignment, format, options, }) => pipe(resizeImg(isPictureSizeEmpty(size) ? containerSize : size), alignImg({ containerSize, alignment }), (_) => (format ? _.toFormat(format, options) : _));
44
+ const computeTransformationChain = ({ size, containerSize, alignment, format, options, }) => pipe(resizeImg(isPictureSizeEmpty(size) ? containerSize : size), alignImg({ containerSize, alignment }), (_) => (format ? _.toFormat(format, { ...options, nearLossless: true }) : _));
45
45
  const pipe = (...operations) => operations.reduce((a, b) => async (chain) => b(await a(chain)));
46
46
  //# sourceMappingURL=transformImg.js.map