@lanaco/lnc-react-ui 4.0.205 → 4.0.207

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 +27 -6
  21. package/dist/BannerSectionCarousel.js +71 -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 +107 -117
  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 +13 -9
  163. package/dist/MasonryGeneralCardsSection.js +34 -30
  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
package/dist/Badge.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx as h } from "react/jsx-runtime";
2
2
  import { forwardRef as f } from "react";
3
3
  import { s as b } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import { c as y, b as t, a as z } from "./utils-DtEfC-TX.js";
4
+ import { d as y, c as t, b as z } from "./utils-B2fsQ6PS.js";
5
5
  import { u as $ } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
6
6
  const r = (e) => e == "large" ? "2rem" : e == "medium" ? "1.75rem" : "1.5rem", B = b.div`
7
7
  ${(e) => y(e.theme, "Badge", e.size, "enabled")};
@@ -26,9 +26,9 @@ const r = (e) => e == "large" ? "2rem" : e == "medium" ? "1.75rem" : "1.5rem", B
26
26
  & i {
27
27
  font-size: ${(e) => e.size == "small" ? "0.75rem" : e.size == "medium" ? "0.875rem" : "1rem"};
28
28
  }
29
- `, j = f((e, a) => {
29
+ `, j = f((e, i) => {
30
30
  const {
31
- borderRadius: i = "curved",
31
+ borderRadius: a = "curved",
32
32
  onClick: o = () => {
33
33
  },
34
34
  className: m = "",
@@ -38,14 +38,14 @@ const r = (e) => e == "large" ? "2rem" : e == "medium" ? "1.75rem" : "1.5rem", B
38
38
  children: l,
39
39
  ...c
40
40
  } = e, u = $(), g = {
41
- borderRadius: i,
41
+ borderRadius: a,
42
42
  theme: u,
43
43
  size: n,
44
44
  color: d,
45
45
  className: "lnc-ui-badge " + m,
46
46
  style: s
47
47
  };
48
- return /* @__PURE__ */ h(B, { ref: a, ...g, onClick: o, ...c, children: l });
48
+ return /* @__PURE__ */ h(B, { ref: i, ...g, onClick: o, ...c, children: l });
49
49
  });
50
50
  export {
51
51
  j as default
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("react/jsx-runtime"),g=require("react"),h=require("./Button.cjs"),_=require("./emotion-styled.browser.esm-BtEseadx.cjs"),a=require("./utils-RnrgDDZP.cjs"),x=require("./consts-goSZX3xP.cjs"),u=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),f=_.styled.div`
1
+ "use strict";const e=require("react/jsx-runtime"),g=require("react"),h=require("./Button.cjs"),_=require("./emotion-styled.browser.esm-BtEseadx.cjs"),a=require("./utils-CITgSxXe.cjs"),x=require("./breakpoints-CcVm-gVm.cjs"),u=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),f=_.styled.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
 
@@ -82,7 +82,7 @@
82
82
  }
83
83
  }
84
84
 
