@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,22 +1,30 @@
1
- import { jsxs as r, jsx as t, Fragment as B } from "react/jsx-runtime";
2
- import { forwardRef as T, useRef as $, memo as A, useMemo as z } from "react";
3
- import { s as C } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import { M as L } from "./consts-BuFChS64.js";
5
- import { u as D } from "./useDetectMobile-Bkvj0VMa.js";
6
- import { m as M, s as j, q as I, v as S, k as N } from "./utils-DtEfC-TX.js";
7
- import { B as P, R as U } from "./style-neMbLWE6.js";
8
- import W from "./Button.js";
9
- import { P as E } from "./index-B22BZVBG.js";
10
- import { S as _ } from "./index-CBMsUFkS.js";
11
- const q = C.div`
1
+ import { jsxs as r, jsx as t, Fragment as $ } from "react/jsx-runtime";
2
+ import { forwardRef as L, useRef as B, memo as A, useMemo as z } from "react";
3
+ import { s as S } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
+ import { d as w } from "./breakpoints-ff0SIcV3.js";
5
+ import { u as D } from "./useDetectMobile-CcVo3PNi.js";
6
+ import { n as j, s as M, q as U, v as R, l as C } from "./utils-B2fsQ6PS.js";
7
+ import { B as W, R as P } from "./style-BUyFad_y.js";
8
+ import I from "./Button.js";
9
+ import { P as q } from "./index-BvMY2TbK.js";
10
+ import { S as E } from "./index-hC-E71GE.js";
11
+ const F = S.div`
12
12
  display: grid;
13
13
  grid-template-columns: ${(l) => `repeat(${l.limit}, minmax(0, 1fr))`};
14
14
  gap: 1.25rem;
15
15
 
