@redneckz/wildless-cms-uni-blocks 0.12.12 → 0.12.13

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 (374) hide show
  1. package/bin/migration-scripts/0.12.10.js +59 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +90 -66
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +52 -6
  6. package/bundle/components/ApplicationForm/ApplicationFormGrantSupport.d.ts +2 -0
  7. package/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +1 -0
  8. package/bundle/components/ApplicationForm/EmbeddableForms.d.ts +8 -0
  9. package/bundle/components/Carousel/Carousel.d.ts +1 -1
  10. package/bundle/components/CarouselLinks/CarouselLinks.d.ts +1 -0
  11. package/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +2 -0
  12. package/bundle/components/Footer/Contacts.d.ts +0 -1
  13. package/bundle/components/Footer/MediaButton.d.ts +1 -1
  14. package/bundle/components/Footer/buttonSizeStyles.d.ts +4 -0
  15. package/bundle/components/Footer/buttonSizeStyles.mobile.d.ts +4 -0
  16. package/bundle/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +7 -0
  17. package/dist/components/ApplicationForm/ApplicationForm.js +16 -14
  18. package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  19. package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +52 -6
  20. package/dist/components/ApplicationForm/ApplicationFormGrantSupport.d.ts +2 -0
  21. package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +22 -0
  22. package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -0
  23. package/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +1 -0
  24. package/dist/components/ApplicationForm/EmbeddableForms.d.ts +8 -0
  25. package/dist/components/ApplicationForm/EmbeddableForms.js +17 -0
  26. package/dist/components/ApplicationForm/EmbeddableForms.js.map +1 -0
  27. package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  28. package/dist/components/Bonus/Bonus.js +10 -13
  29. package/dist/components/Bonus/Bonus.js.map +1 -1
  30. package/dist/components/Calculator/BusinessDepositCalculatorForm.js +4 -4
  31. package/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  32. package/dist/components/Calculator/CreditCalculatorForm.js +1 -1
  33. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  34. package/dist/components/Calculator/DepositCalculatorForm.js +3 -3
  35. package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  36. package/dist/components/Carousel/Carousel.d.ts +1 -1
  37. package/dist/components/Carousel/Carousel.js.map +1 -1
  38. package/dist/components/Carousel/CarouselScrollButtons.js +2 -2
  39. package/dist/components/Carousel/CarouselScrollButtons.js.map +1 -1
  40. package/dist/components/CarouselLinks/CarouselLinks.d.ts +1 -0
  41. package/dist/components/CarouselLinks/CarouselLinks.js +7 -8
  42. package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  43. package/dist/components/CarouselLinks/CarouselLinksContent.d.ts +2 -0
  44. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  45. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  46. package/dist/components/ContentPage/ContentPage.js +2 -2
  47. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  48. package/dist/components/Footer/Contacts.d.ts +0 -1
  49. package/dist/components/Footer/Contacts.js +3 -4
  50. package/dist/components/Footer/Contacts.js.map +1 -1
  51. package/dist/components/Footer/Footer.js +2 -2
  52. package/dist/components/Footer/Footer.js.map +1 -1
  53. package/dist/components/Footer/Footer.mobile.js +4 -3
  54. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  55. package/dist/components/Footer/HorizontalNavigation.js +1 -1
  56. package/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  57. package/dist/components/Footer/HorizontalNavigation.mobile.js +1 -1
  58. package/dist/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
  59. package/dist/components/Footer/MediaButton.d.ts +1 -1
  60. package/dist/components/Footer/SocialMedia.js +2 -1
  61. package/dist/components/Footer/SocialMedia.js.map +1 -1
  62. package/dist/components/Footer/TextInformation.js +1 -1
  63. package/dist/components/Footer/TextInformation.js.map +1 -1
  64. package/dist/components/Footer/buttonSizeStyles.d.ts +4 -0
  65. package/dist/components/Footer/buttonSizeStyles.js +7 -0
  66. package/dist/components/Footer/buttonSizeStyles.js.map +1 -0
  67. package/dist/components/Footer/buttonSizeStyles.mobile.d.ts +4 -0
  68. package/dist/components/Footer/buttonSizeStyles.mobile.js +7 -0
  69. package/dist/components/Footer/buttonSizeStyles.mobile.js.map +1 -0
  70. package/dist/components/Footer/buttonStylesWithText.js +2 -5
  71. package/dist/components/Footer/buttonStylesWithText.js.map +1 -1
  72. package/dist/components/MobileAppTile/renderDescription.js +1 -1
  73. package/dist/components/MobileAppTile/renderDescription.js.map +1 -1
  74. package/dist/components/RollupItem/RollupItem.js +1 -1
  75. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  76. package/dist/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +7 -0
  77. package/dist/services/regionsGrantSupport/RegionsGrantSupportData.js +2 -0
  78. package/dist/services/regionsGrantSupport/RegionsGrantSupportData.js.map +1 -0
  79. package/dist/ui-kit/LinkButton/LinkButton.js +4 -3
  80. package/dist/ui-kit/LinkButton/LinkButton.js.map +1 -1
  81. package/dist/ui-kit/LinkList/LinkList.js +2 -2
  82. package/dist/ui-kit/LinkList/LinkList.js.map +1 -1
  83. package/lib/common.css +1 -1
  84. package/lib/components/ApplicationForm/ApplicationForm.fixture.d.ts +1 -0
  85. package/lib/components/ApplicationForm/ApplicationForm.fixture.mobile.d.ts +1 -0
  86. package/lib/components/ApplicationForm/ApplicationForm.js +16 -14
  87. package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  88. package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +52 -6
  89. package/lib/components/ApplicationForm/ApplicationFormGrantSupport.d.ts +2 -0
  90. package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +20 -0
  91. package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -0
  92. package/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +1 -0
  93. package/lib/components/ApplicationForm/EmbeddableForms.d.ts +8 -0
  94. package/lib/components/ApplicationForm/EmbeddableForms.js +15 -0
  95. package/lib/components/ApplicationForm/EmbeddableForms.js.map +1 -0
  96. package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  97. package/lib/components/Bonus/Bonus.fixture.mobile.d.ts +8 -0
  98. package/lib/components/Bonus/Bonus.js +10 -13
  99. package/lib/components/Bonus/Bonus.js.map +1 -1
  100. package/lib/components/Calculator/BusinessDepositCalculatorForm.js +4 -4
  101. package/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  102. package/lib/components/Calculator/CreditCalculatorForm.js +1 -1
  103. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  104. package/lib/components/Calculator/DepositCalculatorForm.js +3 -3
  105. package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  106. package/lib/components/Carousel/Carousel.d.ts +1 -1
  107. package/lib/components/Carousel/Carousel.js.map +1 -1
  108. package/lib/components/Carousel/CarouselScrollButtons.js +2 -2
  109. package/lib/components/Carousel/CarouselScrollButtons.js.map +1 -1
  110. package/lib/components/CarouselLinks/CarouselLinks.d.ts +1 -0
  111. package/lib/components/CarouselLinks/CarouselLinks.fixture.mobile.d.ts +6 -0
  112. package/lib/components/CarouselLinks/CarouselLinks.js +7 -8
  113. package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  114. package/lib/components/CarouselLinks/CarouselLinksContent.d.ts +2 -0
  115. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  116. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  117. package/lib/components/ContentPage/ContentPage.js +2 -2
  118. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  119. package/lib/components/Footer/Contacts.d.ts +0 -1
  120. package/lib/components/Footer/Contacts.js +3 -4
  121. package/lib/components/Footer/Contacts.js.map +1 -1
  122. package/lib/components/Footer/Footer.js +2 -2
  123. package/lib/components/Footer/Footer.js.map +1 -1
  124. package/lib/components/Footer/Footer.mobile.js +4 -3
  125. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  126. package/lib/components/Footer/HorizontalNavigation.js +1 -1
  127. package/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  128. package/lib/components/Footer/HorizontalNavigation.mobile.js +1 -1
  129. package/lib/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
  130. package/lib/components/Footer/MediaButton.d.ts +1 -1
  131. package/lib/components/Footer/SocialMedia.js +2 -1
  132. package/lib/components/Footer/SocialMedia.js.map +1 -1
  133. package/lib/components/Footer/TextInformation.js +1 -1
  134. package/lib/components/Footer/TextInformation.js.map +1 -1
  135. package/lib/components/Footer/buttonSizeStyles.d.ts +4 -0
  136. package/lib/components/Footer/buttonSizeStyles.js +5 -0
  137. package/lib/components/Footer/buttonSizeStyles.js.map +1 -0
  138. package/lib/components/Footer/buttonSizeStyles.mobile.d.ts +4 -0
  139. package/lib/components/Footer/buttonSizeStyles.mobile.js +5 -0
  140. package/lib/components/Footer/buttonSizeStyles.mobile.js.map +1 -0
  141. package/lib/components/Footer/buttonStylesWithText.js +1 -4
  142. package/lib/components/Footer/buttonStylesWithText.js.map +1 -1
  143. package/lib/components/MobileAppTile/renderDescription.js +1 -1
  144. package/lib/components/MobileAppTile/renderDescription.js.map +1 -1
  145. package/lib/components/RollupItem/RollupItem.js +1 -1
  146. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  147. package/lib/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +7 -0
  148. package/lib/services/regionsGrantSupport/RegionsGrantSupportData.js +2 -0
  149. package/lib/services/regionsGrantSupport/RegionsGrantSupportData.js.map +1 -0
  150. package/lib/ui-kit/LinkButton/LinkButton.fixture.mobile.d.ts +6 -0
  151. package/lib/ui-kit/LinkButton/LinkButton.js +4 -3
  152. package/lib/ui-kit/LinkButton/LinkButton.js.map +1 -1
  153. package/lib/ui-kit/LinkList/LinkList.js +2 -2
  154. package/lib/ui-kit/LinkList/LinkList.js.map +1 -1
  155. package/mobile/bundle/bundle.umd.js +65 -37
  156. package/mobile/bundle/bundle.umd.min.js +1 -1
  157. package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +52 -6
  158. package/mobile/bundle/components/ApplicationForm/ApplicationFormGrantSupport.d.ts +2 -0
  159. package/mobile/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +1 -0
  160. package/mobile/bundle/components/ApplicationForm/EmbeddableForms.d.ts +8 -0
  161. package/mobile/bundle/components/Carousel/Carousel.d.ts +1 -1
  162. package/mobile/bundle/components/CarouselLinks/CarouselLinks.d.ts +1 -0
  163. package/mobile/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +2 -0
  164. package/mobile/bundle/components/Footer/Contacts.d.ts +0 -1
  165. package/mobile/bundle/components/Footer/MediaButton.d.ts +1 -1
  166. package/mobile/bundle/components/Footer/SocialMedia.d.ts +4 -2
  167. package/mobile/bundle/components/Footer/buttonSizeStyles.d.ts +4 -0
  168. package/mobile/bundle/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +7 -0
  169. package/mobile/dist/components/ApplicationForm/ApplicationForm.js +16 -14
  170. package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  171. package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +52 -6
  172. package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.d.ts +2 -0
  173. package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +22 -0
  174. package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -0
  175. package/mobile/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +1 -0
  176. package/mobile/dist/components/ApplicationForm/EmbeddableForms.d.ts +8 -0
  177. package/mobile/dist/components/ApplicationForm/EmbeddableForms.js +17 -0
  178. package/mobile/dist/components/ApplicationForm/EmbeddableForms.js.map +1 -0
  179. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  180. package/mobile/dist/components/Bonus/Bonus.js +10 -13
  181. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  182. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js +4 -4
  183. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  184. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +1 -1
  185. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  186. package/mobile/dist/components/Calculator/DepositCalculatorForm.js +3 -3
  187. package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  188. package/mobile/dist/components/Carousel/Carousel.d.ts +1 -1
  189. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  190. package/mobile/dist/components/Carousel/CarouselScrollButtons.js +2 -2
  191. package/mobile/dist/components/Carousel/CarouselScrollButtons.js.map +1 -1
  192. package/mobile/dist/components/CarouselLinks/CarouselLinks.d.ts +1 -0
  193. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +7 -8
  194. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  195. package/mobile/dist/components/CarouselLinks/CarouselLinksContent.d.ts +2 -0
  196. package/mobile/dist/components/ContentPage/ContentPage.js +2 -2
  197. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  198. package/mobile/dist/components/Footer/Contacts.d.ts +0 -1
  199. package/mobile/dist/components/Footer/Contacts.js +3 -4
  200. package/mobile/dist/components/Footer/Contacts.js.map +1 -1
  201. package/mobile/dist/components/Footer/Footer.js +4 -3
  202. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  203. package/mobile/dist/components/Footer/HorizontalNavigation.js +1 -1
  204. package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  205. package/mobile/dist/components/Footer/MediaButton.d.ts +1 -1
  206. package/mobile/dist/components/Footer/SocialMedia.d.ts +4 -2
  207. package/mobile/dist/components/Footer/SocialMedia.js +3 -1
  208. package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
  209. package/mobile/dist/components/Footer/TextInformation.js +1 -1
  210. package/mobile/dist/components/Footer/TextInformation.js.map +1 -1
  211. package/mobile/dist/components/Footer/buttonSizeStyles.d.ts +4 -0
  212. package/mobile/dist/components/Footer/buttonSizeStyles.js +7 -0
  213. package/mobile/dist/components/Footer/buttonSizeStyles.js.map +1 -0
  214. package/mobile/dist/components/Footer/buttonStylesWithText.js +2 -5
  215. package/mobile/dist/components/Footer/buttonStylesWithText.js.map +1 -1
  216. package/mobile/dist/components/MobileAppTile/renderDescription.js +1 -1
  217. package/mobile/dist/components/MobileAppTile/renderDescription.js.map +1 -1
  218. package/mobile/dist/components/RollupItem/RollupItem.js +1 -1
  219. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  220. package/mobile/dist/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +7 -0
  221. package/mobile/dist/services/regionsGrantSupport/RegionsGrantSupportData.js +2 -0
  222. package/mobile/dist/services/regionsGrantSupport/RegionsGrantSupportData.js.map +1 -0
  223. package/mobile/dist/ui-kit/LinkButton/LinkButton.js +4 -3
  224. package/mobile/dist/ui-kit/LinkButton/LinkButton.js.map +1 -1
  225. package/mobile/dist/ui-kit/LinkList/LinkList.js +2 -2
  226. package/mobile/dist/ui-kit/LinkList/LinkList.js.map +1 -1
  227. package/mobile/lib/common.css +1 -1
  228. package/mobile/lib/components/ApplicationForm/ApplicationForm.js +16 -14
  229. package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  230. package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +52 -6
  231. package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.d.ts +2 -0
  232. package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +20 -0
  233. package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -0
  234. package/mobile/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +1 -0
  235. package/mobile/lib/components/ApplicationForm/EmbeddableForms.d.ts +8 -0
  236. package/mobile/lib/components/ApplicationForm/EmbeddableForms.js +15 -0
  237. package/mobile/lib/components/ApplicationForm/EmbeddableForms.js.map +1 -0
  238. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  239. package/mobile/lib/components/Bonus/Bonus.js +10 -13
  240. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  241. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js +4 -4
  242. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  243. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +1 -1
  244. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  245. package/mobile/lib/components/Calculator/DepositCalculatorForm.js +3 -3
  246. package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  247. package/mobile/lib/components/Carousel/Carousel.d.ts +1 -1
  248. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  249. package/mobile/lib/components/Carousel/CarouselScrollButtons.js +2 -2
  250. package/mobile/lib/components/Carousel/CarouselScrollButtons.js.map +1 -1
  251. package/mobile/lib/components/CarouselLinks/CarouselLinks.d.ts +1 -0
  252. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +7 -8
  253. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  254. package/mobile/lib/components/CarouselLinks/CarouselLinksContent.d.ts +2 -0
  255. package/mobile/lib/components/ContentPage/ContentPage.js +2 -2
  256. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  257. package/mobile/lib/components/Footer/Contacts.d.ts +0 -1
  258. package/mobile/lib/components/Footer/Contacts.js +3 -4
  259. package/mobile/lib/components/Footer/Contacts.js.map +1 -1
  260. package/mobile/lib/components/Footer/Footer.js +4 -3
  261. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  262. package/mobile/lib/components/Footer/HorizontalNavigation.js +1 -1
  263. package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  264. package/mobile/lib/components/Footer/MediaButton.d.ts +1 -1
  265. package/mobile/lib/components/Footer/SocialMedia.d.ts +4 -2
  266. package/mobile/lib/components/Footer/SocialMedia.js +4 -2
  267. package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
  268. package/mobile/lib/components/Footer/TextInformation.js +1 -1
  269. package/mobile/lib/components/Footer/TextInformation.js.map +1 -1
  270. package/mobile/lib/components/Footer/buttonSizeStyles.d.ts +4 -0
  271. package/mobile/lib/components/Footer/buttonSizeStyles.js +5 -0
  272. package/mobile/lib/components/Footer/buttonSizeStyles.js.map +1 -0
  273. package/mobile/lib/components/Footer/buttonStylesWithText.js +1 -4
  274. package/mobile/lib/components/Footer/buttonStylesWithText.js.map +1 -1
  275. package/mobile/lib/components/MobileAppTile/renderDescription.js +1 -1
  276. package/mobile/lib/components/MobileAppTile/renderDescription.js.map +1 -1
  277. package/mobile/lib/components/RollupItem/RollupItem.js +1 -1
  278. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  279. package/mobile/lib/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +7 -0
  280. package/mobile/lib/services/regionsGrantSupport/RegionsGrantSupportData.js +2 -0
  281. package/mobile/lib/services/regionsGrantSupport/RegionsGrantSupportData.js.map +1 -0
  282. package/mobile/lib/ui-kit/LinkButton/LinkButton.js +4 -3
  283. package/mobile/lib/ui-kit/LinkButton/LinkButton.js.map +1 -1
  284. package/mobile/lib/ui-kit/LinkList/LinkList.js +2 -2
  285. package/mobile/lib/ui-kit/LinkList/LinkList.js.map +1 -1
  286. package/mobile/src/common.css +1 -1
  287. package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +31 -19
  288. package/mobile/src/components/ApplicationForm/ApplicationForm.ui.json +12 -0
  289. package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +70 -11
  290. package/mobile/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +51 -0
  291. package/mobile/src/components/ApplicationForm/ApplicationFormsProps.ts +1 -0
  292. package/mobile/src/components/ApplicationForm/EmbeddableForms.tsx +15 -0
  293. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  294. package/mobile/src/components/Bonus/Bonus.tsx +33 -28
  295. package/mobile/src/components/Calculator/BusinessDepositCalculatorForm.tsx +11 -6
  296. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +1 -1
  297. package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +3 -3
  298. package/mobile/src/components/Carousel/Carousel.tsx +5 -3
  299. package/mobile/src/components/Carousel/CarouselScrollButtons.tsx +10 -3
  300. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +25 -14
  301. package/mobile/src/components/CarouselLinks/CarouselLinksContent.ts +2 -0
  302. package/mobile/src/components/ContentPage/ContentPage.tsx +3 -3
  303. package/mobile/src/components/Footer/Contacts.tsx +15 -19
  304. package/mobile/src/components/Footer/Footer.tsx +27 -13
  305. package/mobile/src/components/Footer/HorizontalNavigation.tsx +10 -3
  306. package/mobile/src/components/Footer/MediaButton.tsx +1 -1
  307. package/mobile/src/components/Footer/SocialMedia.tsx +22 -9
  308. package/mobile/src/components/Footer/TextInformation.tsx +2 -2
  309. package/mobile/src/components/Footer/buttonSizeStyles.ts +6 -0
  310. package/mobile/src/components/Footer/buttonStylesWithText.ts +1 -5
  311. package/mobile/src/components/MobileAppTile/renderDescription.tsx +1 -1
  312. package/mobile/src/components/RollupItem/RollupItem.tsx +1 -1
  313. package/mobile/src/services/regionsGrantSupport/RegionsGrantSupportData.ts +8 -0
  314. package/mobile/src/ui-kit/LinkButton/LinkButton.tsx +22 -9
  315. package/mobile/src/ui-kit/LinkList/LinkList.tsx +3 -3
  316. package/package.json +1 -1
  317. package/src/common.css +1 -1
  318. package/src/components/ApplicationForm/ApplicationForm.fixture.mobile.tsx +41 -7
  319. package/src/components/ApplicationForm/ApplicationForm.fixture.tsx +41 -7
  320. package/src/components/ApplicationForm/ApplicationForm.tsx +31 -19
  321. package/src/components/ApplicationForm/ApplicationForm.ui.json +12 -0
  322. package/src/components/ApplicationForm/ApplicationFormContent.ts +70 -11
  323. package/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +51 -0
  324. package/src/components/ApplicationForm/ApplicationFormsProps.ts +1 -0
  325. package/src/components/ApplicationForm/EmbeddableForms.tsx +15 -0
  326. package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  327. package/src/components/Bonus/Bonus.fixture.mobile.tsx +72 -0
  328. package/src/components/Bonus/Bonus.tsx +33 -28
  329. package/src/components/Calculator/BusinessDepositCalculatorForm.tsx +11 -6
  330. package/src/components/Calculator/CreditCalculatorForm.tsx +1 -1
  331. package/src/components/Calculator/DepositCalculatorForm.tsx +3 -3
  332. package/src/components/Carousel/Carousel.tsx +5 -3
  333. package/src/components/Carousel/CarouselScrollButtons.tsx +10 -3
  334. package/src/components/CarouselLinks/CarouselLinks.fixture.mobile.tsx +34 -0
  335. package/src/components/CarouselLinks/CarouselLinks.fixture.tsx +3 -0
  336. package/src/components/CarouselLinks/CarouselLinks.tsx +25 -14
  337. package/src/components/CarouselLinks/CarouselLinksContent.ts +2 -0
  338. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -1
  339. package/src/components/ContentPage/ContentPage.tsx +3 -3
  340. package/src/components/Footer/Contacts.tsx +15 -19
  341. package/src/components/Footer/Footer.mobile.tsx +27 -13
  342. package/src/components/Footer/Footer.tsx +6 -8
  343. package/src/components/Footer/HorizontalNavigation.mobile.tsx +10 -3
  344. package/src/components/Footer/HorizontalNavigation.tsx +1 -1
  345. package/src/components/Footer/MediaButton.tsx +1 -1
  346. package/src/components/Footer/SocialMedia.tsx +9 -6
  347. package/src/components/Footer/TextInformation.tsx +2 -2
  348. package/src/components/Footer/buttonSizeStyles.mobile.ts +6 -0
  349. package/src/components/Footer/buttonSizeStyles.ts +6 -0
  350. package/src/components/Footer/buttonStylesWithText.ts +1 -5
  351. package/src/components/MobileAppTile/renderDescription.tsx +1 -1
  352. package/src/components/RollupItem/RollupItem.tsx +1 -1
  353. package/src/services/regionsGrantSupport/RegionsGrantSupportData.ts +8 -0
  354. package/src/ui-kit/LinkButton/LinkButton.fixture.mobile.tsx +11 -0
  355. package/src/ui-kit/LinkButton/LinkButton.fixture.tsx +1 -1
  356. package/src/ui-kit/LinkButton/LinkButton.tsx +22 -9
  357. package/src/ui-kit/LinkList/LinkList.tsx +3 -3
  358. package/tailwind.config.cjs +5 -5
  359. package/bundle/components/Footer/SocialMedia.mobile.d.ts +0 -6
  360. package/bundle/components/Footer/buttonStylesWithText.mobile.d.ts +0 -2
  361. package/dist/components/Footer/SocialMedia.mobile.d.ts +0 -6
  362. package/dist/components/Footer/SocialMedia.mobile.js +0 -7
  363. package/dist/components/Footer/SocialMedia.mobile.js.map +0 -1
  364. package/dist/components/Footer/buttonStylesWithText.mobile.d.ts +0 -2
  365. package/dist/components/Footer/buttonStylesWithText.mobile.js +0 -12
  366. package/dist/components/Footer/buttonStylesWithText.mobile.js.map +0 -1
  367. package/lib/components/Footer/SocialMedia.mobile.d.ts +0 -6
  368. package/lib/components/Footer/SocialMedia.mobile.js +0 -5
  369. package/lib/components/Footer/SocialMedia.mobile.js.map +0 -1
  370. package/lib/components/Footer/buttonStylesWithText.mobile.d.ts +0 -2
  371. package/lib/components/Footer/buttonStylesWithText.mobile.js +0 -9
  372. package/lib/components/Footer/buttonStylesWithText.mobile.js.map +0 -1
  373. package/src/components/Footer/SocialMedia.mobile.tsx +0 -16
  374. package/src/components/Footer/buttonStylesWithText.mobile.ts +0 -15
