@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,12 +1,12 @@
1
1
  import { jsxs as o, jsx as r, Fragment as O } from "react/jsx-runtime";
2
- import { forwardRef as M, Suspense as G, useLayoutEffect as R } from "react";
3
- import { m as z, l as W, k as q } from "./utils-DtEfC-TX.js";
2
+ import { forwardRef as z, Suspense as G, useLayoutEffect as R } from "react";
3
+ import { n as N, m as W, l as q } from "./utils-B2fsQ6PS.js";
4
4
  import T from "./Icon.js";
5
- import { s as b } from "./emotion-styled.browser.esm-BNN1dTl3.js";
6
- import { M as $ } from "./consts-BuFChS64.js";
5
+ import { s as $ } from "./emotion-styled.browser.esm-BNN1dTl3.js";
6
+ import { d as u } from "./breakpoints-ff0SIcV3.js";
7
7
  import { u as j } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
- import { S as A, b as f, d as _, a as g } from "./style-BwQ4djFC.js";
9
- const B = b.a`
8
+ import { S as A, b as w, d as _, a as g } from "./style-BwQ4djFC.js";
9
+ const D = $.a`
10
10
  text-decoration: none;
11
11
  color: var(--gray-950);
12
12
  display: flex;
@@ -47,7 +47,7 @@ const B = b.a`
47
47
  font-style: normal;
48
48
  font-weight: 500;
49
49
  line-height: 1.5rem;
50
- ${z(2)}
50
+ ${N(2)}
51
51
  }
52
52
 
53
53
  & .wrapper__description {
@@ -57,11 +57,11 @@ const B = b.a`
57
57
  font-weight: 400;
58
58
  line-height: 1rem;
59
59
  letter-spacing: 0.025rem;
60
- ${z(2)}
60
+ ${N(2)}
61
61
  }
62
62
  }
63
63
 
