@lanaco/lnc-react-ui 4.0.206 → 4.0.208

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 (321) hide show
  1. package/BREAKPOINTS.md +148 -0
  2. package/dist/Accordion.cjs +1 -1
  3. package/dist/Accordion.js +6 -6
  4. package/dist/AccordionSummary.cjs +1 -1
  5. package/dist/AccordionSummary.js +8 -8
  6. package/dist/ActionsToolbar.cjs +15 -4
  7. package/dist/ActionsToolbar.js +58 -46
  8. package/dist/AdBannerSection.cjs +4 -4
  9. package/dist/AdBannerSection.js +5 -5
  10. package/dist/Alert.cjs +1 -1
  11. package/dist/Alert.js +1 -1
  12. package/dist/Avatar.cjs +1 -1
  13. package/dist/Avatar.js +12 -12
  14. package/dist/Badge.cjs +1 -1
  15. package/dist/Badge.js +5 -5
  16. package/dist/BannerNextSection.cjs +2 -2
  17. package/dist/BannerNextSection.js +13 -13
  18. package/dist/BannerSectionBasic.cjs +4 -4
  19. package/dist/BannerSectionBasic.js +22 -22
  20. package/dist/BannerSectionCarousel.cjs +28 -6
  21. package/dist/BannerSectionCarousel.js +72 -50
  22. package/dist/BannerSectionGrid.cjs +3 -3
  23. package/dist/BannerSectionGrid.js +13 -13
  24. package/dist/BannerSectionSimple.cjs +15 -15
  25. package/dist/BannerSectionSimple.js +40 -40
  26. package/dist/BannerSectionWithList.cjs +7 -7
  27. package/dist/BannerSectionWithList.js +20 -20
  28. package/dist/BannerSectionWithListImage.cjs +6 -9
  29. package/dist/BannerSectionWithListImage.js +17 -20
  30. package/dist/BlogCardsSponsoredSection.cjs +7 -5
  31. package/dist/BlogCardsSponsoredSection.js +32 -30
  32. package/dist/BlogCategoryCardsSection.cjs +1 -1
  33. package/dist/BlogCategoryCardsSection.js +2 -2
  34. package/dist/BlogExploreSection.cjs +4 -4
  35. package/dist/BlogExploreSection.js +60 -60
  36. package/dist/BlogImagePathSection.cjs +3 -14
  37. package/dist/BlogImagePathSection.js +27 -39
  38. package/dist/BlogListSection.cjs +6 -6
  39. package/dist/BlogListSection.js +32 -32
  40. package/dist/BlogProductCardsSection.cjs +1 -1
  41. package/dist/BlogProductCardsSection.js +3 -3
  42. package/dist/BlogShopCardsSection.cjs +1 -1
  43. package/dist/BlogShopCardsSection.js +3 -3
  44. package/dist/BlogSingleSection.cjs +3 -3
  45. package/dist/BlogSingleSection.js +12 -12
  46. package/dist/BlogsSectionDetailed.cjs +14 -6
  47. package/dist/BlogsSectionDetailed.js +53 -45
  48. package/dist/BlogsSectionLarge.cjs +13 -5
  49. package/dist/BlogsSectionLarge.js +48 -40
  50. package/dist/BlogsSectionSimple.cjs +14 -9
  51. package/dist/BlogsSectionSimple.js +43 -38
  52. package/dist/BlogsSectionSimpleCentered.cjs +17 -8
  53. package/dist/BlogsSectionSimpleCentered.js +68 -59
  54. package/dist/BlogsSectionWithFilters.cjs +16 -11
  55. package/dist/BlogsSectionWithFilters.js +43 -38
  56. package/dist/BrandHitsSection.cjs +7 -7
  57. package/dist/BrandHitsSection.js +13 -13
  58. package/dist/Breadcrumbs.cjs +1 -1
  59. package/dist/Breadcrumbs.js +16 -16
  60. package/dist/Button.cjs +1 -1
  61. package/dist/Button.js +1 -1
  62. package/dist/ButtonGroup.cjs +1 -1
  63. package/dist/ButtonGroup.js +1 -1
  64. package/dist/CalorieCalculatorSection.cjs +15 -15
  65. package/dist/CalorieCalculatorSection.js +84 -84
  66. package/dist/{CategorySimpleCard-COGlTj06.cjs → CategorySimpleCard-CIBvknos.cjs} +3 -3
  67. package/dist/{CategorySimpleCard-Em84kZzQ.js → CategorySimpleCard-CkSwvJRw.js} +8 -8
  68. package/dist/CheckBoxInput.cjs +1 -1
  69. package/dist/CheckBoxInput.js +1 -1
  70. package/dist/Chip.cjs +1 -1
  71. package/dist/Chip.js +1 -1
  72. package/dist/ColorInput.cjs +1 -1
  73. package/dist/ColorInput.js +14 -14
  74. package/dist/ConfirmationForm.cjs +1 -1
  75. package/dist/ConfirmationForm.js +5 -5
  76. package/dist/ContactSection.cjs +4 -4
  77. package/dist/ContactSection.js +72 -72
  78. package/dist/CustomLoanMapSection.cjs +3 -3
  79. package/dist/CustomLoanMapSection.js +67 -67
  80. package/dist/{CustomStyles-C86XQqBE.cjs → CustomStyles-2TQQSwtU.cjs} +1 -1
  81. package/dist/{CustomStyles-DtWxboEM.js → CustomStyles-DR4WuDUN.js} +1 -1
  82. package/dist/{DailyMotion-CpZExcrg.cjs → DailyMotion-BPdBW5Yv.cjs} +1 -1
  83. package/dist/{DailyMotion-BBcJkMo_.js → DailyMotion-P9S-WhTX.js} +1 -1
  84. package/dist/DateInput.cjs +6 -6
  85. package/dist/DateInput.js +646 -645
  86. package/dist/DecimalInput.cjs +1 -1
  87. package/dist/DecimalInput.js +1 -1
  88. package/dist/DecimalInputV2.cjs +1 -1
  89. package/dist/DecimalInputV2.js +1 -1
  90. package/dist/DetailedProductsInfinitiveSection.cjs +10 -4
  91. package/dist/DetailedProductsInfinitiveSection.js +71 -65
  92. package/dist/DetailedProductsSection.cjs +7 -3
  93. package/dist/DetailedProductsSection.js +55 -51
  94. package/dist/DetailsView.cjs +1 -1
  95. package/dist/DetailsView.js +1 -1
  96. package/dist/DoubleRangeSlider.cjs +1 -1
  97. package/dist/DoubleRangeSlider.js +1 -1
  98. package/dist/DragAndDropFile.cjs +1 -1
  99. package/dist/DragAndDropFile.js +1 -1
  100. package/dist/DragDropFiles.cjs +1 -1
  101. package/dist/DragDropFiles.js +13 -13
  102. package/dist/Drawer.cjs +1 -1
  103. package/dist/Drawer.js +1 -1
  104. package/dist/Dropdown.cjs +1 -1
  105. package/dist/Dropdown.js +2 -2
  106. package/dist/DropdownItem.cjs +1 -1
  107. package/dist/DropdownItem.js +1 -1
  108. package/dist/DropdownLookup.cjs +1 -1
  109. package/dist/DropdownLookup.js +1 -1
  110. package/dist/DropdownMenu.cjs +1 -1
  111. package/dist/DropdownMenu.js +7 -7
  112. package/dist/EditableTable.cjs +1 -1
  113. package/dist/EditableTable.js +8 -8
  114. package/dist/{Facebook-DoKw-XxT.cjs → Facebook-C8L2KR4O.cjs} +1 -1
  115. package/dist/{Facebook-BSWPEXjA.js → Facebook-vhbBr0rd.js} +1 -1
  116. package/dist/FaqSection.cjs +3 -3
  117. package/dist/FaqSection.js +52 -52
  118. package/dist/FeedbackSection.cjs +3 -3
  119. package/dist/FeedbackSection.js +15 -15
  120. package/dist/FieldOfInterestsMasonrySection.cjs +18 -12
  121. package/dist/FieldOfInterestsMasonrySection.js +73 -67
  122. package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +13 -7
  123. package/dist/FieldOfInterestsWithAvatarsCardsSection.js +64 -58
  124. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +15 -9
  125. package/dist/FieldOfInterestsWithTagsCardsSection.js +42 -36
  126. package/dist/FileInput.cjs +1 -1
  127. package/dist/FileInput.js +1 -1
  128. package/dist/{FilePlayer-D9az_lc_.cjs → FilePlayer-BVFgHY_f.cjs} +1 -1
  129. package/dist/{FilePlayer-BtGpIWnK.js → FilePlayer-CXTLAokk.js} +1 -1
  130. package/dist/FlexGridItem.cjs +1 -1
  131. package/dist/FlexGridItem.js +1 -1
  132. package/dist/FormField.cjs +1 -1
  133. package/dist/FormField.js +1 -1
  134. package/dist/FormView.cjs +1 -1
  135. package/dist/FormView.js +1 -1
  136. package/dist/GeneralWithTagsCardsSection.cjs +14 -8
  137. package/dist/GeneralWithTagsCardsSection.js +31 -25
  138. package/dist/GiftCardsSection.cjs +15 -7
  139. package/dist/GiftCardsSection.js +44 -36
  140. package/dist/HelpBannerSection.cjs +3 -3
  141. package/dist/HelpBannerSection.js +4 -4
  142. package/dist/Icon.cjs +1 -1
  143. package/dist/Icon.js +4 -4
  144. package/dist/IconButton.cjs +1 -1
  145. package/dist/IconButton.js +1 -1
  146. package/dist/{Kaltura-CK6JHUZC.cjs → Kaltura-C2fRoaEg.cjs} +1 -1
  147. package/dist/{Kaltura-BDqlEQpd.js → Kaltura-CRGK2EP7.js} +1 -1
  148. package/dist/Kanban.cjs +1 -1
  149. package/dist/Kanban.js +1 -1
  150. package/dist/KanbanActionsToolbar.cjs +1 -1
  151. package/dist/KanbanActionsToolbar.js +5 -5
  152. package/dist/KanbanView.cjs +1 -1
  153. package/dist/KanbanView.js +9 -9
  154. package/dist/Link.cjs +1 -1
  155. package/dist/Link.js +1 -1
  156. package/dist/LoanCalculatorSection.cjs +3 -3
  157. package/dist/LoanCalculatorSection.js +17 -17
  158. package/dist/LocationFinderSection.cjs +1 -1
  159. package/dist/LocationFinderSection.js +1 -1
  160. package/dist/LocationSearchSection.cjs +13 -6
  161. package/dist/LocationSearchSection.js +34 -27
  162. package/dist/MasonryGeneralCardsSection.cjs +7 -7
  163. package/dist/MasonryGeneralCardsSection.js +24 -24
  164. package/dist/MenuItem.cjs +1 -1
  165. package/dist/MenuItem.js +14 -14
  166. package/dist/{Mixcloud-zAh6j7Ha.js → Mixcloud-Cn5M-EIT.js} +1 -1
  167. package/dist/{Mixcloud-C1Boh2Bm.cjs → Mixcloud-D09BQNOt.cjs} +1 -1
  168. package/dist/Modal.cjs +1 -1
  169. package/dist/Modal.js +1 -1
  170. package/dist/MultiSelectDropdown.cjs +1 -1
  171. package/dist/MultiSelectDropdown.js +1 -1
  172. package/dist/MultiSelectDropdownLookup.cjs +1 -1
  173. package/dist/MultiSelectDropdownLookup.js +1 -1
  174. package/dist/{Mux-C6TwZeaq.cjs → Mux-C-xD7crc.cjs} +1 -1
  175. package/dist/{Mux-BGTG_Tvc.js → Mux-C6szci3w.js} +1 -1
  176. package/dist/NestedDropdownItem.cjs +1 -1
  177. package/dist/NestedDropdownItem.js +9 -9
  178. package/dist/NestedMenuItem.cjs +1 -1
  179. package/dist/NestedMenuItem.js +7 -7
  180. package/dist/NotificationContainer.cjs +1 -1
  181. package/dist/NotificationContainer.js +1 -1
  182. package/dist/NotificationMessage.cjs +1 -1
  183. package/dist/NotificationMessage.js +5 -5
  184. package/dist/NumberInput.cjs +1 -1
  185. package/dist/NumberInput.js +8 -8
  186. package/dist/OverlayGeneralCardsSection.cjs +19 -31
  187. package/dist/OverlayGeneralCardsSection.js +51 -63
  188. package/dist/PartnerBannerSection.cjs +2 -2
  189. package/dist/PartnerBannerSection.js +2 -2
  190. package/dist/PartnerBrandsSection.cjs +2 -2
  191. package/dist/PartnerBrandsSection.js +24 -17
  192. package/dist/PartnerCardsSection.cjs +3 -3
  193. package/dist/PartnerCardsSection.js +18 -18
  194. package/dist/PartnerStatsSection.cjs +2 -2
  195. package/dist/PartnerStatsSection.js +3 -3
  196. package/dist/PasswordInput.cjs +1 -1
  197. package/dist/PasswordInput.js +19 -19
  198. package/dist/PopoverContent.cjs +1 -1
  199. package/dist/PopoverContent.js +1 -1
  200. package/dist/ProductsWithBannerSection.cjs +20 -10
  201. package/dist/ProductsWithBannerSection.js +79 -69
  202. package/dist/ProgressBar.cjs +1 -1
  203. package/dist/ProgressBar.js +5 -5
  204. package/dist/QuattroCardsSection.cjs +8 -6
  205. package/dist/QuattroCardsSection.js +19 -17
  206. package/dist/QuizSection.cjs +9 -9
  207. package/dist/QuizSection.js +56 -56
  208. package/dist/RadioInput.cjs +1 -1
  209. package/dist/RadioInput.js +1 -1
  210. package/dist/RangeSlider.cjs +1 -1
  211. package/dist/RangeSlider.js +1 -1
  212. package/dist/ReviewsSection.cjs +24 -16
  213. package/dist/ReviewsSection.js +56 -48
  214. package/dist/SalesCampaignsSection.cjs +25 -21
  215. package/dist/SalesCampaignsSection.js +248 -241
  216. package/dist/{SearchSection-DAaMecR4.js → SearchSection-BEYnWPSr.js} +69 -69
  217. package/dist/{SearchSection-B94YN_6P.cjs → SearchSection-DUY61r3k.cjs} +6 -6
  218. package/dist/SearchSection.cjs +1 -1
  219. package/dist/SearchSection.js +1 -1
  220. package/dist/Separator.cjs +1 -1
  221. package/dist/Separator.js +3 -3
  222. package/dist/SeparatorSection.cjs +3 -3
  223. package/dist/SeparatorSection.js +4 -4
  224. package/dist/ShopCardsSection.cjs +11 -5
  225. package/dist/ShopCardsSection.js +40 -34
  226. package/dist/Sidebar.cjs +1 -1
  227. package/dist/Sidebar.js +1 -1
  228. package/dist/SimpleCategoriesSection.cjs +9 -5
  229. package/dist/SimpleCategoriesSection.js +61 -57
  230. package/dist/SimpleProductsSection.cjs +44 -11
  231. package/dist/SimpleProductsSection.js +100 -67
  232. package/dist/{SoundCloud-C6R6E6Zc.cjs → SoundCloud-BsL6Onq6.cjs} +1 -1
  233. package/dist/{SoundCloud-lO8wg_0s.js → SoundCloud-Cfaj1Ze1.js} +1 -1
  234. package/dist/Spinner.cjs +1 -1
  235. package/dist/Spinner.js +1 -1
  236. package/dist/StatsSection.cjs +3 -3
  237. package/dist/StatsSection.js +11 -11
  238. package/dist/{Streamable-Dwa5ZEK4.js → Streamable-CG8_-_w7.js} +1 -1
  239. package/dist/{Streamable-DZO95CiT.cjs → Streamable-DFtyk9Dt.cjs} +1 -1
  240. package/dist/Surface.cjs +1 -1
  241. package/dist/Surface.js +1 -1
  242. package/dist/SwipeableDrawer.cjs +1 -1
  243. package/dist/SwipeableDrawer.js +1 -1
  244. package/dist/TabItem.cjs +1 -1
  245. package/dist/TabItem.js +1 -1
  246. package/dist/Table.cjs +54 -49
  247. package/dist/Table.js +417 -401
  248. package/dist/TableView.cjs +10 -2
  249. package/dist/TableView.js +84 -75
  250. package/dist/TextAreaInput.cjs +1 -1
  251. package/dist/TextAreaInput.js +1 -1
  252. package/dist/TextInput.cjs +1 -1
  253. package/dist/TextInput.js +1 -1
  254. package/dist/ThemeProvider.cjs +4 -4
  255. package/dist/ThemeProvider.js +11 -10
  256. package/dist/TimeInput.cjs +1 -1
  257. package/dist/TimeInput.js +1 -1
  258. package/dist/Toggle.cjs +1 -1
  259. package/dist/Toggle.js +1 -1
  260. package/dist/ToggleSection.cjs +7 -7
  261. package/dist/ToggleSection.js +38 -38
  262. package/dist/TreeMenuSeparator.cjs +1 -1
  263. package/dist/TreeMenuSeparator.js +3 -3
  264. package/dist/{Twitch-B17oKtD0.cjs → Twitch-BIUEEDiE.cjs} +1 -1
  265. package/dist/{Twitch-C73-dwWo.js → Twitch-CbU_0Tx9.js} +1 -1
  266. package/dist/UploadedFile.cjs +1 -1
  267. package/dist/UploadedFile.js +7 -7
  268. package/dist/UrgentSaleProductsSection.cjs +10 -4
  269. package/dist/UrgentSaleProductsSection.js +67 -61
  270. package/dist/{Vidyard-s1MMcaRm.cjs → Vidyard-QkjVIros.cjs} +1 -1
  271. package/dist/{Vidyard-B6GdBHsM.js → Vidyard-S6Fl_F78.js} +1 -1
  272. package/dist/{Vimeo-kzHz4Gco.js → Vimeo-5bkeYCV4.js} +1 -1
  273. package/dist/{Vimeo-J1l_SU2E.cjs → Vimeo-B5jsifNT.cjs} +1 -1
  274. package/dist/{Wistia-CudQyDHM.cjs → Wistia-dpbMmx23.cjs} +1 -1
  275. package/dist/{Wistia-w4jnqd7y.js → Wistia-gOZBV0XZ.js} +1 -1
  276. package/dist/{YouTube-BAYKouHS.cjs → YouTube-BfZRCB6O.cjs} +1 -1
  277. package/dist/{YouTube-BKyipPZx.js → YouTube-XoIB4ATQ.js} +1 -1
  278. package/dist/breakpoints-CcVm-gVm.cjs +1 -0
  279. package/dist/breakpoints-ff0SIcV3.js +91 -0
  280. package/dist/{index-u_XFwsvc.js → index-9KyU46J0.js} +11 -9
  281. package/dist/{index-CSgGox95.cjs → index-B9c6y2J5.cjs} +3 -3
  282. package/dist/{index-CS4w87SW.cjs → index-BEgD9vNo.cjs} +9 -9
  283. package/dist/{index-BC2PHcI1.js → index-BWeXujWl.js} +10 -10
  284. package/dist/index-B_ilx3wM.cjs +16 -0
  285. package/dist/{index-B22BZVBG.js → index-BvMY2TbK.js} +1 -1
  286. package/dist/{index-CwMCk9wV.js → index-BzSWu-7v.js} +67 -67
  287. package/dist/{index-TIqKd2Dv.js → index-C-uOIDDa.js} +2 -2
  288. package/dist/{index-bihqNqQk.js → index-C4HycAPS.js} +6 -6
  289. package/dist/{index-BWE-RCPy.cjs → index-CBZ-jNah.cjs} +4 -4
  290. package/dist/{index-D_5jNP-o.cjs → index-CUaeb_TU.cjs} +5 -5
  291. package/dist/{index-DK8dqEUQ.js → index-CoQ9APCD.js} +11 -11
  292. package/dist/{index-BAJkosVg.cjs → index-CsTfXxpp.cjs} +2 -2
  293. package/dist/{index-D0JDnm9b.cjs → index-Dc0EEBRW.cjs} +4 -4
  294. package/dist/{index-uwl7BjRF.cjs → index-DsINTjQk.cjs} +1 -1
  295. package/dist/{index-Cm414y95.js → index-L_Va5-wK.js} +13 -13
  296. package/dist/{index-CBMsUFkS.js → index-hC-E71GE.js} +11 -11
  297. package/dist/{index-BFc3nxYZ.cjs → index-of6WydGq.cjs} +4 -2
  298. package/dist/{index-BASX-BjS.js → index-rYUwBlpp.js} +63 -63
  299. package/dist/{index-D0IYt1s3.cjs → index-uCWKRzoS.cjs} +2 -2
  300. package/dist/{index-CRk3vcd4.cjs → index-vQOR22Py.cjs} +4 -4
  301. package/dist/{index-D-86mDtn.js → index-yARaIaLj.js} +29 -29
  302. package/dist/index.cjs +1 -1
  303. package/dist/index.js +213 -194
  304. package/dist/{style-BTTXJFJN.cjs → style-AYc9hnFj.cjs} +14 -2
  305. package/dist/{style-neMbLWE6.js → style-BUyFad_y.js} +4 -4
  306. package/dist/{style-tw6KjI2J.js → style-Bq3rMbnN.js} +16 -4
  307. package/dist/{style-B4kAj6YU.cjs → style-DC05rdyx.cjs} +5 -5
  308. package/dist/{tag-Dm8CW4TM.js → tag-Bi8gg6hJ.js} +12 -12
  309. package/dist/{tag-UQjq2_Ba.cjs → tag-DSnhWWHE.cjs} +5 -5
  310. package/dist/{utils-DtEfC-TX.js → theme-Befg4g_L.js} +19 -378
  311. package/dist/theme-Q3WOGKWQ.cjs +1 -0
  312. package/dist/{useDetectMobile-Bkvj0VMa.js → useDetectMobile-CcVo3PNi.js} +1 -1
  313. package/dist/useDetectMobile-DYV6V1yw.cjs +1 -0
  314. package/dist/utils-B2fsQ6PS.js +334 -0
  315. package/dist/utils-CITgSxXe.cjs +51 -0
  316. package/package.json +1 -1
  317. package/dist/consts-BuFChS64.js +0 -7
  318. package/dist/consts-goSZX3xP.cjs +0 -1
  319. package/dist/index-D-3I_Ppj.cjs +0 -16
  320. package/dist/useDetectMobile-zkbzoOGV.cjs +0 -1
  321. package/dist/utils-RnrgDDZP.cjs +0 -51
