@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.
- package/BREAKPOINTS.md +148 -0
- package/dist/Accordion.cjs +1 -1
- package/dist/Accordion.js +6 -6
- package/dist/AccordionSummary.cjs +1 -1
- package/dist/AccordionSummary.js +8 -8
- package/dist/ActionsToolbar.cjs +15 -4
- package/dist/ActionsToolbar.js +58 -46
- package/dist/AdBannerSection.cjs +4 -4
- package/dist/AdBannerSection.js +5 -5
- package/dist/Alert.cjs +1 -1
- package/dist/Alert.js +1 -1
- package/dist/Avatar.cjs +1 -1
- package/dist/Avatar.js +12 -12
- package/dist/Badge.cjs +1 -1
- package/dist/Badge.js +5 -5
- package/dist/BannerNextSection.cjs +2 -2
- package/dist/BannerNextSection.js +13 -13
- package/dist/BannerSectionBasic.cjs +4 -4
- package/dist/BannerSectionBasic.js +22 -22
- package/dist/BannerSectionCarousel.cjs +28 -6
- package/dist/BannerSectionCarousel.js +72 -50
- package/dist/BannerSectionGrid.cjs +3 -3
- package/dist/BannerSectionGrid.js +13 -13
- package/dist/BannerSectionSimple.cjs +15 -15
- package/dist/BannerSectionSimple.js +40 -40
- package/dist/BannerSectionWithList.cjs +7 -7
- package/dist/BannerSectionWithList.js +20 -20
- package/dist/BannerSectionWithListImage.cjs +6 -9
- package/dist/BannerSectionWithListImage.js +17 -20
- package/dist/BlogCardsSponsoredSection.cjs +7 -5
- package/dist/BlogCardsSponsoredSection.js +32 -30
- package/dist/BlogCategoryCardsSection.cjs +1 -1
- package/dist/BlogCategoryCardsSection.js +2 -2
- package/dist/BlogExploreSection.cjs +4 -4
- package/dist/BlogExploreSection.js +60 -60
- package/dist/BlogImagePathSection.cjs +3 -14
- package/dist/BlogImagePathSection.js +27 -39
- package/dist/BlogListSection.cjs +6 -6
- package/dist/BlogListSection.js +32 -32
- package/dist/BlogProductCardsSection.cjs +1 -1
- package/dist/BlogProductCardsSection.js +3 -3
- package/dist/BlogShopCardsSection.cjs +1 -1
- package/dist/BlogShopCardsSection.js +3 -3
- package/dist/BlogSingleSection.cjs +3 -3
- package/dist/BlogSingleSection.js +12 -12
- package/dist/BlogsSectionDetailed.cjs +14 -6
- package/dist/BlogsSectionDetailed.js +53 -45
- package/dist/BlogsSectionLarge.cjs +13 -5
- package/dist/BlogsSectionLarge.js +48 -40
- package/dist/BlogsSectionSimple.cjs +14 -9
- package/dist/BlogsSectionSimple.js +43 -38
- package/dist/BlogsSectionSimpleCentered.cjs +17 -8
- package/dist/BlogsSectionSimpleCentered.js +68 -59
- package/dist/BlogsSectionWithFilters.cjs +16 -11
- package/dist/BlogsSectionWithFilters.js +43 -38
- package/dist/BrandHitsSection.cjs +7 -7
- package/dist/BrandHitsSection.js +13 -13
- package/dist/Breadcrumbs.cjs +1 -1
- package/dist/Breadcrumbs.js +16 -16
- package/dist/Button.cjs +1 -1
- package/dist/Button.js +1 -1
- package/dist/ButtonGroup.cjs +1 -1
- package/dist/ButtonGroup.js +1 -1
- package/dist/CalorieCalculatorSection.cjs +15 -15
- package/dist/CalorieCalculatorSection.js +84 -84
- package/dist/{CategorySimpleCard-COGlTj06.cjs → CategorySimpleCard-CIBvknos.cjs} +3 -3
- package/dist/{CategorySimpleCard-Em84kZzQ.js → CategorySimpleCard-CkSwvJRw.js} +8 -8
- package/dist/CheckBoxInput.cjs +1 -1
- package/dist/CheckBoxInput.js +1 -1
- package/dist/Chip.cjs +1 -1
- package/dist/Chip.js +1 -1
- package/dist/ColorInput.cjs +1 -1
- package/dist/ColorInput.js +14 -14
- package/dist/ConfirmationForm.cjs +1 -1
- package/dist/ConfirmationForm.js +5 -5
- package/dist/ContactSection.cjs +4 -4
- package/dist/ContactSection.js +72 -72
- package/dist/CustomLoanMapSection.cjs +3 -3
- package/dist/CustomLoanMapSection.js +67 -67
- package/dist/{CustomStyles-C86XQqBE.cjs → CustomStyles-2TQQSwtU.cjs} +1 -1
- package/dist/{CustomStyles-DtWxboEM.js → CustomStyles-DR4WuDUN.js} +1 -1
- package/dist/{DailyMotion-CpZExcrg.cjs → DailyMotion-BPdBW5Yv.cjs} +1 -1
- package/dist/{DailyMotion-BBcJkMo_.js → DailyMotion-P9S-WhTX.js} +1 -1
- package/dist/DateInput.cjs +6 -6
- package/dist/DateInput.js +646 -645
- package/dist/DecimalInput.cjs +1 -1
- package/dist/DecimalInput.js +1 -1
- package/dist/DecimalInputV2.cjs +1 -1
- package/dist/DecimalInputV2.js +1 -1
- package/dist/DetailedProductsInfinitiveSection.cjs +10 -4
- package/dist/DetailedProductsInfinitiveSection.js +71 -65
- package/dist/DetailedProductsSection.cjs +7 -3
- package/dist/DetailedProductsSection.js +55 -51
- package/dist/DetailsView.cjs +1 -1
- package/dist/DetailsView.js +1 -1
- package/dist/DoubleRangeSlider.cjs +1 -1
- package/dist/DoubleRangeSlider.js +1 -1
- package/dist/DragAndDropFile.cjs +1 -1
- package/dist/DragAndDropFile.js +1 -1
- package/dist/DragDropFiles.cjs +1 -1
- package/dist/DragDropFiles.js +13 -13
- package/dist/Drawer.cjs +1 -1
- package/dist/Drawer.js +1 -1
- package/dist/Dropdown.cjs +1 -1
- package/dist/Dropdown.js +2 -2
- package/dist/DropdownItem.cjs +1 -1
- package/dist/DropdownItem.js +1 -1
- package/dist/DropdownLookup.cjs +1 -1
- package/dist/DropdownLookup.js +1 -1
- package/dist/DropdownMenu.cjs +1 -1
- package/dist/DropdownMenu.js +7 -7
- package/dist/EditableTable.cjs +1 -1
- package/dist/EditableTable.js +8 -8
- package/dist/{Facebook-DoKw-XxT.cjs → Facebook-C8L2KR4O.cjs} +1 -1
- package/dist/{Facebook-BSWPEXjA.js → Facebook-vhbBr0rd.js} +1 -1
- package/dist/FaqSection.cjs +3 -3
- package/dist/FaqSection.js +52 -52
- package/dist/FeedbackSection.cjs +3 -3
- package/dist/FeedbackSection.js +15 -15
- package/dist/FieldOfInterestsMasonrySection.cjs +18 -12
- package/dist/FieldOfInterestsMasonrySection.js +73 -67
- package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +13 -7
- package/dist/FieldOfInterestsWithAvatarsCardsSection.js +64 -58
- package/dist/FieldOfInterestsWithTagsCardsSection.cjs +15 -9
- package/dist/FieldOfInterestsWithTagsCardsSection.js +42 -36
- package/dist/FileInput.cjs +1 -1
- package/dist/FileInput.js +1 -1
- package/dist/{FilePlayer-D9az_lc_.cjs → FilePlayer-BVFgHY_f.cjs} +1 -1
- package/dist/{FilePlayer-BtGpIWnK.js → FilePlayer-CXTLAokk.js} +1 -1
- package/dist/FlexGridItem.cjs +1 -1
- package/dist/FlexGridItem.js +1 -1
- package/dist/FormField.cjs +1 -1
- package/dist/FormField.js +1 -1
- package/dist/FormView.cjs +1 -1
- package/dist/FormView.js +1 -1
- package/dist/GeneralWithTagsCardsSection.cjs +14 -8
- package/dist/GeneralWithTagsCardsSection.js +31 -25
- package/dist/GiftCardsSection.cjs +15 -7
- package/dist/GiftCardsSection.js +44 -36
- package/dist/HelpBannerSection.cjs +3 -3
- package/dist/HelpBannerSection.js +4 -4
- package/dist/Icon.cjs +1 -1
- package/dist/Icon.js +4 -4
- package/dist/IconButton.cjs +1 -1
- package/dist/IconButton.js +1 -1
- package/dist/{Kaltura-CK6JHUZC.cjs → Kaltura-C2fRoaEg.cjs} +1 -1
- package/dist/{Kaltura-BDqlEQpd.js → Kaltura-CRGK2EP7.js} +1 -1
- package/dist/Kanban.cjs +1 -1
- package/dist/Kanban.js +1 -1
- package/dist/KanbanActionsToolbar.cjs +1 -1
- package/dist/KanbanActionsToolbar.js +5 -5
- package/dist/KanbanView.cjs +1 -1
- package/dist/KanbanView.js +9 -9
- package/dist/Link.cjs +1 -1
- package/dist/Link.js +1 -1
- package/dist/LoanCalculatorSection.cjs +3 -3
- package/dist/LoanCalculatorSection.js +17 -17
- package/dist/LocationFinderSection.cjs +1 -1
- package/dist/LocationFinderSection.js +1 -1
- package/dist/LocationSearchSection.cjs +13 -6
- package/dist/LocationSearchSection.js +34 -27
- package/dist/MasonryGeneralCardsSection.cjs +7 -7
- package/dist/MasonryGeneralCardsSection.js +24 -24
- package/dist/MenuItem.cjs +1 -1
- package/dist/MenuItem.js +14 -14
- package/dist/{Mixcloud-zAh6j7Ha.js → Mixcloud-Cn5M-EIT.js} +1 -1
- package/dist/{Mixcloud-C1Boh2Bm.cjs → Mixcloud-D09BQNOt.cjs} +1 -1
- package/dist/Modal.cjs +1 -1
- package/dist/Modal.js +1 -1
- package/dist/MultiSelectDropdown.cjs +1 -1
- package/dist/MultiSelectDropdown.js +1 -1
- package/dist/MultiSelectDropdownLookup.cjs +1 -1
- package/dist/MultiSelectDropdownLookup.js +1 -1
- package/dist/{Mux-C6TwZeaq.cjs → Mux-C-xD7crc.cjs} +1 -1
- package/dist/{Mux-BGTG_Tvc.js → Mux-C6szci3w.js} +1 -1
- package/dist/NestedDropdownItem.cjs +1 -1
- package/dist/NestedDropdownItem.js +9 -9
- package/dist/NestedMenuItem.cjs +1 -1
- package/dist/NestedMenuItem.js +7 -7
- package/dist/NotificationContainer.cjs +1 -1
- package/dist/NotificationContainer.js +1 -1
- package/dist/NotificationMessage.cjs +1 -1
- package/dist/NotificationMessage.js +5 -5
- package/dist/NumberInput.cjs +1 -1
- package/dist/NumberInput.js +8 -8
- package/dist/OverlayGeneralCardsSection.cjs +19 -31
- package/dist/OverlayGeneralCardsSection.js +51 -63
- package/dist/PartnerBannerSection.cjs +2 -2
- package/dist/PartnerBannerSection.js +2 -2
- package/dist/PartnerBrandsSection.cjs +2 -2
- package/dist/PartnerBrandsSection.js +24 -17
- package/dist/PartnerCardsSection.cjs +3 -3
- package/dist/PartnerCardsSection.js +18 -18
- package/dist/PartnerStatsSection.cjs +2 -2
- package/dist/PartnerStatsSection.js +3 -3
- package/dist/PasswordInput.cjs +1 -1
- package/dist/PasswordInput.js +19 -19
- package/dist/PopoverContent.cjs +1 -1
- package/dist/PopoverContent.js +1 -1
- package/dist/ProductsWithBannerSection.cjs +20 -10
- package/dist/ProductsWithBannerSection.js +79 -69
- package/dist/ProgressBar.cjs +1 -1
- package/dist/ProgressBar.js +5 -5
- package/dist/QuattroCardsSection.cjs +8 -6
- package/dist/QuattroCardsSection.js +19 -17
- package/dist/QuizSection.cjs +9 -9
- package/dist/QuizSection.js +56 -56
- package/dist/RadioInput.cjs +1 -1
- package/dist/RadioInput.js +1 -1
- package/dist/RangeSlider.cjs +1 -1
- package/dist/RangeSlider.js +1 -1
- package/dist/ReviewsSection.cjs +24 -16
- package/dist/ReviewsSection.js +56 -48
- package/dist/SalesCampaignsSection.cjs +25 -21
- package/dist/SalesCampaignsSection.js +248 -241
- package/dist/{SearchSection-DAaMecR4.js → SearchSection-BEYnWPSr.js} +69 -69
- package/dist/{SearchSection-B94YN_6P.cjs → SearchSection-DUY61r3k.cjs} +6 -6
- package/dist/SearchSection.cjs +1 -1
- package/dist/SearchSection.js +1 -1
- package/dist/Separator.cjs +1 -1
- package/dist/Separator.js +3 -3
- package/dist/SeparatorSection.cjs +3 -3
- package/dist/SeparatorSection.js +4 -4
- package/dist/ShopCardsSection.cjs +11 -5
- package/dist/ShopCardsSection.js +40 -34
- package/dist/Sidebar.cjs +1 -1
- package/dist/Sidebar.js +1 -1
- package/dist/SimpleCategoriesSection.cjs +9 -5
- package/dist/SimpleCategoriesSection.js +61 -57
- package/dist/SimpleProductsSection.cjs +44 -11
- package/dist/SimpleProductsSection.js +100 -67
- package/dist/{SoundCloud-C6R6E6Zc.cjs → SoundCloud-BsL6Onq6.cjs} +1 -1
- package/dist/{SoundCloud-lO8wg_0s.js → SoundCloud-Cfaj1Ze1.js} +1 -1
- package/dist/Spinner.cjs +1 -1
- package/dist/Spinner.js +1 -1
- package/dist/StatsSection.cjs +3 -3
- package/dist/StatsSection.js +11 -11
- package/dist/{Streamable-Dwa5ZEK4.js → Streamable-CG8_-_w7.js} +1 -1
- package/dist/{Streamable-DZO95CiT.cjs → Streamable-DFtyk9Dt.cjs} +1 -1
- package/dist/Surface.cjs +1 -1
- package/dist/Surface.js +1 -1
- package/dist/SwipeableDrawer.cjs +1 -1
- package/dist/SwipeableDrawer.js +1 -1
- package/dist/TabItem.cjs +1 -1
- package/dist/TabItem.js +1 -1
- package/dist/Table.cjs +54 -49
- package/dist/Table.js +417 -401
- package/dist/TableView.cjs +10 -2
- package/dist/TableView.js +84 -75
- package/dist/TextAreaInput.cjs +1 -1
- package/dist/TextAreaInput.js +1 -1
- package/dist/TextInput.cjs +1 -1
- package/dist/TextInput.js +1 -1
- package/dist/ThemeProvider.cjs +4 -4
- package/dist/ThemeProvider.js +11 -10
- package/dist/TimeInput.cjs +1 -1
- package/dist/TimeInput.js +1 -1
- package/dist/Toggle.cjs +1 -1
- package/dist/Toggle.js +1 -1
- package/dist/ToggleSection.cjs +7 -7
- package/dist/ToggleSection.js +38 -38
- package/dist/TreeMenuSeparator.cjs +1 -1
- package/dist/TreeMenuSeparator.js +3 -3
- package/dist/{Twitch-B17oKtD0.cjs → Twitch-BIUEEDiE.cjs} +1 -1
- package/dist/{Twitch-C73-dwWo.js → Twitch-CbU_0Tx9.js} +1 -1
- package/dist/UploadedFile.cjs +1 -1
- package/dist/UploadedFile.js +7 -7
- package/dist/UrgentSaleProductsSection.cjs +10 -4
- package/dist/UrgentSaleProductsSection.js +67 -61
- package/dist/{Vidyard-s1MMcaRm.cjs → Vidyard-QkjVIros.cjs} +1 -1
- package/dist/{Vidyard-B6GdBHsM.js → Vidyard-S6Fl_F78.js} +1 -1
- package/dist/{Vimeo-kzHz4Gco.js → Vimeo-5bkeYCV4.js} +1 -1
- package/dist/{Vimeo-J1l_SU2E.cjs → Vimeo-B5jsifNT.cjs} +1 -1
- package/dist/{Wistia-CudQyDHM.cjs → Wistia-dpbMmx23.cjs} +1 -1
- package/dist/{Wistia-w4jnqd7y.js → Wistia-gOZBV0XZ.js} +1 -1
- package/dist/{YouTube-BAYKouHS.cjs → YouTube-BfZRCB6O.cjs} +1 -1
- package/dist/{YouTube-BKyipPZx.js → YouTube-XoIB4ATQ.js} +1 -1
- package/dist/breakpoints-CcVm-gVm.cjs +1 -0
- package/dist/breakpoints-ff0SIcV3.js +91 -0
- package/dist/{index-u_XFwsvc.js → index-9KyU46J0.js} +11 -9
- package/dist/{index-CSgGox95.cjs → index-B9c6y2J5.cjs} +3 -3
- package/dist/{index-CS4w87SW.cjs → index-BEgD9vNo.cjs} +9 -9
- package/dist/{index-BC2PHcI1.js → index-BWeXujWl.js} +10 -10
- package/dist/index-B_ilx3wM.cjs +16 -0
- package/dist/{index-B22BZVBG.js → index-BvMY2TbK.js} +1 -1
- package/dist/{index-CwMCk9wV.js → index-BzSWu-7v.js} +67 -67
- package/dist/{index-TIqKd2Dv.js → index-C-uOIDDa.js} +2 -2
- package/dist/{index-bihqNqQk.js → index-C4HycAPS.js} +6 -6
- package/dist/{index-BWE-RCPy.cjs → index-CBZ-jNah.cjs} +4 -4
- package/dist/{index-D_5jNP-o.cjs → index-CUaeb_TU.cjs} +5 -5
- package/dist/{index-DK8dqEUQ.js → index-CoQ9APCD.js} +11 -11
- package/dist/{index-BAJkosVg.cjs → index-CsTfXxpp.cjs} +2 -2
- package/dist/{index-D0JDnm9b.cjs → index-Dc0EEBRW.cjs} +4 -4
- package/dist/{index-uwl7BjRF.cjs → index-DsINTjQk.cjs} +1 -1
- package/dist/{index-Cm414y95.js → index-L_Va5-wK.js} +13 -13
- package/dist/{index-CBMsUFkS.js → index-hC-E71GE.js} +11 -11
- package/dist/{index-BFc3nxYZ.cjs → index-of6WydGq.cjs} +4 -2
- package/dist/{index-BASX-BjS.js → index-rYUwBlpp.js} +63 -63
- package/dist/{index-D0IYt1s3.cjs → index-uCWKRzoS.cjs} +2 -2
- package/dist/{index-CRk3vcd4.cjs → index-vQOR22Py.cjs} +4 -4
- package/dist/{index-D-86mDtn.js → index-yARaIaLj.js} +29 -29
- package/dist/index.cjs +1 -1
- package/dist/index.js +213 -194
- package/dist/{style-BTTXJFJN.cjs → style-AYc9hnFj.cjs} +14 -2
- package/dist/{style-neMbLWE6.js → style-BUyFad_y.js} +4 -4
- package/dist/{style-tw6KjI2J.js → style-Bq3rMbnN.js} +16 -4
- package/dist/{style-B4kAj6YU.cjs → style-DC05rdyx.cjs} +5 -5
- package/dist/{tag-Dm8CW4TM.js → tag-Bi8gg6hJ.js} +12 -12
- package/dist/{tag-UQjq2_Ba.cjs → tag-DSnhWWHE.cjs} +5 -5
- package/dist/{utils-DtEfC-TX.js → theme-Befg4g_L.js} +19 -378
- package/dist/theme-Q3WOGKWQ.cjs +1 -0
- package/dist/{useDetectMobile-Bkvj0VMa.js → useDetectMobile-CcVo3PNi.js} +1 -1
- package/dist/useDetectMobile-DYV6V1yw.cjs +1 -0
- package/dist/utils-B2fsQ6PS.js +334 -0
- package/dist/utils-CITgSxXe.cjs +51 -0
- package/package.json +1 -1
- package/dist/consts-BuFChS64.js +0 -7
- package/dist/consts-goSZX3xP.cjs +0 -1
- package/dist/index-D-3I_Ppj.cjs +0 -16
- package/dist/useDetectMobile-zkbzoOGV.cjs +0 -1
- 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
|
|
3
|
-
import {
|
|
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
|
|
6
|
-
import {
|
|
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
|
|
9
|
-
const
|
|
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
|
-
${
|
|
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
|
-
${
|
|
60
|
+
${N(2)}
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
@media
|
|
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
|
-
`,
|
|
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
|
-
${
|
|
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
|
|
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
|
-
`,
|
|
167
|
+
`, B = z(
|
|
168
168
|
({ text: t, isActive: l = !1, icon: i, onSelectCard: a = () => {
|
|
169
169
|
} }, d) => /* @__PURE__ */ o(
|
|
170
|
-
|
|
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
|
-
),
|
|
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:
|
|
191
|
-
LinkComponent:
|
|
190
|
+
link: x,
|
|
191
|
+
LinkComponent: v
|
|
192
192
|
}, I) => {
|
|
193
|
-
const
|
|
193
|
+
const c = v || "a", { theme: h } = j();
|
|
194
194
|
return /* @__PURE__ */ o(
|
|
195
|
-
|
|
195
|
+
D,
|
|
196
196
|
{
|
|
197
197
|
ref: I,
|
|
198
|
-
theme:
|
|
198
|
+
theme: h,
|
|
199
199
|
className: d,
|
|
200
200
|
onClick: k,
|
|
201
|
-
as:
|
|
202
|
-
...
|
|
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
|
-
),
|
|
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
|
|
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
|
-
`,
|
|
282
|
+
`, Q = $(A)`
|
|
277
283
|
&.skeleton__tags {
|
|
278
284
|
max-width: 50rem;
|
|
279
285
|
}
|
|
280
286
|
|
|
281
|
-
@media
|
|
287
|
+
@media ${u("S")} {
|
|
282
288
|
&.skeleton__tags {
|
|
283
289
|
overflow-x: hidden;
|
|
284
290
|
}
|
|
285
291
|
}
|
|
286
|
-
`,
|
|
292
|
+
`, U = ({ keyPrefix: t }) => /* @__PURE__ */ o(Q, { className: "skeleton__tags", children: [
|
|
287
293
|
/* @__PURE__ */ o(
|
|
288
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
] }),
|
|
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(
|
|
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:
|
|
365
|
-
limitForMobile:
|
|
370
|
+
limit: x = 3,
|
|
371
|
+
limitForMobile: v = 2,
|
|
366
372
|
selectedTag: I,
|
|
367
|
-
onSelectTag:
|
|
373
|
+
onSelectTag: c = () => {
|
|
368
374
|
},
|
|
369
|
-
onSelectCard:
|
|
375
|
+
onSelectCard: h = () => {
|
|
370
376
|
},
|
|
371
|
-
className:
|
|
377
|
+
className: f,
|
|
372
378
|
isLoadingTags: C = !1,
|
|
373
379
|
// isLoadingCards = false,
|
|
374
|
-
LinkComponent:
|
|
375
|
-
},
|
|
376
|
-
if (!q(
|
|
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(`.${
|
|
380
|
-
s == null || s.forEach((
|
|
381
|
-
const F =
|
|
382
|
-
|
|
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
|
|
385
|
-
if (
|
|
386
|
-
const
|
|
387
|
-
m.style.height = `${
|
|
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(`.${
|
|
390
|
-
let
|
|
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 ?
|
|
393
|
-
|
|
398
|
+
m.complete ? y++ : m.addEventListener("load", () => {
|
|
399
|
+
y++, y === (n == null ? void 0 : n.length) && e();
|
|
394
400
|
});
|
|
395
|
-
}),
|
|
401
|
+
}), y === (n == null ? void 0 : n.length) && e()), window.addEventListener("resize", e), () => {
|
|
396
402
|
window.removeEventListener("resize", e);
|
|
397
403
|
};
|
|
398
|
-
}, [
|
|
399
|
-
|
|
404
|
+
}, [f, a]), /* @__PURE__ */ o(
|
|
405
|
+
K,
|
|
400
406
|
{
|
|
401
|
-
ref:
|
|
407
|
+
ref: E,
|
|
402
408
|
limitTags: d,
|
|
403
409
|
limitTagsForMobile: k,
|
|
404
|
-
limitCards:
|
|
405
|
-
limitCardsForMobile:
|
|
406
|
-
className:
|
|
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
|
-
|
|
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
|
-
|
|
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: () =>
|
|
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
|
-
|
|
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: () =>
|
|
443
|
+
onSelectCard: () => h == null ? void 0 : h(e),
|
|
438
444
|
className: "wrapper__card",
|
|
439
445
|
link: e == null ? void 0 : e.link,
|
|
440
|
-
LinkComponent:
|
|
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-
|
|
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
|
|
22
|
+
@media ${d.down("S")} {
|
|
23
23
|
& .wrapper__image {
|
|
24
24
|
height: auto;
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
`,
|
|
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
|
|
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
|
|
93
|
+
`,v=C.styled(l.SkeletonRowWrapper)`
|
|
88
94
|
&.skeleton__tags {
|
|
89
95
|
max-width: 50rem;
|
|
90
96
|
}
|
|
91
97
|
|
|
92
|
-
@media
|
|
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
|
-
`,
|
|
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
|
|
3
|
-
import {
|
|
4
|
-
import { s as
|
|
5
|
-
import {
|
|
6
|
-
import { S as
|
|
7
|
-
import { S as
|
|
8
|
-
const
|
|
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
|
|
29
|
+
@media ${_("S")} {
|
|
30
30
|
& .wrapper__image {
|
|
31
31
|
height: auto;
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
`,
|
|
34
|
+
`, O = F(
|
|
35
35
|
({ isActive: t, image: s, imageComponent: r, onSelectCard: n = () => {
|
|
36
36
|
} }, l) => /* @__PURE__ */ i(
|
|
37
|
-
|
|
37
|
+
I,
|
|
38
38
|
{
|
|
39
39
|
ref: l,
|
|
40
40
|
className: t ? "active" : "",
|
|
41
41
|
onClick: n,
|
|
42
|
-
children:
|
|
42
|
+
children: S(r) ? r : /* @__PURE__ */ i("img", { src: s, className: "wrapper__image" })
|
|
43
43
|
}
|
|
44
44
|
)
|
|
45
|
-
), A =
|
|
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:
|
|
52
|
+
isFree: u,
|
|
53
|
+
image: d,
|
|
54
54
|
sellerUuid: m,
|
|
55
55
|
onSelectCard: o = () => {
|
|
56
56
|
},
|
|
57
57
|
imageComponent: a,
|
|
58
|
-
negotiableText:
|
|
59
|
-
freeText:
|
|
58
|
+
negotiableText: w = "Negotiable",
|
|
59
|
+
freeText: $ = "Free",
|
|
60
60
|
nameSlug: x,
|
|
61
|
-
LinkComponent:
|
|
62
|
-
},
|
|
63
|
-
|
|
61
|
+
LinkComponent: c
|
|
62
|
+
}, p) => /* @__PURE__ */ i(
|
|
63
|
+
j,
|
|
64
64
|
{
|
|
65
|
-
ref:
|
|
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:
|
|
71
|
+
isFree: u,
|
|
72
|
+
image: d,
|
|
73
73
|
imageComponent: a,
|
|
74
74
|
sellerUuid: m,
|
|
75
75
|
onSelectCard: o,
|
|
76
|
-
negotiableText:
|
|
77
|
-
freeText:
|
|
76
|
+
negotiableText: w,
|
|
77
|
+
freeText: $,
|
|
78
78
|
nameSlug: x,
|
|
79
|
-
LinkComponent:
|
|
79
|
+
LinkComponent: c
|
|
80
80
|
}
|
|
81
81
|
)
|
|
82
|
-
), T =
|
|
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
|
|
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 =
|
|
148
|
+
`, W = b(k)`
|
|
143
149
|
&.skeleton__tags {
|
|
144
150
|
max-width: 50rem;
|
|
145
151
|
}
|
|
146
152
|
|
|
147
|
-
@media
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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(
|
|
206
|
-
/* @__PURE__ */ i(
|
|
207
|
-
/* @__PURE__ */ i(
|
|
208
|
-
/* @__PURE__ */ i(
|
|
209
|
-
] }),
|
|
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 }),
|
|
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:
|
|
222
|
-
limitForMobile:
|
|
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:
|
|
229
|
-
isLoadingCards:
|
|
234
|
+
isLoadingTags: w = !1,
|
|
235
|
+
isLoadingCards: $ = !1,
|
|
230
236
|
LinkComponent: x
|
|
231
|
-
},
|
|
232
|
-
const
|
|
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:
|
|
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:
|
|
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,
|
|
256
|
-
|
|
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: () =>
|
|
266
|
+
onSelectCard: () => p == null ? void 0 : p(e)
|
|
261
267
|
},
|
|
262
|
-
`field-of-interests-with-avatars-card-avatar__${
|
|
268
|
+
`field-of-interests-with-avatars-card-avatar__${C + 1}`
|
|
263
269
|
)) })
|
|
264
270
|
}
|
|
265
271
|
),
|
|
266
272
|
/* @__PURE__ */ i(
|
|
267
|
-
|
|
273
|
+
R,
|
|
268
274
|
{
|
|
269
|
-
isLoading:
|
|
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,
|
|
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__${
|
|
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
|
-
|
|
305
|
+
J as default
|
|
300
306
|
};
|