64
- @media (max-width: ${$ + "px"}) {
64
+ @media ${u("S")} {
65
65
  & .wrapper__content {
66
66
  & .wrapper__title {
67
67
  font-size: 0.875rem;
@@ -73,7 +73,7 @@ const B = b.a`
73
73
  }
74
74
  }
75
75
  }
76
- `, D = b.div`
76
+ `, H = $.div`
77
77
  display: flex;
78
78
  flex-direction: column;
79
79
  align-items: center;
@@ -114,7 +114,7 @@ const B = b.a`
114
114
  font-weight: 400;
115
115
  line-height: 1.5rem;
116
116
  max-width: 8rem;
117
- ${z(2)}
117
+ ${N(2)}
118
118
  }
119
119
 
120
120
  &.active {
@@ -124,7 +124,7 @@ const B = b.a`
124
124
  }
125
125
  }
126
126
 
127
- @media (max-width: ${$ + "px"}) {
127
+ @media ${u("S")} {
128
128
  max-width: unset;
129
129
  min-width: unset;
130
130
  flex-direction: row;
@@ -164,10 +164,10 @@ const B = b.a`
164
164
  max-width: unset;
165
165
  }
166
166
  }
167
- `, H = M(
167
+ `, B = z(
168
168
  ({ text: t, isActive: l = !1, icon: i, onSelectCard: a = () => {
169
169
  } }, d) => /* @__PURE__ */ o(
170
- D,
170
+ H,
171
171
  {
172
172
  ref: d,
173
173
  className: l ? "active" : "",
@@ -178,7 +178,7 @@ const B = b.a`
178
178
  ]
179
179
  }
180
180
  )
181
- ), X = M(
181
+ ), J = z(
182
182
  ({
183
183
  image: t,
184
184
  imageComponent: l,
@@ -187,19 +187,19 @@ const B = b.a`
187
187
  className: d,
188
188
  onSelectCard: k = () => {
189
189
  },
190
- link: u,
191
- LinkComponent: x
190
+ link: x,
191
+ LinkComponent: v
192
192
  }, I) => {
193
- const h = x || "a", { theme: c } = j();
193
+ const c = v || "a", { theme: h } = j();
194
194
  return /* @__PURE__ */ o(
195
- B,
195
+ D,
196
196
  {
197
197
  ref: I,
198
- theme: c,
198
+ theme: h,
199
199
  className: d,
200
200
  onClick: k,
201
- as: h,
202
- ...x ? { to: `/${u}` } : { href: `/${u}` },
201
+ as: c,
202
+ ...v ? { to: `/${x}` } : { href: `/${x}` },
203
203
  children: [
204
204
  W(l) ? l : /* @__PURE__ */ r("img", { src: t, className: "wrapper__image" }),
205
205
  /* @__PURE__ */ o("div", { className: "wrapper__content", children: [
@@ -210,7 +210,7 @@ const B = b.a`
210
210
  }
211
211
  );
212
212
  }
213
- ), Z = b.div`
213
+ ), K = $.div`
214
214
  display: flex;
215
215
  flex-direction: column;
216
216
  align-items: center;
@@ -266,26 +266,32 @@ const B = b.a`
266
266
  }
267
267
  }
268
268
 
269
- @media (max-width: ${$ + "px"}) {
269
+ @media ${u("M")} {
270
+ & .wrapper__cards {
271
+ grid-template-columns: repeat(2, minmax(12.5rem, 1fr));
272
+ }
273
+ }
274
+
275
+ @media ${u("S")} {
270
276
  gap: 1rem;
271
277
 
272
278
  & .wrapper__cards {
273
279
  grid-template-columns: ${(t) => `repeat(${t == null ? void 0 : t.limitCardsForMobile}, minmax(0, 1fr))`};
274
280
  }
275
281
  }
276
- `, J = b(A)`
282
+ `, Q = $(A)`
277
283
  &.skeleton__tags {
278
284
  max-width: 50rem;
279
285
  }
280
286
 
281
- @media (max-width: ${$ + "px"}) {
287
+ @media ${u("S")} {
282
288
  &.skeleton__tags {
283
289
  overflow-x: hidden;
284
290
  }
285
291
  }
286
- `, K = ({ keyPrefix: t }) => /* @__PURE__ */ o(J, { className: "skeleton__tags", children: [
292
+ `, U = ({ keyPrefix: t }) => /* @__PURE__ */ o(Q, { className: "skeleton__tags", children: [
287
293
  /* @__PURE__ */ o(
288
- f,
294
+ w,
289
295
  {
290
296
  alignItems: "center",
291
297
  gap: "0.5rem",
@@ -297,7 +303,7 @@ const B = b.a`
297
303
  `${t}-1`
298
304
  ),
299
305
  /* @__PURE__ */ o(
300
- f,
306
+ w,
301
307
  {
302
308
  alignItems: "center",
303
309
  gap: "0.5rem",
@@ -310,7 +316,7 @@ const B = b.a`
310
316
  `${t}-2`
311
317
  ),
312
318
  /* @__PURE__ */ o(
313
- f,
319
+ w,
314
320
  {
315
321
  alignItems: "center",
316
322
  gap: "0.5rem",
@@ -323,7 +329,7 @@ const B = b.a`
323
329
  `${t}-3`
324
330
  ),
325
331
  /* @__PURE__ */ o(
326
- f,
332
+ w,
327
333
  {
328
334
  alignItems: "center",
329
335
  gap: "0.5rem",
@@ -336,7 +342,7 @@ const B = b.a`
336
342
  `${t}-4`
337
343
  ),
338
344
  /* @__PURE__ */ o(
339
- f,
345
+ w,
340
346
  {
341
347
  alignItems: "center",
342
348
  gap: "0.5rem",
@@ -348,12 +354,12 @@ const B = b.a`
348
354
  },
349
355
  `${t}-5`
350
356
  )
351
- ] }), P = ({
357
+ ] }), V = ({
352
358
  keyPrefix: t,
353
359
  isLoading: l = !1,
354
360
  fallbackComponent: i = /* @__PURE__ */ r(O, {}),
355
361
  children: a
356
- }) => /* @__PURE__ */ r(G, { fallbackComponent: i, children: l === !0 ? /* @__PURE__ */ r(K, { keyPrefix: t }) : a }), ne = M(
362
+ }) => /* @__PURE__ */ r(G, { fallbackComponent: i, children: l === !0 ? /* @__PURE__ */ r(U, { keyPrefix: t }) : a }), ne = z(
357
363
  ({
358
364
  title: t,
359
365
  subtitle: l,
@@ -361,49 +367,49 @@ const B = b.a`
361
367
  items: a = [],
362
368
  limitTags: d = 5,
363
369
  limitTagsForMobile: k = 5,
364
- limit: u = 3,
365
- limitForMobile: x = 2,
370
+ limit: x = 3,
371
+ limitForMobile: v = 2,
366
372
  selectedTag: I,
367
- onSelectTag: h = () => {
373
+ onSelectTag: c = () => {
368
374
  },
369
- onSelectCard: c = () => {
375
+ onSelectCard: h = () => {
370
376
  },
371
- className: w,
377
+ className: f,
372
378
  isLoadingTags: C = !1,
373
379
  // isLoadingCards = false,
374
- LinkComponent: E
375
- }, S) => (R(() => {
376
- if (!q(w))
380
+ LinkComponent: M
381
+ }, E) => (R(() => {
382
+ if (!q(f))
377
383
  return;
378
384
  const e = () => {
379
- const m = document == null ? void 0 : document.querySelector(`.${w} .wrapper__cards`), s = m == null ? void 0 : m.querySelectorAll(".wrapper__card");
380
- s == null || s.forEach((y) => {
381
- const F = y.getBoundingClientRect().height, L = Math.ceil((F + 10) / 20);
382
- y.style.gridRowEnd = `span ${L}`;
385
+ const m = document == null ? void 0 : document.querySelector(`.${f} .wrapper__cards`), s = m == null ? void 0 : m.querySelectorAll(".wrapper__card");
386
+ s == null || s.forEach((b) => {
387
+ const F = b.getBoundingClientRect().height, L = Math.ceil((F + 10) / 20);
388
+ b.style.gridRowEnd = `span ${L}`;
383
389
  });
384
- const N = s == null ? void 0 : s[(s == null ? void 0 : s.length) - 1];
385
- if (N) {
386
- const y = N.offsetTop + N.offsetHeight;
387
- m.style.height = `${y}px`;
390
+ const S = s == null ? void 0 : s[(s == null ? void 0 : s.length) - 1];
391
+ if (S) {
392
+ const b = S.offsetTop + S.offsetHeight;
393
+ m.style.height = `${b}px`;
388
394
  }
389
- }, p = document == null ? void 0 : document.querySelector(`.${w} .wrapper__cards`), n = p == null ? void 0 : p.querySelectorAll(".wrapper__image");
390
- let v = 0;
395
+ }, p = document == null ? void 0 : document.querySelector(`.${f} .wrapper__cards`), n = p == null ? void 0 : p.querySelectorAll(".wrapper__image");
396
+ let y = 0;
391
397
  return (n == null ? void 0 : n.length) === 0 ? e() : (n == null || n.forEach((m) => {
392
- m.complete ? v++ : m.addEventListener("load", () => {
393
- v++, v === (n == null ? void 0 : n.length) && e();
398
+ m.complete ? y++ : m.addEventListener("load", () => {
399
+ y++, y === (n == null ? void 0 : n.length) && e();
394
400
  });
395
- }), v === (n == null ? void 0 : n.length) && e()), window.addEventListener("resize", e), () => {
401
+ }), y === (n == null ? void 0 : n.length) && e()), window.addEventListener("resize", e), () => {
396
402
  window.removeEventListener("resize", e);
397
403
  };
398
- }, [w, a]), /* @__PURE__ */ o(
399
- Z,
404
+ }, [f, a]), /* @__PURE__ */ o(
405
+ K,
400
406
  {
401
- ref: S,
407
+ ref: E,
402
408
  limitTags: d,
403
409
  limitTagsForMobile: k,
404
- limitCards: u,
405
- limitCardsForMobile: x,
406
- className: w,
410
+ limitCards: x,
411
+ limitCardsForMobile: v,
412
+ className: f,
407
413
  numberOfTags: i == null ? void 0 : i.length,
408
414
  children: [
409
415
  /* @__PURE__ */ o("div", { className: "wrapper__heading", children: [
@@ -411,33 +417,33 @@ const B = b.a`
411
417
  l && /* @__PURE__ */ r("div", { className: "wrapper__subtitle", children: l })
412
418
  ] }),
413
419
  /* @__PURE__ */ r(
414
- P,
420
+ V,
415
421
  {
416
422
  isLoading: C,
417
423
  keyPrefix: "field-of-interests-masonry-tag",
418
424
  children: /* @__PURE__ */ r("div", { className: "wrapper__tags__external", children: /* @__PURE__ */ r("div", { className: "wrapper__tags", children: i == null ? void 0 : i.map((e, p) => /* @__PURE__ */ r(
419
- H,
425
+ B,
420
426
  {
421
427
  icon: e == null ? void 0 : e.icon,
422
428
  text: e == null ? void 0 : e.title,
423
429
  isActive: (e == null ? void 0 : e.code) === I,
424
- onSelectCard: () => h == null ? void 0 : h(e)
430
+ onSelectCard: () => c == null ? void 0 : c(e)
425
431
  },
426
432
  `field-of-interests-masonry-tag__${p + 1}`
427
433
  )) }) })
428
434
  }
429
435
  ),
430
436
  /* @__PURE__ */ r("div", { className: "wrapper__cards", children: a == null ? void 0 : a.map((e, p) => /* @__PURE__ */ r(
431
- X,
437
+ J,
432
438
  {
433
439
  image: e == null ? void 0 : e.image,
434
440
  imageComponent: e == null ? void 0 : e.imageComponent,
435
441
  title: e == null ? void 0 : e.title,
436
442
  description: e == null ? void 0 : e.description,
437
- onSelectCard: () => c == null ? void 0 : c(e),
443
+ onSelectCard: () => h == null ? void 0 : h(e),
438
444
  className: "wrapper__card",
439
445
  link: e == null ? void 0 : e.link,
440
- LinkComponent: E
446
+ LinkComponent: M
441
447
  },
442
448
  `field-of-interests-with-tags-card__${p + 1}`
443
449
  )) })
@@ -1,4 +1,4 @@
1
- "use strict";const i=require("react/jsx-runtime"),p=require("react"),y=require("./utils-RnrgDDZP.cjs"),$=require("./emotion-styled.browser.esm-BtEseadx.cjs"),C=require("./consts-goSZX3xP.cjs"),F=require("./index-BFc3nxYZ.cjs"),l=require("./style-BAcV7F53.cjs"),S=$.styled.div`
1
+ "use strict";const i=require("react/jsx-runtime"),p=require("react"),y=require("./utils-CITgSxXe.cjs"),C=require("./emotion-styled.browser.esm-BtEseadx.cjs"),d=require("./breakpoints-CcVm-gVm.cjs"),b=require("./index-of6WydGq.cjs"),l=require("./style-BAcV7F53.cjs"),F=C.styled.div`
2
2
  width: 100%;
3
3
  height: auto;
4
4
  border-radius: 999px;
@@ -19,12 +19,12 @@
19
19
  border: var(--yellow-600, #d97706);
20
20
  }
21
21
 
22
- @media (max-width: ${C.MOBILE_SIZE_PX+"px"}) {
22
+ @media ${d.down("S")} {
23
23
  & .wrapper__image {
24
24
  height: auto;
25
25
  }
26
26
  }
27
- `,b=p.forwardRef(({isActive:t,image:r,imageComponent:s,onSelectCard:n=()=>{}},o)=>i.jsx(S,{ref:o,className:t?"active":"",onClick:n,children:y.isDefined(s)?s:i.jsx("img",{src:r,className:"wrapper__image"})})),k=p.forwardRef(({uuid:t,title:r,price:s,currency:n,isNegotiable:o,isFree:x,image:u,sellerUuid:m,onSelectCard:a=()=>{},imageComponent:h,negotiableText:_="Negotiable",freeText:d="Free",nameSlug:f,LinkComponent:w},g)=>i.jsx(F.SimpleProductCard,{ref:g,uuid:t,title:r,price:s,currency:n,isNegotiable:o,isFree:x,image:u,imageComponent:h,sellerUuid:m,onSelectCard:a,negotiableText:_,freeText:d,nameSlug:f,LinkComponent:w})),I=$.styled.div`
27
+ `,S=p.forwardRef(({isActive:t,image:r,imageComponent:s,onSelectCard:n=()=>{}},o)=>i.jsx(F,{ref:o,className:t?"active":"",onClick:n,children:y.isDefined(s)?s:i.jsx("img",{src:r,className:"wrapper__image"})})),k=p.forwardRef(({uuid:t,title:r,price:s,currency:n,isNegotiable:o,isFree:u,image:x,sellerUuid:m,onSelectCard:a=()=>{},imageComponent:h,negotiableText:_="Negotiable",freeText:f="Free",nameSlug:w,LinkComponent:c},g)=>i.jsx(b.SimpleProductCard,{ref:g,uuid:t,title:r,price:s,currency:n,isNegotiable:o,isFree:u,image:x,imageComponent:h,sellerUuid:m,onSelectCard:a,negotiableText:_,freeText:f,nameSlug:w,LinkComponent:c})),N=C.styled.div`
28
28
  display: flex;
29
29
  flex-direction: column;
30
30
  align-items: center;
@@ -73,7 +73,13 @@
73
73
  width: 100%;
74
74
  }
75
75
 
76
- @media (max-width: ${C.MOBILE_SIZE_PX+"px"}) {
76
+ @media ${d.down("M")} {
77
+ & .wrapper__cards {
78
+ grid-template-columns: repeat(2, minmax(0, 1fr));
79
+ }
80
+ }
81
+
82
+ @media ${d.down("S")} {
77
83
  & .wrapper__avatars {
78
84
  grid-template-columns: ${t=>`repeat(${t==null?void 0:t.limitAvatarsForMobile}, minmax(0, 1fr))`};
79
85
  gap: auto;
@@ -84,12 +90,12 @@
84
90
  gap: 1rem;
85
91
  }
86
92
  }
87
- `,v=$.styled(l.SkeletonRowWrapper)`
93
+ `,v=C.styled(l.SkeletonRowWrapper)`
88
94
  &.skeleton__tags {
89
95
  max-width: 50rem;
90
96
  }
91
97
 
92
- @media (max-width: ${C.MOBILE_SIZE_PX+"px"}) {
98
+ @media ${d.down("S")} {
93
99
  &.skeleton__tags {
94
100
  overflow-x: hidden;
95
101
 
@@ -108,4 +114,4 @@
108
114
  }
109
115
  }
110
116
  }
111
- `,N=({keyPrefix:t})=>i.jsxs(v,{className:"skeleton__tags",justifyContent:"center",children:[i.jsx(l.SkeletonCirclePlaceholder,{width:"9.875rem",height:"9.875rem"},`${t}-1`),i.jsx(l.SkeletonCirclePlaceholder,{width:"9.875rem",height:"9.875rem"},`${t}-2`),i.jsx(l.SkeletonCirclePlaceholder,{width:"9.875rem",height:"9.875rem"},`${t}-3`),i.jsx(l.SkeletonCirclePlaceholder,{width:"9.875rem",height:"9.875rem"},`${t}-4`)]}),O=({keyPrefix:t,isLoading:r=!1,fallbackComponent:s=i.jsx(i.Fragment,{}),children:n})=>i.jsx(p.Suspense,{fallbackComponent:s,children:r===!0?i.jsx(N,{keyPrefix:t}):n}),W=({keyPrefix:t})=>i.jsxs(v,{className:"skeleton__cards",justifyContent:"center",children:[i.jsx(l.SkeletonLinePlaceholder,{height:"13.75rem"},`${t}-1`),i.jsx(l.SkeletonLinePlaceholder,{height:"13.75rem"},`${t}-2`),i.jsx(l.SkeletonLinePlaceholder,{height:"13.75rem"},`${t}-3`),i.jsx(l.SkeletonLinePlaceholder,{height:"13.75rem"},`${t}-3`)]}),L=({keyPrefix:t,isLoading:r=!1,fallbackComponent:s=i.jsx(i.Fragment,{}),children:n})=>i.jsx(p.Suspense,{fallbackComponent:s,children:r===!0?i.jsx(W,{keyPrefix:t}):n}),P=p.forwardRef(({title:t,subtitle:r,avatars:s=[],limitAvatars:n=4,limit:o=6,limitAvatarsForMobile:x=4,limitForMobile:u=2,items:m=[],onSelectAvatar:a=()=>{},onSelectCard:h=()=>{},isLoadingTags:_=!1,isLoadingCards:d=!1,LinkComponent:f},w)=>{const g=e=>{a==null||a(e)},j=e=>{h==null||h(e)};return i.jsxs(I,{ref:w,limitAvatars:n,limitAvatarsForMobile:x,limitCards:o,limitCardsForMobile:u,children:[i.jsxs("div",{className:"wrapper__heading",children:[t&&i.jsx("div",{className:"wrapper__title",children:t}),r&&i.jsx("div",{className:"wrapper__subtitle",children:r})]}),i.jsx(O,{isLoading:_,keyPrefix:"field-of-interests-with-avatars-tag",children:i.jsx("div",{className:"wrapper__avatars",children:s==null?void 0:s.map((e,c)=>i.jsx(b,{image:e==null?void 0:e.image,imageComponent:e==null?void 0:e.imageComponent,onSelectCard:()=>g==null?void 0:g(e)},`field-of-interests-with-avatars-card-avatar__${c+1}`))})}),i.jsx(L,{isLoading:d,keyPrefix:"field-of-interests-with-avatars-card",children:i.jsx("div",{className:"wrapper__cards",children:m==null?void 0:m.map((e,c)=>i.jsx(k,{uuid:e==null?void 0:e.uuid,title:e==null?void 0:e.title,price:e==null?void 0:e.price,currency:e==null?void 0:e.currency,isNegotiable:e==null?void 0:e.isNegotiable,isFree:e==null?void 0:e.isFree,image:e==null?void 0:e.image,imageComponent:e==null?void 0:e.imageComponent,sellerUuid:e==null?void 0:e.sellerUuid,negotiableText:e==null?void 0:e.negotiableText,freeText:e==null?void 0:e.freeText,onSelectCard:()=>j==null?void 0:j(e),nameSlug:e==null?void 0:e.nameSlug,LinkComponent:f},`field-of-interests-with-avatars-card__${c+1}`))})})]})});module.exports=P;
117
+ `,W=({keyPrefix:t})=>i.jsxs(v,{className:"skeleton__tags",justifyContent:"center",children:[i.jsx(l.SkeletonCirclePlaceholder,{width:"9.875rem",height:"9.875rem"},`${t}-1`),i.jsx(l.SkeletonCirclePlaceholder,{width:"9.875rem",height:"9.875rem"},`${t}-2`),i.jsx(l.SkeletonCirclePlaceholder,{width:"9.875rem",height:"9.875rem"},`${t}-3`),i.jsx(l.SkeletonCirclePlaceholder,{width:"9.875rem",height:"9.875rem"},`${t}-4`)]}),q=({keyPrefix:t,isLoading:r=!1,fallbackComponent:s=i.jsx(i.Fragment,{}),children:n})=>i.jsx(p.Suspense,{fallbackComponent:s,children:r===!0?i.jsx(W,{keyPrefix:t}):n}),I=({keyPrefix:t})=>i.jsxs(v,{className:"skeleton__cards",justifyContent:"center",children:[i.jsx(l.SkeletonLinePlaceholder,{height:"13.75rem"},`${t}-1`),i.jsx(l.SkeletonLinePlaceholder,{height:"13.75rem"},`${t}-2`),i.jsx(l.SkeletonLinePlaceholder,{height:"13.75rem"},`${t}-3`),i.jsx(l.SkeletonLinePlaceholder,{height:"13.75rem"},`${t}-3`)]}),O=({keyPrefix:t,isLoading:r=!1,fallbackComponent:s=i.jsx(i.Fragment,{}),children:n})=>i.jsx(p.Suspense,{fallbackComponent:s,children:r===!0?i.jsx(I,{keyPrefix:t}):n}),A=p.forwardRef(({title:t,subtitle:r,avatars:s=[],limitAvatars:n=4,limit:o=6,limitAvatarsForMobile:u=4,limitForMobile:x=2,items:m=[],onSelectAvatar:a=()=>{},onSelectCard:h=()=>{},isLoadingTags:_=!1,isLoadingCards:f=!1,LinkComponent:w},c)=>{const g=e=>{a==null||a(e)},j=e=>{h==null||h(e)};return i.jsxs(N,{ref:c,limitAvatars:n,limitAvatarsForMobile:u,limitCards:o,limitCardsForMobile:x,children:[i.jsxs("div",{className:"wrapper__heading",children:[t&&i.jsx("div",{className:"wrapper__title",children:t}),r&&i.jsx("div",{className:"wrapper__subtitle",children:r})]}),i.jsx(q,{isLoading:_,keyPrefix:"field-of-interests-with-avatars-tag",children:i.jsx("div",{className:"wrapper__avatars",children:s==null?void 0:s.map((e,$)=>i.jsx(S,{image:e==null?void 0:e.image,imageComponent:e==null?void 0:e.imageComponent,onSelectCard:()=>g==null?void 0:g(e)},`field-of-interests-with-avatars-card-avatar__${$+1}`))})}),i.jsx(O,{isLoading:f,keyPrefix:"field-of-interests-with-avatars-card",children:i.jsx("div",{className:"wrapper__cards",children:m==null?void 0:m.map((e,$)=>i.jsx(k,{uuid:e==null?void 0:e.uuid,title:e==null?void 0:e.title,price:e==null?void 0:e.price,currency:e==null?void 0:e.currency,isNegotiable:e==null?void 0:e.isNegotiable,isFree:e==null?void 0:e.isFree,image:e==null?void 0:e.image,imageComponent:e==null?void 0:e.imageComponent,sellerUuid:e==null?void 0:e.sellerUuid,negotiableText:e==null?void 0:e.negotiableText,freeText:e==null?void 0:e.freeText,onSelectCard:()=>j==null?void 0:j(e),nameSlug:e==null?void 0:e.nameSlug,LinkComponent:w},`field-of-interests-with-avatars-card__${$+1}`))})})]})});module.exports=A;
@@ -1,11 +1,11 @@
1
1
  import { jsx as i, jsxs as f, Fragment as y } from "react/jsx-runtime";
2
- import { forwardRef as C, Suspense as N } from "react";
3
- import { l as I } from "./utils-DtEfC-TX.js";
4
- import { s as F } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
- import { M as b } from "./consts-BuFChS64.js";
6
- import { S as O } from "./index-u_XFwsvc.js";
7
- import { S as j, d as p, a as g } from "./style-BwQ4djFC.js";
8
- const k = F.div`
2
+ import { forwardRef as F, Suspense as N } from "react";
3
+ import { m as S } from "./utils-B2fsQ6PS.js";
4
+ import { s as b } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
+ import { d as _ } from "./breakpoints-ff0SIcV3.js";
6
+ import { S as j } from "./index-9KyU46J0.js";
7
+ import { S as k, d as g, a as h } from "./style-BwQ4djFC.js";
8
+ const I = b.div`
9
9
  width: 100%;
10
10
  height: auto;
11
11
  border-radius: 999px;
@@ -26,60 +26,60 @@ const k = F.div`
26
26
  border: var(--yellow-600, #d97706);
27
27
  }
28
28
 
29
- @media (max-width: ${b + "px"}) {
29
+ @media ${_("S")} {
30
30
  & .wrapper__image {
31
31
  height: auto;
32
32
  }
33
33
  }
34
- `, S = C(
34
+ `, O = F(
35
35
  ({ isActive: t, image: s, imageComponent: r, onSelectCard: n = () => {
36
36
  } }, l) => /* @__PURE__ */ i(
37
- k,
37
+ I,
38
38
  {
39
39
  ref: l,
40
40
  className: t ? "active" : "",
41
41
  onClick: n,
42
- children: I(r) ? r : /* @__PURE__ */ i("img", { src: s, className: "wrapper__image" })
42
+ children: S(r) ? r : /* @__PURE__ */ i("img", { src: s, className: "wrapper__image" })
43
43
  }
44
44
  )
45
- ), A = C(
45
+ ), A = F(
46
46
  ({
47
47
  uuid: t,
48
48
  title: s,
49
49
  price: r,
50
50
  currency: n,
51
51
  isNegotiable: l,
52
- isFree: _,
53
- image: u,
52
+ isFree: u,
53
+ image: d,
54
54
  sellerUuid: m,
55
55
  onSelectCard: o = () => {
56
56
  },
57
57
  imageComponent: a,
58
- negotiableText: d = "Negotiable",
59
- freeText: w = "Free",
58
+ negotiableText: w = "Negotiable",
59
+ freeText: $ = "Free",
60
60
  nameSlug: x,
61
- LinkComponent: $
62
- }, h) => /* @__PURE__ */ i(
63
- O,
61
+ LinkComponent: c
62
+ }, p) => /* @__PURE__ */ i(
63
+ j,
64
64
  {
65
- ref: h,
65
+ ref: p,
66
66
  uuid: t,
67
67
  title: s,
68
68
  price: r,
69
69
  currency: n,
70
70
  isNegotiable: l,
71
- isFree: _,
72
- image: u,
71
+ isFree: u,
72
+ image: d,
73
73
  imageComponent: a,
74
74
  sellerUuid: m,
75
75
  onSelectCard: o,
76
- negotiableText: d,
77
- freeText: w,
76
+ negotiableText: w,
77
+ freeText: $,
78
78
  nameSlug: x,
79
- LinkComponent: $
79
+ LinkComponent: c
80
80
  }
81
81
  )
82
- ), T = F.div`
82
+ ), T = b.div`
83
83
  display: flex;
84
84
  flex-direction: column;
85
85
  align-items: center;
@@ -128,7 +128,13 @@ const k = F.div`
128
128
  width: 100%;
129
129
  }
130
130
 
131
- @media (max-width: ${b + "px"}) {
131
+ @media ${_("M")} {
132
+ & .wrapper__cards {
133
+ grid-template-columns: repeat(2, minmax(0, 1fr));
134
+ }
135
+ }
136
+
137
+ @media ${_("S")} {
132
138
  & .wrapper__avatars {
133
139
  grid-template-columns: ${(t) => `repeat(${t == null ? void 0 : t.limitAvatarsForMobile}, minmax(0, 1fr))`};
134
140
  gap: auto;
@@ -139,12 +145,12 @@ const k = F.div`
139
145
  gap: 1rem;
140
146
  }
141
147
  }
142
- `, W = F(j)`
148
+ `, W = b(k)`
143
149
  &.skeleton__tags {
144
150
  max-width: 50rem;
145
151
  }
146
152
 
147
- @media (max-width: ${b + "px"}) {
153
+ @media ${_("S")} {
148
154
  &.skeleton__tags {
149
155
  overflow-x: hidden;
150
156
 
@@ -165,7 +171,7 @@ const k = F.div`
165
171
  }
166
172
  `, M = ({ keyPrefix: t }) => /* @__PURE__ */ f(W, { className: "skeleton__tags", justifyContent: "center", children: [
167
173
  /* @__PURE__ */ i(
168
- p,
174
+ g,
169
175
  {
170
176
  width: "9.875rem",
171
177
  height: "9.875rem"
@@ -173,7 +179,7 @@ const k = F.div`
173
179
  `${t}-1`
174
180
  ),
175
181
  /* @__PURE__ */ i(
176
- p,
182
+ g,
177
183
  {
178
184
  width: "9.875rem",
179
185
  height: "9.875rem"
@@ -181,7 +187,7 @@ const k = F.div`
181
187
  `${t}-2`
182
188
  ),
183
189
  /* @__PURE__ */ i(
184
- p,
190
+ g,
185
191
  {
186
192
  width: "9.875rem",
187
193
  height: "9.875rem"
@@ -189,7 +195,7 @@ const k = F.div`
189
195
  `${t}-3`
190
196
  ),
191
197
  /* @__PURE__ */ i(
192
- p,
198
+ g,
193
199
  {
194
200
  width: "9.875rem",
195
201
  height: "9.875rem"
@@ -202,34 +208,34 @@ const k = F.div`
202
208
  fallbackComponent: r = /* @__PURE__ */ i(y, {}),
203
209
  children: n
204
210
  }) => /* @__PURE__ */ i(N, { fallbackComponent: r, children: s === !0 ? /* @__PURE__ */ i(M, { keyPrefix: t }) : n }), z = ({ keyPrefix: t }) => /* @__PURE__ */ f(W, { className: "skeleton__cards", justifyContent: "center", children: [
205
- /* @__PURE__ */ i(g, { height: "13.75rem" }, `${t}-1`),
206
- /* @__PURE__ */ i(g, { height: "13.75rem" }, `${t}-2`),
207
- /* @__PURE__ */ i(g, { height: "13.75rem" }, `${t}-3`),
208
- /* @__PURE__ */ i(g, { height: "13.75rem" }, `${t}-3`)
209
- ] }), E = ({
211
+ /* @__PURE__ */ i(h, { height: "13.75rem" }, `${t}-1`),
212
+ /* @__PURE__ */ i(h, { height: "13.75rem" }, `${t}-2`),
213
+ /* @__PURE__ */ i(h, { height: "13.75rem" }, `${t}-3`),
214
+ /* @__PURE__ */ i(h, { height: "13.75rem" }, `${t}-3`)
215
+ ] }), R = ({
210
216
  keyPrefix: t,
211
217
  isLoading: s = !1,
212
218
  fallbackComponent: r = /* @__PURE__ */ i(y, {}),
213
219
  children: n
214
- }) => /* @__PURE__ */ i(N, { fallbackComponent: r, children: s === !0 ? /* @__PURE__ */ i(z, { keyPrefix: t }) : n }), G = C(
220
+ }) => /* @__PURE__ */ i(N, { fallbackComponent: r, children: s === !0 ? /* @__PURE__ */ i(z, { keyPrefix: t }) : n }), J = F(
215
221
  ({
216
222
  title: t,
217
223
  subtitle: s,
218
224
  avatars: r = [],
219
225
  limitAvatars: n = 4,
220
226
  limit: l = 6,
221
- limitAvatarsForMobile: _ = 4,
222
- limitForMobile: u = 2,
227
+ limitAvatarsForMobile: u = 4,
228
+ limitForMobile: d = 2,
223
229
  items: m = [],
224
230
  onSelectAvatar: o = () => {
225
231
  },
226
232
  onSelectCard: a = () => {
227
233
  },
228
- isLoadingTags: d = !1,
229
- isLoadingCards: w = !1,
234
+ isLoadingTags: w = !1,
235
+ isLoadingCards: $ = !1,
230
236
  LinkComponent: x
231
- }, $) => {
232
- const h = (e) => {
237
+ }, c) => {
238
+ const p = (e) => {
233
239
  o == null || o(e);
234
240
  }, v = (e) => {
235
241
  a == null || a(e);
@@ -237,11 +243,11 @@ const k = F.div`
237
243
  return /* @__PURE__ */ f(
238
244
  T,
239
245
  {
240
- ref: $,
246
+ ref: c,
241
247
  limitAvatars: n,
242
- limitAvatarsForMobile: _,
248
+ limitAvatarsForMobile: u,
243
249
  limitCards: l,
244
- limitCardsForMobile: u,
250
+ limitCardsForMobile: d,
245
251
  children: [
246
252
  /* @__PURE__ */ f("div", { className: "wrapper__heading", children: [
247
253
  t && /* @__PURE__ */ i("div", { className: "wrapper__title", children: t }),
@@ -250,25 +256,25 @@ const k = F.div`
250
256
  /* @__PURE__ */ i(
251
257
  L,
252
258
  {
253
- isLoading: d,
259
+ isLoading: w,
254
260
  keyPrefix: "field-of-interests-with-avatars-tag",
255
- children: /* @__PURE__ */ i("div", { className: "wrapper__avatars", children: r == null ? void 0 : r.map((e, c) => /* @__PURE__ */ i(
256
- S,
261
+ children: /* @__PURE__ */ i("div", { className: "wrapper__avatars", children: r == null ? void 0 : r.map((e, C) => /* @__PURE__ */ i(
262
+ O,
257
263
  {
258
264
  image: e == null ? void 0 : e.image,
259
265
  imageComponent: e == null ? void 0 : e.imageComponent,
260
- onSelectCard: () => h == null ? void 0 : h(e)
266
+ onSelectCard: () => p == null ? void 0 : p(e)
261
267
  },
262
- `field-of-interests-with-avatars-card-avatar__${c + 1}`
268
+ `field-of-interests-with-avatars-card-avatar__${C + 1}`
263
269
  )) })
264
270
  }
265
271
  ),
266
272
  /* @__PURE__ */ i(
267
- E,
273
+ R,
268
274
  {
269
- isLoading: w,
275
+ isLoading: $,
270
276
  keyPrefix: "field-of-interests-with-avatars-card",
271
- children: /* @__PURE__ */ i("div", { className: "wrapper__cards", children: m == null ? void 0 : m.map((e, c) => /* @__PURE__ */ i(
277
+ children: /* @__PURE__ */ i("div", { className: "wrapper__cards", children: m == null ? void 0 : m.map((e, C) => /* @__PURE__ */ i(
272
278
  A,
273
279
  {
274
280
  uuid: e == null ? void 0 : e.uuid,
@@ -286,7 +292,7 @@ const k = F.div`
286
292
  nameSlug: e == null ? void 0 : e.nameSlug,
287
293
  LinkComponent: x
288
294
  },
289
- `field-of-interests-with-avatars-card__${c + 1}`
295
+ `field-of-interests-with-avatars-card__${C + 1}`
290
296
  )) })
291
297
  }
292
298
  )
@@ -296,5 +302,5 @@ const k = F.div`
296
302
  }
297
303
  );
298
304
  export {
299
- G as default
305
+ J as default
300
306
  };