@@ -12,7 +12,7 @@ import { HorizontalNavigation } from './HorizontalNavigation';
12
12
  import { SocialMedia } from './SocialMedia';
13
13
  import { TextInformation } from './TextInformation';
14
14
 
15
- const LEFT_COL_WIDTH_FULL_HD = 'w-[204px]';
15
+ const LEFT_COL_WIDTH = 'w-52';
16
16
 
17
17
  export const Footer = JSX<FooterProps>(({ className, sitemap, ...rest }) => {
18
18
  const { documents, relatedEnterprises, contacts, socialMedia, mobileApps, logo } =
@@ -23,15 +23,13 @@ export const Footer = JSX<FooterProps>(({ className, sitemap, ...rest }) => {
23
23
 
24
24
  return (
25
25
  <BlockWrapper tag="footer" className={className} {...rest}>
26
- <div className="flex items-stretch gap-6xl xl:gap-3xl pb-3xl ">
27
- <Logo className={LEFT_COL_WIDTH_FULL_HD} logo={logo} />
26
+ <div className="flex items-stretch gap-3xl pb-3xl ">
27
+ <Logo className={LEFT_COL_WIDTH} logo={logo} />
28
28
  <SearchBar className="grow" />
29
29
  </div>
30
- <div className="flex items-stretch gap-6xl xl:gap-3xl">
31
- <div
32
- className={`${LEFT_COL_WIDTH_FULL_HD} flex flex-col shrink-0 overflow-hidden space-y-xl`}
33
- >
34
- <Contacts items={contacts} hasButton />
30
+ <div className="flex items-stretch gap-6xl">
31
+ <div className={`${LEFT_COL_WIDTH} flex flex-col shrink-0 overflow-hidden space-y-xl`}>
32
+ <Contacts items={contacts} />
35
33
  <SocialMedia media={socialMedia}>Соцсети</SocialMedia>
36
34
  <SocialMedia media={mobileApps}>Мобильное приложение</SocialMedia>
37
35
  </div>
@@ -9,11 +9,18 @@ export interface HorizontalNavigationProps extends FooterLink, TitleProps {}
9
9
  export const HorizontalNavigation = JSX<HorizontalNavigationProps>(
10
10
  ({ title, links, className = '' }) => (
11
11
  <div className={className}>
12
- <Text size="text-h6">{title}</Text>
12
+ <Text size="text-l" font="font-normal">
13
+ {title}
14
+ </Text>
13
15
  {links?.length ? (
14
- <div className="flex flex-col gap-6 mt-7">
16
+ <div className="flex flex-col gap-lg mt-lg">
15
17
  {links.map((_, i) => (
16
- <HorizontalNavigationLink key={String(i)} index={i} {..._} />
18
+ <HorizontalNavigationLink
19
+ className="text-l font-light"
20
+ key={String(i)}
21
+ index={i}
22
+ {..._}
23
+ />
17
24
  ))}
18
25
  </div>
19
26
  ) : null}
@@ -9,7 +9,7 @@ export const HorizontalNavigation = JSX<HorizontalNavigationProps>(({ className
9
9
  return (
10
10
  <div className={className}>
11
11
  {links?.length ? (
12
- <div className="flex justify-between items-center gap-5 py-5 border-solid border-x-0 border-y border-y-main-divider">
12
+ <div className="flex justify-between items-center gap-lg py-lg border-solid border-x-0 border-y border-y-main-divider">
13
13
  {links.map((_, i) => (
14
14
  <HorizontalNavigationLink
15
15
  key={String(i)}
@@ -7,7 +7,7 @@ import { style } from '../../utils/style';
7
7
  import { buttonStylesWithText } from './buttonStylesWithText';
8
8
  import { findIconByHref } from './findIconByHref';
9
9
 
10
- export type ButtonSize = 'default' | 'small';
10
+ export type ButtonSize = 'default' | 'stretched';
11
11
 
12
12
  interface MediaButtonProps extends ButtonProps, IconProps {
13
13
  buttonSize?: ButtonSize;
@@ -1,8 +1,9 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
3
3
  import { Text } from '../../ui-kit/Text/Text';
4
- import type { ButtonSize } from './MediaButton';
5
4
  import { MediaButton } from './MediaButton';
5
+ import type { ButtonSize } from './MediaButton';
6
+ import { style } from '../../utils/style';
6
7
 
7
8
  export interface SocialMediaProps {
8
9
  className?: string;
@@ -12,15 +13,17 @@ export interface SocialMediaProps {
12
13
 
13
14
  export const SocialMedia = JSX<SocialMediaProps>(
14
15
  ({ className = '', media, children, buttonSize }) => (
15
- <div className="font-sans">
16
- <div className={`flex gap-1 ${className}`}>
16
+ <div className="flex flex-col sm:flex-col-reverse gap-xs">
17
+ {children ? (
18
+ <Text size="text-s" font="font-light" color="text-secondary-text">
19
+ {children}
20
+ </Text>
21
+ ) : null}
22
+ <div className={style('flex gap-xs', className)}>
17
23
  {media?.map((_, index) => (
18
24
  <MediaButton key={String(index)} buttonSize={buttonSize} {..._} />
19
25
  ))}
20
26
  </div>
21
- <Text size="text-s" font="font-light" color="text-secondary-text">
22
- {children}
23
- </Text>
24
27
  </div>
25
28
  ),
26
29
  );
@@ -5,13 +5,13 @@ import { TextInformationLink } from './TextInformationLink';
5
5
 
6
6
  export const TextInformation = JSX<FooterLink>(({ className = '', links }) => (
7
7
  <div className={className}>
8
- <div className="pt-4 xl:pt-5">
8
+ <div className="pt-lg">
9
9
  <Text size="text-xs" font="font-light" color="text-secondary-text">
10
10
  {`\u00a9\u00A02000-${new Date().getFullYear()}\u00A0АО \u00ABРоссельхозбанк\u00BB Генеральная лицензия Банка России \u2116\u00A03349 от\u00A012.08.2015\u00A0г.`}
11
11
  </Text>
12
12
  </div>
13
13
  {links?.length ? (
14
- <div className="flex justify-start items-start gap-5 pt-4">
14
+ <div className="flex flex-col sm:flex-row justify-start items-start gap-x-lg gap-y-xs pt-lg">
15
15
  {links.map((_, i) => (
16
16
  <TextInformationLink key={String(i)} index={i} {..._} />
17
17
  ))}
@@ -0,0 +1,6 @@
1
+ import { ButtonSize } from './MediaButton';
2
+
3
+ export const buttonSizeStyles: { [key in ButtonSize]: string } = {
4
+ default: 'w-24 h-14',
5
+ stretched: 'flex-1 h-14',
6
+ };
@@ -0,0 +1,6 @@
1
+ import { ButtonSize } from './MediaButton';
2
+
3
+ export const buttonSizeStyles: { [key in ButtonSize]: string } = {
4
+ default: 'w-14 h-14',
5
+ stretched: 'flex-1 h-14',
6
+ };
@@ -1,10 +1,6 @@
1
1
  import { style } from '../../utils/style';
2
2
  import { ButtonSize } from './MediaButton';
3
-
4
- const buttonSizeStyles = {
5
- default: 'w-14 h-14',
6
- small: 'w-12 h-12',
7
- };
3
+ import { buttonSizeStyles } from './buttonSizeStyles';
8
4
 
9
5
  export const buttonStylesWithText = (text: string, buttonSize: ButtonSize) =>
10
6
  text
@@ -2,7 +2,7 @@ import { Text } from '../../ui-kit/Text/Text';
2
2
 
3
3
  export const renderDescription = (description?: string) =>
4
4
  description ? (
5
- <div className="mb-5 pt-3xs sm:mb-0 sm:pt-0">
5
+ <div className="mb-lg pt-3xs">
6
6
  <Text size="text-xl" font-weight="light">
7
7
  {description}
8
8
  </Text>
@@ -127,7 +127,7 @@ const renderPrimaryFoldButton = ({
127
127
  return (
128
128
  <button
129
129
  className={style(
130
- 'border-none bg-transparent px-0 flex justify-between items-center w-full group/button',
130
+ 'border-none bg-transparent flex justify-between items-center w-full group/button',
131
131
  labelIcon?.icon ? 'py-xs' : 'py-lg',
132
132
  )}
133
133
  onClick={onToggle}
@@ -0,0 +1,8 @@
1
+ export interface RegionProps {
2
+ name?: string;
3
+ href?: string;
4
+ }
5
+
6
+ export interface RegionsGrantSupportData {
7
+ regions?: RegionProps[];
8
+ }
@@ -0,0 +1,11 @@
1
+ import '../../setup-fixture';
2
+
3
+ import { LinkButton } from './LinkButton';
4
+
5
+ export default {
6
+ primary: (
7
+ <div>
8
+ <LinkButton href="#" text="Оформить кредит" />
9
+ </div>
10
+ ),
11
+ };
@@ -4,7 +4,7 @@ import { LinkButton } from './LinkButton';
4
4
 
5
5
  export default {
6
6
  primary: (
7
- <div className="flex p-10 max-w-sm">
7
+ <div>
8
8
  <LinkButton href="#" text="Оформить кредит" />
9
9
  </div>
10
10
  ),
@@ -2,9 +2,10 @@ import { JSX } from '@redneckz/uni-jsx';
2
2
  import { useLink } from '../../hooks/useLink';
3
3
  import type { LinkProps } from '../../model/LinkProps';
4
4
  import { Img } from '../Img/Img';
5
+ import { style } from '../../utils/style';
5
6
 
6
- const LINK_CLASS_NAME = `absolute border border-primary-main ml-s px-xl py-lg
7
- text-l font-light bg-white text-primary-text flex w-80
7
+ const LINK_CLASS_NAME = `absolute border border-primary-main px-xl py-lg
8
+ text-l font-light bg-white text-primary-text flex
8
9
  justify-between items-center group-hover/link:text-primary-main z-10`;
9
10
 
10
11
  const LINK_BORDER_CLASS_NAME =
@@ -20,12 +21,24 @@ export const LinkButton = JSX<LinkButtonProps>(
20
21
  const adjustedProps = link({ href, target });
21
22
 
22
23
  return text ? (
23
- <div className={`relative group/link cursor-pointer w-[328px] h-[82px] ${className}`}>
24
- <a className={LINK_CLASS_NAME} role="link" {...adjustedProps}>
25
- <div className="p-3xs">{text}</div>
26
- <div className="w-6 h-6">
24
+ <div
25
+ className={style(
26
+ 'flex max-w-sm relative group/link cursor-pointer w-64 h-16 sm:w-[47%] sm:h-20 sm:mr-m',
27
+ className,
28
+ )}
29
+ >
30
+ <a
31
+ className={style(
32
+ LINK_CLASS_NAME,
33
+ 'rounded-md sm:rounded-none w-full h-12 sm:ml-s sm:w-full sm:h-auto',
34
+ )}
35
+ role="link"
36
+ {...adjustedProps}
37
+ >
38
+ <div className="p-0.5">{text}</div>
39
+ <div className="w-6 h-6 hidden sm:block">
27
40
  <Img
28
- className="w-4 h-4 min-w-4 min-h-4 rounded-full box-border brightness-0 group-hover/link:brightness-100"
41
+ className="w-4 h-4 rounded-full box-border brightness-0 group-hover/link:brightness-100"
29
42
  image={{ icon: 'ArrowRightIcon', iconVersion: 'black' }}
30
43
  imageClassName="group-hover/link:text-primary-main"
31
44
  width="24"
@@ -33,8 +46,8 @@ export const LinkButton = JSX<LinkButtonProps>(
33
46
  />
34
47
  </div>
35
48
  </a>
36
- <div className={`${LINK_BORDER_CLASS_NAME} mx-1.5 mt-1.5`} />
37
- <div className={`${LINK_BORDER_CLASS_NAME} mt-3 mr-3`} />
49
+ <div className={LINK_BORDER_CLASS_NAME + ' hidden sm:block mx-1.5 mt-1.5'} />
50
+ <div className={LINK_BORDER_CLASS_NAME + ' hidden sm:block mt-3 mr-3'} />
38
51
  </div>
39
52
  ) : null;
40
53
  },
@@ -6,7 +6,7 @@ import { linkListStyles } from './linkListStyles';
6
6
 
7
7
  export const LinkList = JSX<LinkListProps>(({ className = '', items }) =>
8
8
  items?.length ? (
9
- <ul className={style('flex flex-col p-0 gap-m sm:gap-xl', linkListStyles, className)}>
9
+ <ul className={style('flex flex-col', linkListStyles, className)}>
10
10
  {items.map(renderLinkListItem)}
11
11
  </ul>
12
12
  ) : null,
@@ -16,8 +16,8 @@ const renderLinkListItem = (item: LinkProps, i: number) => {
16
16
  const { text, ...linkProps } = item;
17
17
 
18
18
  return (
19
- <li key={`list_item_${String(i)}`} className="list-none">
20
- <a className="hover:text-primary-main sm:font-light" role="link" {...linkProps}>
19
+ <li key={`list_item_${String(i)}`} className="list-none my-xs">
20
+ <a className="hover:text-primary-main font-light" role="link" {...linkProps}>
21
21
  {text ? text : null}
22
22
  </a>
23
23
  </li>
@@ -37,11 +37,11 @@ module.exports = {
37
37
  '4xl': '2.25rem', // 36px
38
38
  '3xl': '2rem', // 32px
39
39
  '2xl': '1.75rem', // 28px
40
- 'xl': '1.5rem', // 24px
41
- 'lg': '1.25rem', // 20px
42
- 'm': '1rem', // 16px
43
- 's': '0.75rem', // 12px
44
- 'xs': '0.5rem', // 8px
40
+ xl: '1.5rem', // 24px
41
+ lg: '1.25rem', // 20px
42
+ m: '1rem', // 16px
43
+ s: '0.75rem', // 12px
44
+ xs: '0.5rem', // 8px
45
45
  '2xs': '0.25rem', // 4px
46
46
  '3xs': '0.125rem', // 2px
47
47
  },
@@ -1,6 +0,0 @@
1
- import type { LinkProps } from '../../model/LinkProps';
2
- export interface SocialMediaProps {
3
- className?: string;
4
- media?: Omit<LinkProps, 'text'>[];
5
- }
6
- export declare const SocialMedia: import("@redneckz/uni-jsx").UNIComponent<SocialMediaProps, any, any>;
@@ -1,2 +0,0 @@
1
- import { ButtonSize } from './MediaButton';
2
- export declare const buttonStylesWithText: (text: string, buttonSize: ButtonSize) => string;
@@ -1,6 +0,0 @@
1
- import type { LinkProps } from '../../model/LinkProps';
2
- export interface SocialMediaProps {
3
- className?: string;
4
- media?: Omit<LinkProps, 'text'>[];
5
- }
6
- export declare const SocialMedia: import("@redneckz/uni-jsx").UNIComponent<SocialMediaProps, any, any>;
@@ -1,7 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.SocialMedia = void 0;
3
- const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
- const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const MediaButton_1 = require("./MediaButton");
6
- exports.SocialMedia = (0, uni_jsx_1.JSX)(({ className = '', media }) => ((0, jsx_runtime_1.jsx)("div", { className: `flex gap-2 items-start justify-start ${className}`, children: media?.map((_, index) => ((0, jsx_runtime_1.jsx)(MediaButton_1.MediaButton, { ..._ }, String(index)))) })));
7
- //# sourceMappingURL=SocialMedia.mobile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SocialMedia.mobile.js","sourceRoot":"","sources":["../../../src/components/Footer/SocialMedia.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,+CAA4C;AAO/B,QAAA,WAAW,GAAG,IAAA,aAAG,EAAmB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAC9E,gCAAK,SAAS,EAAE,wCAAwC,SAAS,EAAE,YAChE,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,CACxB,uBAAC,yBAAW,OAAyB,CAAC,IAApB,MAAM,CAAC,KAAK,CAAC,CAAW,CAC3C,CAAC,GACE,CACP,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- import { ButtonSize } from './MediaButton';
2
- export declare const buttonStylesWithText: (text: string, buttonSize: ButtonSize) => string;
@@ -1,12 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.buttonStylesWithText = void 0;
3
- const style_1 = require("../../utils/style");
4
- const buttonSizeStyles = {
5
- default: 'w-24 h-14',
6
- small: 'w-12 h-12',
7
- };
8
- const buttonStylesWithText = (text, buttonSize) => text
9
- ? ''
10
- : (0, style_1.style)('group/media flex items-center justify-center box-border', buttonSizeStyles[buttonSize]);
11
- exports.buttonStylesWithText = buttonStylesWithText;
12
- //# sourceMappingURL=buttonStylesWithText.mobile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"buttonStylesWithText.mobile.js","sourceRoot":"","sources":["../../../src/components/Footer/buttonStylesWithText.mobile.ts"],"names":[],"mappings":";;AAAA,6CAA0C;AAG1C,MAAM,gBAAgB,GAAG;IACvB,OAAO,EAAE,WAAW;IACpB,KAAK,EAAE,WAAW;CACnB,CAAC;AAEK,MAAM,oBAAoB,GAAG,CAAC,IAAY,EAAE,UAAsB,EAAE,EAAE,CAC3E,IAAI;IACF,CAAC,CAAC,EAAE;IACJ,CAAC,CAAC,IAAA,aAAK,EACH,yDAAyD,EACzD,gBAAgB,CAAC,UAAU,CAAC,CAC7B,CAAC;AANK,QAAA,oBAAoB,wBAMzB"}
@@ -1,6 +0,0 @@
1
- import type { LinkProps } from '../../model/LinkProps';
2
- export interface SocialMediaProps {
3
- className?: string;
4
- media?: Omit<LinkProps, 'text'>[];
5
- }
6
- export declare const SocialMedia: import("@redneckz/uni-jsx").UNIComponent<SocialMediaProps, any, any>;
@@ -1,5 +0,0 @@
1
- import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { JSX } from '@redneckz/uni-jsx';
3
- import { MediaButton } from './MediaButton.js';
4
- export const SocialMedia = JSX(({ className = '', media }) => (_jsx("div", { className: `flex gap-2 items-start justify-start ${className}`, children: media?.map((_, index) => (_jsx(MediaButton, { ..._ }, String(index)))) })));
5
- //# sourceMappingURL=SocialMedia.mobile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SocialMedia.mobile.js","sourceRoot":"","sources":["../../../src/components/Footer/SocialMedia.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAO5C,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAmB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAC9E,cAAK,SAAS,EAAE,wCAAwC,SAAS,EAAE,YAChE,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,CACxB,KAAC,WAAW,OAAyB,CAAC,IAApB,MAAM,CAAC,KAAK,CAAC,CAAW,CAC3C,CAAC,GACE,CACP,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- import { ButtonSize } from './MediaButton';
2
- export declare const buttonStylesWithText: (text: string, buttonSize: ButtonSize) => string;
@@ -1,9 +0,0 @@
1
- import { style } from '../../utils/style.js';
2
- const buttonSizeStyles = {
3
- default: 'w-24 h-14',
4
- small: 'w-12 h-12',
5
- };
6
- export const buttonStylesWithText = (text, buttonSize) => text
7
- ? ''
8
- : style('group/media flex items-center justify-center box-border', buttonSizeStyles[buttonSize]);
9
- //# sourceMappingURL=buttonStylesWithText.mobile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"buttonStylesWithText.mobile.js","sourceRoot":"","sources":["../../../src/components/Footer/buttonStylesWithText.mobile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAG1C,MAAM,gBAAgB,GAAG;IACvB,OAAO,EAAE,WAAW;IACpB,KAAK,EAAE,WAAW;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,IAAY,EAAE,UAAsB,EAAE,EAAE,CAC3E,IAAI;IACF,CAAC,CAAC,EAAE;IACJ,CAAC,CAAC,KAAK,CACH,yDAAyD,EACzD,gBAAgB,CAAC,UAAU,CAAC,CAC7B,CAAC"}
@@ -1,16 +0,0 @@
1
- import { JSX } from '@redneckz/uni-jsx';
2
- import type { LinkProps } from '../../model/LinkProps';
3
- import { MediaButton } from './MediaButton';
4
-
5
- export interface SocialMediaProps {
6
- className?: string;
7
- media?: Omit<LinkProps, 'text'>[];
8
- }
9
-
10
- export const SocialMedia = JSX<SocialMediaProps>(({ className = '', media }) => (
11
- <div className={`flex gap-2 items-start justify-start ${className}`}>
12
- {media?.map((_, index) => (
13
- <MediaButton key={String(index)} {..._} />
14
- ))}
15
- </div>
16
- ));
@@ -1,15 +0,0 @@
1
- import { style } from '../../utils/style';
2
- import { ButtonSize } from './MediaButton';
3
-
4
- const buttonSizeStyles = {
5
- default: 'w-24 h-14',
6
- small: 'w-12 h-12',
7
- };
8
-
9
- export const buttonStylesWithText = (text: string, buttonSize: ButtonSize) =>
10
- text
11
- ? ''
12
- : style(
13
- 'group/media flex items-center justify-center box-border',
14
- buttonSizeStyles[buttonSize],
15
- );