85
- @media (max-width: ${x.MOBILE_SIZE_PX+"px"}) {
85
+ @media ${x.down("S")} {
86
86
  flex-direction: column;
87
87
 
88
88
  & .section__left {
@@ -1,11 +1,11 @@
1
1
  import { jsxs as r, jsx as i } from "react/jsx-runtime";
2
2
  import { forwardRef as h } from "react";
3
- import _ from "./Button.js";
4
- import { s as f } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
- import { m } from "./utils-DtEfC-TX.js";
6
- import { M as p } from "./consts-BuFChS64.js";
3
+ import f from "./Button.js";
4
+ import { s as _ } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
+ import { n as c } from "./utils-B2fsQ6PS.js";
6
+ import { d as p } from "./breakpoints-ff0SIcV3.js";
7
7
  import { u as x } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
- const u = f.div`
8
+ const u = _.div`
9
9
  display: flex;
10
10
  align-items: center;
11
11
 
@@ -46,7 +46,7 @@ const u = f.div`
46
46
  gap: 0.5rem;
47
47
 
48
48
  & .section__title {
49
- ${m(3)}
49
+ ${c(3)}
50
50
  color: #000;
51
51
  font-weight: 600;
52
52
  font-size: 1.75rem;
@@ -57,7 +57,7 @@ const u = f.div`
57
57
  }
58
58
 
59
59
  & .section__description {
60
- ${m(2)}
60
+ ${c(2)}
61
61
  color: var(--gray-600, #676e79);
62
62
  font-weight: 500;
63
63
  font-size: 0.875rem;
@@ -89,7 +89,7 @@ const u = f.div`
89
89
  }
90
90
  }
91
91
 
92
- @media (max-width: ${p + "px"}) {
92
+ @media ${p("S")} {
93
93
  flex-direction: column;
94
94
 
95
95
  & .section__left {
@@ -108,19 +108,19 @@ const u = f.div`
108
108
  flex-direction: column;
109
109
  }
110
110
  }
111
- `, B = h(
111
+ `, $ = h(
112
112
  ({
113
113
  title: e,
114
114
  description: o,
115
115
  imageUrl: n,
116
- backgroundColor: c = "white",
116
+ backgroundColor: m = "white",
117
117
  buttonText: a,
118
118
  buttonLink: s,
119
119
  onButtonAction: d = () => {
120
120
  }
121
121
  }, l) => {
122
122
  const g = x();
123
- return /* @__PURE__ */ r(u, { ref: l, theme: g, backgroundColor: c, children: [
123
+ return /* @__PURE__ */ r(u, { ref: l, theme: g, backgroundColor: m, children: [
124
124
  /* @__PURE__ */ i("div", { className: "section__left", children: n && /* @__PURE__ */ i("div", { className: "section__image", children: /* @__PURE__ */ i("img", { src: n, alt: "Banner next image", loading: "lazy" }) }) }),
125
125
  /* @__PURE__ */ r("div", { className: "section__right", children: [
126
126
  /* @__PURE__ */ r("div", { className: "section__text", children: [
@@ -128,7 +128,7 @@ const u = f.div`
128
128
  o && /* @__PURE__ */ i("div", { className: "section__description", children: o })
129
129
  ] }),
130
130
  a && s && /* @__PURE__ */ i(
131
- _,
131
+ f,
132
132
  {
133
133
  text: a,
134
134
  borderRadius: "curved",
@@ -144,5 +144,5 @@ const u = f.div`
144
144
  }
145
145
  );
146
146
  export {
147
- B as default
147
+ $ as default
148
148
  };
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),x=require("react"),r=require("./emotion-styled.browser.esm-BtEseadx.cjs"),i=require("./consts-goSZX3xP.cjs"),b=require("./Button.cjs"),p=r.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),x=require("react"),r=require("./emotion-styled.browser.esm-BtEseadx.cjs"),i=require("./breakpoints-CcVm-gVm.cjs"),b=require("./Button.cjs"),p=r.styled.div`
2
2
  display: flex;
3
3
  border-radius: 0.75rem;
4
4
  background-color: ${e=>e.bgcolor||"transparent"};
@@ -12,7 +12,7 @@
12
12
  color: var(--gray-950, #14161a);
13
13
  }
14
14
 
15
- @media (max-width: ${i.MOBILE_SIZE_PX+"px"}) {
15
+ @media ${i.down("S")} {
16
16
  gap: 1.5rem;
17
17
  flex-direction: column;
18
18
  min-height: unset;
@@ -32,7 +32,7 @@
32
32
 
33
33
  ${e=>e.isHorizontalContent===!0&&"justify-content: space-between;"}
34
34
 
35
- @media (max-width: ${i.MOBILE_SIZE_PX+"px"}) {
35
+ @media ${i.down("S")} {
36
36
  padding: 0;
37
37
  flex-direction: column;
38
38
  }
@@ -53,4 +53,4 @@
53
53
  font-size: 1rem;
54
54
  font-weight: 500;
55
55
  }
56
- `,w=x.forwardRef((e,n)=>{const{title:o,subtitle:a,buttonText:s,onClick:l,height:d,imageWidth:c,imageHeightMob:m,smallPadding:h=!1,isHorizontalContent:u=!1,backgroundColor:g,hasBorder:f=!1}=e;return t.jsx(p,{ref:n,bgcolor:g,height:d,imgW:c,imgHMob:m,hasBorder:f,children:t.jsxs(y,{isHorizontalContent:u,smallPadding:h,children:[t.jsxs(v,{children:[t.jsx("div",{className:"header-title",children:o}),t.jsx("div",{className:"header-subitle",children:a})]}),t.jsx(b,{size:"medium",color:"neutral",type:"button",borderRadius:"curved",onClick:l,children:s})]})})});module.exports=w;
56
+ `,w=x.forwardRef((e,n)=>{const{title:o,subtitle:a,buttonText:s,onClick:l,height:d,imageWidth:c,imageHeightMob:m,smallPadding:u=!1,isHorizontalContent:g=!1,backgroundColor:h,hasBorder:f=!1}=e;return t.jsx(p,{ref:n,bgcolor:h,height:d,imgW:c,imgHMob:m,hasBorder:f,children:t.jsxs(y,{isHorizontalContent:g,smallPadding:u,children:[t.jsxs(v,{children:[t.jsx("div",{className:"header-title",children:o}),t.jsx("div",{className:"header-subitle",children:a})]}),t.jsx(b,{size:"medium",color:"neutral",type:"button",borderRadius:"curved",onClick:l,children:s})]})})});module.exports=w;
@@ -1,8 +1,8 @@
1
1
  import { jsx as t, jsxs as i } from "react/jsx-runtime";
2
- import { forwardRef as x } from "react";
2
+ import { forwardRef as b } from "react";
3
3
  import { s as r } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import { M as o } from "./consts-BuFChS64.js";
5
- import b from "./Button.js";
4
+ import { d as o } from "./breakpoints-ff0SIcV3.js";
5
+ import x from "./Button.js";
6
6
  const v = r.div`
7
7
  display: flex;
8
8
  border-radius: 0.75rem;
@@ -17,7 +17,7 @@ const v = r.div`
17
17
  color: var(--gray-950, #14161a);
18
18
  }
19
19
 
20
- @media (max-width: ${o + "px"}) {
20
+ @media ${o("S")} {
21
21
  gap: 1.5rem;
22
22
  flex-direction: column;
23
23
  min-height: unset;
@@ -27,7 +27,7 @@ const v = r.div`
27
27
  width: fit-content;
28
28
  }
29
29
  }
30
- `, w = r.div`
30
+ `, y = r.div`
31
31
  padding: ${(e) => e.smallPadding === !0 ? "2rem" : "4rem 5rem"};
32
32
  display: flex;
33
33
  gap: 2rem;
@@ -37,11 +37,11 @@ const v = r.div`
37
37
 
38
38
  ${(e) => e.isHorizontalContent === !0 && "justify-content: space-between;"}
39
39
 
40
- @media (max-width: ${o + "px"}) {
40
+ @media ${o("S")} {
41
41
  padding: 0;
42
42
  flex-direction: column;
43
43
  }
44
- `, y = r.div`
44
+ `, w = r.div`
45
45
  display: flex;
46
46
  flex-direction: column;
47
47
  gap: 0.25rem;
@@ -58,16 +58,16 @@ const v = r.div`
58
58
  font-size: 1rem;
59
59
  font-weight: 500;
60
60
  }
61
- `, k = x((e, n) => {
61
+ `, B = b((e, n) => {
62
62
  const {
63
63
  title: a,
64
64
  subtitle: l,
65
65
  buttonText: d,
66
- onClick: m,
67
- height: s,
68
- imageWidth: c,
69
- imageHeightMob: h,
70
- smallPadding: g = !1,
66
+ onClick: s,
67
+ height: c,
68
+ imageWidth: m,
69
+ imageHeightMob: g,
70
+ smallPadding: h = !1,
71
71
  isHorizontalContent: f = !1,
72
72
  backgroundColor: u,
73
73
  hasBorder: p = !1
@@ -77,28 +77,28 @@ const v = r.div`
77
77
  {
78
78
  ref: n,
79
79
  bgcolor: u,
80
- height: s,
81
- imgW: c,
82
- imgHMob: h,
80
+ height: c,
81
+ imgW: m,
82
+ imgHMob: g,
83
83
  hasBorder: p,
84
84
  children: /* @__PURE__ */ i(
85
- w,
85
+ y,
86
86
  {
87
87
  isHorizontalContent: f,
88
- smallPadding: g,
88
+ smallPadding: h,
89
89
  children: [
90
- /* @__PURE__ */ i(y, { children: [
90
+ /* @__PURE__ */ i(w, { children: [
91
91
  /* @__PURE__ */ t("div", { className: "header-title", children: a }),
92
92
  /* @__PURE__ */ t("div", { className: "header-subitle", children: l })
93
93
  ] }),
94
94
  /* @__PURE__ */ t(
95
- b,
95
+ x,
96
96
  {
97
97
  size: "medium",
98
98
  color: "neutral",
99
99
  type: "button",
100
100
  borderRadius: "curved",
101
- onClick: m,
101
+ onClick: s,
102
102
  children: d
103
103
  }
104
104
  )
@@ -109,5 +109,5 @@ const v = r.div`
109
109
  );
110
110
  });
111
111
  export {
112
- k as default
112
+ B as default
113
113
  };
@@ -1,4 +1,4 @@
1
- "use strict";const r=require("react/jsx-runtime"),c=require("react"),x=require("./index-DeS-oqJB.cjs"),b=require("./Button.cjs"),y=require("./useDetectMobile-zkbzoOGV.cjs"),d=require("./emotion-styled.browser.esm-BtEseadx.cjs"),u=require("./style-BAcV7F53.cjs"),v=require("./consts-goSZX3xP.cjs"),w=d.styled.div`
1
+ "use strict";const r=require("react/jsx-runtime"),d=require("react"),x=require("./index-DeS-oqJB.cjs"),v=require("./Button.cjs"),w=require("./useDetectMobile-DYV6V1yw.cjs"),t=require("./breakpoints-CcVm-gVm.cjs"),u=require("./emotion-styled.browser.esm-BtEseadx.cjs"),m=require("./style-BAcV7F53.cjs"),y=u.styled.div`
2
2
  &:hover {
3
3
  cursor: pointer;
4
4
 
@@ -37,7 +37,9 @@
37
37
  width: 100%;
38
38
  height: 100%;
39
39
  object-fit: cover;
40
+ object-position: center;
40
41
  display: block;
42
+ border-radius: inherit;
41
43
  }
42
44
 
43
45
  & .card__content {
@@ -114,7 +116,25 @@
114
116
  right: 1rem;
115
117
  }
116
118
 
117
- @media (max-width: 464px) {
119
+ @media ${t.down("M")} {
120
+ & .carousel-item .section__card,
121
+ & .carousel-item:not(.react-multi-carousel-item--active) .section__card {
122
+ height: 26rem;
123
+ }
124
+ & .carousel-item .section__card .section__image {
125
+ object-fit: cover;
126
+ object-position: center;
127
+ }
128
+ }
129
+
130
+ @media ${t.down("S")} {
131
+ & .carousel-item .section__card .section__image {
132
+ object-fit: cover;
133
+ object-position: center;
134
+ }
135
+ }
136
+
137
+ @media ${t.down("XS")} {
118
138
  & .carousel-container {
119
139
  min-height: 23.4375rem;
120
140
  }
@@ -148,7 +168,8 @@
148
168
  border-radius: 0.5rem;
149
169
 
150
170
  & .section__image {
151
- object-fit: fill;
171
+ object-fit: cover;
172
+ object-position: center;
152
173
  }
153
174
 
154
175
  & .card__content {
@@ -167,11 +188,11 @@
167
188
  }
168
189
  }
169
190
  }
170
- `,j=d.styled(u.SkeletonColumnWrapper)`
171
- @media (max-width: ${v.MOBILE_SIZE_PX+"px"}) {
191
+ `,j=u.styled(m.SkeletonColumnWrapper)`
192
+ @media ${t.down("S")} {
172
193
  & > div {
173
194
  height: 100%;
174
195
  aspect-ratio: 1 / 1;
175
196
  }
176
197
  }
177
- `,k=({keyPrefix:t})=>r.jsx(j,{noGradient:!0,children:r.jsx(u.SkeletonLinePlaceholder,{keyPrefix:`${t}-1`,height:"22.5rem"})}),C=({keyPrefix:t,isLoading:i=!1,fallbackComponent:a=r.jsx(r.Fragment,{}),children:n})=>r.jsx(c.Suspense,{fallbackComponent:a,children:i===!0?r.jsx(k,{keyPrefix:t}):n}),S=c.forwardRef(({items:t=[],isLoading:i=!1,deviceType:a,partialVisible:n=!0,fallbackComponent:h=r.jsx(r.Fragment,{}),onSelectItem:m=()=>{},onButtonAction:_=()=>{},carouselProps:p},g)=>{const f={desktop:{breakpoint:{max:3e3,min:1024},items:1,partialVisibilityGutter:0},tablet:{breakpoint:{max:1024,min:464},items:1,partialVisibilityGutter:0},mobile:{breakpoint:{max:464,min:0},items:1,partialVisibilityGutter:64}},s=y.useDetectMobile();return r.jsx(w,{ref:g,children:r.jsx(C,{fallbackComponent:h,keyPrefix:"banner-carousel-skeleton",isLoading:i,children:r.jsx(x.Carousel,{responsive:f,deviceType:a,removeArrowOnDeviceType:["tablet","mobile"],infinite:!s,keyBoardControl:!0,autoPlay:!0,partialVisible:n,customTransition:"transform 500ms ease-in-out",sliderClass:"carousel-slider",itemClass:"carousel-item",containerClass:"carousel-container",rewind:!0,rewindWithAnimation:!0,...p,children:t==null?void 0:t.map((e,l)=>r.jsxs("div",{className:"section__card",onClick:()=>m(e),children:[r.jsx("img",{src:e==null?void 0:e.imageUrl,alt:`Slide ${l+1}`,className:"section__image"}),r.jsxs("div",{className:"card__content",children:[r.jsxs("div",{className:"card__text",children:[(e==null?void 0:e.title)&&r.jsx("div",{className:"card__title",children:e==null?void 0:e.title}),(e==null?void 0:e.title)&&r.jsx("div",{className:"card__description",children:e==null?void 0:e.description})]}),(e==null?void 0:e.buttonText)&&r.jsx(b,{text:e==null?void 0:e.buttonText,className:"card__action",size:"medium",onClick:o=>{o==null||o.stopPropagation(),_(e)}})]})]},`banner-section-carousel-item__${l+1}`))})})},`banner-section-carousel__${s}`)});module.exports=S;
198
+ `,k=({keyPrefix:i})=>r.jsx(j,{noGradient:!0,children:r.jsx(m.SkeletonLinePlaceholder,{keyPrefix:`${i}-1`,height:"22.5rem"})}),S=({keyPrefix:i,isLoading:o=!1,fallbackComponent:a=r.jsx(r.Fragment,{}),children:n})=>r.jsx(d.Suspense,{fallbackComponent:a,children:o===!0?r.jsx(k,{keyPrefix:i}):n}),C=d.forwardRef(({items:i=[],isLoading:o=!1,deviceType:a,partialVisible:n=!0,fallbackComponent:h=r.jsx(r.Fragment,{}),onSelectItem:_=()=>{},onButtonAction:p=()=>{},carouselProps:g},f)=>{const b={desktop:{breakpoint:{max:3e3,min:t.screenSizes.M.max},items:1,partialVisibilityGutter:0},tablet:{breakpoint:{max:t.screenSizes.M.max,min:t.screenSizes.S.min},items:1,partialVisibilityGutter:0},mobile:{breakpoint:{max:t.screenSizes.XS.max,min:0},items:1,partialVisibilityGutter:64}},c=w.useDetectMobile();return r.jsx(y,{ref:f,children:r.jsx(S,{fallbackComponent:h,keyPrefix:"banner-carousel-skeleton",isLoading:o,children:r.jsx(x.Carousel,{responsive:b,deviceType:a,removeArrowOnDeviceType:["tablet","mobile"],infinite:!c,keyBoardControl:!0,autoPlay:!0,partialVisible:n,customTransition:"transform 500ms ease-in-out",sliderClass:"carousel-slider",itemClass:"carousel-item",containerClass:"carousel-container",rewind:!0,rewindWithAnimation:!0,...g,children:i==null?void 0:i.map((e,l)=>r.jsxs("div",{className:"section__card",onClick:()=>_(e),children:[r.jsx("img",{src:e==null?void 0:e.imageUrl,alt:`Slide ${l+1}`,className:"section__image"}),r.jsxs("div",{className:"card__content",children:[r.jsxs("div",{className:"card__text",children:[(e==null?void 0:e.title)&&r.jsx("div",{className:"card__title",children:e==null?void 0:e.title}),(e==null?void 0:e.title)&&r.jsx("div",{className:"card__description",children:e==null?void 0:e.description})]}),(e==null?void 0:e.buttonText)&&r.jsx(v,{text:e==null?void 0:e.buttonText,className:"card__action",size:"medium",onClick:s=>{s==null||s.stopPropagation(),p(e)}})]})]},`banner-section-carousel-item__${l+1}`))})})},`banner-section-carousel__${c}`)});module.exports=C;
@@ -1,12 +1,12 @@
1
- import { jsx as r, Fragment as d, jsxs as l } from "react/jsx-runtime";
2
- import { Suspense as b, forwardRef as x } from "react";
3
- import { C as v } from "./index-BppfjY8h.js";
4
- import w from "./Button.js";
5
- import { u as y } from "./useDetectMobile-Bkvj0VMa.js";
6
- import { s as m } from "./emotion-styled.browser.esm-BNN1dTl3.js";
7
- import { b as k, a as C } from "./style-BwQ4djFC.js";
8
- import { M as S } from "./consts-BuFChS64.js";
9
- const N = m.div`
1
+ import { jsx as r, Fragment as u, jsxs as l } from "react/jsx-runtime";
2
+ import { Suspense as v, forwardRef as y } from "react";
3
+ import { C as w } from "./index-BppfjY8h.js";
4
+ import k from "./Button.js";
5
+ import { u as C } from "./useDetectMobile-CcVo3PNi.js";
6
+ import { d as a, s as i } from "./breakpoints-ff0SIcV3.js";
7
+ import { s as h } from "./emotion-styled.browser.esm-BNN1dTl3.js";
8
+ import { b as S, a as j } from "./style-BwQ4djFC.js";
9
+ const $ = h.div`
10
10
  &:hover {
11
11
  cursor: pointer;
12
12
 
@@ -45,7 +45,9 @@ const N = m.div`
45
45
  width: 100%;
46
46
  height: 100%;
47
47
  object-fit: cover;
48
+ object-position: center;
48
49
  display: block;
50
+ border-radius: inherit;
49
51
  }
50
52
 
51
53
  & .card__content {
@@ -122,7 +124,25 @@ const N = m.div`
122
124
  right: 1rem;
123
125
  }
124
126
 
125
- @media (max-width: 464px) {
127
+ @media ${a("M")} {
128
+ & .carousel-item .section__card,
129
+ & .carousel-item:not(.react-multi-carousel-item--active) .section__card {
130
+ height: 26rem;
131
+ }
132
+ & .carousel-item .section__card .section__image {
133
+ object-fit: cover;
134
+ object-position: center;
135
+ }
136
+ }
137
+
138
+ @media ${a("S")} {
139
+ & .carousel-item .section__card .section__image {
140
+ object-fit: cover;
141
+ object-position: center;
142
+ }
143
+ }
144
+
145
+ @media ${a("XS")} {
126
146
  & .carousel-container {
127
147
  min-height: 23.4375rem;
128
148
  }
@@ -156,7 +176,8 @@ const N = m.div`
156
176
  border-radius: 0.5rem;
157
177
 
158
178
  & .section__image {
159
- object-fit: fill;
179
+ object-fit: cover;
180
+ object-position: center;
160
181
  }
161
182
 
162
183
  & .card__content {
@@ -175,82 +196,82 @@ const N = m.div`
175
196
  }
176
197
  }
177
198
  }
178
- `, j = m(k)`
179
- @media (max-width: ${S + "px"}) {
199
+ `, N = h(S)`
200
+ @media ${a("S")} {
180
201
  & > div {
181
202
  height: 100%;
182
203
  aspect-ratio: 1 / 1;
183
204
  }
184
205
  }
185
- `, B = ({ keyPrefix: t }) => /* @__PURE__ */ r(j, { noGradient: !0, children: /* @__PURE__ */ r(C, { keyPrefix: `${t}-1`, height: "22.5rem" }) }), P = ({
206
+ `, z = ({ keyPrefix: t }) => /* @__PURE__ */ r(N, { noGradient: !0, children: /* @__PURE__ */ r(j, { keyPrefix: `${t}-1`, height: "22.5rem" }) }), B = ({
186
207
  keyPrefix: t,
187
- isLoading: i = !1,
188
- fallbackComponent: a = /* @__PURE__ */ r(d, {}),
189
- children: o
190
- }) => /* @__PURE__ */ r(b, { fallbackComponent: a, children: i === !0 ? /* @__PURE__ */ r(B, { keyPrefix: t }) : o }), D = x(
208
+ isLoading: o = !1,
209
+ fallbackComponent: n = /* @__PURE__ */ r(u, {}),
210
+ children: c
211
+ }) => /* @__PURE__ */ r(v, { fallbackComponent: n, children: o === !0 ? /* @__PURE__ */ r(z, { keyPrefix: t }) : c }), W = y(
191
212
  ({
192
213
  items: t = [],
193
- isLoading: i = !1,
194
- deviceType: a,
195
- partialVisible: o = !0,
196
- fallbackComponent: u = /* @__PURE__ */ r(d, {}),
197
- onSelectItem: h = () => {
214
+ isLoading: o = !1,
215
+ deviceType: n,
216
+ partialVisible: c = !0,
217
+ fallbackComponent: p = /* @__PURE__ */ r(u, {}),
218
+ onSelectItem: _ = () => {
198
219
  },
199
- onButtonAction: p = () => {
220
+ onButtonAction: f = () => {
200
221
  },
201
- carouselProps: f
202
- }, _) => {
203
- const g = {
222
+ carouselProps: g
223
+ }, b) => {
224
+ const x = {
204
225
  desktop: {
205
- breakpoint: { max: 3e3, min: 1024 },
226
+ breakpoint: { max: 3e3, min: i.M.max },
206
227
  items: 1,
207
228
  partialVisibilityGutter: 0
208
229
  },
209
230
  tablet: {
210
- breakpoint: { max: 1024, min: 464 },
231
+ breakpoint: { max: i.M.max, min: i.S.min },
211
232
  items: 1,
212
233
  partialVisibilityGutter: 0
213
234
  },
214
235
  mobile: {
215
- breakpoint: { max: 464, min: 0 },
236
+ breakpoint: { max: i.XS.max, min: 0 },
216
237
  items: 1,
217
238
  partialVisibilityGutter: 64
218
239
  }
219
- }, s = y();
220
- return /* @__PURE__ */ r(N, { ref: _, children: /* @__PURE__ */ r(
221
- P,
240
+ }, d = C();
241
+ return /* @__PURE__ */ r($, { ref: b, children: /* @__PURE__ */ r(
242
+ B,
222
243
  {
223
- fallbackComponent: u,
244
+ fallbackComponent: p,
224
245
  keyPrefix: "banner-carousel-skeleton",
225
- isLoading: i,
246
+ isLoading: o,
226
247
  children: /* @__PURE__ */ r(
227
- v,
248
+ w,
228
249
  {
229
- responsive: g,
230
- deviceType: a,
250
+ responsive: x,
251
+ deviceType: n,
231
252
  removeArrowOnDeviceType: ["tablet", "mobile"],
232
- infinite: !s,
253
+ infinite: !d,
233
254
  keyBoardControl: !0,
234
255
  autoPlay: !0,
235
- partialVisible: o,
256
+ partialVisible: c,
236
257
  customTransition: "transform 500ms ease-in-out",
237
258
  sliderClass: "carousel-slider",
238
259
  itemClass: "carousel-item",
239
260
  containerClass: "carousel-container",
240
261
  rewind: !0,
241
262
  rewindWithAnimation: !0,
242
- ...f,
243
- children: t == null ? void 0 : t.map((e, c) => /* @__PURE__ */ l(
263
+ ...g,
264
+ children: t == null ? void 0 : t.map((e, m) => /* @__PURE__ */ l(
244
265
  "div",
245
266
  {
246
267
  className: "section__card",
247
- onClick: () => h(e),
268
+ onClick: () => _(e),
248
269
  children: [
249
270
  /* @__PURE__ */ r(
250
271
  "img",
251
272
  {
252
273
  src: e == null ? void 0 : e.imageUrl,
253
- alt: `Slide ${c + 1}`,
274
+ alt: `Slide ${m + 1}`,
254
275
  className: "section__image"
255
276
  }
256
277
  ),
@@ -260,27 +281,27 @@ const N = m.div`
260
281
  (e == null ? void 0 : e.title) && /* @__PURE__ */ r("div", { className: "card__description", children: e == null ? void 0 : e.description })
261
282
  ] }),
262
283
  (e == null ? void 0 : e.buttonText) && /* @__PURE__ */ r(
263
- w,
284
+ k,
264
285
  {
265
286
  text: e == null ? void 0 : e.buttonText,
266
287
  className: "card__action",
267
288
  size: "medium",
268
- onClick: (n) => {
269
- n == null || n.stopPropagation(), p(e);
289
+ onClick: (s) => {
290
+ s == null || s.stopPropagation(), f(e);
270
291
  }
271
292
  }
272
293
  )
273
294
  ] })
274
295
  ]
275
296
  },
276
- `banner-section-carousel-item__${c + 1}`
297
+ `banner-section-carousel-item__${m + 1}`
277
298
  ))
278
299
  }
279
300
  )
280
301
  }
281
- ) }, `banner-section-carousel__${s}`);
302
+ ) }, `banner-section-carousel__${d}`);
282
303
  }
283
304
  );
284
305
  export {
285
- D as default
306
+ W as default
286
307
  };
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),w=require("react"),k=require("./emotion-styled.browser.esm-BtEseadx.cjs"),q=require("./consts-goSZX3xP.cjs"),T=require("./useDetectMobile-zkbzoOGV.cjs"),s=require("./index-CSgGox95.cjs"),f=k.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),k=require("react"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),q=require("./breakpoints-CcVm-gVm.cjs"),T=require("./useDetectMobile-DYV6V1yw.cjs"),s=require("./index-B9c6y2J5.cjs"),f=w.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: repeat(2, 1fr);
4
4
  gap: 0;
@@ -25,7 +25,7 @@
25
25
  border-radius: 0.75rem 0rem 0.75rem 0.75rem;
26
26
  }
27
27
 
28
- @media (max-width: ${q.MOBILE_SIZE_PX+"px"}) {
28
+ @media ${q.down("S")} {
29
29
  grid-template-columns: repeat(1, 1fr);
30
30
  gap: 1.5rem;
31
31
 
@@ -45,4 +45,4 @@
45
45
  max-height: unset;
46
46
  }
47
47
  }
48
- `,B=w.forwardRef((e,n)=>{const{image1Url:o,image2Url:i,title1:g,title2:a,text1:c,text2:u,subtitle1:h,subtitle2:l,buttonText1:x,buttonText2:d,buttonLink1:b,buttonLink2:p,rowHeight:j="12.65625rem",onButtonAction:r=()=>{}}=e,m=T.useDetectMobile();return t.jsxs(f,{ref:n,height:j,children:[t.jsx(s.TextBlockV1,{className:"text-item",title:g,subtitle:h,description:c,buttonText:x,buttonLink:b,onButtonAction:r}),t.jsx("img",{className:"img-item img-1",src:o}),m!==!0&&t.jsx("img",{className:"img-item img-2",src:i}),t.jsx(s.TextBlockV1,{className:"text-item",title:a,subtitle:l,description:u,buttonText:d,buttonLink:p,onButtonAction:r}),m===!0&&t.jsx("img",{className:"img-item img-2",src:i})]})});module.exports=B;
48
+ `,N=k.forwardRef((e,n)=>{const{image1Url:o,image2Url:i,title1:g,title2:a,text1:u,text2:c,subtitle1:h,subtitle2:l,buttonText1:x,buttonText2:d,buttonLink1:b,buttonLink2:p,rowHeight:j="12.65625rem",onButtonAction:r=()=>{}}=e,m=T.useDetectMobile();return t.jsxs(f,{ref:n,height:j,children:[t.jsx(s.TextBlockV1,{className:"text-item",title:g,subtitle:h,description:u,buttonText:x,buttonLink:b,onButtonAction:r}),t.jsx("img",{className:"img-item img-1",src:o}),m!==!0&&t.jsx("img",{className:"img-item img-2",src:i}),t.jsx(s.TextBlockV1,{className:"text-item",title:a,subtitle:l,description:c,buttonText:d,buttonLink:p,onButtonAction:r}),m===!0&&t.jsx("img",{className:"img-item img-2",src:i})]})});module.exports=N;
@@ -1,10 +1,10 @@
1
1
  import { jsxs as w, jsx as e } from "react/jsx-runtime";
2
2
  import { forwardRef as T } from "react";
3
3
  import { s as k } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import { M as L } from "./consts-BuFChS64.js";
5
- import { u as N } from "./useDetectMobile-Bkvj0VMa.js";
6
- import { T as o } from "./index-DK8dqEUQ.js";
7
- const $ = k.div`
4
+ import { d as N } from "./breakpoints-ff0SIcV3.js";
5
+ import { u as $ } from "./useDetectMobile-CcVo3PNi.js";
6
+ import { T as o } from "./index-CoQ9APCD.js";
7
+ const L = k.div`
8
8
  display: grid;
9
9
  grid-template-columns: repeat(2, 1fr);
10
10
  gap: 0;
@@ -31,7 +31,7 @@ const $ = k.div`
31
31
  border-radius: 0.75rem 0rem 0.75rem 0.75rem;
32
32
  }
33
33
 
34
- @media (max-width: ${L + "px"}) {
34
+ @media ${N("S")} {
35
35
  grid-template-columns: repeat(1, 1fr);
36
36
  gap: 1.5rem;
37
37
 
@@ -51,7 +51,7 @@ const $ = k.div`
51
51
  max-height: unset;
52
52
  }
53
53
  }
54
- `, G = T((t, s) => {
54
+ `, S = T((t, s) => {
55
55
  const {
56
56
  image1Url: a,
57
57
  image2Url: i,
@@ -63,13 +63,13 @@ const $ = k.div`
63
63
  subtitle2: d,
64
64
  buttonText1: c,
65
65
  buttonText2: x,
66
- buttonLink1: p,
67
- buttonLink2: b,
66
+ buttonLink1: b,
67
+ buttonLink2: p,
68
68
  rowHeight: f = "12.65625rem",
69
69
  onButtonAction: m = () => {
70
70
  }
71
- } = t, r = N();
72
- return /* @__PURE__ */ w($, { ref: s, height: f, children: [
71
+ } = t, r = $();
72
+ return /* @__PURE__ */ w(L, { ref: s, height: f, children: [
73
73
  /* @__PURE__ */ e(
74
74
  o,
75
75
  {
@@ -78,7 +78,7 @@ const $ = k.div`
78
78
  subtitle: l,
79
79
  description: h,
80
80
  buttonText: c,
81
- buttonLink: p,
81
+ buttonLink: b,
82
82
  onButtonAction: m
83
83
  }
84
84
  ),
@@ -92,7 +92,7 @@ const $ = k.div`
92
92
  subtitle: d,
93
93
  description: u,
94
94
  buttonText: x,
95
- buttonLink: b,
95
+ buttonLink: p,
96
96
  onButtonAction: m
97
97
  }
98
98
  ),
@@ -100,5 +100,5 @@ const $ = k.div`
100
100
  ] });
101
101
  });
102
102
  export {
103
- G as default
103
+ S as default
104
104
  };