16
- @media (max-width: ${L + "px"}) {
16
+ @media ${w("M")} {
17
+ grid-template-columns: repeat(2, 1fr);
18
+ }
19
+
20
+ @media ${w("S")} {
21
+ grid-template-columns: repeat(2, 1fr);
22
+ }
23
+
24
+ @media ${w("XS")} {
17
25
  grid-template-columns: repeat(1, 1fr);
18
26
  }
19
- `, F = C.a`
27
+ `, G = S.a`
20
28
  text-decoration: none;
21
29
  color: var(--gray-950);
22
30
  display: flex;
@@ -55,11 +63,11 @@ const q = C.div`
55
63
  gap: 0.5rem;
56
64
  }
57
65
 
58
- @media (max-width: ${L + "px"}) {
66
+ @media ${w("S")} {
59
67
  max-height: 100%;
60
68
  min-height: 100%;
61
69
  }
62
- `, G = C.div`
70
+ `, X = S.div`
63
71
  display: flex;
64
72
  flex-direction: column;
65
73
  gap: 0;
@@ -75,7 +83,7 @@ const q = C.div`
75
83
  font-size: 0.875rem;
76
84
  flex: 1;
77
85
  color: var(--gray-700, #4e555f);
78
- ${M(2)}
86
+ ${j(2)}
79
87
  }
80
88
 
81
89
  & .info-wr {
@@ -104,11 +112,11 @@ const q = C.div`
104
112
  align-items: center;
105
113
  gap: 1rem;
106
114
  }
107
- `, X = T((l, k) => {
115
+ `, H = L((l, k) => {
108
116
  const {
109
117
  title: g,
110
- imageUrl: w,
111
- text: v,
118
+ imageUrl: v,
119
+ text: y,
112
120
  numberOfLikes: i,
113
121
  numberOfComments: f,
114
122
  timeToRead: s,
@@ -119,9 +127,9 @@ const q = C.div`
119
127
  metadata: a,
120
128
  titleSlug: d,
121
129
  LinkComponent: p
122
- } = l, h = p || "a", b = $();
130
+ } = l, h = p || "a", b = B();
123
131
  return /* @__PURE__ */ r(
124
- F,
132
+ G,
125
133
  {
126
134
  ref: b,
127
135
  className: "blog-card",
@@ -131,42 +139,42 @@ const q = C.div`
131
139
  as: h,
132
140
  ...p ? { to: `/blog/${d}` } : { href: `/blog/${d}` },
133
141
  children: [
134
- /* @__PURE__ */ t(E, { src: w }),
142
+ /* @__PURE__ */ t(q, { src: v }),
135
143
  /* @__PURE__ */ r("div", { className: "blog-card-content", children: [
136
- /* @__PURE__ */ r(G, { children: [
144
+ /* @__PURE__ */ r(X, { children: [
137
145
  /* @__PURE__ */ r("div", { className: "info-wr", children: [
138
146
  /* @__PURE__ */ r("div", { className: "info-wr-1", children: [
139
147
  /* @__PURE__ */ r("span", { children: [
140
- I(m),
148
+ U(m),
141
149
  " "
142
150
  ] }),
143
151
  /* @__PURE__ */ t("span", { className: "small-dot", children: "●" }),
144
- s && c ? `${j(c, s)}` : "N/A"
152
+ s && c ? `${M(c, s)}` : "N/A"
145
153
  ] }),
146
154
  /* @__PURE__ */ r("div", { className: "info-wr-2", children: [
147
155
  /* @__PURE__ */ r("span", { className: "info-wr-1", children: [
148
156
  /* @__PURE__ */ t("i", { className: "mng mng-lnc-thumbs-up--filled" }),
149
- /* @__PURE__ */ t("span", { children: S(i) })
157
+ /* @__PURE__ */ t("span", { children: R(i) })
150
158
  ] }),
151
159
  /* @__PURE__ */ r("span", { className: "info-wr-1", children: [
152
160
  /* @__PURE__ */ t("i", { className: "mng mng-lnc-messages-filled" }),
153
- /* @__PURE__ */ t("span", { children: S(f) })
161
+ /* @__PURE__ */ t("span", { children: R(f) })
154
162
  ] })
155
163
  ] })
156
164
  ] }),
157
165
  /* @__PURE__ */ t("div", { className: "text-wr-title", children: g }),
158
- /* @__PURE__ */ t("div", { className: "text-wr", children: v })
166
+ /* @__PURE__ */ t("div", { className: "text-wr", children: y })
159
167
  ] }),
160
- o && /* @__PURE__ */ t("div", { className: "tags-wr", children: o == null ? void 0 : o.map((e, n) => /* @__PURE__ */ t(P, { color: e == null ? void 0 : e.color, children: e == null ? void 0 : e.name }, n)) })
168
+ o && /* @__PURE__ */ t("div", { className: "tags-wr", children: o == null ? void 0 : o.map((e, n) => /* @__PURE__ */ t(W, { color: e == null ? void 0 : e.color, children: e == null ? void 0 : e.name }, n)) })
161
169
  ] })
162
170
  ]
163
171
  }
164
172
  );
165
- }), R = A(X), re = T((l, k) => {
173
+ }), T = A(H), re = L((l, k) => {
166
174
  const {
167
175
  icon: g,
168
- title: w,
169
- onButtonAction: v,
176
+ title: v,
177
+ onButtonAction: y,
170
178
  items: i,
171
179
  buttonText: f,
172
180
  timeToReadText: s,
@@ -179,8 +187,8 @@ const q = C.div`
179
187
  },
180
188
  componentName: d,
181
189
  LinkComponent: p
182
- } = l, h = D(), b = z(() => /* @__PURE__ */ t(B, { children: h === !0 ? i == null ? void 0 : i.map((e, n) => /* @__PURE__ */ t(
183
- R,
190
+ } = l, h = D(), b = z(() => /* @__PURE__ */ t($, { children: h === !0 ? i == null ? void 0 : i.map((e, n) => /* @__PURE__ */ t(
191
+ T,
184
192
  {
185
193
  title: e == null ? void 0 : e.title,
186
194
  text: e == null ? void 0 : e.description,
@@ -191,14 +199,14 @@ const q = C.div`
191
199
  timeToRead: e == null ? void 0 : e.timeToRead,
192
200
  timeToReadText: s,
193
201
  tags: e == null ? void 0 : e.tags,
194
- onCardClick: (O, y) => o(e == null ? void 0 : e.titleSlug, y),
202
+ onCardClick: (O, N) => o(e == null ? void 0 : e.titleSlug, N),
195
203
  imageUrl: a(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
196
204
  metadata: { name: d, accessor: e == null ? void 0 : e.accessor },
197
205
  LinkComponent: p
198
206
  },
199
207
  n
200
208
  )) : i == null ? void 0 : i.slice(0, m).map((e, n) => /* @__PURE__ */ t(
201
- R,
209
+ T,
202
210
  {
203
211
  title: e == null ? void 0 : e.title,
204
212
  imageUrl: a(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
@@ -210,27 +218,27 @@ const q = C.div`
210
218
  publishedAt: e == null ? void 0 : e.publishedAt,
211
219
  timeToRead: e == null ? void 0 : e.timeToRead,
212
220
  timeToReadText: s,
213
- onCardClick: (O, y) => o(e == null ? void 0 : e.titleSlug, y),
221
+ onCardClick: (O, N) => o(e == null ? void 0 : e.titleSlug, N),
214
222
  metadata: { name: d, accessor: e == null ? void 0 : e.accessor },
215
223
  LinkComponent: p
216
224
  },
217
225
  n
218
226
  )) }), [i, h, m, o]);
219
- return /* @__PURE__ */ r(U, { ref: k, children: [
227
+ return /* @__PURE__ */ r(P, { ref: k, children: [
220
228
  /* @__PURE__ */ r("div", { className: "regular-title", children: [
221
229
  /* @__PURE__ */ r("div", { className: "regular-title-text", children: [
222
- N(g) && /* @__PURE__ */ t("i", { className: g }),
223
- /* @__PURE__ */ t("span", { children: w })
230
+ C(g) && /* @__PURE__ */ t("i", { className: g }),
231
+ /* @__PURE__ */ t("span", { children: v })
224
232
  ] }),
225
- N(f) && N(c) && !u && /* @__PURE__ */ t(
226
- W,
233
+ C(f) && C(c) && !u && /* @__PURE__ */ t(
234
+ I,
227
235
  {
228
236
  type: "button",
229
237
  btnType: "tinted",
230
238
  color: "neutral",
231
239
  onClick: (e) => {
232
240
  var n;
233
- (n = e == null ? void 0 : e.target) == null || n.blur(), v(c);
241
+ (n = e == null ? void 0 : e.target) == null || n.blur(), y(c);
234
242
  },
235
243
  borderRadius: "curved",
236
244
  className: "button-link",
@@ -239,11 +247,11 @@ const q = C.div`
239
247
  )
240
248
  ] }),
241
249
  /* @__PURE__ */ t(
242
- _,
250
+ E,
243
251
  {
244
252
  isLoading: u,
245
253
  keyPrefix: "blogs-detailed-skeleton",
246
- children: /* @__PURE__ */ t(q, { limit: m, children: b })
254
+ children: /* @__PURE__ */ t(F, { limit: m, children: b })
247
255
  }
248
256
  )
249
257
  ] });
@@ -1,13 +1,21 @@
1
- "use strict";const t=require("react/jsx-runtime"),n=require("react"),b=require("./emotion-styled.browser.esm-BtEseadx.cjs"),h=require("./consts-goSZX3xP.cjs"),k=require("./useDetectMobile-zkbzoOGV.cjs"),C=require("./index-BWE-RCPy.cjs"),d=require("./style-BAcV7F53.cjs"),q=b.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),l=require("react"),f=require("./emotion-styled.browser.esm-BtEseadx.cjs"),i=require("./breakpoints-CcVm-gVm.cjs"),C=require("./useDetectMobile-DYV6V1yw.cjs"),w=require("./index-CBZ-jNah.cjs"),u=require("./style-BAcV7F53.cjs"),L=f.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: ${o=>`repeat(${o.limit}, minmax(0, 1fr))`};
4
4
  gap: 1.25rem;
5
5
 
6
- @media (max-width: ${h.MOBILE_SIZE_PX+"px"}) {
6
+ @media ${i.down("M")} {
7
+ grid-template-columns: repeat(2, 1fr);
8
+ }
9
+
10
+ @media ${i.down("S")} {
11
+ grid-template-columns: repeat(2, 1fr);
12
+ }
13
+
14
+ @media ${i.down("XS")} {
7
15
  grid-template-columns: repeat(1, 1fr);
8
16
  }
9
- `,B=b.styled(d.SkeletonRowWrapper)`
10
- @media (max-width: ${h.MOBILE_SIZE_PX+"px"}) {
17
+ `,$=f.styled(u.SkeletonRowWrapper)`
18
+ @media ${i.down("S")} {
11
19
  flex-direction: column;
12
20
 
13
21
  & > div {
@@ -21,4 +29,4 @@
21
29
  box-shadow: none;
22
30
  }
23
31
  }
24
- `,M=({keyPrefix:o})=>t.jsxs(B,{children:[t.jsx(d.SkeletonLinePlaceholder,{height:"11.25rem",borderRadius:"0.75rem"},`${o}-1`),t.jsx(d.SkeletonLinePlaceholder,{height:"11.25rem",borderRadius:"0.75rem"},`${o}-2`)]}),w=({keyPrefix:o,isLoading:s=!1,fallbackComponent:r=t.jsx(t.Fragment,{}),children:i})=>t.jsx(n.Suspense,{fallbackComponent:r,children:s===!0?t.jsx(M,{keyPrefix:o}):i}),S=n.memo(C.BlogCardLarge),R=n.forwardRef((o,s)=>{const{items:r,onSelectCard:i=()=>{},limit:l=2,isLoading:f=!1,getImage:u=()=>{},componentName:m,LinkComponent:g}=o,p=k.useDetectMobile(),j=n.useMemo(()=>t.jsx(t.Fragment,{children:p===!0?r==null?void 0:r.map((e,a)=>t.jsx(S,{title:e==null?void 0:e.title,imageUrl:u(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,buttonText:e==null?void 0:e.buttonText,onCardClick:(L,c)=>i(e==null?void 0:e.titleSlug,c),metadata:{name:m,accessor:e==null?void 0:e.accessor},LinkComponent:g},a)):r==null?void 0:r.slice(0,l).map((e,a)=>t.jsx(S,{title:e==null?void 0:e.title,imageUrl:u(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,buttonText:e==null?void 0:e.buttonText,onCardClick:(L,c)=>i(e==null?void 0:e.titleSlug,c),metadata:{name:m,accessor:e==null?void 0:e.accessor},LinkComponent:g},a))}),[r,p,l]);return t.jsx(w,{isLoading:f,keyPrefix:"blogs-large-skeleton",children:t.jsx(q,{ref:s,limit:l,children:j})})});module.exports=R;
32
+ `,q=({keyPrefix:o})=>t.jsxs($,{children:[t.jsx(u.SkeletonLinePlaceholder,{height:"11.25rem",borderRadius:"0.75rem"},`${o}-1`),t.jsx(u.SkeletonLinePlaceholder,{height:"11.25rem",borderRadius:"0.75rem"},`${o}-2`)]}),M=({keyPrefix:o,isLoading:s=!1,fallbackComponent:r=t.jsx(t.Fragment,{}),children:n})=>t.jsx(l.Suspense,{fallbackComponent:r,children:s===!0?t.jsx(q,{keyPrefix:o}):n}),b=l.memo(w.BlogCardLarge),R=l.forwardRef((o,s)=>{const{items:r,onSelectCard:n=()=>{},limit:a=2,isLoading:h=!1,getImage:m=()=>{},componentName:g,LinkComponent:p}=o,S=C.useDetectMobile(),j=l.useMemo(()=>t.jsx(t.Fragment,{children:S===!0?r==null?void 0:r.map((e,c)=>t.jsx(b,{title:e==null?void 0:e.title,imageUrl:m(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,buttonText:e==null?void 0:e.buttonText,onCardClick:(k,d)=>n(e==null?void 0:e.titleSlug,d),metadata:{name:g,accessor:e==null?void 0:e.accessor},LinkComponent:p},c)):r==null?void 0:r.slice(0,a).map((e,c)=>t.jsx(b,{title:e==null?void 0:e.title,imageUrl:m(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,buttonText:e==null?void 0:e.buttonText,onCardClick:(k,d)=>n(e==null?void 0:e.titleSlug,d),metadata:{name:g,accessor:e==null?void 0:e.accessor},LinkComponent:p},c))}),[r,S,a]);return t.jsx(M,{isLoading:h,keyPrefix:"blogs-large-skeleton",children:t.jsx(L,{ref:s,limit:a,children:j})})});module.exports=R;
@@ -1,20 +1,28 @@
1
- import { jsxs as L, jsx as t, Fragment as f } from "react/jsx-runtime";
2
- import { Suspense as B, memo as M, forwardRef as $, useMemo as w } from "react";
3
- import { s as S } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import { M as h } from "./consts-BuFChS64.js";
5
- import { u as R } from "./useDetectMobile-Bkvj0VMa.js";
6
- import { B as T } from "./index-Cm414y95.js";
7
- import { S as U, a as g } from "./style-BwQ4djFC.js";
8
- const I = S.div`
1
+ import { jsxs as $, jsx as t, Fragment as S } from "react/jsx-runtime";
2
+ import { Suspense as L, memo as B, forwardRef as M, useMemo as w } from "react";
3
+ import { s as b } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
+ import { d as a } from "./breakpoints-ff0SIcV3.js";
5
+ import { u as R } from "./useDetectMobile-CcVo3PNi.js";
6
+ import { B as T } from "./index-L_Va5-wK.js";
7
+ import { S as U, a as p } from "./style-BwQ4djFC.js";
8
+ const j = b.div`
9
9
  display: grid;
10
10
  grid-template-columns: ${(o) => `repeat(${o.limit}, minmax(0, 1fr))`};
11
11
  gap: 1.25rem;
12
12
 
13
- @media (max-width: ${h + "px"}) {
13
+ @media ${a("M")} {
14
+ grid-template-columns: repeat(2, 1fr);
15
+ }
16
+
17
+ @media ${a("S")} {
18
+ grid-template-columns: repeat(2, 1fr);
19
+ }
20
+
21
+ @media ${a("XS")} {
14
22
  grid-template-columns: repeat(1, 1fr);
15
23
  }
16
- `, P = S(U)`
17
- @media (max-width: ${h + "px"}) {
24
+ `, v = b(U)`
25
+ @media ${a("S")} {
18
26
  flex-direction: column;
19
27
 
20
28
  & > div {
@@ -28,9 +36,9 @@ const I = S.div`
28
36
  box-shadow: none;
29
37
  }
30
38
  }
31
- `, j = ({ keyPrefix: o }) => /* @__PURE__ */ L(P, { children: [
39
+ `, y = ({ keyPrefix: o }) => /* @__PURE__ */ $(v, { children: [
32
40
  /* @__PURE__ */ t(
33
- g,
41
+ p,
34
42
  {
35
43
  height: "11.25rem",
36
44
  borderRadius: "0.75rem"
@@ -38,65 +46,65 @@ const I = S.div`
38
46
  `${o}-1`
39
47
  ),
40
48
  /* @__PURE__ */ t(
41
- g,
49
+ p,
42
50
  {
43
51
  height: "11.25rem",
44
52
  borderRadius: "0.75rem"
45
53
  },
46
54
  `${o}-2`
47
55
  )
48
- ] }), v = ({
56
+ ] }), z = ({
49
57
  keyPrefix: o,
50
- isLoading: a = !1,
51
- fallbackComponent: r = /* @__PURE__ */ t(f, {}),
58
+ isLoading: l = !1,
59
+ fallbackComponent: r = /* @__PURE__ */ t(S, {}),
52
60
  children: i
53
- }) => /* @__PURE__ */ t(B, { fallbackComponent: r, children: a === !0 ? /* @__PURE__ */ t(j, { keyPrefix: o }) : i }), p = M(T), G = $((o, a) => {
61
+ }) => /* @__PURE__ */ t(L, { fallbackComponent: r, children: l === !0 ? /* @__PURE__ */ t(y, { keyPrefix: o }) : i }), f = B(T), X = M((o, l) => {
54
62
  const {
55
63
  items: r,
56
64
  onSelectCard: i = () => {
57
65
  },
58
- limit: l = 2,
59
- isLoading: b = !1,
60
- getImage: m = () => {
66
+ limit: n = 2,
67
+ isLoading: h = !1,
68
+ getImage: d = () => {
61
69
  },
62
- componentName: d,
63
- LinkComponent: c
64
- } = o, u = R(), C = w(() => /* @__PURE__ */ t(f, { children: u === !0 ? r == null ? void 0 : r.map((e, n) => /* @__PURE__ */ t(
65
- p,
70
+ componentName: c,
71
+ LinkComponent: u
72
+ } = o, g = R(), C = w(() => /* @__PURE__ */ t(S, { children: g === !0 ? r == null ? void 0 : r.map((e, m) => /* @__PURE__ */ t(
73
+ f,
66
74
  {
67
75
  title: e == null ? void 0 : e.title,
68
- imageUrl: m(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
76
+ imageUrl: d(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
69
77
  text: e == null ? void 0 : e.description,
70
78
  titleSlug: e == null ? void 0 : e.titleSlug,
71
79
  buttonText: e == null ? void 0 : e.buttonText,
72
80
  onCardClick: (k, s) => i(e == null ? void 0 : e.titleSlug, s),
73
- metadata: { name: d, accessor: e == null ? void 0 : e.accessor },
74
- LinkComponent: c
81
+ metadata: { name: c, accessor: e == null ? void 0 : e.accessor },
82
+ LinkComponent: u
75
83
  },
76
- n
77
- )) : r == null ? void 0 : r.slice(0, l).map((e, n) => /* @__PURE__ */ t(
78
- p,
84
+ m
85
+ )) : r == null ? void 0 : r.slice(0, n).map((e, m) => /* @__PURE__ */ t(
86
+ f,
79
87
  {
80
88
  title: e == null ? void 0 : e.title,
81
- imageUrl: m(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
89
+ imageUrl: d(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
82
90
  text: e == null ? void 0 : e.description,
83
91
  titleSlug: e == null ? void 0 : e.titleSlug,
84
92
  buttonText: e == null ? void 0 : e.buttonText,
85
93
  onCardClick: (k, s) => i(e == null ? void 0 : e.titleSlug, s),
86
- metadata: { name: d, accessor: e == null ? void 0 : e.accessor },
87
- LinkComponent: c
94
+ metadata: { name: c, accessor: e == null ? void 0 : e.accessor },
95
+ LinkComponent: u
88
96
  },
89
- n
90
- )) }), [r, u, l]);
97
+ m
98
+ )) }), [r, g, n]);
91
99
  return /* @__PURE__ */ t(
92
- v,
100
+ z,
93
101
  {
94
- isLoading: b,
102
+ isLoading: h,
95
103
  keyPrefix: "blogs-large-skeleton",
96
- children: /* @__PURE__ */ t(I, { ref: a, limit: l, children: C })
104
+ children: /* @__PURE__ */ t(j, { ref: l, limit: n, children: C })
97
105
  }
98
106
  );
99
107
  });
100
108
  export {
101
- G as default
109
+ X as default
102
110
  };
@@ -1,12 +1,20 @@
1
- "use strict";const r=require("react/jsx-runtime"),p=require("react"),j=require("./emotion-styled.browser.esm-BtEseadx.cjs"),k=require("./consts-goSZX3xP.cjs"),R=require("./useDetectMobile-zkbzoOGV.cjs"),g=require("./utils-RnrgDDZP.cjs"),C=require("./style-B4kAj6YU.cjs"),M=require("./Button.cjs"),$=require("./Link.cjs"),T=require("./index-uwl7BjRF.cjs"),E=require("./index-D-3I_Ppj.cjs"),I=j.styled.div`
1
+ "use strict";const r=require("react/jsx-runtime"),p=require("react"),S=require("./emotion-styled.browser.esm-BtEseadx.cjs"),j=require("./breakpoints-CcVm-gVm.cjs"),$=require("./useDetectMobile-DYV6V1yw.cjs"),g=require("./utils-CITgSxXe.cjs"),C=require("./style-DC05rdyx.cjs"),B=require("./Button.cjs"),M=require("./Link.cjs"),T=require("./index-DsINTjQk.cjs"),D=require("./index-B_ilx3wM.cjs"),L=S.styled.div`
2
2
  display: grid;
3
- grid-template-columns: ${s=>`repeat(${s.limit}, minmax(0, 1fr))`};
3
+ grid-template-columns: ${a=>`repeat(${a.limit}, minmax(0, 1fr))`};
4
4
  gap: 1.25rem;
5
5
 
6
- @media (max-width: ${k.MOBILE_SIZE_PX+"px"}) {
6
+ @media ${j.down("M")} {
7
+ grid-template-columns: repeat(2, 1fr);
8
+ }
9
+
10
+ @media ${j.down("S")} {
11
+ grid-template-columns: repeat(2, 1fr);
12
+ }
13
+
14
+ @media ${j.down("XS")} {
7
15
  grid-template-columns: repeat(1, 1fr);
8
16
  }
9
- `,L=j.styled.a`
17
+ `,U=S.styled.a`
10
18
  text-decoration: none;
11
19
  color: var(--gray-950);
12
20
  display: flex;
@@ -57,10 +65,7 @@
57
65
  gap: 0.5rem;
58
66
  padding: 1rem;
59
67
  }
60
-
61
- @media (max-width: ${k.MOBILE_SIZE_PX+"px"}) {
62
- }
63
- `,D=j.styled.div`
68
+ `,W=S.styled.div`
64
69
  padding: 1rem 1rem 0 1rem;
65
70
  display: flex;
66
71
  flex-direction: column;
@@ -80,4 +85,4 @@
80
85
  color: var(--gray-700, #4e555f);
81
86
  ${g.truncateTextInRows(3)}
82
87
  }
83
- `,_=p.forwardRef((s,S)=>{const{title:u,imageUrl:b,text:y,options:n,onCardClick:a,readMoreText:i="Read more",metadata:o,titleSlug:c,LinkComponent:d}=s,h=d||"a",m=p.useRef();return r.jsxs(L,{ref:m,name:o==null?void 0:o.name,"data-accessor":o==null?void 0:o.name,className:"blog-card",onClick:t=>a(t,m),as:h,...d?{to:`/blog/${c}`}:{href:`/blog/${c}`},children:[r.jsx(T.ProductImageWrapper,{src:b}),r.jsxs(D,{children:[r.jsx("div",{className:"text-wr-title",children:u}),r.jsx("div",{className:"text-wr",children:y})]}),n&&r.jsx("div",{className:"tags-wr",children:n==null?void 0:n.map((t,f)=>r.jsx(C.BlogTag,{color:t==null?void 0:t.color,children:t==null?void 0:t.name},f))}),r.jsx($,{className:"action",color:"gray",onClick:a,children:i})]})}),v=p.memo(_),P=p.forwardRef((s,S)=>{const{icon:u,title:b,onButtonAction:y=()=>{},onSelectCard:n=()=>{},buttonLink:a,items:i,buttonText:o,limit:c=3,isLoading:d=!1,getImage:h=()=>{},readMoreText:m="Read more",componentName:t,LinkComponent:f}=s,N=R.useDetectMobile(),q=p.useMemo(()=>r.jsx(r.Fragment,{children:N===!0?i==null?void 0:i.map((e,l)=>r.jsx(v,{isBlog:!0,title:e==null?void 0:e.title,imageUrl:h(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,readMoreText:m,options:e==null?void 0:e.options,onCardClick:(B,w)=>n(e==null?void 0:e.titleSlug,w),metadata:{name:t,accessor:e==null?void 0:e.accessor},LinkComponent:f},l)):i==null?void 0:i.slice(0,c).map((e,l)=>r.jsx(v,{isBlog:!0,title:e==null?void 0:e.title,imageUrl:h(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,readMoreText:m,options:e==null?void 0:e.options,onCardClick:(B,w)=>n(e==null?void 0:e.titleSlug,w),metadata:{name:t,accessor:e==null?void 0:e.accessor},LinkComponent:f},l))}),[i]);return r.jsxs(C.RegulatTitleSectionWrapper,{ref:S,children:[r.jsxs("div",{className:"regular-title",children:[r.jsxs("div",{className:"regular-title-text",children:[g.isDefinedNotEmptyString(u)&&r.jsx("i",{className:u}),r.jsx("span",{children:b})]}),g.isDefinedNotEmptyString(o)&&g.isDefinedNotEmptyString(a)&&!d&&r.jsx(M,{type:"button",btnType:"tinted",color:"neutral",onClick:e=>{var l;(l=e==null?void 0:e.target)==null||l.blur(),y(a)},borderRadius:"curved",className:"button-link",children:o})]}),r.jsx(E.SuspenseBlogsSectionDetailed,{isLoading:d,keyPrefix:"blogs-simple-skeleton",children:r.jsx(I,{limit:c,children:q})})]})});module.exports=P;
88
+ `,z=p.forwardRef((a,v)=>{const{title:u,imageUrl:b,text:w,options:n,onCardClick:s,readMoreText:i="Read more",metadata:o,titleSlug:c,LinkComponent:d}=a,h=d||"a",m=p.useRef();return r.jsxs(U,{ref:m,name:o==null?void 0:o.name,"data-accessor":o==null?void 0:o.name,className:"blog-card",onClick:t=>s(t,m),as:h,...d?{to:`/blog/${c}`}:{href:`/blog/${c}`},children:[r.jsx(T.ProductImageWrapper,{src:b}),r.jsxs(W,{children:[r.jsx("div",{className:"text-wr-title",children:u}),r.jsx("div",{className:"text-wr",children:w})]}),n&&r.jsx("div",{className:"tags-wr",children:n==null?void 0:n.map((t,f)=>r.jsx(C.BlogTag,{color:t==null?void 0:t.color,children:t==null?void 0:t.name},f))}),r.jsx(M,{className:"action",color:"gray",onClick:s,children:i})]})}),k=p.memo(z),E=p.forwardRef((a,v)=>{const{icon:u,title:b,onButtonAction:w=()=>{},onSelectCard:n=()=>{},buttonLink:s,items:i,buttonText:o,limit:c=3,isLoading:d=!1,getImage:h=()=>{},readMoreText:m="Read more",componentName:t,LinkComponent:f}=a,N=$.useDetectMobile(),q=p.useMemo(()=>r.jsx(r.Fragment,{children:N===!0?i==null?void 0:i.map((e,l)=>r.jsx(k,{isBlog:!0,title:e==null?void 0:e.title,imageUrl:h(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,readMoreText:m,options:e==null?void 0:e.options,onCardClick:(R,y)=>n(e==null?void 0:e.titleSlug,y),metadata:{name:t,accessor:e==null?void 0:e.accessor},LinkComponent:f},l)):i==null?void 0:i.slice(0,c).map((e,l)=>r.jsx(k,{isBlog:!0,title:e==null?void 0:e.title,imageUrl:h(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,readMoreText:m,options:e==null?void 0:e.options,onCardClick:(R,y)=>n(e==null?void 0:e.titleSlug,y),metadata:{name:t,accessor:e==null?void 0:e.accessor},LinkComponent:f},l))}),[i]);return r.jsxs(C.RegulatTitleSectionWrapper,{ref:v,children:[r.jsxs("div",{className:"regular-title",children:[r.jsxs("div",{className:"regular-title-text",children:[g.isDefinedNotEmptyString(u)&&r.jsx("i",{className:u}),r.jsx("span",{children:b})]}),g.isDefinedNotEmptyString(o)&&g.isDefinedNotEmptyString(s)&&!d&&r.jsx(B,{type:"button",btnType:"tinted",color:"neutral",onClick:e=>{var l;(l=e==null?void 0:e.target)==null||l.blur(),w(s)},borderRadius:"curved",className:"button-link",children:o})]}),r.jsx(D.SuspenseBlogsSectionDetailed,{isLoading:d,keyPrefix:"blogs-simple-skeleton",children:r.jsx(L,{limit:c,children:q})})]})});module.exports=E;
@@ -1,23 +1,31 @@
1
1
  import { jsxs as p, jsx as r, Fragment as T } from "react/jsx-runtime";
2
- import { forwardRef as C, useRef as $, memo as L, useMemo as I } from "react";
3
- import { s as y } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import { M as B } from "./consts-BuFChS64.js";
5
- import { u as P } from "./useDetectMobile-Bkvj0VMa.js";
6
- import { w as U, m as W, k as v } from "./utils-DtEfC-TX.js";
7
- import { B as z, R as j } from "./style-neMbLWE6.js";
8
- import D from "./Button.js";
9
- import E from "./Link.js";
10
- import { P as A } from "./index-B22BZVBG.js";
11
- import { S as G } from "./index-CBMsUFkS.js";
12
- const _ = y.div`
2
+ import { forwardRef as N, useRef as M, memo as L, useMemo as U } from "react";
3
+ import { s as S } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
+ import { d as v } from "./breakpoints-ff0SIcV3.js";
5
+ import { u as W } from "./useDetectMobile-CcVo3PNi.js";
6
+ import { w as z, n as P, l as y } from "./utils-B2fsQ6PS.js";
7
+ import { B as j, R as D } from "./style-BUyFad_y.js";
8
+ import I from "./Button.js";
9
+ import A from "./Link.js";
10
+ import { P as G } from "./index-BvMY2TbK.js";
11
+ import { S as E } from "./index-hC-E71GE.js";
12
+ const F = S.div`
13
13
  display: grid;
14
14
  grid-template-columns: ${(n) => `repeat(${n.limit}, minmax(0, 1fr))`};
15
15
  gap: 1.25rem;
16
16
 
17
- @media (max-width: ${B + "px"}) {
17
+ @media ${v("M")} {
18
+ grid-template-columns: repeat(2, 1fr);
19
+ }
20
+
21
+ @media ${v("S")} {
22
+ grid-template-columns: repeat(2, 1fr);
23
+ }
24
+
25
+ @media ${v("XS")} {
18
26
  grid-template-columns: repeat(1, 1fr);
19
27
  }
20
- `, F = y.a`
28
+ `, X = S.a`
21
29
  text-decoration: none;
22
30
  color: var(--gray-950);
23
31
  display: flex;
@@ -43,7 +51,7 @@ const _ = y.div`
43
51
  width: 100%;
44
52
  max-height: 12.5625rem;
45
53
  min-height: 12.5625rem;
46
- background-color: ${U("-90deg")};
54
+ background-color: ${z("-90deg")};
47
55
  }
48
56
 
49
57
  & .action {
@@ -68,10 +76,7 @@ const _ = y.div`
68
76
  gap: 0.5rem;
69
77
  padding: 1rem;
70
78
  }
71
-
72
- @media (max-width: ${B + "px"}) {
73
- }
74
- `, O = y.div`
79
+ `, q = S.div`
75
80
  padding: 1rem 1rem 0 1rem;
76
81
  display: flex;
77
82
  flex-direction: column;
@@ -89,9 +94,9 @@ const _ = y.div`
89
94
  font-size: 0.875rem;
90
95
  flex: 1;
91
96
  color: var(--gray-700, #4e555f);
92
- ${W(3)}
97
+ ${P(3)}
93
98
  }
94
- `, X = C((n, k) => {
99
+ `, H = N((n, k) => {
95
100
  const {
96
101
  title: g,
97
102
  imageUrl: h,
@@ -102,9 +107,9 @@ const _ = y.div`
102
107
  metadata: i,
103
108
  titleSlug: s,
104
109
  LinkComponent: c
105
- } = n, u = c || "a", d = $();
110
+ } = n, u = c || "a", d = M();
106
111
  return /* @__PURE__ */ p(
107
- F,
112
+ X,
108
113
  {
109
114
  ref: d,
110
115
  name: i == null ? void 0 : i.name,
@@ -114,17 +119,17 @@ const _ = y.div`
114
119
  as: u,
115
120
  ...c ? { to: `/blog/${s}` } : { href: `/blog/${s}` },
116
121
  children: [
117
- /* @__PURE__ */ r(A, { src: h }),
118
- /* @__PURE__ */ p(O, { children: [
122
+ /* @__PURE__ */ r(G, { src: h }),
123
+ /* @__PURE__ */ p(q, { children: [
119
124
  /* @__PURE__ */ r("div", { className: "text-wr-title", children: g }),
120
125
  /* @__PURE__ */ r("div", { className: "text-wr", children: b })
121
126
  ] }),
122
- a && /* @__PURE__ */ r("div", { className: "tags-wr", children: a == null ? void 0 : a.map((t, f) => /* @__PURE__ */ r(z, { color: t == null ? void 0 : t.color, children: t == null ? void 0 : t.name }, f)) }),
123
- /* @__PURE__ */ r(E, { className: "action", color: "gray", onClick: m, children: o })
127
+ a && /* @__PURE__ */ r("div", { className: "tags-wr", children: a == null ? void 0 : a.map((t, f) => /* @__PURE__ */ r(j, { color: t == null ? void 0 : t.color, children: t == null ? void 0 : t.name }, f)) }),
128
+ /* @__PURE__ */ r(A, { className: "action", color: "gray", onClick: m, children: o })
124
129
  ]
125
130
  }
126
131
  );
127
- }), S = L(X), te = C((n, k) => {
132
+ }), C = L(H), te = N((n, k) => {
128
133
  const {
129
134
  icon: g,
130
135
  title: h,
@@ -142,8 +147,8 @@ const _ = y.div`
142
147
  readMoreText: d = "Read more",
143
148
  componentName: t,
144
149
  LinkComponent: f
145
- } = n, N = P(), R = I(() => /* @__PURE__ */ r(T, { children: N === !0 ? o == null ? void 0 : o.map((e, l) => /* @__PURE__ */ r(
146
- S,
150
+ } = n, B = W(), R = U(() => /* @__PURE__ */ r(T, { children: B === !0 ? o == null ? void 0 : o.map((e, l) => /* @__PURE__ */ r(
151
+ C,
147
152
  {
148
153
  isBlog: !0,
149
154
  title: e == null ? void 0 : e.title,
@@ -152,13 +157,13 @@ const _ = y.div`
152
157
  titleSlug: e == null ? void 0 : e.titleSlug,
153
158
  readMoreText: d,
154
159
  options: e == null ? void 0 : e.options,
155
- onCardClick: (M, w) => a(e == null ? void 0 : e.titleSlug, w),
160
+ onCardClick: ($, w) => a(e == null ? void 0 : e.titleSlug, w),
156
161
  metadata: { name: t, accessor: e == null ? void 0 : e.accessor },
157
162
  LinkComponent: f
158
163
  },
159
164
  l
160
165
  )) : o == null ? void 0 : o.slice(0, s).map((e, l) => /* @__PURE__ */ r(
161
- S,
166
+ C,
162
167
  {
163
168
  isBlog: !0,
164
169
  title: e == null ? void 0 : e.title,
@@ -167,20 +172,20 @@ const _ = y.div`
167
172
  titleSlug: e == null ? void 0 : e.titleSlug,
168
173
  readMoreText: d,
169
174
  options: e == null ? void 0 : e.options,
170
- onCardClick: (M, w) => a(e == null ? void 0 : e.titleSlug, w),
175
+ onCardClick: ($, w) => a(e == null ? void 0 : e.titleSlug, w),
171
176
  metadata: { name: t, accessor: e == null ? void 0 : e.accessor },
172
177
  LinkComponent: f
173
178
  },
174
179
  l
175
180
  )) }), [o]);
176
- return /* @__PURE__ */ p(j, { ref: k, children: [
181
+ return /* @__PURE__ */ p(D, { ref: k, children: [
177
182
  /* @__PURE__ */ p("div", { className: "regular-title", children: [
178
183
  /* @__PURE__ */ p("div", { className: "regular-title-text", children: [
179
- v(g) && /* @__PURE__ */ r("i", { className: g }),
184
+ y(g) && /* @__PURE__ */ r("i", { className: g }),
180
185
  /* @__PURE__ */ r("span", { children: h })
181
186
  ] }),
182
- v(i) && v(m) && !c && /* @__PURE__ */ r(
183
- D,
187
+ y(i) && y(m) && !c && /* @__PURE__ */ r(
188
+ I,
184
189
  {
185
190
  type: "button",
186
191
  btnType: "tinted",
@@ -196,11 +201,11 @@ const _ = y.div`
196
201
  )
197
202
  ] }),
198
203
  /* @__PURE__ */ r(
199
- G,
204
+ E,
200
205
  {
201
206
  isLoading: c,
202
207
  keyPrefix: "blogs-simple-skeleton",
203
- children: /* @__PURE__ */ r(_, { limit: s, children: R })
208
+ children: /* @__PURE__ */ r(F, { limit: s, children: R })
204
209
  }
205
210
  )
206
211
  ] });