@@ -1,10 +1,10 @@
1
- "use strict";const t=require("react/jsx-runtime"),H=require("react"),n=require("./emotion-styled.browser.esm-BtEseadx.cjs"),a=require("./consts-goSZX3xP.cjs"),M=require("./Button.cjs"),z=require("./useDetectMobile-zkbzoOGV.cjs"),I=require("./utils-RnrgDDZP.cjs"),B=n.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),j=require("react"),n=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./breakpoints-CcVm-gVm.cjs"),z=require("./Button.cjs"),M=require("./useDetectMobile-DYV6V1yw.cjs"),k=require("./utils-CITgSxXe.cjs"),q=n.styled.div`
2
2
  display: flex;
3
3
  border-radius: 0.75rem;
4
4
  background-color: ${e=>e.bgcolor||"transparent"};
5
5
  overflow: hidden;
6
- max-height: ${e=>`${e.height}px`||"22.5rem"};
7
- min-height: ${e=>`${e.height}px`||"22.5rem"};
6
+ max-height: ${e=>e.height!=null?`${e.height}px`:"22.5rem"};
7
+ min-height: ${e=>e.height!=null?`${e.height}px`:"22.5rem"};
8
8
  background-color: ${e=>e.bgcolor||"transparent"};
9
9
  position: relative;
