@lanaco/lnc-react-ui 4.0.112 → 4.0.114
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/dist/Accordion.cjs +1 -1
- package/dist/Accordion.js +1 -1
- package/dist/AccordionDetails.cjs +1 -1
- package/dist/AccordionDetails.js +1 -1
- package/dist/AccordionSummary.cjs +1 -1
- package/dist/AccordionSummary.js +1 -1
- package/dist/ActionsToolbar.cjs +1 -1
- package/dist/ActionsToolbar.js +1 -1
- package/dist/Alert.cjs +1 -1
- package/dist/Alert.js +1 -1
- package/dist/Avatar.cjs +1 -1
- package/dist/Avatar.js +1 -1
- package/dist/Badge.cjs +1 -1
- package/dist/Badge.js +1 -1
- package/dist/BannerSectionCarousel.cjs +1 -1
- package/dist/BannerSectionCarousel.js +3 -3
- package/dist/BannerSectionWithListImage.cjs +2 -2
- package/dist/BannerSectionWithListImage.js +9 -9
- package/dist/BlogCardsSponsoredSection.cjs +25 -14
- package/dist/BlogCardsSponsoredSection.js +59 -47
- package/dist/BlogListSection.cjs +37 -9
- package/dist/BlogListSection.js +127 -70
- package/dist/BlogsSectionDetailed.cjs +11 -6
- package/dist/BlogsSectionDetailed.js +7 -2
- package/dist/BlogsSectionSimple.cjs +2 -2
- package/dist/BlogsSectionSimple.js +1 -1
- package/dist/BlogsSectionSimpleCentered.cjs +3 -2
- package/dist/BlogsSectionSimpleCentered.js +1 -0
- package/dist/BlogsSectionWithFilters.cjs +2 -2
- package/dist/BlogsSectionWithFilters.js +15 -15
- package/dist/BrandHitsSection.cjs +11 -11
- package/dist/BrandHitsSection.js +40 -38
- package/dist/Breadcrumbs.cjs +1 -1
- package/dist/Breadcrumbs.js +1 -1
- package/dist/Button.cjs +1 -1
- package/dist/Button.js +2 -2
- package/dist/ButtonGroup.cjs +1 -1
- package/dist/ButtonGroup.js +1 -1
- package/dist/CalorieCalculatorSection.cjs +1 -1
- package/dist/CalorieCalculatorSection.js +1 -1
- 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 +2 -2
- package/dist/ConfirmationForm.cjs +1 -1
- package/dist/ConfirmationForm.js +1 -1
- package/dist/ContactSection.cjs +303 -0
- package/dist/ContactSection.js +1614 -0
- package/dist/Content.cjs +1 -1
- package/dist/Content.js +1 -1
- package/dist/{CustomStyles-DtKDPOdk.cjs → CustomStyles-D3JePSNK.cjs} +1 -1
- package/dist/{CustomStyles-Dd8IsVV6.js → CustomStyles-DpKzWczC.js} +2 -2
- package/dist/DailyMotion-CUHIuSln.js +136 -0
- package/dist/DailyMotion-D46sLmkS.cjs +1 -0
- package/dist/DataView.cjs +1 -1
- package/dist/DataView.js +1 -1
- package/dist/DateInput.cjs +4 -4
- package/dist/DateInput.js +496 -552
- package/dist/DecimalInput.cjs +1 -1
- package/dist/DecimalInput.js +2 -2
- package/dist/DecimalInputV2.cjs +1 -1
- package/dist/DecimalInputV2.js +1 -1
- package/dist/DetailedProductsSection.cjs +2 -2
- package/dist/DetailedProductsSection.js +6 -6
- 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 +1 -1
- package/dist/Drawer.cjs +1 -1
- package/dist/Drawer.js +2 -2
- package/dist/Dropdown.cjs +1 -1
- package/dist/Dropdown.js +5 -5
- package/dist/DropdownItem.cjs +1 -1
- package/dist/DropdownItem.js +1 -1
- package/dist/DropdownLookup.cjs +1 -1
- package/dist/DropdownLookup.js +4 -4
- package/dist/DropdownMenu.cjs +1 -1
- package/dist/DropdownMenu.js +1 -1
- package/dist/EditableTable.cjs +1 -1
- package/dist/EditableTable.js +1 -1
- package/dist/Facebook-R53Rry9l.cjs +1 -0
- package/dist/Facebook-aEQQxj-r.js +121 -0
- package/dist/FaqSection.cjs +219 -0
- package/dist/FaqSection.js +481 -0
- package/dist/FeedbackSection.cjs +3 -3
- package/dist/FeedbackSection.js +9 -9
- package/dist/FieldOfInterestsWithTagsCardsSection.cjs +7 -7
- package/dist/FieldOfInterestsWithTagsCardsSection.js +24 -23
- package/dist/FileInput.cjs +1 -1
- package/dist/FileInput.js +1 -1
- package/dist/FilePlayer-9FdL9kM0.js +202 -0
- package/dist/FilePlayer-D9up8eWZ.cjs +1 -0
- package/dist/FlexBox.cjs +1 -1
- package/dist/FlexBox.js +1 -1
- package/dist/FlexGrid.cjs +1 -1
- package/dist/FlexGrid.js +1 -1
- package/dist/FlexGridItem.cjs +1 -1
- package/dist/FlexGridItem.js +1 -1
- package/dist/Footer.cjs +1 -1
- package/dist/Footer.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/GiftCardsSection.cjs +2 -2
- package/dist/GiftCardsSection.js +9 -9
- package/dist/Grid.cjs +1 -1
- package/dist/Grid.js +1 -1
- package/dist/GridItem.cjs +1 -1
- package/dist/GridItem.js +1 -1
- package/dist/Header.cjs +1 -1
- package/dist/Header.js +1 -1
- package/dist/HelpBannerSection.cjs +62 -0
- package/dist/HelpBannerSection.js +81 -0
- package/dist/Icon.cjs +1 -1
- package/dist/Icon.js +1 -1
- package/dist/IconButton.cjs +1 -1
- package/dist/IconButton.js +1 -1
- package/dist/Kaltura-C170sgeD.cjs +1 -0
- package/dist/Kaltura-Dziqci9-.js +121 -0
- package/dist/Kanban.cjs +1 -1
- package/dist/Kanban.js +5 -5
- package/dist/KanbanActionsToolbar.cjs +1 -1
- package/dist/KanbanActionsToolbar.js +1 -1
- package/dist/{KanbanCard-CXRQQu4S.cjs → KanbanCard-CP60mpJO.cjs} +1 -1
- package/dist/{KanbanCard-CIscpYlR.js → KanbanCard-Crf-cTxA.js} +2 -2
- package/dist/KanbanCard.cjs +1 -1
- package/dist/KanbanCard.js +2 -2
- package/dist/KanbanFooter.cjs +1 -1
- package/dist/KanbanFooter.js +1 -1
- package/dist/KanbanHeader.cjs +1 -1
- package/dist/KanbanHeader.js +1 -1
- package/dist/KanbanView.cjs +1 -1
- package/dist/KanbanView.js +2 -2
- package/dist/Link.cjs +1 -1
- package/dist/Link.js +1 -1
- package/dist/LocationSearchSection.cjs +1 -1
- package/dist/LocationSearchSection.js +1 -1
- package/dist/MenuItem.cjs +1 -1
- package/dist/MenuItem.js +1 -1
- package/dist/Mixcloud-Cfn28kqf.js +113 -0
- package/dist/Mixcloud-Towpm_ct.cjs +1 -0
- package/dist/Modal.cjs +1 -1
- package/dist/Modal.js +2 -2
- package/dist/MultiSelectDropdown.cjs +1 -1
- package/dist/MultiSelectDropdown.js +3 -3
- package/dist/MultiSelectDropdownLookup.cjs +1 -1
- package/dist/MultiSelectDropdownLookup.js +3 -3
- package/dist/Mux-D0MPDKkM.js +165 -0
- package/dist/Mux-yqNOmuss.cjs +1 -0
- package/dist/NestedDropdownItem.cjs +1 -1
- package/dist/NestedDropdownItem.js +1 -1
- package/dist/NestedMenuItem.cjs +1 -1
- package/dist/NestedMenuItem.js +1 -1
- package/dist/Notification.cjs +1 -1
- package/dist/Notification.js +1 -1
- package/dist/NotificationContainer.cjs +1 -1
- package/dist/NotificationContainer.js +2 -2
- package/dist/NotificationMessage.cjs +1 -1
- package/dist/NotificationMessage.js +1 -1
- package/dist/NumberInput.cjs +1 -1
- package/dist/NumberInput.js +2 -2
- package/dist/PageLayout.cjs +1 -1
- package/dist/PageLayout.js +1 -1
- package/dist/Pagination.cjs +1 -1
- package/dist/Pagination.js +1 -1
- package/dist/PasswordInput.cjs +1 -1
- package/dist/PasswordInput.js +2 -2
- package/dist/Popover.cjs +1 -1
- package/dist/Popover.js +1 -1
- package/dist/PopoverContent.cjs +1 -1
- package/dist/PopoverContent.js +2 -2
- package/dist/PopoverDescription.cjs +1 -1
- package/dist/PopoverDescription.js +1 -1
- package/dist/PopoverHeading.cjs +1 -1
- package/dist/PopoverHeading.js +1 -1
- package/dist/PopoverTrigger.cjs +1 -1
- package/dist/PopoverTrigger.js +2 -2
- package/dist/Preview-B8HyPnfR.cjs +1 -0
- package/dist/Preview-CO6WSP5f.js +127 -0
- package/dist/ProgressBar.cjs +1 -1
- package/dist/ProgressBar.js +1 -1
- package/dist/QuattroCardsSection.cjs +5 -5
- package/dist/QuattroCardsSection.js +7 -7
- package/dist/RadioGroup.cjs +1 -1
- package/dist/RadioGroup.js +1 -1
- 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 +1 -1
- package/dist/ReviewsSection.js +1 -1
- package/dist/SalesCampaignsSection.cjs +1 -1
- package/dist/SalesCampaignsSection.js +1 -1
- package/dist/SearchBar.cjs +1 -1
- package/dist/SearchBar.js +3 -3
- package/dist/SearchSection-BUD-hnQA.cjs +161 -0
- package/dist/SearchSection-xe0nvARV.js +1214 -0
- package/dist/SearchSection.cjs +1 -0
- package/dist/SearchSection.js +9 -0
- package/dist/Separator.cjs +1 -1
- package/dist/Separator.js +1 -1
- package/dist/ShopCardsSection.cjs +1 -1
- package/dist/ShopCardsSection.js +3 -2
- package/dist/Sidebar.cjs +1 -1
- package/dist/Sidebar.js +1 -1
- package/dist/SimpleCategoriesSection.cjs +2 -2
- package/dist/SimpleCategoriesSection.js +4 -4
- package/dist/SoundCloud-D85Da68L.js +123 -0
- package/dist/SoundCloud-YZlcPffr.cjs +1 -0
- package/dist/Spinner.cjs +1 -1
- package/dist/Spinner.js +2 -2
- package/dist/StatsSection.cjs +117 -0
- package/dist/StatsSection.js +154 -0
- package/dist/Streamable-CJQf8evZ.cjs +1 -0
- package/dist/Streamable-Zj4FOeBP.js +115 -0
- 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 +1 -1
- package/dist/Table.js +3 -3
- package/dist/TableView.cjs +1 -1
- package/dist/TableView.js +1 -1
- package/dist/Tabs.cjs +1 -1
- package/dist/Tabs.js +1 -1
- package/dist/TextAreaInput.cjs +1 -1
- package/dist/TextAreaInput.js +2 -2
- package/dist/TextInput.cjs +1 -1
- package/dist/TextInput.js +2 -2
- package/dist/ThemeProvider.cjs +1 -1
- package/dist/ThemeProvider.js +2 -2
- package/dist/TimeInput.cjs +1 -1
- package/dist/TimeInput.js +2 -2
- package/dist/Toggle.cjs +1 -1
- package/dist/Toggle.js +1 -1
- package/dist/TreeMenu.cjs +1 -1
- package/dist/TreeMenu.js +1 -1
- package/dist/TreeMenuSeparator.cjs +1 -1
- package/dist/TreeMenuSeparator.js +1 -1
- package/dist/Twitch-Ba2O5gTX.cjs +1 -0
- package/dist/Twitch-DC97YrR8.js +117 -0
- package/dist/UploadedFile.cjs +1 -1
- package/dist/UploadedFile.js +1 -1
- package/dist/UrgentSaleProductsSection.cjs +1 -1
- package/dist/UrgentSaleProductsSection.js +5 -5
- package/dist/Vidyard-BdNB5Wka.cjs +1 -0
- package/dist/Vidyard-D9vYqvNv.js +113 -0
- package/dist/Vimeo-23LnW4uS.js +146 -0
- package/dist/Vimeo-DatJiKS5.cjs +1 -0
- package/dist/Wistia-D--UDN6c.cjs +1 -0
- package/dist/Wistia-d2TQ3m-s.js +124 -0
- package/dist/YouTube-BEkcZxN7.cjs +1 -0
- package/dist/YouTube-x5-hc3s6.js +176 -0
- package/dist/_commonjsHelpers-BkfeUUK-.js +28 -0
- package/dist/_commonjsHelpers-DwTZ_eVU.cjs +1 -0
- package/dist/{emotion-react.browser.esm-1R69UXoj.cjs → emotion-react.browser.esm-Cvnp-zmB.cjs} +1 -1
- package/dist/{emotion-react.browser.esm-C6iWxXPG.js → emotion-react.browser.esm-DUVZ5oEL.js} +1 -1
- package/dist/{floating-ui.react.esm-h3qa3pb9.js → floating-ui.react.esm-CfpRzwmn.js} +1 -1
- package/dist/{floating-ui.react.esm-Bb1ww976.cjs → floating-ui.react.esm-CiYofNnh.cjs} +1 -1
- package/dist/{hoist-non-react-statics.cjs-Dr-ytKVG.cjs → hoist-non-react-statics.cjs-DGqlkKoS.cjs} +1 -1
- package/dist/{hoist-non-react-statics.cjs-CAHiRNzQ.js → hoist-non-react-statics.cjs-NQME298B.js} +1 -1
- package/dist/{index-EeoArxOx.cjs → index-41nUb2kP.cjs} +1 -1
- package/dist/{index-BlxaTV-D.js → index-6RFrSPs_.js} +1 -1
- package/dist/{index-64mXPFBC.js → index-B1vKwsDE.js} +1 -1
- package/dist/{index-Bq3leL2e.js → index-BXrmgzsU.js} +1 -1
- package/dist/{index-gY9e_8LL.cjs → index-BZnmT78f.cjs} +1 -1
- package/dist/{index-CQLF61YV.js → index-BgRyIsRu.js} +1 -1
- package/dist/{index-BPVoEhTF.cjs → index-BpbMKBf_.cjs} +1 -1
- package/dist/index-CDGmG-qk.cjs +1 -0
- package/dist/{index-S5Cd7WrG.js → index-CblbdqjE.js} +1 -1
- package/dist/{index-DaiUAQVF.cjs → index-Cp66dWMi.cjs} +1 -1
- package/dist/{index-DAOBjHnD.cjs → index-DA7SIHV1.cjs} +1 -1
- package/dist/{index-C1DkD2ug.cjs → index-DCFJmN23.cjs} +1 -1
- package/dist/{index-CkWvbrVT.js → index-Dt62UGku.js} +1 -1
- package/dist/index-wlx30R-h.js +62 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +60 -50
- package/dist/{react-toastify.esm--2awuizG.js → react-toastify.esm-BLQznunb.js} +1 -1
- package/dist/{react-toastify.esm-Dq1k28O7.cjs → react-toastify.esm-BoMuFZcq.cjs} +1 -1
- package/dist/{styled-components.browser.esm-CMTEDJ_5.cjs → styled-components.browser.esm-CvykQBGY.cjs} +1 -1
- package/dist/{styled-components.browser.esm-C9FYANiy.js → styled-components.browser.esm-D-n22PJk.js} +1 -1
- package/dist/usePopover.cjs +1 -1
- package/dist/usePopover.js +1 -1
- package/package.json +8 -2
- package/vite.config.js +14 -0
- package/dist/_commonjsHelpers-DKOUU3wS.cjs +0 -1
- package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),u=require("react"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),u=require("react"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),k=require("./consts-goSZX3xP.cjs"),R=require("./useDetectMobile-zkbzoOGV.cjs"),r=require("./utils-CZynEOC_.cjs"),v=require("./style-JqDQj4jh.cjs"),T=require("./Button.cjs"),O=require("./index-BvSNRLNa.cjs"),A=w.styled.div`
|
|
2
2
|
display: grid;
|
|
3
3
|
grid-template-columns: ${i=>`repeat(${i.limit}, minmax(0, 1fr))`};
|
|
4
4
|
gap: 1.25rem;
|
|
5
5
|
|
|
6
|
-
@media (max-width: ${
|
|
6
|
+
@media (max-width: ${k.MOBILE_SIZE_PX+"px"}) {
|
|
7
7
|
grid-template-columns: repeat(1, 1fr);
|
|
8
8
|
}
|
|
9
|
-
`,
|
|
9
|
+
`,y=w.styled.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
flex-direction: column;
|
|
12
12
|
width: 100%;
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
min-height: 21.5625rem;
|
|
21
21
|
cursor: pointer;
|
|
22
22
|
&:hover {
|
|
23
|
-
|
|
24
23
|
}
|
|
25
24
|
|
|
26
25
|
& img {
|
|
@@ -40,11 +39,17 @@
|
|
|
40
39
|
& .tags-wr {
|
|
41
40
|
margin-top: auto;
|
|
42
41
|
display: flex;
|
|
42
|
+
|
|
43
43
|
gap: 0.5rem;
|
|
44
44
|
padding: 0 1rem 1rem 1rem;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
@media (max-width: ${
|
|
47
|
+
@media (max-width: ${k.MOBILE_SIZE_PX+"px"}) {
|
|
48
|
+
max-height: 100%;
|
|
49
|
+
min-height: 100%;
|
|
50
|
+
& .tags-wr {
|
|
51
|
+
flex-wrap: wrap;
|
|
52
|
+
}
|
|
48
53
|
}
|
|
49
54
|
`,S=w.styled.div`
|
|
50
55
|
padding: 1rem 1rem 0 1rem;
|
|
@@ -105,4 +110,4 @@
|
|
|
105
110
|
align-items: center;
|
|
106
111
|
gap: 1rem;
|
|
107
112
|
}
|
|
108
|
-
`,$=u.forwardRef((i,
|
|
113
|
+
`,$=u.forwardRef((i,l)=>{const{title:s,imageUrl:m,text:o,numberOfLikes:n,numberOfComments:f,timeToRead:p,publishedAt:c,tags:d,onCardClick:j,timeToReadText:h="{0} min read"}=i;return t.jsxs(y,{ref:l,className:"blog-card",onClick:j,children:[t.jsx(O.ProductImageWrapper,{src:m}),t.jsxs(S,{children:[t.jsxs("div",{className:"info-wr",children:[t.jsxs("div",{className:"info-wr-1",children:[t.jsxs("span",{children:[r.formatLocaleDateString(c)," "]}),t.jsx("span",{className:"small-dot",children:"●"}),p&&h?`${r.formatString(h,p)}`:"N/A"]}),t.jsxs("div",{className:"info-wr-2",children:[t.jsxs("span",{className:"info-wr-1",children:[t.jsx("i",{className:"mng mng-lnc-thumbs-up--filled"}),t.jsx("span",{children:r.getRoundedNumber(n)})]}),t.jsxs("span",{className:"info-wr-1",children:[t.jsx("i",{className:"mng mng-lnc-messages-filled"}),t.jsx("span",{children:r.getRoundedNumber(f)})]})]})]}),t.jsx("div",{className:"text-wr-title",children:s}),t.jsx("div",{className:"text-wr",children:o})]}),t.jsx("div",{className:"tags-wr",children:d==null?void 0:d.map((a,b)=>t.jsx(v.BlogTag,{color:a==null?void 0:a.color,children:a==null?void 0:a.name},b))})]})}),D=u.forwardRef(({},i)=>t.jsxs(y,{className:"blog-card",children:[t.jsx("div",{className:"skeleton-img"}),t.jsxs(S,{children:[t.jsx("div",{className:"info-wr"}),t.jsx("div",{className:"skeleton-title"}),t.jsx("div",{className:"info-wr-skeleton"})]})]})),q=({limit:i=3,isLoading:l=!1,keyPrefix:s})=>t.jsx(t.Fragment,{children:Array.from({length:i},(m,o)=>t.jsx(D,{isLoading:l},`${s}-skeleton-product-card-${o}`))}),B=({children:i,fallbackComponent:l=t.jsx(t.Fragment,{}),isLoading:s=!1,limit:m,keyPrefix:o})=>t.jsx(u.Suspense,{fallbackComponent:l,children:s===!0?t.jsx(q,{isLoading:s,limit:m,keyPrefix:o}):i}),N=u.memo($),L=u.forwardRef((i,l)=>{const{icon:s,title:m,onButtonAction:o,items:n,buttonText:f,timeToReadText:p,limit:c=3,onSelectCard:d=()=>{},isLoading:j=!1,buttonLink:h,getImage:a=()=>{}}=i,b=R.useDetectMobile(),C=u.useMemo(()=>t.jsx(t.Fragment,{children:b===!0?n==null?void 0:n.map((e,g)=>t.jsx(N,{title:e==null?void 0:e.title,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,numberOfLikes:e==null?void 0:e.numberOfLikes,numberOfComments:e==null?void 0:e.numberOfComments,publishedAt:e==null?void 0:e.publishedAt,timeToRead:e==null?void 0:e.timeToRead,timeToReadText:p,tags:e==null?void 0:e.tags,onCardClick:()=>d(e==null?void 0:e.titleSlug),imageUrl:a(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null},g)):n==null?void 0:n.slice(0,c).map((e,g)=>t.jsx(N,{title:e==null?void 0:e.title,imageUrl:a(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,tags:e==null?void 0:e.tags,numberOfLikes:e==null?void 0:e.numberOfLikes,numberOfComments:e==null?void 0:e.numberOfComments,publishedAt:e==null?void 0:e.publishedAt,timeToRead:e==null?void 0:e.timeToRead,timeToReadText:p,onCardClick:()=>d(e==null?void 0:e.titleSlug)},g))}),[n,b,c,d]);return t.jsxs(v.RegulatTitleSectionWrapper,{ref:l,children:[t.jsxs("div",{className:"regular-title",children:[t.jsxs("div",{className:"regular-title-text",children:[r.isDefinedNotEmptyString(s)&&t.jsx("i",{className:s}),t.jsx("span",{children:m})]}),r.isDefinedNotEmptyString(f)&&r.isDefinedNotEmptyString(h)&&t.jsx(T,{type:"button",btnType:"tinted",color:"neutral",onClick:e=>{var g;(g=e==null?void 0:e.target)==null||g.blur(),o(h)},borderRadius:"curved",className:"button-link",children:f})]}),t.jsx(A,{limit:c,children:t.jsx(B,{isLoading:j,limit:c,keyPrefix:"explore-landing",children:C})})]})});module.exports=L;
|
|
@@ -29,7 +29,6 @@ const E = y.div`
|
|
|
29
29
|
min-height: 21.5625rem;
|
|
30
30
|
cursor: pointer;
|
|
31
31
|
&:hover {
|
|
32
|
-
|
|
33
32
|
}
|
|
34
33
|
|
|
35
34
|
& img {
|
|
@@ -49,11 +48,17 @@ const E = y.div`
|
|
|
49
48
|
& .tags-wr {
|
|
50
49
|
margin-top: auto;
|
|
51
50
|
display: flex;
|
|
51
|
+
|
|
52
52
|
gap: 0.5rem;
|
|
53
53
|
padding: 0 1rem 1rem 1rem;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
@media (max-width: ${T + "px"}) {
|
|
57
|
+
max-height: 100%;
|
|
58
|
+
min-height: 100%;
|
|
59
|
+
& .tags-wr {
|
|
60
|
+
flex-wrap: wrap;
|
|
61
|
+
}
|
|
57
62
|
}
|
|
58
63
|
`, O = y.div`
|
|
59
64
|
padding: 1rem 1rem 0 1rem;
|
|
@@ -243,7 +248,7 @@ const E = y.div`
|
|
|
243
248
|
{
|
|
244
249
|
type: "button",
|
|
245
250
|
btnType: "tinted",
|
|
246
|
-
color: "
|
|
251
|
+
color: "neutral",
|
|
247
252
|
onClick: (e) => {
|
|
248
253
|
var g;
|
|
249
254
|
(g = e == null ? void 0 : e.target) == null || g.blur(), s(u);
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
|
|
46
46
|
@media (max-width: ${S.MOBILE_SIZE_PX+"px"}) {
|
|
47
47
|
}
|
|
48
|
-
`,
|
|
48
|
+
`,w=p.styled.div`
|
|
49
49
|
padding: 1rem 1rem 0 1rem;
|
|
50
50
|
display: flex;
|
|
51
51
|
flex-direction: column;
|
|
@@ -65,4 +65,4 @@
|
|
|
65
65
|
color: var(--gray-700, #4e555f);
|
|
66
66
|
${u.truncateTextInRows(3)}
|
|
67
67
|
}
|
|
68
|
-
`,$=c.forwardRef((t,l)=>{const{title:i,imageUrl:n,text:o,onCardClick:d,readMoreText:m="Read more"}=t;return r.jsxs(b,{ref:l,className:"blog-card",onClick:d,children:[r.jsx(M.ProductImageWrapper,{src:n}),r.jsxs(
|
|
68
|
+
`,$=c.forwardRef((t,l)=>{const{title:i,imageUrl:n,text:o,onCardClick:d,readMoreText:m="Read more"}=t;return r.jsxs(b,{ref:l,className:"blog-card",onClick:d,children:[r.jsx(M.ProductImageWrapper,{src:n}),r.jsxs(w,{children:[r.jsx("div",{className:"text-wr-title",children:i}),r.jsx("div",{className:"text-wr",children:o})]}),r.jsx(R,{className:"action",color:"gray",onClick:d,children:m})]})}),I=c.forwardRef(({},t)=>r.jsxs(b,{className:"product-card",children:[r.jsx("div",{className:"skeleton-img"}),r.jsx("div",{className:"card-title"}),r.jsx(w,{})]})),P=({limit:t=3,isLoading:l=!1,keyPrefix:i})=>r.jsx(r.Fragment,{children:Array.from({length:t},(n,o)=>r.jsx(I,{isLoading:l},`${i}-skeleton-product-card-${o}`))}),T=({children:t,fallbackComponent:l=r.jsx(r.Fragment,{}),isLoading:i=!1,limit:n,keyPrefix:o})=>r.jsx(c.Suspense,{fallbackComponent:l,children:i===!0?r.jsx(P,{isLoading:i,limit:n,keyPrefix:o}):t}),j=c.memo($),_=c.forwardRef((t,l)=>{const{icon:i,title:n,onButtonAction:o=()=>{},onSelectCard:d=()=>{},buttonLink:m,items:s,buttonText:y,limit:g=3,isLoading:v=!1,getImage:h=()=>{},readMoreText:f="Read more"}=t,k=N.useDetectMobile(),C=c.useMemo(()=>r.jsx(r.Fragment,{children:k===!0?s==null?void 0:s.map((e,a)=>r.jsx(j,{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:f,onCardClick:()=>d(e==null?void 0:e.titleSlug)},a)):s==null?void 0:s.slice(0,g).map((e,a)=>r.jsx(j,{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:f,onCardClick:()=>d(e==null?void 0:e.titleSlug)},a))}),[s]);return r.jsxs(q.RegulatTitleSectionWrapper,{ref:l,children:[r.jsxs("div",{className:"regular-title",children:[r.jsxs("div",{className:"regular-title-text",children:[u.isDefinedNotEmptyString(i)&&r.jsx("i",{className:i}),r.jsx("span",{children:n})]}),u.isDefinedNotEmptyString(m)&&r.jsx(x,{type:"button",btnType:"tinted",color:"neutral",onClick:e=>{var a;(a=e==null?void 0:e.target)==null||a.blur(),o(m)},borderRadius:"curved",className:"button-link",children:y})]}),r.jsx(B,{limit:g,children:r.jsx(T,{isLoading:v,limit:g,keyPrefix:"explore-landing",children:C})})]})});module.exports=_;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),s=require("react"),u=require("./emotion-styled.browser.esm-BtEseadx.cjs"),p=require("./consts-goSZX3xP.cjs"),x=require("./useDetectMobile-zkbzoOGV.cjs"),m=require("./utils-CZynEOC_.cjs"),w=require("./Button.cjs"),b=require("./index-BvSNRLNa.cjs"),j=u.styled.div`
|
|
2
2
|
display: grid;
|
|
3
3
|
grid-template-columns: ${i=>`repeat(${i.limit}, minmax(0, 1fr))`};
|
|
4
4
|
gap: 1.25rem;
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
& button {
|
|
27
27
|
width: fit-content;
|
|
28
28
|
margin-top: auto;
|
|
29
|
+
color: var(--gray-950, #14161a);
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
& img {
|
|
@@ -74,4 +75,4 @@
|
|
|
74
75
|
color: var(--gray-700, #4e555f);
|
|
75
76
|
${m.truncateTextInRows(3)}
|
|
76
77
|
}
|
|
77
|
-
`,g=
|
|
78
|
+
`,g=s.forwardRef((i,n)=>{const{title:r,image:o,text:a,buttonText:d,onCardClick:l}=i;return t.jsxs(h,{ref:n,className:"blog-card",onClick:l,children:[t.jsx(b.ProductImageWrapper,{src:o}),t.jsxs(f,{children:[t.jsx("div",{className:"text-wr-title",children:r}),t.jsx("div",{className:"text-wr",children:a})]}),t.jsx(w,{borderRadius:"curved",color:"gray",type:"button",btnType:"outline",onClick:l,size:"medium",children:d})]})}),k=s.forwardRef((i,n)=>{const{onCardClick:r}=i;return t.jsxs(h,{className:"product-card",onClick:r,children:[t.jsx("div",{className:"skeleton-img"}),t.jsx(f,{children:t.jsx("div",{className:"skeleton-title"})})]})}),C=({limit:i=3,isLoading:n=!1,keyPrefix:r})=>t.jsx(t.Fragment,{children:Array.from({length:i},(o,a)=>t.jsx(k,{isLoading:n},`${r}-skeleton-product-card-${a}`))}),y=({children:i,fallbackComponent:n=t.jsx(t.Fragment,{}),isLoading:r=!1,limit:o,keyPrefix:a})=>t.jsx(s.Suspense,{fallbackComponent:n,children:r===!0?t.jsx(C,{isLoading:r,limit:o,keyPrefix:a}):i}),v=s.forwardRef((i,n)=>{const{items:r,limit:o=3,onSelectCard:a=()=>{},isLoading:d=!1}=i,l=x.useDetectMobile();return t.jsx(j,{ref:n,limit:o,children:t.jsx(y,{isLoading:d,limit:o,keyPrefix:"explore-landing",children:t.jsx(t.Fragment,{children:l===!0?r==null?void 0:r.map((e,c)=>t.jsx(g,{title:e==null?void 0:e.title,image:(e==null?void 0:e.image)||null,text:e==null?void 0:e.text,buttonText:e==null?void 0:e.buttonText,onCardClick:()=>a(e)},c)):r==null?void 0:r.slice(0,o).map((e,c)=>t.jsx(g,{title:e==null?void 0:e.title,image:(e==null?void 0:e.image)||null,text:e==null?void 0:e.text,buttonText:e==null?void 0:e.buttonText,onCardClick:()=>a(e)},c))})})})});module.exports=v;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),d=require("react"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),w=require("./consts-goSZX3xP.cjs"),B=require("./useDetectMobile-zkbzoOGV.cjs"),c=require("./utils-CZynEOC_.cjs"),M=require("./style-JqDQj4jh.cjs"),R=require("./Button.cjs"),W=require("./Link.cjs"),A=require("./index-BvSNRLNa.cjs"),I=require("./index-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),d=require("react"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),w=require("./consts-goSZX3xP.cjs"),B=require("./useDetectMobile-zkbzoOGV.cjs"),c=require("./utils-CZynEOC_.cjs"),M=require("./style-JqDQj4jh.cjs"),R=require("./Button.cjs"),W=require("./Link.cjs"),A=require("./index-BvSNRLNa.cjs"),I=require("./index-DCFJmN23.cjs"),P=p.styled.div`
|
|
2
2
|
display: grid;
|
|
3
3
|
grid-template-columns: ${i=>`repeat(${i.limit}, minmax(0, 1fr))`};
|
|
4
4
|
gap: 1.25rem;
|
|
@@ -77,4 +77,4 @@
|
|
|
77
77
|
color: var(--gray-700, #4e555f);
|
|
78
78
|
${c.truncateTextInRows(3)}
|
|
79
79
|
}
|
|
80
|
-
`,_=d.forwardRef((i,s)=>{const{title:o,imageUrl:a,text:r,buttonText:u,onCardClick:l}=i;return e.jsxs(k,{ref:s,className:"blog-card",onClick:l,children:[e.jsxs(v,{children:[e.jsx("div",{className:"text-wr-title",children:o}),e.jsx("div",{className:"text-wr",children:r}),e.jsx(W,{color:"gray",onClick:l,children:u})]}),e.jsx(A.ProductImageWrapper,{src:a})]})}),z=d.forwardRef(({},i)=>e.jsxs(k,{className:"blog-card",children:[e.jsxs(v,{children:[e.jsx("div",{className:"skeleton-title"}),e.jsx("div",{className:"text-wr"}),e.jsx("div",{className:"skeleton-action"})]}),e.jsx("div",{className:"skeleton-img"})]})),E=({limit:i=3,isLoading:s=!1,keyPrefix:o})=>e.jsx(e.Fragment,{children:Array.from({length:i},(a,r)=>e.jsx(z,{isLoading:s},`${o}-skeleton-product-card-${r}`))}),F=({children:i,fallbackComponent:s=e.jsx(e.Fragment,{}),isLoading:o=!1,limit:a,keyPrefix:r})=>e.jsx(d.Suspense,{fallbackComponent:s,children:o===!0?e.jsx(E,{isLoading:o,limit:a,keyPrefix:r}):i}),f=d.memo(_),O=d.forwardRef((i,s)=>{const{icon:o,title:a,items:r,buttonText:u,limit:l=3,options:m,selectedOption:y=[],onButtonAction:S=()=>{},buttonLink:x,onSelectOption:b=()=>{},onSelectAll:N=()=>{},isLoading:C=!1,onSelectCard:g=()=>{},productsToolbarName:q="All",allButton:T=!1}=i,j=B.useDetectMobile(),$=d.useMemo(()=>{var n;return e.jsx(e.Fragment,{children:j===!0?r==null?void 0:r.map((t,h)=>e.jsx(f,{title:t==null?void 0:t.title,imageUrl:(t==null?void 0:t.image)||null,text:t==null?void 0:t.text,buttonText:t==null?void 0:t.buttonText,onCardClick:()=>g(t)},h)):(n=r==null?void 0:r.slice(0,l))==null?void 0:n.map((t,h)=>e.jsx(f,{title:t==null?void 0:t.title,imageUrl:(t==null?void 0:t.image)||null,text:t==null?void 0:t.text,buttonText:t==null?void 0:t.buttonText,onCardClick:()=>g(t)},h))})},[r,j,l,g]);return e.jsxs(M.TitleWithOptionsSectionWrapper,{ref:s,children:[e.jsxs("div",{className:"regular-title",children:[e.jsxs("div",{className:"regular-title-text",children:[c.isDefinedNotEmptyString(o)&&e.jsx("i",{className:o}),e.jsx("span",{children:a})]}),c.isDefinedNotEmptyString(x)&&e.jsx(R,{type:"button",btnType:"tinted",color:"
|
|
80
|
+
`,_=d.forwardRef((i,s)=>{const{title:o,imageUrl:a,text:r,buttonText:u,onCardClick:l}=i;return e.jsxs(k,{ref:s,className:"blog-card",onClick:l,children:[e.jsxs(v,{children:[e.jsx("div",{className:"text-wr-title",children:o}),e.jsx("div",{className:"text-wr",children:r}),e.jsx(W,{color:"gray",onClick:l,children:u})]}),e.jsx(A.ProductImageWrapper,{src:a})]})}),z=d.forwardRef(({},i)=>e.jsxs(k,{className:"blog-card",children:[e.jsxs(v,{children:[e.jsx("div",{className:"skeleton-title"}),e.jsx("div",{className:"text-wr"}),e.jsx("div",{className:"skeleton-action"})]}),e.jsx("div",{className:"skeleton-img"})]})),E=({limit:i=3,isLoading:s=!1,keyPrefix:o})=>e.jsx(e.Fragment,{children:Array.from({length:i},(a,r)=>e.jsx(z,{isLoading:s},`${o}-skeleton-product-card-${r}`))}),F=({children:i,fallbackComponent:s=e.jsx(e.Fragment,{}),isLoading:o=!1,limit:a,keyPrefix:r})=>e.jsx(d.Suspense,{fallbackComponent:s,children:o===!0?e.jsx(E,{isLoading:o,limit:a,keyPrefix:r}):i}),f=d.memo(_),O=d.forwardRef((i,s)=>{const{icon:o,title:a,items:r,buttonText:u,limit:l=3,options:m,selectedOption:y=[],onButtonAction:S=()=>{},buttonLink:x,onSelectOption:b=()=>{},onSelectAll:N=()=>{},isLoading:C=!1,onSelectCard:g=()=>{},productsToolbarName:q="All",allButton:T=!1}=i,j=B.useDetectMobile(),$=d.useMemo(()=>{var n;return e.jsx(e.Fragment,{children:j===!0?r==null?void 0:r.map((t,h)=>e.jsx(f,{title:t==null?void 0:t.title,imageUrl:(t==null?void 0:t.image)||null,text:t==null?void 0:t.text,buttonText:t==null?void 0:t.buttonText,onCardClick:()=>g(t)},h)):(n=r==null?void 0:r.slice(0,l))==null?void 0:n.map((t,h)=>e.jsx(f,{title:t==null?void 0:t.title,imageUrl:(t==null?void 0:t.image)||null,text:t==null?void 0:t.text,buttonText:t==null?void 0:t.buttonText,onCardClick:()=>g(t)},h))})},[r,j,l,g]);return e.jsxs(M.TitleWithOptionsSectionWrapper,{ref:s,children:[e.jsxs("div",{className:"regular-title",children:[e.jsxs("div",{className:"regular-title-text",children:[c.isDefinedNotEmptyString(o)&&e.jsx("i",{className:o}),e.jsx("span",{children:a})]}),c.isDefinedNotEmptyString(x)&&e.jsx(R,{type:"button",btnType:"tinted",color:"neutral",onClick:n=>{var t;(t=n==null?void 0:n.target)==null||t.blur(),S(x)},borderRadius:"curved",children:u})]}),(m==null?void 0:m.length)>0&&e.jsx(I.SelectBar,{items:m,selectedIds:y,onRemove:n=>{b(n)},onSelect:n=>{b(n)},onSelectAll:N,labelKey:"name",valueKey:"code",noMargin:!0,productsToolbarName:q,allButton:T}),e.jsx(P,{limit:l,children:e.jsx(F,{isLoading:C,limit:l,keyPrefix:"explore-landing",children:$})})]})});module.exports=O;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsxs as m, jsx as t, Fragment as
|
|
1
|
+
import { jsxs as m, jsx as t, Fragment as h } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as f, Suspense as A, memo as I, useMemo as O } from "react";
|
|
3
3
|
import { s as b } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { M as C } from "./consts-BuFChS64.js";
|
|
5
5
|
import { u as R } from "./useDetectMobile-Bkvj0VMa.js";
|
|
6
|
-
import { o as
|
|
6
|
+
import { o as u, p as j, k as S } from "./utils-BbgAIA9N.js";
|
|
7
7
|
import { T as E } from "./style-08foMKSd.js";
|
|
8
8
|
import F from "./Button.js";
|
|
9
9
|
import L from "./Link.js";
|
|
10
10
|
import { P as U } from "./index-YGcWbzeb.js";
|
|
11
|
-
import { S as _ } from "./index-
|
|
11
|
+
import { S as _ } from "./index-BgRyIsRu.js";
|
|
12
12
|
const D = b.div`
|
|
13
13
|
display: grid;
|
|
14
14
|
grid-template-columns: ${(i) => `repeat(${i.limit}, minmax(0, 1fr))`};
|
|
@@ -50,7 +50,7 @@ const D = b.div`
|
|
|
50
50
|
min-height: 3.3125rem;
|
|
51
51
|
max-height: 3.3125rem;
|
|
52
52
|
border-radius: 0.75rem;
|
|
53
|
-
background-color: ${
|
|
53
|
+
background-color: ${u("-90deg")};
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
& a {
|
|
@@ -73,13 +73,13 @@ const D = b.div`
|
|
|
73
73
|
& .skeleton-title {
|
|
74
74
|
height: 1.5rem;
|
|
75
75
|
width: 80%;
|
|
76
|
-
background-color: ${
|
|
76
|
+
background-color: ${u("-90deg")};
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
& .skeleton-action {
|
|
80
80
|
height: 1.25rem;
|
|
81
81
|
width: 20%;
|
|
82
|
-
background-color: ${
|
|
82
|
+
background-color: ${u("-90deg")};
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
& .text-wr {
|
|
@@ -105,7 +105,7 @@ const D = b.div`
|
|
|
105
105
|
/* @__PURE__ */ t("div", { className: "skeleton-action" })
|
|
106
106
|
] }),
|
|
107
107
|
/* @__PURE__ */ t("div", { className: "skeleton-img" })
|
|
108
|
-
] })), K = ({ limit: i = 3, isLoading: a = !1, keyPrefix: l }) => /* @__PURE__ */ t(
|
|
108
|
+
] })), K = ({ limit: i = 3, isLoading: a = !1, keyPrefix: l }) => /* @__PURE__ */ t(h, { children: Array.from({ length: i }, (d, r) => /* @__PURE__ */ t(
|
|
109
109
|
H,
|
|
110
110
|
{
|
|
111
111
|
isLoading: a
|
|
@@ -113,7 +113,7 @@ const D = b.div`
|
|
|
113
113
|
`${l}-skeleton-product-card-${r}`
|
|
114
114
|
)) }), X = ({
|
|
115
115
|
children: i,
|
|
116
|
-
fallbackComponent: a = /* @__PURE__ */ t(
|
|
116
|
+
fallbackComponent: a = /* @__PURE__ */ t(h, {}),
|
|
117
117
|
isLoading: l = !1,
|
|
118
118
|
limit: d,
|
|
119
119
|
keyPrefix: r
|
|
@@ -124,7 +124,7 @@ const D = b.div`
|
|
|
124
124
|
limit: d,
|
|
125
125
|
keyPrefix: r
|
|
126
126
|
}
|
|
127
|
-
) : i }),
|
|
127
|
+
) : i }), y = I(G), le = f((i, a) => {
|
|
128
128
|
const {
|
|
129
129
|
icon: l,
|
|
130
130
|
title: d,
|
|
@@ -147,8 +147,8 @@ const D = b.div`
|
|
|
147
147
|
allButton: P = !1
|
|
148
148
|
} = i, w = R(), z = O(() => {
|
|
149
149
|
var o;
|
|
150
|
-
return /* @__PURE__ */ t(
|
|
151
|
-
|
|
150
|
+
return /* @__PURE__ */ t(h, { children: w === !0 ? r == null ? void 0 : r.map((e, g) => /* @__PURE__ */ t(
|
|
151
|
+
y,
|
|
152
152
|
{
|
|
153
153
|
title: e == null ? void 0 : e.title,
|
|
154
154
|
imageUrl: (e == null ? void 0 : e.image) || null,
|
|
@@ -158,7 +158,7 @@ const D = b.div`
|
|
|
158
158
|
},
|
|
159
159
|
g
|
|
160
160
|
)) : (o = r == null ? void 0 : r.slice(0, n)) == null ? void 0 : o.map((e, g) => /* @__PURE__ */ t(
|
|
161
|
-
|
|
161
|
+
y,
|
|
162
162
|
{
|
|
163
163
|
title: e == null ? void 0 : e.title,
|
|
164
164
|
imageUrl: (e == null ? void 0 : e.image) || null,
|
|
@@ -172,15 +172,15 @@ const D = b.div`
|
|
|
172
172
|
return /* @__PURE__ */ m(E, { ref: a, children: [
|
|
173
173
|
/* @__PURE__ */ m("div", { className: "regular-title", children: [
|
|
174
174
|
/* @__PURE__ */ m("div", { className: "regular-title-text", children: [
|
|
175
|
-
|
|
175
|
+
S(l) && /* @__PURE__ */ t("i", { className: l }),
|
|
176
176
|
/* @__PURE__ */ t("span", { children: d })
|
|
177
177
|
] }),
|
|
178
|
-
|
|
178
|
+
S(k) && /* @__PURE__ */ t(
|
|
179
179
|
F,
|
|
180
180
|
{
|
|
181
181
|
type: "button",
|
|
182
182
|
btnType: "tinted",
|
|
183
|
-
color: "
|
|
183
|
+
color: "neutral",
|
|
184
184
|
onClick: (o) => {
|
|
185
185
|
var e;
|
|
186
186
|
(e = o == null ? void 0 : o.target) == null || e.blur(), B(k);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),p=require("react"),
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),p=require("react"),m=require("./utils-CZynEOC_.cjs"),o=require("./emotion-styled.browser.esm-BtEseadx.cjs"),d=require("./consts-goSZX3xP.cjs"),h=o.styled.div`
|
|
2
2
|
width: 7.5rem;
|
|
3
3
|
height: auto;
|
|
4
4
|
max-height: 7.5rem;
|
|
@@ -24,14 +24,14 @@
|
|
|
24
24
|
}
|
|
25
25
|
`,_=o.styled.div`
|
|
26
26
|
width: 7.5rem;
|
|
27
|
-
height:
|
|
28
|
-
background: ${
|
|
27
|
+
height: 3.5rem;
|
|
28
|
+
background: ${m.linearGradientAnimation("-90deg")};
|
|
29
29
|
|
|
30
30
|
@media (max-width: ${d.MOBILE_SIZE_PX+"px"}) {
|
|
31
31
|
width: 4.5rem;
|
|
32
32
|
height: 4.5rem;
|
|
33
33
|
}
|
|
34
|
-
`,
|
|
34
|
+
`,g=p.forwardRef(({imageComponent:t,image:i,onSelectCard:a},l)=>e.jsx(h,{children:m.isDefined(t)?t:e.jsx("img",{src:i,className:"wrapper__image",onClick:a})})),w=p.forwardRef(({},t)=>e.jsx(_,{})),x=o.styled.div`
|
|
35
35
|
display: flex;
|
|
36
36
|
flex-direction: column;
|
|
37
37
|
align-items: flex-start;
|
|
@@ -44,12 +44,12 @@
|
|
|
44
44
|
& .wrapper__heading {
|
|
45
45
|
display: flex;
|
|
46
46
|
flex-direction: column;
|
|
47
|
-
gap:
|
|
47
|
+
gap: 0.5rem;
|
|
48
48
|
text-align: center;
|
|
49
49
|
width: 100%;
|
|
50
50
|
|
|
51
51
|
& .wrapper__title {
|
|
52
|
-
color: var(--
|
|
52
|
+
color: var(--navy-900, #0c1520);
|
|
53
53
|
text-align: center;
|
|
54
54
|
font-size: 1.5rem;
|
|
55
55
|
font-style: normal;
|
|
@@ -59,11 +59,11 @@
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
& .wrapper__subtitle {
|
|
62
|
-
color: var(
|
|
63
|
-
font-size:
|
|
62
|
+
color: var(--navy-500, #7a8594);
|
|
63
|
+
font-size: 1rem;
|
|
64
64
|
font-style: normal;
|
|
65
|
-
font-weight:
|
|
66
|
-
line-height: 1.
|
|
65
|
+
font-weight: 500;
|
|
66
|
+
line-height: 1.5rem;
|
|
67
67
|
letter-spacing: 0.25px;
|
|
68
68
|
}
|
|
69
69
|
}
|
|
@@ -91,4 +91,4 @@
|
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
`,
|
|
94
|
+
`,f=p.forwardRef(({title:t,subtitle:i,items:a=[],isLoading:l=!1,onSelectCard:n=()=>{}},u)=>{var c;return e.jsxs(x,{children:[e.jsxs("div",{className:"wrapper__heading",children:[t&&e.jsx("div",{className:"wrapper__title",children:t}),i&&e.jsx("div",{className:"wrapper__subtitle",children:i})]}),e.jsx("div",{className:"wrapper__content",children:l?(c=Array.from("12345"))==null?void 0:c.map((r,s)=>e.jsx(w,{},`brand-hit-card-skeleton__${s+1}`)):a==null?void 0:a.map((r,s)=>e.jsx(g,{image:r==null?void 0:r.image,imageComponent:r==null?void 0:r.imageComponent,onSelectCard:()=>n==null?void 0:n(r),className:"wrapper__item"},`brand-hit-card__${s+1}`))})]})});module.exports=f;
|
package/dist/BrandHitsSection.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { o as c, l as
|
|
4
|
-
import { s as
|
|
5
|
-
import { M as
|
|
6
|
-
const g =
|
|
1
|
+
import { jsx as r, jsxs as h } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as m } from "react";
|
|
3
|
+
import { o as c, l as _ } from "./utils-BbgAIA9N.js";
|
|
4
|
+
import { s as o } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
+
import { M as d } from "./consts-BuFChS64.js";
|
|
6
|
+
const g = o.div`
|
|
7
7
|
width: 7.5rem;
|
|
8
8
|
height: auto;
|
|
9
9
|
max-height: 7.5rem;
|
|
@@ -17,7 +17,7 @@ const g = d.div`
|
|
|
17
17
|
height: auto;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
@media (max-width: ${
|
|
20
|
+
@media (max-width: ${d + "px"}) {
|
|
21
21
|
width: 4.5rem;
|
|
22
22
|
height: auto;
|
|
23
23
|
max-height: 4.5rem;
|
|
@@ -27,18 +27,18 @@ const g = d.div`
|
|
|
27
27
|
height: auto;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
`,
|
|
30
|
+
`, w = o.div`
|
|
31
31
|
width: 7.5rem;
|
|
32
|
-
height:
|
|
32
|
+
height: 3.5rem;
|
|
33
33
|
background: ${c("-90deg")};
|
|
34
34
|
|
|
35
|
-
@media (max-width: ${
|
|
35
|
+
@media (max-width: ${d + "px"}) {
|
|
36
36
|
width: 4.5rem;
|
|
37
37
|
height: 4.5rem;
|
|
38
38
|
}
|
|
39
|
-
`,
|
|
40
|
-
({ imageComponent:
|
|
41
|
-
),
|
|
39
|
+
`, f = m(
|
|
40
|
+
({ imageComponent: a, image: i, onSelectCard: t }, l) => /* @__PURE__ */ r(g, { children: _(a) ? a : /* @__PURE__ */ r("img", { src: i, className: "wrapper__image", onClick: t }) })
|
|
41
|
+
), x = m(({}, a) => /* @__PURE__ */ r(w, {})), u = o.div`
|
|
42
42
|
display: flex;
|
|
43
43
|
flex-direction: column;
|
|
44
44
|
align-items: flex-start;
|
|
@@ -51,12 +51,12 @@ const g = d.div`
|
|
|
51
51
|
& .wrapper__heading {
|
|
52
52
|
display: flex;
|
|
53
53
|
flex-direction: column;
|
|
54
|
-
gap:
|
|
54
|
+
gap: 0.5rem;
|
|
55
55
|
text-align: center;
|
|
56
56
|
width: 100%;
|
|
57
57
|
|
|
58
58
|
& .wrapper__title {
|
|
59
|
-
color: var(--
|
|
59
|
+
color: var(--navy-900, #0c1520);
|
|
60
60
|
text-align: center;
|
|
61
61
|
font-size: 1.5rem;
|
|
62
62
|
font-style: normal;
|
|
@@ -66,11 +66,11 @@ const g = d.div`
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
& .wrapper__subtitle {
|
|
69
|
-
color: var(
|
|
70
|
-
font-size:
|
|
69
|
+
color: var(--navy-500, #7a8594);
|
|
70
|
+
font-size: 1rem;
|
|
71
71
|
font-style: normal;
|
|
72
|
-
font-weight:
|
|
73
|
-
line-height: 1.
|
|
72
|
+
font-weight: 500;
|
|
73
|
+
line-height: 1.5rem;
|
|
74
74
|
letter-spacing: 0.25px;
|
|
75
75
|
}
|
|
76
76
|
}
|
|
@@ -87,7 +87,7 @@ const g = d.div`
|
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
@media (max-width: ${
|
|
90
|
+
@media (max-width: ${d + "px"}) {
|
|
91
91
|
& .wrapper__content {
|
|
92
92
|
align-content: center;
|
|
93
93
|
gap: 1rem;
|
|
@@ -98,30 +98,32 @@ const g = d.div`
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
`,
|
|
102
|
-
({ title:
|
|
103
|
-
} },
|
|
104
|
-
var
|
|
105
|
-
return /* @__PURE__ */
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
101
|
+
`, B = m(
|
|
102
|
+
({ title: a, subtitle: i, items: t = [], isLoading: l = !1, onSelectCard: n = () => {
|
|
103
|
+
} }, v) => {
|
|
104
|
+
var s;
|
|
105
|
+
return /* @__PURE__ */ h(u, { children: [
|
|
106
|
+
/* @__PURE__ */ h("div", { className: "wrapper__heading", children: [
|
|
107
|
+
a && /* @__PURE__ */ r("div", { className: "wrapper__title", children: a }),
|
|
108
|
+
i && /* @__PURE__ */ r("div", { className: "wrapper__subtitle", children: i })
|
|
109
|
+
] }),
|
|
110
|
+
/* @__PURE__ */ r("div", { className: "wrapper__content", children: l ? (s = Array.from("12345")) == null ? void 0 : s.map((e, p) => /* @__PURE__ */ r(
|
|
111
|
+
x,
|
|
112
|
+
{},
|
|
113
|
+
`brand-hit-card-skeleton__${p + 1}`
|
|
114
|
+
)) : t == null ? void 0 : t.map((e, p) => /* @__PURE__ */ r(
|
|
115
|
+
f,
|
|
110
116
|
{
|
|
111
|
-
image:
|
|
112
|
-
imageComponent:
|
|
113
|
-
onSelectCard: () => n == null ? void 0 : n(
|
|
117
|
+
image: e == null ? void 0 : e.image,
|
|
118
|
+
imageComponent: e == null ? void 0 : e.imageComponent,
|
|
119
|
+
onSelectCard: () => n == null ? void 0 : n(e),
|
|
114
120
|
className: "wrapper__item"
|
|
115
121
|
},
|
|
116
122
|
`brand-hit-card__${p + 1}`
|
|
117
|
-
)) : (m = Array.from("12345")) == null ? void 0 : m.map((a, p) => /* @__PURE__ */ e(
|
|
118
|
-
f,
|
|
119
|
-
{},
|
|
120
|
-
`brand-hit-card-skeleton__${p + 1}`
|
|
121
123
|
)) })
|
|
122
|
-
] })
|
|
124
|
+
] });
|
|
123
125
|
}
|
|
124
126
|
);
|
|
125
127
|
export {
|
|
126
|
-
|
|
128
|
+
B as default
|
|
127
129
|
};
|
package/dist/Breadcrumbs.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const s=require("react/jsx-runtime"),i=require("react"),t=require("./index-
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),i=require("react"),t=require("./index-BpbMKBf_.cjs"),u=require("./emotion-styled.browser.esm-BtEseadx.cjs"),g=require("./utils-CZynEOC_.cjs"),S=require("./Icon.cjs"),_=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),z=u.styled.div`
|
|
2
2
|
display: inline-flex;
|
|
3
3
|
flex-wrap: wrap;
|
|
4
4
|
${o=>g.getComponentTypographyCss(o.theme,"Breadcrumbs",o.size,"enabled")};
|
package/dist/Breadcrumbs.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o, jsxs as u, Fragment as A } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as N, useState as O } from "react";
|
|
3
|
-
import { P as t } from "./index-
|
|
3
|
+
import { P as t } from "./index-CblbdqjE.js";
|
|
4
4
|
import { s as c } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import { c as P, b as S } from "./utils-BbgAIA9N.js";
|
|
6
6
|
import v from "./Icon.js";
|
package/dist/Button.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),w=require("react"),l=require("./index-
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),w=require("react"),l=require("./index-BpbMKBf_.cjs"),k=require("./index-DA7SIHV1.cjs"),d=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-CZynEOC_.cjs"),I=require("./Icon.cjs"),P=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),f={small:{regular:"1rem",icon:"0.75rem",justIcon:"0.5rem"},medium:{regular:"1.5rem",icon:"1rem",justIcon:"0.5rem"},large:{regular:"1.5rem",icon:"1rem",justIcon:"0.5rem"}},T=e=>`
|
|
2
2
|
outline: none;
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
flex-direction: row;
|
package/dist/Button.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as l, jsxs as W, Fragment as E } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as q } from "react";
|
|
3
|
-
import { P as o } from "./index-
|
|
4
|
-
import { i as T } from "./index-
|
|
3
|
+
import { P as o } from "./index-CblbdqjE.js";
|
|
4
|
+
import { i as T } from "./index-6RFrSPs_.js";
|
|
5
5
|
import { s as u } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
6
6
|
import { c as z, b as t, d as r, h as I, e as v, a as A } from "./utils-BbgAIA9N.js";
|
|
7
7
|
import w from "./Icon.js";
|
package/dist/ButtonGroup.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const i=require("react/jsx-runtime"),a=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./index-
|
|
1
|
+
"use strict";const i=require("react/jsx-runtime"),a=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./index-BpbMKBf_.cjs"),o=require("./utils-CZynEOC_.cjs"),b=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),s=a.styled.div`
|
|
2
2
|
display: inline-flex;
|
|
3
3
|
flex-wrap: wrap;
|
|
4
4
|
width: fit-content;
|
package/dist/ButtonGroup.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as u } from "react/jsx-runtime";
|
|
2
2
|
import { s as i } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
3
|
-
import { P as t } from "./index-
|
|
3
|
+
import { P as t } from "./index-CblbdqjE.js";
|
|
4
4
|
import { b as o, a as b } from "./utils-BbgAIA9N.js";
|
|
5
5
|
import { u as l } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
6
6
|
const s = i.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),d=require("react"),b=require("./emotion-styled.browser.esm-BtEseadx.cjs"),y=require("./consts-goSZX3xP.cjs"),z=require("./Button.cjs"),I=require("./index-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),d=require("react"),b=require("./emotion-styled.browser.esm-BtEseadx.cjs"),y=require("./consts-goSZX3xP.cjs"),z=require("./Button.cjs"),I=require("./index-BpbMKBf_.cjs"),L=require("./RangeSlider.cjs"),F=require("./DropdownItem.cjs"),X=require("./DropdownMenu.cjs"),Z=require("./IconButton.cjs"),V=require("./BannerSectionWithList.cjs"),H=require("./utils-CZynEOC_.cjs"),D=b.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -3,7 +3,7 @@ import { forwardRef as w, useState as N, useRef as Y } from "react";
|
|
|
3
3
|
import { s as y } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { M as C } from "./consts-BuFChS64.js";
|
|
5
5
|
import S from "./Button.js";
|
|
6
|
-
import { P as G } from "./index-
|
|
6
|
+
import { P as G } from "./index-CblbdqjE.js";
|
|
7
7
|
import A from "./RangeSlider.js";
|
|
8
8
|
import _ from "./DropdownItem.js";
|
|
9
9
|
import K from "./DropdownMenu.js";
|
package/dist/CheckBoxInput.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),z=require("react"),t=require("./index-
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),z=require("react"),t=require("./index-BpbMKBf_.cjs"),R=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./utils-CZynEOC_.cjs"),j=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),V=e=>e=="left"?"row-reverse":"row",i=(e,s)=>`calc(${e.components.Checkbox.default.enabled.sizes[s]} / 2)`,O=R.styled.label`
|
|
2
2
|
-webkit-user-select: none;
|
|
3
3
|
-moz-user-select: none;
|
|
4
4
|
-ms-user-select: none;
|
package/dist/CheckBoxInput.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as k, jsx as i, Fragment as B } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as I } from "react";
|
|
3
|
-
import { P as t } from "./index-
|
|
3
|
+
import { P as t } from "./index-CblbdqjE.js";
|
|
4
4
|
import { s as j } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import { d as g, c as L, b as n, a as N, e as x } from "./utils-BbgAIA9N.js";
|
|
6
6
|
import { u as P } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
package/dist/Chip.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),j=require("react"),r=require("./index-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),j=require("react"),r=require("./index-BpbMKBf_.cjs"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),n=require("./utils-CZynEOC_.cjs"),O=require("./Avatar.cjs"),q=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),m=e=>{var o="fas";return`${o} fa-${e} fa-fw`},S=(e,o,l,a)=>e?`padding-right: ${a=="small"?"0.75rem":"0.625rem"}; padding-left: ${a=="small"?"0.25rem":"0.125rem"};`:o?`padding-right: ${a=="small"?"0.5rem":"0.375rem"}; padding-left: ${a=="small"?"0.5rem":"0.375rem"};`:l?`padding-right: ${a=="small"?"0.5rem":"0.375rem"}; padding-left: ${a=="small"?"0.75rem":"0.625rem"};`:`padding-right: ${a=="small"?"1rem":"0.75rem"}; padding-left: ${a=="small"?"1rem":"0.75rem"};`,F=w.styled.span`
|
|
2
2
|
cursor: pointer;
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
height: ${e=>n.getSizeValueWithUnits(e.theme,e.size)};
|
package/dist/Chip.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as u, jsx as c, Fragment as N } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as j } from "react";
|
|
3
|
-
import { P as a } from "./index-
|
|
3
|
+
import { P as a } from "./index-CblbdqjE.js";
|
|
4
4
|
import { s as B } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import { d as b, h as D, b as t, a as F, c as S, g as V, e as U } from "./utils-BbgAIA9N.js";
|
|
6
6
|
import W from "./Avatar.js";
|
package/dist/ColorInput.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const i=require("react/jsx-runtime"),m=require("react"),P=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./index-
|
|
1
|
+
"use strict";const i=require("react/jsx-runtime"),m=require("react"),P=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./index-BpbMKBf_.cjs"),n=require("./utils-CZynEOC_.cjs"),N=require("./index-Cp66dWMi.cjs"),A=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),H=require("./useUpdateEffect-BtMgpgIV.cjs"),R=(e,o)=>`calc(${n.getSizeValueWithUnits(e,o)} - 1rem)`,L=P.styled.label`
|
|
2
2
|
display: inline-flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
gap: 0.5rem;
|