10
10
 
@@ -14,10 +14,10 @@
14
14
 
15
15
  & img {
16
16
  object-fit: cover;
17
- max-width: ${e=>`${e.imgW}px`||"22.5rem"};
18
- min-width: ${e=>`${e.imgW}px`||"22.5rem"};
19
- max-height: ${e=>`${e.height}px`||"22.5rem"};
20
- min-height: ${e=>`${e.height}px`||"22.5rem"};
17
+ max-width: ${e=>e.imgW!=null?`${e.imgW}px`:"22.5rem"};
18
+ min-width: ${e=>e.imgW!=null?`${e.imgW}px`:"22.5rem"};
19
+ max-height: ${e=>e.height!=null?`${e.height}px`:"22.5rem"};
20
+ min-height: ${e=>e.height!=null?`${e.height}px`:"22.5rem"};
21
21
  }
22
22
 
23
23
  & .header-image {
@@ -33,7 +33,7 @@
33
33
 
34
34
  `}
35
35
 
36
- @media (max-width: ${a.MOBILE_SIZE_PX+"px"}) {
36
+ @media ${o.down("S")} {
37
37
  gap: 1.5rem;
38
38
  flex-direction: column;
39
39
  min-height: unset;
@@ -48,8 +48,8 @@
48
48
  & img {
49
49
  max-width: 100%;
50
50
  min-width: 100%;
51
- max-height: ${e=>`${e.imgHMob}px`||"12.1rem"};
52
- min-height: ${e=>`${e.imgHMob}px`||"12.1rem"};
51
+ max-height: ${e=>e.imgHMob!=null?`${e.imgHMob}px`:"12.1rem"};
52
+ min-height: ${e=>e.imgHMob!=null?`${e.imgHMob}px`:"12.1rem"};
53
53
  }
54
54
 
55
55
  & .header-image {
@@ -59,7 +59,7 @@
59
59
  left: 0;
60
60
  }
61
61
  }
62
- `,_=n.styled.div`
62
+ `,C=n.styled.div`
63
63
  padding: ${e=>e.smallPadding===!0?"2rem":"4rem 5rem"};
64
64
  display: flex;
65
65
  gap: 2rem;
@@ -84,13 +84,13 @@
84
84
  }
85
85
  }
86
86
 
87
- @media (max-width: ${a.MOBILE_SIZE_PX+"px"}) {
87
+ @media ${o.down("S")} {
88
88
  padding: 0;
89
89
  flex-direction: column;
90
90
 
91
91
  ${e=>e!=null&&e.hasHeaderImage?"padding: 3.5rem 3.5rem 0 3.5rem;":""}
92
92
  }
93
- `,k=n.styled.div`
93
+ `,W=n.styled.div`
94
94
  display: flex;
95
95
  flex-direction: column;
96
96
  gap: 0.25rem;
@@ -113,7 +113,7 @@
113
113
  letter-spacing: -0.0112rem;
114
114
  }
115
115
 
116
- @media (max-width: ${a.MOBILE_SIZE_PX+"px"}) {
116
+ @media ${o.down("S")} {
117
117
  flex-direction: column;
118
118
 
119
119
  & .header-title {
@@ -129,4 +129,4 @@
129
129
  letter-spacing: -0.0112rem;
130
130
  }
131
131
  }
132
- `,q=H.forwardRef((e,d)=>{const{title:g,subtitle:c,buttonText:x,buttonLink:u,onButtonAction:b=()=>{},imageUrl:o,imagePosition:m="right",hideImageForMobile:s=!1,sectionHeight:p="12.65625rem",imageWidth:f,imageHeightMobile:$,smallPadding:w=!1,isHorizontalContent:y=!1,backgroundColor:v,hasBorder:j=!1,headerImageUrl:i}=e,l=z.useDetectMobile();return t.jsxs(B,{ref:d,bgcolor:v,height:p,imgW:f,imgHMob:$,hasBorder:j,children:[i&&t.jsx("img",{src:i,className:"header-image",alt:"Header image"}),m!=="right"&&!(s===!0&&l===!0)&&t.jsx("img",{src:o,className:"banner-image"}),t.jsxs(_,{isHorizontalContent:y,smallPadding:w,hasHeaderImage:I.isDefined(i),children:[t.jsxs(k,{children:[t.jsx("div",{className:"header-title",children:g}),t.jsx("div",{className:"header-subitle",children:c})]}),t.jsx(M,{size:"medium",color:"neutral",type:"button",className:"header-button",onClick:r=>{var h;(h=r==null?void 0:r.target)==null||h.blur(),b(u)},children:x})]}),m==="right"&&!(s===!0&&l===!0)&&t.jsx("img",{src:o,className:"banner-image"})]})});module.exports=q;
132
+ `,N=j.forwardRef((e,g)=>{const{title:d,subtitle:c,buttonText:u,buttonLink:x,onButtonAction:b=()=>{},imageUrl:a,imagePosition:l="right",hideImageForMobile:m=!1,sectionHeight:f="12.65625rem",imageWidth:p,imageHeightMobile:$,smallPadding:w=!1,isHorizontalContent:y=!1,backgroundColor:v,hasBorder:H=!1,headerImageUrl:i}=e,s=M.useDetectMobile();return t.jsxs(q,{ref:g,bgcolor:v,height:f,imgW:p,imgHMob:$,hasBorder:H,children:[i&&t.jsx("img",{src:i,className:"header-image",alt:"Header image"}),l!=="right"&&!(m===!0&&s===!0)&&t.jsx("img",{src:a,className:"banner-image"}),t.jsxs(C,{isHorizontalContent:y,smallPadding:w,hasHeaderImage:k.isDefined(i),children:[t.jsxs(W,{children:[t.jsx("div",{className:"header-title",children:d}),t.jsx("div",{className:"header-subitle",children:c})]}),t.jsx(z,{size:"medium",color:"neutral",type:"button",className:"header-button",onClick:r=>{var h;(h=r==null?void 0:r.target)==null||h.blur(),b(x)},children:u})]}),l==="right"&&!(m===!0&&s===!0)&&t.jsx("img",{src:a,className:"banner-image"})]})});module.exports=N;
@@ -1,17 +1,17 @@
1
- import { jsxs as a, jsx as t } from "react/jsx-runtime";
1
+ import { jsxs as o, jsx as t } from "react/jsx-runtime";
2
2
  import { forwardRef as M } from "react";
3
- import { s as o } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import { M as n } from "./consts-BuFChS64.js";
3
+ import { s as a } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
+ import { d as n } from "./breakpoints-ff0SIcV3.js";
5
5
  import k from "./Button.js";
6
- import { u as C } from "./useDetectMobile-Bkvj0VMa.js";
7
- import { l as B } from "./utils-DtEfC-TX.js";
8
- const I = o.div`
6
+ import { u as C } from "./useDetectMobile-CcVo3PNi.js";
7
+ import { m as W } from "./utils-B2fsQ6PS.js";
8
+ const N = a.div`
9
9
  display: flex;
10
10
  border-radius: 0.75rem;
11
11
  background-color: ${(e) => e.bgcolor || "transparent"};
12
12
  overflow: hidden;
13
- max-height: ${(e) => `${e.height}px` || "22.5rem"};
14
- min-height: ${(e) => `${e.height}px` || "22.5rem"};
13
+ max-height: ${(e) => e.height != null ? `${e.height}px` : "22.5rem"};
14
+ min-height: ${(e) => e.height != null ? `${e.height}px` : "22.5rem"};
15
15
  background-color: ${(e) => e.bgcolor || "transparent"};
16
16
  position: relative;
17
17
 
@@ -21,10 +21,10 @@ const I = o.div`
21
21
 
22
22
  & img {
23
23
  object-fit: cover;
24
- max-width: ${(e) => `${e.imgW}px` || "22.5rem"};
25
- min-width: ${(e) => `${e.imgW}px` || "22.5rem"};
26
- max-height: ${(e) => `${e.height}px` || "22.5rem"};
27
- min-height: ${(e) => `${e.height}px` || "22.5rem"};
24
+ max-width: ${(e) => e.imgW != null ? `${e.imgW}px` : "22.5rem"};
25
+ min-width: ${(e) => e.imgW != null ? `${e.imgW}px` : "22.5rem"};
26
+ max-height: ${(e) => e.height != null ? `${e.height}px` : "22.5rem"};
27
+ min-height: ${(e) => e.height != null ? `${e.height}px` : "22.5rem"};
28
28
  }
29
29
 
30
30
  & .header-image {
@@ -40,7 +40,7 @@ const I = o.div`
40
40
 
41
41
  `}
42
42
 
43
- @media (max-width: ${n + "px"}) {
43
+ @media ${n("S")} {
44
44
  gap: 1.5rem;
45
45
  flex-direction: column;
46
46
  min-height: unset;
@@ -55,8 +55,8 @@ const I = o.div`
55
55
  & img {
56
56
  max-width: 100%;
57
57
  min-width: 100%;
58
- max-height: ${(e) => `${e.imgHMob}px` || "12.1rem"};
59
- min-height: ${(e) => `${e.imgHMob}px` || "12.1rem"};
58
+ max-height: ${(e) => e.imgHMob != null ? `${e.imgHMob}px` : "12.1rem"};
59
+ min-height: ${(e) => e.imgHMob != null ? `${e.imgHMob}px` : "12.1rem"};
60
60
  }
61
61
 
62
62
  & .header-image {
@@ -66,7 +66,7 @@ const I = o.div`
66
66
  left: 0;
67
67
  }
68
68
  }
69
- `, N = o.div`
69
+ `, B = a.div`
70
70
  padding: ${(e) => e.smallPadding === !0 ? "2rem" : "4rem 5rem"};
71
71
  display: flex;
72
72
  gap: 2rem;
@@ -91,13 +91,13 @@ const I = o.div`
91
91
  }
92
92
  }
93
93
 
94
- @media (max-width: ${n + "px"}) {
94
+ @media ${n("S")} {
95
95
  padding: 0;
96
96
  flex-direction: column;
97
97
 
98
98
  ${(e) => e != null && e.hasHeaderImage ? "padding: 3.5rem 3.5rem 0 3.5rem;" : ""}
99
99
  }
100
- `, W = o.div`
100
+ `, S = a.div`
101
101
  display: flex;
102
102
  flex-direction: column;
103
103
  gap: 0.25rem;
@@ -120,7 +120,7 @@ const I = o.div`
120
120
  letter-spacing: -0.0112rem;
121
121
  }
122
122
 
123
- @media (max-width: ${n + "px"}) {
123
+ @media ${n("S")} {
124
124
  flex-direction: column;
125
125
 
126
126
  & .header-title {
@@ -136,18 +136,18 @@ const I = o.div`
136
136
  letter-spacing: -0.0112rem;
137
137
  }
138
138
  }
139
- `, _ = M((e, s) => {
139
+ `, L = M((e, s) => {
140
140
  const {
141
141
  title: c,
142
- subtitle: p,
143
- buttonText: x,
144
- buttonLink: f,
145
- onButtonAction: u = () => {
142
+ subtitle: u,
143
+ buttonText: f,
144
+ buttonLink: b,
145
+ onButtonAction: x = () => {
146
146
  },
147
147
  imageUrl: m,
148
148
  imagePosition: l = "right",
149
149
  hideImageForMobile: h = !1,
150
- sectionHeight: b = "12.65625rem",
150
+ sectionHeight: p = "12.65625rem",
151
151
  imageWidth: $,
152
152
  imageHeightMobile: w,
153
153
  smallPadding: v = !1,
@@ -155,29 +155,29 @@ const I = o.div`
155
155
  backgroundColor: H,
156
156
  hasBorder: z = !1,
157
157
  headerImageUrl: i
158
- } = e, d = C();
159
- return /* @__PURE__ */ a(
160
- I,
158
+ } = e, g = C();
159
+ return /* @__PURE__ */ o(
160
+ N,
161
161
  {
162
162
  ref: s,
163
163
  bgcolor: H,
164
- height: b,
164
+ height: p,
165
165
  imgW: $,
166
166
  imgHMob: w,
167
167
  hasBorder: z,
168
168
  children: [
169
169
  i && /* @__PURE__ */ t("img", { src: i, className: "header-image", alt: "Header image" }),
170
- l !== "right" && !(h === !0 && d === !0) && /* @__PURE__ */ t("img", { src: m, className: "banner-image" }),
171
- /* @__PURE__ */ a(
172
- N,
170
+ l !== "right" && !(h === !0 && g === !0) && /* @__PURE__ */ t("img", { src: m, className: "banner-image" }),
171
+ /* @__PURE__ */ o(
172
+ B,
173
173
  {
174
174
  isHorizontalContent: y,
175
175
  smallPadding: v,
176
- hasHeaderImage: B(i),
176
+ hasHeaderImage: W(i),
177
177
  children: [
178
- /* @__PURE__ */ a(W, { children: [
178
+ /* @__PURE__ */ o(S, { children: [
179
179
  /* @__PURE__ */ t("div", { className: "header-title", children: c }),
180
- /* @__PURE__ */ t("div", { className: "header-subitle", children: p })
180
+ /* @__PURE__ */ t("div", { className: "header-subitle", children: u })
181
181
  ] }),
182
182
  /* @__PURE__ */ t(
183
183
  k,
@@ -187,20 +187,20 @@ const I = o.div`
187
187
  type: "button",
188
188
  className: "header-button",
189
189
  onClick: (r) => {
190
- var g;
191
- (g = r == null ? void 0 : r.target) == null || g.blur(), u(f);
190
+ var d;
191
+ (d = r == null ? void 0 : r.target) == null || d.blur(), x(b);
192
192
  },
193
- children: x
193
+ children: f
194
194
  }
195
195
  )
196
196
  ]
197
197
  }
198
198
  ),
199
- l === "right" && !(h === !0 && d === !0) && /* @__PURE__ */ t("img", { src: m, className: "banner-image" })
199
+ l === "right" && !(h === !0 && g === !0) && /* @__PURE__ */ t("img", { src: m, className: "banner-image" })
200
200
  ]
201
201
  }
202
202
  );
203
203
  });
204
204
  export {
205
- _ as default
205
+ L as default
206
206
  };
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("react/jsx-runtime"),c=require("react"),o=require("./emotion-styled.browser.esm-BtEseadx.cjs"),a=require("./consts-goSZX3xP.cjs"),u=require("./Button.cjs"),i=require("./utils-RnrgDDZP.cjs"),x=o.styled.div`
1
+ "use strict";const e=require("react/jsx-runtime"),c=require("react"),l=require("./emotion-styled.browser.esm-BtEseadx.cjs"),a=require("./breakpoints-CcVm-gVm.cjs"),u=require("./Button.cjs"),i=require("./utils-CITgSxXe.cjs"),x=l.styled.div`
2
2
  padding-bottom: 1.38rem;
3
3
  text-align: center;
4
4
  display: flex;
@@ -22,10 +22,10 @@
22
22
  }
23
23
  }
24
24
 
25
- @media (max-width: ${a.MOBILE_SIZE_PX+"px"}) {
25
+ @media ${a.down("S")} {
26
26
  padding-bottom: 0;
27
27
  }
28
- `,p=o.styled.div`
28
+ `,y=l.styled.div`
29
29
  text-align: center;
30
30
  display: flex;
31
31
  justify-content: center;
@@ -50,7 +50,7 @@
50
50
  line-height: 1.5rem;
51
51
  }
52
52
 
53
- @media (max-width: ${a.MOBILE_SIZE_PX+"px"}) {
53
+ @media ${a.down("S")} {
54
54
  & .header-title {
55
55
  font-size: 1.375rem;
56
56
  line-height: 1.75rem;
@@ -62,7 +62,7 @@
62
62
  line-height: 1.25rem;
63
63
  }
64
64
  }
65
- `,y=o.styled.div`
65
+ `,p=l.styled.div`
66
66
  text-align: center;
67
67
  display: flex;
68
68
  flex-direction: column;
@@ -88,7 +88,7 @@
88
88
  }
89
89
  }
90
90
 
91
- @media (max-width: ${a.MOBILE_SIZE_PX+"px"}) {
91
+ @media ${a.down("S")} {
92
92
  & .list-item {
93
93
  flex-direction: column;
94
94
  text-align: center;
@@ -96,4 +96,4 @@
96
96
  gap: 0;
97
97
  }
98
98
  }
99
- `,b=c.forwardRef((m,d)=>{const{title:r,subtitle:s,buttonText:h,list:l,buttonLink:g,onButtonAction:f=()=>{}}=m;return e.jsxs(x,{ref:d,children:[(i.isDefined(r)||i.isDefined(s))&&e.jsxs(p,{children:[i.isDefined(r)&&e.jsx("div",{className:"header-title",children:r}),i.isDefined(s)&&e.jsx("div",{className:"header-subitle",children:s})]}),e.jsx(y,{children:l==null?void 0:l.map((t,n)=>e.jsx(c.Fragment,{children:e.jsxs("div",{className:"list-item",children:[e.jsx("i",{className:"mng mng-lnc-checkmark--filled"}),e.jsx("span",{children:t})]})},n))}),e.jsx(u,{size:"medium",color:"neutral",type:"button",className:"header-button",onClick:t=>{var n;(n=t==null?void 0:t.target)==null||n.blur(),f(g)},children:h})]})});module.exports=b;
99
+ `,b=c.forwardRef((m,d)=>{const{title:r,subtitle:o,buttonText:g,list:s,buttonLink:f,onButtonAction:h=()=>{}}=m;return e.jsxs(x,{ref:d,children:[(i.isDefined(r)||i.isDefined(o))&&e.jsxs(y,{children:[i.isDefined(r)&&e.jsx("div",{className:"header-title",children:r}),i.isDefined(o)&&e.jsx("div",{className:"header-subitle",children:o})]}),e.jsx(p,{children:s==null?void 0:s.map((t,n)=>e.jsx(c.Fragment,{children:e.jsxs("div",{className:"list-item",children:[e.jsx("i",{className:"mng mng-lnc-checkmark--filled"}),e.jsx("span",{children:t})]})},n))}),e.jsx(u,{size:"medium",color:"neutral",type:"button",className:"header-button",onClick:t=>{var n;(n=t==null?void 0:t.target)==null||n.blur(),h(f)},children:g})]})});module.exports=b;
@@ -1,10 +1,10 @@
1
1
  import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
2
  import { forwardRef as p, Fragment as u } from "react";
3
3
  import { s as m } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import { M as s } from "./consts-BuFChS64.js";
5
- import x from "./Button.js";
6
- import { l as n } from "./utils-DtEfC-TX.js";
7
- const y = m.div`
4
+ import { d as s } from "./breakpoints-ff0SIcV3.js";
5
+ import y from "./Button.js";
6
+ import { m as i } from "./utils-B2fsQ6PS.js";
7
+ const x = m.div`
8
8
  padding-bottom: 1.38rem;
9
9
  text-align: center;
10
10
  display: flex;
@@ -28,7 +28,7 @@ const y = m.div`
28
28
  }
29
29
  }
30
30
 
31
- @media (max-width: ${s + "px"}) {
31
+ @media ${s("S")} {
32
32
  padding-bottom: 0;
33
33
  }
34
34
  `, b = m.div`
@@ -56,7 +56,7 @@ const y = m.div`
56
56
  line-height: 1.5rem;
57
57
  }
58
58
 
59
- @media (max-width: ${s + "px"}) {
59
+ @media ${s("S")} {
60
60
  & .header-title {
61
61
  font-size: 1.375rem;
62
62
  line-height: 1.75rem;
@@ -94,7 +94,7 @@ const y = m.div`
94
94
  }
95
95
  }
96
96
 
97
- @media (max-width: ${s + "px"}) {
97
+ @media ${s("S")} {
98
98
  & .list-item {
99
99
  flex-direction: column;
100
100
  text-align: center;
@@ -102,35 +102,35 @@ const y = m.div`
102
102
  gap: 0;
103
103
  }
104
104
  }
105
- `, L = p((c, d) => {
105
+ `, B = p((c, d) => {
106
106
  const {
107
107
  title: r,
108
108
  subtitle: o,
109
109
  buttonText: f,
110
110
  list: a,
111
- buttonLink: h,
112
- onButtonAction: g = () => {
111
+ buttonLink: g,
112
+ onButtonAction: h = () => {
113
113
  }
114
114
  } = c;
115
- return /* @__PURE__ */ l(y, { ref: d, children: [
116
- (n(r) || n(o)) && /* @__PURE__ */ l(b, { children: [
117
- n(r) && /* @__PURE__ */ e("div", { className: "header-title", children: r }),
118
- n(o) && /* @__PURE__ */ e("div", { className: "header-subitle", children: o })
115
+ return /* @__PURE__ */ l(x, { ref: d, children: [
116
+ (i(r) || i(o)) && /* @__PURE__ */ l(b, { children: [
117
+ i(r) && /* @__PURE__ */ e("div", { className: "header-title", children: r }),
118
+ i(o) && /* @__PURE__ */ e("div", { className: "header-subitle", children: o })
119
119
  ] }),
120
- /* @__PURE__ */ e(v, { children: a == null ? void 0 : a.map((t, i) => /* @__PURE__ */ e(u, { children: /* @__PURE__ */ l("div", { className: "list-item", children: [
120
+ /* @__PURE__ */ e(v, { children: a == null ? void 0 : a.map((t, n) => /* @__PURE__ */ e(u, { children: /* @__PURE__ */ l("div", { className: "list-item", children: [
121
121
  /* @__PURE__ */ e("i", { className: "mng mng-lnc-checkmark--filled" }),
122
122
  /* @__PURE__ */ e("span", { children: t })
123
- ] }) }, i)) }),
123
+ ] }) }, n)) }),
124
124
  /* @__PURE__ */ e(
125
- x,
125
+ y,
126
126
  {
127
127
  size: "medium",
128
128
  color: "neutral",
129
129
  type: "button",
130
130
  className: "header-button",
131
131
  onClick: (t) => {
132
- var i;
133
- (i = t == null ? void 0 : t.target) == null || i.blur(), g(h);
132
+ var n;
133
+ (n = t == null ? void 0 : t.target) == null || n.blur(), h(g);
134
134
  },
135
135
  children: f
136
136
  }
@@ -138,5 +138,5 @@ const y = m.div`
138
138
  ] });
139
139
  });
140
140
  export {
141
- L as default
141
+ B as default
142
142
  };
@@ -1,4 +1,4 @@
1
- "use strict";const i=require("react/jsx-runtime"),s=require("react"),n=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./consts-goSZX3xP.cjs"),w=require("./Button.cjs"),j=n.styled.div`
1
+ "use strict";const i=require("react/jsx-runtime"),s=require("react"),n=require("./emotion-styled.browser.esm-BtEseadx.cjs"),a=require("./breakpoints-CcVm-gVm.cjs"),w=require("./Button.cjs"),j=n.styled.div`
2
2
  display: flex;
3
3
  border-radius: 0.75rem;
4
4
  background-color: ${e=>(e==null?void 0:e.bgColor)||"transparent"};
@@ -21,7 +21,7 @@
21
21
 
22
22
  `}
23
23
 
24
- @media (max-width: ${o.MOBILE_SIZE_PX+"px"}) {
24
+ @media ${a.down("S")} {
25
25
  flex-direction: column;
26
26
  border-radius: 0;
27
27
  border: none;
@@ -42,7 +42,7 @@
42
42
  flex: 1;
43
43
  flex-direction: column;
44
44
 
45
- @media (max-width: ${o.MOBILE_SIZE_PX+"px"}) {
45
+ @media ${a.down("S")} {
46
46
  padding: 0 0 1.25rem 0;
47
47
  }
48
48
  `,$=n.styled.div`
@@ -68,10 +68,10 @@
68
68
  letter-spacing: -0.0112rem;
69
69
  }
70
70
 
71
- @media (max-width: ${o.MOBILE_SIZE_PX+"px"}) {
71
+ @media ${a.down("S")} {
72
72
  flex-direction: column;
73
73
  }
74
- `,_=n.styled.div`
74
+ `,H=n.styled.div`
75
75
  display: flex;
76
76
  flex-direction: column;
77
77
  gap: 0.75rem;
@@ -93,7 +93,4 @@
93
93
  color: var(--info-600, #6d28d9);
94
94
  }
95
95
  }
96
-
97
- @media (max-width: ${o.MOBILE_SIZE_PX+"px"}) {
98
- }
99
- `,B=s.forwardRef((e,m)=>{const{title:l,subtitle:d,buttonText:c,list:a,imageUrl:g,imageHeight:h,imageWidth:x,imageHeightMobile:p,hasBorder:u=!0,backgroundColor:f="transparent",onButtonAction:b=()=>{},buttonLink:y}=e;return i.jsxs(j,{ref:m,imgH:h,imgW:x,imgHMob:p,hasBorder:u,bgColor:f,children:[i.jsxs(v,{children:[i.jsxs($,{children:[i.jsx("div",{className:"header-title",children:l}),i.jsx("div",{className:"header-subitle",children:d})]}),i.jsx(_,{children:a==null?void 0:a.map((t,r)=>i.jsx(s.Fragment,{children:i.jsxs("div",{className:"list-item",children:[i.jsx("i",{className:"mng mng-lnc-checkmark--filled"}),i.jsx("span",{children:t})]})},r))}),i.jsx(w,{size:"medium",color:"neutral",type:"button",btnType:"outline",onClick:t=>{var r;(r=t==null?void 0:t.target)==null||r.blur(),b(y)},children:c})]}),i.jsx("img",{src:g})]})});module.exports=B;
96
+ `,k=s.forwardRef((e,l)=>{const{title:m,subtitle:d,buttonText:c,list:o,imageUrl:g,imageHeight:h,imageWidth:x,imageHeightMobile:u,hasBorder:p=!0,backgroundColor:f="transparent",onButtonAction:b=()=>{},buttonLink:y}=e;return i.jsxs(j,{ref:l,imgH:h,imgW:x,imgHMob:u,hasBorder:p,bgColor:f,children:[i.jsxs(v,{children:[i.jsxs($,{children:[i.jsx("div",{className:"header-title",children:m}),i.jsx("div",{className:"header-subitle",children:d})]}),i.jsx(H,{children:o==null?void 0:o.map((r,t)=>i.jsx(s.Fragment,{children:i.jsxs("div",{className:"list-item",children:[i.jsx("i",{className:"mng mng-lnc-checkmark--filled"}),i.jsx("span",{children:r})]})},t))}),i.jsx(w,{size:"medium",color:"neutral",type:"button",btnType:"outline",onClick:r=>{var t;(t=r==null?void 0:r.target)==null||t.blur(),b(y)},children:c})]}),i.jsx("img",{src:g})]})});module.exports=k;
@@ -1,7 +1,7 @@
1
1
  import { jsxs as o, jsx as i } from "react/jsx-runtime";
2
- import { forwardRef as y, Fragment as v } from "react";
2
+ import { forwardRef as w, Fragment as v } from "react";
3
3
  import { s as n } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import { M as a } from "./consts-BuFChS64.js";
4
+ import { d as m } from "./breakpoints-ff0SIcV3.js";
5
5
  import $ from "./Button.js";
6
6
  const H = n.div`
7
7
  display: flex;
@@ -26,7 +26,7 @@ const H = n.div`
26
26
 
27
27
  `}
28
28
 
29
- @media (max-width: ${a + "px"}) {
29
+ @media ${m("S")} {
30
30
  flex-direction: column;
31
31
  border-radius: 0;
32
32
  border: none;
@@ -47,7 +47,7 @@ const H = n.div`
47
47
  flex: 1;
48
48
  flex-direction: column;
49
49
 
50
- @media (max-width: ${a + "px"}) {
50
+ @media ${m("S")} {
51
51
  padding: 0 0 1.25rem 0;
52
52
  }
53
53
  `, k = n.div`
@@ -73,7 +73,7 @@ const H = n.div`
73
73
  letter-spacing: -0.0112rem;
74
74
  }
75
75
 
76
- @media (max-width: ${a + "px"}) {
76
+ @media ${m("S")} {
77
77
  flex-direction: column;
78
78
  }
79
79
  `, z = n.div`
@@ -98,33 +98,30 @@ const H = n.div`
98
98
  color: var(--info-600, #6d28d9);
99
99
  }
100
100
  }
101
-
102
- @media (max-width: ${a + "px"}) {
103
- }
104
- `, N = y((e, l) => {
101
+ `, S = w((e, l) => {
105
102
  const {
106
103
  title: d,
107
104
  subtitle: s,
108
105
  buttonText: g,
109
- list: m,
106
+ list: a,
110
107
  imageUrl: c,
111
108
  imageHeight: h,
112
- imageWidth: p,
113
- imageHeightMobile: x,
114
- hasBorder: f = !0,
109
+ imageWidth: f,
110
+ imageHeightMobile: p,
111
+ hasBorder: x = !0,
115
112
  backgroundColor: b = "transparent",
116
113
  onButtonAction: u = () => {
117
114
  },
118
- buttonLink: w
115
+ buttonLink: y
119
116
  } = e;
120
117
  return /* @__PURE__ */ o(
121
118
  H,
122
119
  {
123
120
  ref: l,
124
121
  imgH: h,
125
- imgW: p,
126
- imgHMob: x,
127
- hasBorder: f,
122
+ imgW: f,
123
+ imgHMob: p,
124
+ hasBorder: x,
128
125
  bgColor: b,
129
126
  children: [
130
127
  /* @__PURE__ */ o(W, { children: [
@@ -132,7 +129,7 @@ const H = n.div`
132
129
  /* @__PURE__ */ i("div", { className: "header-title", children: d }),
133
130
  /* @__PURE__ */ i("div", { className: "header-subitle", children: s })
134
131
  ] }),
135
- /* @__PURE__ */ i(z, { children: m == null ? void 0 : m.map((r, t) => /* @__PURE__ */ i(v, { children: /* @__PURE__ */ o("div", { className: "list-item", children: [
132
+ /* @__PURE__ */ i(z, { children: a == null ? void 0 : a.map((r, t) => /* @__PURE__ */ i(v, { children: /* @__PURE__ */ o("div", { className: "list-item", children: [
136
133
  /* @__PURE__ */ i("i", { className: "mng mng-lnc-checkmark--filled" }),
137
134
  /* @__PURE__ */ i("span", { children: r })
138
135
  ] }) }, t)) }),
@@ -145,7 +142,7 @@ const H = n.div`
145
142
  btnType: "outline",
146
143
  onClick: (r) => {
147
144
  var t;
148
- (t = r == null ? void 0 : r.target) == null || t.blur(), u(w);
145
+ (t = r == null ? void 0 : r.target) == null || t.blur(), u(y);
149
146
  },
150
147
  children: g
151
148
  }
@@ -157,5 +154,5 @@ const H = n.div`
157
154
  );
158
155
  });
159
156
  export {
160
- N as default
157
+ S as default
161
158
  };
@@ -1,4 +1,4 @@
1
- "use strict";const r=require("react/jsx-runtime"),d=require("react"),s=require("./utils-RnrgDDZP.cjs"),y=require("./Icon.cjs"),x=require("./style-B4kAj6YU.cjs"),R=require("./index-uwl7BjRF.cjs"),j=require("./emotion-styled.browser.esm-BtEseadx.cjs"),N=require("./consts-goSZX3xP.cjs"),$=require("./Button.cjs"),z=require("./index-D0IYt1s3.cjs"),I=j.styled.a`
1
+ "use strict";const r=require("react/jsx-runtime"),d=require("react"),s=require("./utils-CITgSxXe.cjs"),y=require("./Icon.cjs"),R=require("./style-DC05rdyx.cjs"),$=require("./index-DsINTjQk.cjs"),N=require("./emotion-styled.browser.esm-BtEseadx.cjs"),v=require("./breakpoints-CcVm-gVm.cjs"),z=require("./Button.cjs"),q=require("./index-uCWKRzoS.cjs"),k=N.styled.a`
2
2
  text-decoration: none;
3
3
  color: var(--gray-950);
4
4
  display: flex;
@@ -97,7 +97,7 @@
97
97
  }
98
98
  }
99
99
 
100
- @media (max-width: ${N.MOBILE_SIZE_PX+"px"}) {
100
+ @media ${v.down("S")} {
101
101
  flex-direction: column;
102
102
  padding: 0;
103
103
 
@@ -123,7 +123,7 @@
123
123
  }
124
124
  }
125
125
  }
126
- `,q=d.forwardRef(({title:t,imageUrl:p,options:n,publishedAt:m,timeToReadText:g="{0} min read",timeToRead:h=0,numberOfLikes:o=0,numberOfComments:c=0,isSponsored:l=!1,onSelectCard:f=()=>{},metadata:a,titleSlug:_,LinkComponent:u},v)=>{const w=u||"a",i=d.useRef();return r.jsxs(I,{ref:i,isSponsored:l,"data-accessor":a==null?void 0:a.accessor,name:a==null?void 0:a.name,onClick:e=>f(e,i),as:w,...u?{to:`/blog/${_}`}:{href:`/blog/${_}`},children:[l&&r.jsx("div",{className:"wrapper__sponsored",children:r.jsx(y,{icon:" mng-lnc-paw",sizeInUnits:"1.5rem"})}),r.jsx(R.ProductImageWrapper,{src:p,className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__content",children:[r.jsxs("div",{className:"wrapper__subcontent",children:[r.jsx("div",{className:"wrapper__title",children:t}),r.jsx("div",{className:"wrapper__tags",children:n&&(n==null?void 0:n.map((e,b)=>r.jsx(x.BlogTag,{color:e==null?void 0:e.color,children:e==null?void 0:e.name},b)))})]}),r.jsxs("div",{className:"wrapper__info",children:[r.jsx("div",{className:"info__text",children:`${s.formatLocaleDateString(m)} • ${s.formatString(g,h)}`}),r.jsxs("div",{className:"info__text",children:[r.jsxs("div",{children:[r.jsx(y,{icon:" mng-lnc-thumbs-up--filled",sizeInUnits:"1rem"}),s.getRoundedNumber(o)]}),r.jsxs("div",{children:[r.jsx(y,{icon:" mng-lnc-messages-filled",sizeInUnits:"1rem"}),s.getRoundedNumber(c)]})]})]})]})]})}),k=j.styled.div`
126
+ `,x=d.forwardRef(({title:t,imageUrl:p,options:n,publishedAt:m,timeToReadText:g="{0} min read",timeToRead:h=0,numberOfLikes:o=0,numberOfComments:c=0,isSponsored:l=!1,onSelectCard:f=()=>{},metadata:a,titleSlug:_,LinkComponent:u},j)=>{const w=u||"a",i=d.useRef();return r.jsxs(k,{ref:i,isSponsored:l,"data-accessor":a==null?void 0:a.accessor,name:a==null?void 0:a.name,onClick:e=>f(e,i),as:w,...u?{to:`/blog/${_}`}:{href:`/blog/${_}`},children:[l&&r.jsx("div",{className:"wrapper__sponsored",children:r.jsx(y,{icon:" mng-lnc-paw",sizeInUnits:"1.5rem"})}),r.jsx($.ProductImageWrapper,{src:p,className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__content",children:[r.jsxs("div",{className:"wrapper__subcontent",children:[r.jsx("div",{className:"wrapper__title",children:t}),r.jsx("div",{className:"wrapper__tags",children:n&&(n==null?void 0:n.map((e,b)=>r.jsx(R.BlogTag,{color:e==null?void 0:e.color,children:e==null?void 0:e.name},b)))})]}),r.jsxs("div",{className:"wrapper__info",children:[r.jsx("div",{className:"info__text",children:`${s.formatLocaleDateString(m)} • ${s.formatString(g,h)}`}),r.jsxs("div",{className:"info__text",children:[r.jsxs("div",{children:[r.jsx(y,{icon:" mng-lnc-thumbs-up--filled",sizeInUnits:"1rem"}),s.getRoundedNumber(o)]}),r.jsxs("div",{children:[r.jsx(y,{icon:" mng-lnc-messages-filled",sizeInUnits:"1rem"}),s.getRoundedNumber(c)]})]})]})]})]})}),I=N.styled.div`
127
127
  display: flex;
128
128
  flex-direction: column;
129
129
  align-items: flex-start;
@@ -193,7 +193,7 @@
193
193
  width: 100%;
194
194
  }
195
195
 
196
- @media (max-width: ${N.MOBILE_SIZE_PX+"px"}) {
196
+ @media ${v.down("S")} {
197
197
  gap: 1.25rem;
198
198
 
199
199
  & .wrapper__title {
@@ -201,10 +201,12 @@
201
201
  font-size: 1.375rem;
202
202
  }
203
203
  }
204
+ }
204
205
 
206
+ @media ${v.down("XS")} {
205
207
  & .wrapper__cards {
206
208
  grid-template-columns: repeat(1, minmax(0, 1fr));
207
209
  gap: 1.5rem;
208
210
  }
209
211
  }
210
- `,E=d.memo(q),O=d.forwardRef(({title:t,subtitle:p,icon:n,buttonText:m,buttonLink:g,timeToReadText:h="{0} min read",items:o,onButtonAction:c=()=>{},onSelectCard:l=()=>{},isLoading:f=!1,getImage:a=()=>{},componentName:_,LinkComponent:u},v)=>{const w=d.useMemo(()=>{var i;return(i=o==null?void 0:o.slice(0,4))==null?void 0:i.map((e,b)=>r.jsx(E,{title:e==null?void 0:e.title,titleSlug:e==null?void 0:e.titleSlug,options:e==null?void 0:e.options,publishedAt:e==null?void 0:e.publishedAt,timeToReadText:h,timeToRead:e==null?void 0:e.timeToRead,numberOfLikes:e==null?void 0:e.numberOfLikes,numberOfComments:e==null?void 0:e.numberOfComments,isSponsored:e==null?void 0:e.isSponsored,onSelectCard:(B,S)=>l==null?void 0:l(e,S),imageUrl:a(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,metadata:{name:_,accessor:e==null?void 0:e.accessor},LinkComponent:u},`blog-card-sponsored__${b+1}`))},[o]);return r.jsxs(k,{ref:v,children:[r.jsxs("div",{className:"wrapper__heading",children:[r.jsxs("div",{className:"wrapper__title",children:[t&&r.jsxs("div",{className:"title__text",children:[s.isDefinedNotEmptyString(n)&&r.jsx("i",{className:n}),r.jsx("span",{children:t})]}),s.isDefinedNotEmptyString(m)&&s.isDefinedNotEmptyString(g)&&!f&&r.jsx($,{text:m,borderRadius:"curved",btnType:"tinted",className:"title__action",color:"neutral",onClick:i=>{var e;(e=i==null?void 0:i.target)==null||e.blur(),c==null||c(g)}})]}),p&&r.jsx("div",{className:"wrapper__subtitle",children:p})]}),r.jsx(z.SuspenseBlogCardsSponsored,{isLoading:f,keyPrefix:"blog-cards-sponsored-skeleton",children:r.jsx("div",{className:"wrapper__cards",children:w})})]})});module.exports=O;
212
+ `,C=d.memo(x),T=d.forwardRef(({title:t,subtitle:p,icon:n,buttonText:m,buttonLink:g,timeToReadText:h="{0} min read",items:o,onButtonAction:c=()=>{},onSelectCard:l=()=>{},isLoading:f=!1,getImage:a=()=>{},componentName:_,LinkComponent:u},j)=>{const w=d.useMemo(()=>{var i;return(i=o==null?void 0:o.slice(0,4))==null?void 0:i.map((e,b)=>r.jsx(C,{title:e==null?void 0:e.title,titleSlug:e==null?void 0:e.titleSlug,options:e==null?void 0:e.options,publishedAt:e==null?void 0:e.publishedAt,timeToReadText:h,timeToRead:e==null?void 0:e.timeToRead,numberOfLikes:e==null?void 0:e.numberOfLikes,numberOfComments:e==null?void 0:e.numberOfComments,isSponsored:e==null?void 0:e.isSponsored,onSelectCard:(U,S)=>l==null?void 0:l(e,S),imageUrl:a(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,metadata:{name:_,accessor:e==null?void 0:e.accessor},LinkComponent:u},`blog-card-sponsored__${b+1}`))},[o]);return r.jsxs(I,{ref:j,children:[r.jsxs("div",{className:"wrapper__heading",children:[r.jsxs("div",{className:"wrapper__title",children:[t&&r.jsxs("div",{className:"title__text",children:[s.isDefinedNotEmptyString(n)&&r.jsx("i",{className:n}),r.jsx("span",{children:t})]}),s.isDefinedNotEmptyString(m)&&s.isDefinedNotEmptyString(g)&&!f&&r.jsx(z,{text:m,borderRadius:"curved",btnType:"tinted",className:"title__action",color:"neutral",onClick:i=>{var e;(e=i==null?void 0:i.target)==null||e.blur(),c==null||c(g)}})]}),p&&r.jsx("div",{className:"wrapper__subtitle",children:p})]}),r.jsx(q.SuspenseBlogCardsSponsored,{isLoading:f,keyPrefix:"blog-cards-sponsored-skeleton",children:r.jsx("div",{className:"wrapper__cards",children:w})})]})});module.exports=T;