@lanaco/lnc-react-ui 4.0.85 → 4.0.87
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/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/BannerSectionBasic.cjs +1 -1
- package/dist/BannerSectionBasic.js +1 -1
- package/dist/BannerSectionCarousel.cjs +1 -1
- package/dist/BannerSectionCarousel.js +3 -3
- package/dist/BannerSectionGrid.cjs +1 -1
- package/dist/BannerSectionGrid.js +3 -3
- package/dist/BannerSectionSimple.cjs +1 -1
- package/dist/BannerSectionSimple.js +2 -2
- package/dist/BannerSectionWithList.cjs +1 -1
- package/dist/BannerSectionWithList.js +2 -2
- package/dist/BannerSectionWithListImage.cjs +2 -2
- package/dist/BannerSectionWithListImage.js +10 -10
- package/dist/BlogCardsSponsoredSection.cjs +1 -1
- package/dist/BlogCardsSponsoredSection.js +4 -4
- package/dist/BlogCategoryCardsSection.cjs +1 -1
- package/dist/BlogCategoryCardsSection.js +2 -2
- package/dist/BlogListSection.cjs +1 -1
- package/dist/BlogListSection.js +3 -3
- package/dist/BlogProductCardsSection.cjs +1 -1
- package/dist/BlogProductCardsSection.js +4 -4
- package/dist/BlogShopCardsSection.cjs +1 -1
- package/dist/BlogShopCardsSection.js +3 -3
- package/dist/BlogSingleSection.cjs +1 -1
- package/dist/BlogSingleSection.js +2 -2
- package/dist/BlogsSectionDetailed.cjs +1 -1
- package/dist/BlogsSectionDetailed.js +5 -5
- package/dist/BlogsSectionLarge.cjs +1 -1
- package/dist/BlogsSectionLarge.js +4 -4
- package/dist/BlogsSectionSimple.cjs +6 -6
- package/dist/BlogsSectionSimple.js +46 -43
- package/dist/BlogsSectionSimpleCentered.cjs +1 -1
- package/dist/BlogsSectionSimpleCentered.js +4 -4
- package/dist/BlogsSectionWithFilters.cjs +6 -2
- package/dist/BlogsSectionWithFilters.js +40 -34
- package/dist/BrandHitsSection.cjs +1 -1
- package/dist/BrandHitsSection.js +2 -2
- package/dist/Breadcrumbs.cjs +1 -1
- package/dist/Breadcrumbs.js +1 -1
- 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 +1 -1
- package/dist/CalorieCalculatorSection.js +2 -2
- 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 +1 -1
- package/dist/ConfirmationForm.cjs +1 -1
- package/dist/ConfirmationForm.js +1 -1
- package/dist/CustomLoanMapSection.cjs +3 -3
- package/dist/CustomLoanMapSection.js +96 -36
- package/dist/{CustomStyles-BEn7PPUw.js → CustomStyles-DSaRbYZg.js} +1 -1
- package/dist/{CustomStyles-CraIxsuq.cjs → CustomStyles-DzChCA5c.cjs} +1 -1
- package/dist/DateInput.cjs +1 -1
- package/dist/DateInput.js +1 -1
- 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/DetailedProductsSection.cjs +6 -2
- package/dist/DetailedProductsSection.js +30 -23
- 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 +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 +1 -1
- package/dist/EditableTable.cjs +1 -1
- package/dist/EditableTable.js +1 -1
- package/dist/FieldOfInterestsMasonrySection.cjs +1 -1
- package/dist/FieldOfInterestsMasonrySection.js +2 -2
- package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +1 -1
- package/dist/FieldOfInterestsWithAvatarsCardsSection.js +3 -3
- package/dist/FieldOfInterestsWithTagsCardsSection.cjs +11 -11
- package/dist/FieldOfInterestsWithTagsCardsSection.js +55 -53
- package/dist/FileInput.cjs +1 -1
- package/dist/FileInput.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 +3 -5
- package/dist/GeneralWithTagsCardsSection.js +8 -10
- package/dist/GiftCardsSection.cjs +1 -1
- package/dist/GiftCardsSection.js +4 -4
- 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/Kanban.cjs +1 -1
- package/dist/Kanban.js +1 -1
- package/dist/KanbanActionsToolbar.cjs +1 -1
- package/dist/KanbanActionsToolbar.js +1 -1
- package/dist/KanbanView.cjs +1 -1
- package/dist/KanbanView.js +1 -1
- package/dist/Link.cjs +1 -1
- package/dist/Link.js +1 -1
- package/dist/LoanCalculatorSection.cjs +106 -4
- package/dist/LoanCalculatorSection.js +505 -350
- package/dist/LocationFinderSection.cjs +1 -1
- package/dist/LocationFinderSection.js +1 -1
- package/dist/LocationSearchSection.cjs +6 -6
- package/dist/LocationSearchSection.js +21 -16
- package/dist/MasonryGeneralCardsSection.cjs +1 -1
- package/dist/MasonryGeneralCardsSection.js +2 -2
- package/dist/MenuItem.cjs +1 -1
- package/dist/MenuItem.js +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/NestedDropdownItem.cjs +1 -1
- package/dist/NestedDropdownItem.js +1 -1
- package/dist/NestedMenuItem.cjs +1 -1
- package/dist/NestedMenuItem.js +1 -1
- package/dist/NotificationContainer.cjs +1 -1
- package/dist/NotificationContainer.js +1 -1
- package/dist/NotificationMessage.cjs +1 -1
- package/dist/NotificationMessage.js +1 -1
- package/dist/NumberInput.cjs +1 -1
- package/dist/NumberInput.js +1 -1
- package/dist/OverlayGeneralCardsSection.cjs +1 -1
- package/dist/OverlayGeneralCardsSection.js +3 -3
- package/dist/PasswordInput.cjs +1 -1
- package/dist/PasswordInput.js +1 -1
- package/dist/PopoverContent.cjs +1 -1
- package/dist/PopoverContent.js +1 -1
- package/dist/ProductsWithBannerSection.cjs +1 -1
- package/dist/ProductsWithBannerSection.js +5 -5
- package/dist/ProgressBar.cjs +1 -1
- package/dist/ProgressBar.js +1 -1
- package/dist/QuizSection.cjs +1 -1
- package/dist/QuizSection.js +2 -2
- 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 +4 -4
- package/dist/SalesCampaignsSection.cjs +35 -31
- package/dist/SalesCampaignsSection.js +184 -178
- package/dist/Separator.cjs +1 -1
- package/dist/Separator.js +1 -1
- package/dist/SeparatorSection.cjs +1 -1
- package/dist/SeparatorSection.js +1 -1
- package/dist/ShopCardsSection.cjs +1 -1
- package/dist/ShopCardsSection.js +3 -3
- package/dist/Sidebar.cjs +1 -1
- package/dist/Sidebar.js +1 -1
- package/dist/SimpleCategoriesSection.cjs +1 -1
- package/dist/SimpleCategoriesSection.js +5 -5
- package/dist/SimpleProductsSection.cjs +1 -1
- package/dist/SimpleProductsSection.js +5 -5
- package/dist/Spinner.cjs +1 -1
- package/dist/Spinner.js +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 +1 -1
- package/dist/Table.js +1 -1
- package/dist/TableView.cjs +1 -1
- package/dist/TableView.js +1 -1
- 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 +1 -1
- package/dist/ThemeProvider.js +1 -1
- 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/TreeMenuSeparator.cjs +1 -1
- package/dist/TreeMenuSeparator.js +1 -1
- package/dist/UploadedFile.cjs +1 -1
- package/dist/UploadedFile.js +1 -1
- package/dist/UrgentSaleProductsSection.cjs +12 -6
- package/dist/UrgentSaleProductsSection.js +33 -27
- package/dist/consts-BuFChS64.js +7 -0
- package/dist/consts-goSZX3xP.cjs +1 -0
- package/dist/{index-BAcDCJ__.cjs → index-B9HSHvhH.cjs} +4 -3
- package/dist/{index-0gMMorgT.js → index-BBPnKoi6.js} +13 -12
- package/dist/{index-CrQCfnN4.cjs → index-BVaZWq6y.cjs} +1 -1
- package/dist/{index-BxlCwYfi.cjs → index-BaLBHyTh.cjs} +1 -1
- package/dist/{index-CAUvgabx.js → index-Ca38iPjf.js} +1 -1
- package/dist/{index-qJdP9Qj_.cjs → index-Ccw8sLnK.cjs} +1 -1
- package/dist/{index-CpuLfTNK.js → index-CsrdUl1x.js} +1 -1
- package/dist/{index-NPoFvaOb.cjs → index-Cx4KvZ9L.cjs} +1 -1
- package/dist/{index-Dh4_OKr4.cjs → index-DG7qQq8L.cjs} +1 -1
- package/dist/{index-B-rMBqRZ.js → index-Db8wvLXS.js} +3 -3
- package/dist/{index-CsE-jpuG.js → index-Yh18uk_f.js} +3 -3
- package/dist/{index-BH4xYvWX.js → index-iSD5jNBk.js} +3 -3
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{skeleton-h_BqlhwR.cjs → skeleton-BBSBZ4JV.cjs} +7 -3
- package/dist/{skeleton-UZpd11NH.cjs → skeleton-C_Jypl8r.cjs} +1 -1
- package/dist/{skeleton-BAFYFLzF.js → skeleton-DALCB1S7.js} +9 -5
- package/dist/{skeleton-Cwiuzfm-.js → skeleton-wfDIalr3.js} +2 -2
- package/dist/{style-OPSfrtFm.cjs → style-BTTXJFJN.cjs} +1 -1
- package/dist/{style-CsMpu4iC.js → style-sLF37aOA.js} +1 -1
- package/dist/{style-DOKM5cZi.js → style-tw6KjI2J.js} +1 -1
- package/dist/{style-C571ywKV.cjs → style-xvwWn3Zv.cjs} +1 -1
- package/dist/{suspense-categories-card-simple-CHf0Facw.cjs → suspense-categories-card-simple-5JZtz7wj.cjs} +1 -1
- package/dist/{suspense-categories-card-simple-Dur5FfBL.js → suspense-categories-card-simple-BTFqzXyn.js} +2 -2
- package/dist/{suspense-large-BuLLKfkY.cjs → suspense-large-BtfvnzWh.cjs} +1 -1
- package/dist/{suspense-large-CzEWIMbY.js → suspense-large-DFlSJhGG.js} +1 -1
- package/dist/{suspense-product-card-detailed-BeCtuxgb.js → suspense-product-card-detailed-CwdbxJrY.js} +3 -3
- package/dist/{suspense-product-card-detailed-DMGdY--Y.cjs → suspense-product-card-detailed-DBNlkFiP.cjs} +1 -1
- package/dist/{suspense-product-card-simple-Rm_eNQQM.js → suspense-product-card-simple--ExcEpD-.js} +1 -1
- package/dist/{suspense-product-card-simple-D0rKjnJ9.cjs → suspense-product-card-simple-0x5sc47a.cjs} +1 -1
- package/dist/{useDetectMobile-BC6EGaBc.js → useDetectMobile-Bkvj0VMa.js} +1 -1
- package/dist/{useDetectMobile-D6d5LpdL.cjs → useDetectMobile-zkbzoOGV.cjs} +1 -1
- package/dist/{utils-ChqiSgoC.js → utils-BE-UlkKf.js} +1 -1
- package/dist/{utils-Cz7P2Zok.cjs → utils-DhRHf5Ed.cjs} +1 -1
- package/package.json +1 -1
- package/dist/consts-C1uHV4xc.js +0 -6
- package/dist/consts-CtNoHdBj.cjs +0 -1
- package/dist/index-BmmUDFl9.js +0 -164
- package/dist/index-CLi5dmE8.cjs +0 -103
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),o=require("react"),g=require("./index-
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),o=require("react"),g=require("./index-Ccw8sLnK.cjs"),a=require("./skeleton-BBSBZ4JV.cjs"),c=({limit:t=1,isLoading:l=!1,keyPrefix:n})=>r.jsx(r.Fragment,{children:Array.from({length:t},(e,s)=>r.jsx(a.BlogCardLargeSkeleton,{isLoading:l},`${n}-skeleton-product-card-${s}`))}),x=({children:t,fallbackComponent:l=r.jsx(r.Fragment,{}),isLoading:n=!1,limit:e,keyPrefix:s})=>r.jsx(o.Suspense,{fallbackComponent:l,children:n===!0?r.jsx(c,{isLoading:n,limit:e,keyPrefix:s}):t}),d=o.forwardRef((t,l)=>{const{isLoading:n,item:e,onSelectCard:s=()=>{},getImage:u=()=>{}}=t;return r.jsx(x,{isLoading:n,limit:1,keyPrefix:"explore-landing",children:r.jsx(g.BlogCardLarge,{ref:l,title:e==null?void 0:e.title,imageUrl:u(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,buttonText:e==null?void 0:e.buttonText,onCardClick:()=>s(e==null?void 0:e.titleSlug)})})});module.exports=d;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e, Fragment as a } from "react/jsx-runtime";
|
|
2
2
|
import { Suspense as s, forwardRef as u } from "react";
|
|
3
|
-
import { B as d } from "./index-
|
|
4
|
-
import { B as c } from "./skeleton-
|
|
3
|
+
import { B as d } from "./index-Yh18uk_f.js";
|
|
4
|
+
import { B as c } from "./skeleton-DALCB1S7.js";
|
|
5
5
|
const f = ({ limit: o = 1, isLoading: t = !1, keyPrefix: l }) => /* @__PURE__ */ e(a, { children: Array.from({ length: o }, (r, n) => /* @__PURE__ */ e(
|
|
6
6
|
c,
|
|
7
7
|
{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),g=require("react"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),y=require("./consts-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),g=require("react"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),y=require("./consts-goSZX3xP.cjs"),R=require("./useDetectMobile-zkbzoOGV.cjs"),r=require("./utils-DhRHf5Ed.cjs"),N=require("./style-xvwWn3Zv.cjs"),T=require("./Button.cjs"),O=require("./index-BVaZWq6y.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;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs as t, jsx as r, Fragment as k } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as N, Suspense as A, memo as B, useMemo as L } from "react";
|
|
3
3
|
import { s as y } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import { M as T } from "./consts-
|
|
5
|
-
import { u as D } from "./useDetectMobile-
|
|
6
|
-
import { m as v, t as P, q as z, p as M, s as C, k as w } from "./utils-
|
|
7
|
-
import { B as I, R as U } from "./style-
|
|
4
|
+
import { M as T } from "./consts-BuFChS64.js";
|
|
5
|
+
import { u as D } from "./useDetectMobile-Bkvj0VMa.js";
|
|
6
|
+
import { m as v, t as P, q as z, p as M, s as C, k as w } from "./utils-BE-UlkKf.js";
|
|
7
|
+
import { B as I, R as U } from "./style-sLF37aOA.js";
|
|
8
8
|
import W from "./Button.js";
|
|
9
|
-
import { P as j } from "./index-
|
|
9
|
+
import { P as j } from "./index-Ca38iPjf.js";
|
|
10
10
|
const E = y.div`
|
|
11
11
|
display: grid;
|
|
12
12
|
grid-template-columns: ${(i) => `repeat(${i.limit}, minmax(0, 1fr))`};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const i=require("react/jsx-runtime"),s=require("react"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),S=require("./consts-
|
|
1
|
+
"use strict";const i=require("react/jsx-runtime"),s=require("react"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),S=require("./consts-goSZX3xP.cjs"),b=require("./useDetectMobile-zkbzoOGV.cjs"),q=require("./index-Ccw8sLnK.cjs"),C=require("./suspense-large-BtfvnzWh.cjs"),f=p.styled.div`
|
|
2
2
|
display: grid;
|
|
3
3
|
grid-template-columns: ${l=>`repeat(${l.limit}, minmax(0, 1fr))`};
|
|
4
4
|
gap: 1.25rem;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as r, Fragment as p } from "react/jsx-runtime";
|
|
2
2
|
import { memo as c, forwardRef as f, useMemo as S } from "react";
|
|
3
3
|
import { s as C } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import { M as b } from "./consts-
|
|
5
|
-
import { u as B } from "./useDetectMobile-
|
|
6
|
-
import { B as M } from "./index-
|
|
7
|
-
import { S as L } from "./suspense-large-
|
|
4
|
+
import { M as b } from "./consts-BuFChS64.js";
|
|
5
|
+
import { u as B } from "./useDetectMobile-Bkvj0VMa.js";
|
|
6
|
+
import { B as M } from "./index-Yh18uk_f.js";
|
|
7
|
+
import { S as L } from "./suspense-large-DFlSJhGG.js";
|
|
8
8
|
const h = C.div`
|
|
9
9
|
display: grid;
|
|
10
10
|
grid-template-columns: ${(l) => `repeat(${l.limit}, minmax(0, 1fr))`};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),a=require("react"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),a=require("react"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),S=require("./consts-goSZX3xP.cjs"),N=require("./useDetectMobile-zkbzoOGV.cjs"),m=require("./utils-DhRHf5Ed.cjs"),x=require("./style-xvwWn3Zv.cjs"),q=require("./Button.cjs"),R=require("./Link.cjs"),M=require("./index-BVaZWq6y.cjs"),B=p.styled.div`
|
|
2
2
|
display: grid;
|
|
3
3
|
grid-template-columns: ${t=>`repeat(${t.limit}, minmax(0, 1fr))`};
|
|
4
4
|
gap: 1.25rem;
|
|
5
5
|
|
|
6
|
-
@media (max-width: ${
|
|
6
|
+
@media (max-width: ${S.MOBILE_SIZE_PX+"px"}) {
|
|
7
7
|
grid-template-columns: repeat(1, 1fr);
|
|
8
8
|
}
|
|
9
|
-
`,
|
|
9
|
+
`,y=p.styled.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
flex-direction: column;
|
|
12
12
|
width: 100%;
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
margin-top: auto;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
@media (max-width: ${
|
|
49
|
+
@media (max-width: ${S.MOBILE_SIZE_PX+"px"}) {
|
|
50
50
|
}
|
|
51
|
-
`,
|
|
51
|
+
`,b=p.styled.div`
|
|
52
52
|
padding: 1rem 1rem 0 1rem;
|
|
53
53
|
display: flex;
|
|
54
54
|
flex-direction: column;
|
|
@@ -68,4 +68,4 @@
|
|
|
68
68
|
color: var(--gray-700, #4e555f);
|
|
69
69
|
${m.truncateTextInRows(3)}
|
|
70
70
|
}
|
|
71
|
-
|
|
71
|
+
`,$=a.forwardRef((t,o)=>{const{title:i,imageUrl:s,text:l,onCardClick:c,readMoreText:d="Read more"}=t;return r.jsxs(y,{ref:o,className:"blog-card",onClick:c,children:[r.jsx(M.ProductImageWrapper,{src:s}),r.jsxs(b,{children:[r.jsx("div",{className:"text-wr-title",children:i}),r.jsx("div",{className:"text-wr",children:l})]}),r.jsx(R,{className:"action",color:"gray",onClick:c,children:d})]})}),I=a.forwardRef(({},t)=>r.jsxs(y,{className:"product-card",children:[r.jsx("div",{className:"skeleton-img"}),r.jsx("div",{className:"card-title"}),r.jsx(b,{})]})),P=({limit:t=3,isLoading:o=!1,keyPrefix:i})=>r.jsx(r.Fragment,{children:Array.from({length:t},(s,l)=>r.jsx(I,{isLoading:o},`${i}-skeleton-product-card-${l}`))}),T=({children:t,fallbackComponent:o=r.jsx(r.Fragment,{}),isLoading:i=!1,limit:s,keyPrefix:l})=>r.jsx(a.Suspense,{fallbackComponent:o,children:i===!0?r.jsx(P,{isLoading:i,limit:s,keyPrefix:l}):t}),j=a.memo($),_=a.forwardRef((t,o)=>{const{icon:i,title:s,onButtonAction:l=()=>{},onSelectCard:c=()=>{},buttonLink:d,items:n,buttonText:v,limit:u=3,isLoading:w=!1,getImage:h=()=>{},readMoreText:f="Read more"}=t,k=N.useDetectMobile(),C=a.useMemo(()=>r.jsx(r.Fragment,{children:k===!0?n==null?void 0:n.map((e,g)=>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:()=>c(e==null?void 0:e.titleSlug)},g)):n==null?void 0:n.slice(0,u).map((e,g)=>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:()=>c(e==null?void 0:e.titleSlug)},g))}),[n]);return r.jsxs(x.RegulatTitleSectionWrapper,{ref:o,children:[r.jsxs("div",{className:"regular-title",children:[r.jsxs("div",{className:"regular-title-text",children:[m.isDefinedNotEmptyString(i)&&r.jsx("i",{className:i}),r.jsx("span",{children:s})]}),m.isDefinedNotEmptyString(d)&&r.jsx(q,{type:"button",btnType:"tinted",color:"gray",onClick:()=>l(d),borderRadius:"curved",children:v})]}),r.jsx(B,{limit:u,children:r.jsx(T,{isLoading:w,limit:u,keyPrefix:"explore-landing",children:C})})]})});module.exports=_;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { jsxs as m, jsx as r, Fragment as g } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as u, Suspense as B, memo as
|
|
2
|
+
import { forwardRef as u, Suspense as B, memo as P, useMemo as R } from "react";
|
|
3
3
|
import { s as h } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import { M as
|
|
5
|
-
import { u as
|
|
6
|
-
import { m as
|
|
7
|
-
import { R as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { P as
|
|
11
|
-
const
|
|
4
|
+
import { M as k } from "./consts-BuFChS64.js";
|
|
5
|
+
import { u as T } from "./useDetectMobile-Bkvj0VMa.js";
|
|
6
|
+
import { m as I, t as U, k as S } from "./utils-BE-UlkKf.js";
|
|
7
|
+
import { R as W } from "./style-sLF37aOA.js";
|
|
8
|
+
import z from "./Button.js";
|
|
9
|
+
import j from "./Link.js";
|
|
10
|
+
import { P as A } from "./index-Ca38iPjf.js";
|
|
11
|
+
const E = h.div`
|
|
12
12
|
display: grid;
|
|
13
13
|
grid-template-columns: ${(t) => `repeat(${t.limit}, minmax(0, 1fr))`};
|
|
14
14
|
gap: 1.25rem;
|
|
15
15
|
|
|
16
|
-
@media (max-width: ${
|
|
16
|
+
@media (max-width: ${k + "px"}) {
|
|
17
17
|
grid-template-columns: repeat(1, 1fr);
|
|
18
18
|
}
|
|
19
|
-
`,
|
|
19
|
+
`, w = h.div`
|
|
20
20
|
display: flex;
|
|
21
21
|
flex-direction: column;
|
|
22
22
|
width: 100%;
|
|
@@ -48,7 +48,7 @@ const A = h.div`
|
|
|
48
48
|
width: 100%;
|
|
49
49
|
max-height: 12.5625rem;
|
|
50
50
|
min-height: 12.5625rem;
|
|
51
|
-
background-color: ${
|
|
51
|
+
background-color: ${I("-90deg")};
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
& .action {
|
|
@@ -56,9 +56,9 @@ const A = h.div`
|
|
|
56
56
|
margin-top: auto;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
@media (max-width: ${
|
|
59
|
+
@media (max-width: ${k + "px"}) {
|
|
60
60
|
}
|
|
61
|
-
`,
|
|
61
|
+
`, y = h.div`
|
|
62
62
|
padding: 1rem 1rem 0 1rem;
|
|
63
63
|
display: flex;
|
|
64
64
|
flex-direction: column;
|
|
@@ -76,45 +76,45 @@ const A = h.div`
|
|
|
76
76
|
font-size: 0.875rem;
|
|
77
77
|
flex: 1;
|
|
78
78
|
color: var(--gray-700, #4e555f);
|
|
79
|
-
${
|
|
79
|
+
${U(3)}
|
|
80
80
|
}
|
|
81
|
-
`,
|
|
81
|
+
`, L = u((t, o) => {
|
|
82
82
|
const { title: i, imageUrl: n, text: l, onCardClick: d, readMoreText: c = "Read more" } = t;
|
|
83
|
-
return /* @__PURE__ */ m(
|
|
84
|
-
/* @__PURE__ */ r(
|
|
85
|
-
/* @__PURE__ */ m(
|
|
83
|
+
return /* @__PURE__ */ m(w, { ref: o, className: "blog-card", onClick: d, children: [
|
|
84
|
+
/* @__PURE__ */ r(A, { src: n }),
|
|
85
|
+
/* @__PURE__ */ m(y, { children: [
|
|
86
86
|
/* @__PURE__ */ r("div", { className: "text-wr-title", children: i }),
|
|
87
87
|
/* @__PURE__ */ r("div", { className: "text-wr", children: l })
|
|
88
88
|
] }),
|
|
89
|
-
/* @__PURE__ */ r(
|
|
89
|
+
/* @__PURE__ */ r(j, { className: "action", color: "gray", onClick: d, children: c })
|
|
90
90
|
] });
|
|
91
|
-
}),
|
|
91
|
+
}), _ = u(({}, t) => (
|
|
92
92
|
// <LandingPageClearProductCardSkeleton />
|
|
93
|
-
/* @__PURE__ */ m(
|
|
93
|
+
/* @__PURE__ */ m(w, { className: "product-card", children: [
|
|
94
94
|
/* @__PURE__ */ r("div", { className: "skeleton-img" }),
|
|
95
95
|
/* @__PURE__ */ r("div", { className: "card-title" }),
|
|
96
|
-
/* @__PURE__ */ r(
|
|
96
|
+
/* @__PURE__ */ r(y, {})
|
|
97
97
|
] })
|
|
98
|
-
)),
|
|
99
|
-
|
|
98
|
+
)), D = ({ limit: t = 3, isLoading: o = !1, keyPrefix: i }) => /* @__PURE__ */ r(g, { children: Array.from({ length: t }, (n, l) => /* @__PURE__ */ r(
|
|
99
|
+
_,
|
|
100
100
|
{
|
|
101
101
|
isLoading: o
|
|
102
102
|
},
|
|
103
103
|
`${i}-skeleton-product-card-${l}`
|
|
104
|
-
)) }),
|
|
104
|
+
)) }), G = ({
|
|
105
105
|
children: t,
|
|
106
106
|
fallbackComponent: o = /* @__PURE__ */ r(g, {}),
|
|
107
107
|
isLoading: i = !1,
|
|
108
108
|
limit: n,
|
|
109
109
|
keyPrefix: l
|
|
110
110
|
}) => /* @__PURE__ */ r(B, { fallbackComponent: o, children: i === !0 ? /* @__PURE__ */ r(
|
|
111
|
-
|
|
111
|
+
D,
|
|
112
112
|
{
|
|
113
113
|
isLoading: i,
|
|
114
114
|
limit: n,
|
|
115
115
|
keyPrefix: l
|
|
116
116
|
}
|
|
117
|
-
) : t }),
|
|
117
|
+
) : t }), b = P(L), Y = u((t, o) => {
|
|
118
118
|
const {
|
|
119
119
|
icon: i,
|
|
120
120
|
title: n,
|
|
@@ -124,54 +124,57 @@ const A = h.div`
|
|
|
124
124
|
},
|
|
125
125
|
buttonLink: c,
|
|
126
126
|
items: a,
|
|
127
|
-
buttonText:
|
|
127
|
+
buttonText: C,
|
|
128
128
|
limit: s = 3,
|
|
129
|
-
isLoading:
|
|
129
|
+
isLoading: N = !1,
|
|
130
130
|
getImage: f = () => {
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
|
|
131
|
+
},
|
|
132
|
+
readMoreText: v = "Read more"
|
|
133
|
+
} = t, M = T(), $ = R(() => /* @__PURE__ */ r(g, { children: M === !0 ? a == null ? void 0 : a.map((e, p) => /* @__PURE__ */ r(
|
|
134
|
+
b,
|
|
134
135
|
{
|
|
135
136
|
title: e == null ? void 0 : e.title,
|
|
136
137
|
imageUrl: f(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
|
|
137
138
|
text: e == null ? void 0 : e.description,
|
|
138
139
|
titleSlug: e == null ? void 0 : e.titleSlug,
|
|
140
|
+
readMoreText: v,
|
|
139
141
|
onCardClick: () => d(e == null ? void 0 : e.titleSlug)
|
|
140
142
|
},
|
|
141
143
|
p
|
|
142
144
|
)) : a == null ? void 0 : a.slice(0, s).map((e, p) => /* @__PURE__ */ r(
|
|
143
|
-
|
|
145
|
+
b,
|
|
144
146
|
{
|
|
145
147
|
title: e == null ? void 0 : e.title,
|
|
146
148
|
imageUrl: f(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
|
|
147
149
|
text: e == null ? void 0 : e.description,
|
|
148
150
|
titleSlug: e == null ? void 0 : e.titleSlug,
|
|
151
|
+
readMoreText: v,
|
|
149
152
|
onCardClick: () => d(e == null ? void 0 : e.titleSlug)
|
|
150
153
|
},
|
|
151
154
|
p
|
|
152
155
|
)) }), [a]);
|
|
153
|
-
return /* @__PURE__ */ m(
|
|
156
|
+
return /* @__PURE__ */ m(W, { ref: o, children: [
|
|
154
157
|
/* @__PURE__ */ m("div", { className: "regular-title", children: [
|
|
155
158
|
/* @__PURE__ */ m("div", { className: "regular-title-text", children: [
|
|
156
|
-
|
|
159
|
+
S(i) && /* @__PURE__ */ r("i", { className: i }),
|
|
157
160
|
/* @__PURE__ */ r("span", { children: n })
|
|
158
161
|
] }),
|
|
159
|
-
|
|
160
|
-
|
|
162
|
+
S(c) && /* @__PURE__ */ r(
|
|
163
|
+
z,
|
|
161
164
|
{
|
|
162
165
|
type: "button",
|
|
163
166
|
btnType: "tinted",
|
|
164
167
|
color: "gray",
|
|
165
168
|
onClick: () => l(c),
|
|
166
169
|
borderRadius: "curved",
|
|
167
|
-
children:
|
|
170
|
+
children: C
|
|
168
171
|
}
|
|
169
172
|
)
|
|
170
173
|
] }),
|
|
171
|
-
/* @__PURE__ */ r(
|
|
172
|
-
|
|
174
|
+
/* @__PURE__ */ r(E, { limit: s, children: /* @__PURE__ */ r(
|
|
175
|
+
G,
|
|
173
176
|
{
|
|
174
|
-
isLoading:
|
|
177
|
+
isLoading: N,
|
|
175
178
|
limit: s,
|
|
176
179
|
keyPrefix: "explore-landing",
|
|
177
180
|
children: $
|
|
@@ -180,5 +183,5 @@ const A = h.div`
|
|
|
180
183
|
] });
|
|
181
184
|
});
|
|
182
185
|
export {
|
|
183
|
-
|
|
186
|
+
Y as default
|
|
184
187
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),l=require("react"),u=require("./emotion-styled.browser.esm-BtEseadx.cjs"),p=require("./consts-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),l=require("react"),u=require("./emotion-styled.browser.esm-BtEseadx.cjs"),p=require("./consts-goSZX3xP.cjs"),x=require("./useDetectMobile-zkbzoOGV.cjs"),m=require("./utils-DhRHf5Ed.cjs"),w=require("./Button.cjs"),b=require("./index-BVaZWq6y.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;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as c, jsx as t, Fragment as s } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as p, Suspense as k } from "react";
|
|
3
3
|
import { s as g } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import { M as h } from "./consts-
|
|
5
|
-
import { u as C } from "./useDetectMobile-
|
|
6
|
-
import { m as f, t as v } from "./utils-
|
|
4
|
+
import { M as h } from "./consts-BuFChS64.js";
|
|
5
|
+
import { u as C } from "./useDetectMobile-Bkvj0VMa.js";
|
|
6
|
+
import { m as f, t as v } from "./utils-BE-UlkKf.js";
|
|
7
7
|
import y from "./Button.js";
|
|
8
|
-
import { P as S } from "./index-
|
|
8
|
+
import { P as S } from "./index-Ca38iPjf.js";
|
|
9
9
|
const $ = g.div`
|
|
10
10
|
display: grid;
|
|
11
11
|
grid-template-columns: ${(i) => `repeat(${i.limit}, minmax(0, 1fr))`};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),c=require("react"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),f=require("./consts-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),c=require("react"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),f=require("./consts-goSZX3xP.cjs"),T=require("./useDetectMobile-zkbzoOGV.cjs"),a=require("./utils-DhRHf5Ed.cjs"),$=require("./style-xvwWn3Zv.cjs"),B=require("./Button.cjs"),M=require("./Link.cjs"),R=require("./index-BVaZWq6y.cjs"),W=require("./index-DG7qQq8L.cjs"),A=h.styled.div`
|
|
2
2
|
display: grid;
|
|
3
3
|
grid-template-columns: ${i=>`repeat(${i.limit}, minmax(0, 1fr))`};
|
|
4
4
|
gap: 1.25rem;
|
|
@@ -20,6 +20,10 @@
|
|
|
20
20
|
min-height: 10.375rem;
|
|
21
21
|
max-height: 10.375rem;
|
|
22
22
|
|
|
23
|
+
&:hover {
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
}
|
|
26
|
+
|
|
23
27
|
& img {
|
|
24
28
|
max-width: 3.3125rem;
|
|
25
29
|
min-width: 3.3125rem;
|
|
@@ -73,4 +77,4 @@
|
|
|
73
77
|
color: var(--gray-700, #4e555f);
|
|
74
78
|
${a.truncateTextInRows(3)}
|
|
75
79
|
}
|
|
76
|
-
`,I=c.forwardRef((i,o)=>{const{title:n,imageUrl:l,text:r,buttonText:m,onCardClick:s}=i;return e.jsxs(w,{ref:o,className:"blog-card",onClick:s,children:[e.jsxs(k,{children:[e.jsx("div",{className:"text-wr-title",children:n}),e.jsx("div",{className:"text-wr",children:r}),e.jsx(
|
|
80
|
+
`,I=c.forwardRef((i,o)=>{const{title:n,imageUrl:l,text:r,buttonText:m,onCardClick:s}=i;return e.jsxs(w,{ref:o,className:"blog-card",onClick:s,children:[e.jsxs(k,{children:[e.jsx("div",{className:"text-wr-title",children:n}),e.jsx("div",{className:"text-wr",children:r}),e.jsx(M,{color:"gray",onClick:s,children:m})]}),e.jsx(R.ProductImageWrapper,{src:l})]})}),P=c.forwardRef(({},i)=>e.jsxs(w,{className:"blog-card",children:[e.jsxs(k,{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"})]})),_=({limit:i=3,isLoading:o=!1,keyPrefix:n})=>e.jsx(e.Fragment,{children:Array.from({length:i},(l,r)=>e.jsx(P,{isLoading:o},`${n}-skeleton-product-card-${r}`))}),z=({children:i,fallbackComponent:o=e.jsx(e.Fragment,{}),isLoading:n=!1,limit:l,keyPrefix:r})=>e.jsx(c.Suspense,{fallbackComponent:o,children:n===!0?e.jsx(_,{isLoading:n,limit:l,keyPrefix:r}):i}),b=c.memo(I),E=c.forwardRef((i,o)=>{const{icon:n,title:l,items:r,buttonText:m,limit:s=3,options:d,selectedOption:v=[],onButtonAction:y=()=>{},buttonLink:p,onSelectOption:x=()=>{},onSelectAll:S=()=>{},isLoading:N=!1,onSelectCard:u=()=>{},productsToolbarName:C="All"}=i,j=T.useDetectMobile(),q=c.useMemo(()=>e.jsx(e.Fragment,{children:j===!0?r==null?void 0:r.map((t,g)=>e.jsx(b,{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:()=>u(t)},g)):r==null?void 0:r.slice(0,s).map((t,g)=>e.jsx(b,{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:()=>u(t)},g))}),[r,j,s,u]);return e.jsxs($.TitleWithOptionsSectionWrapper,{ref:o,children:[e.jsxs("div",{className:"regular-title",children:[e.jsxs("div",{className:"regular-title-text",children:[a.isDefinedNotEmptyString(n)&&e.jsx("i",{className:n}),e.jsx("span",{children:l})]}),a.isDefinedNotEmptyString(p)&&e.jsx(B,{type:"button",btnType:"tinted",color:"gray",onClick:()=>y(p),borderRadius:"curved",children:m})]}),(d==null?void 0:d.length)>0&&e.jsx(W.SelectBar,{items:d,selectedIds:v,onRemove:t=>{x(t)},onSelect:t=>{x(t)},onSelectAll:S,labelKey:"name",valueKey:"code",noMargin:!0,productsToolbarName:C}),e.jsx(A,{limit:s,children:e.jsx(z,{isLoading:N,limit:s,keyPrefix:"explore-landing",children:q})})]})});module.exports=E;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsxs as n, jsx as t, Fragment as h } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as u, Suspense as
|
|
2
|
+
import { forwardRef as u, Suspense as P, memo as z, useMemo as A } from "react";
|
|
3
3
|
import { s as f } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import { M as S } from "./consts-
|
|
5
|
-
import { u as I } from "./useDetectMobile-
|
|
6
|
-
import { m as g, t as
|
|
7
|
-
import { T as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { P as
|
|
11
|
-
import { S as
|
|
12
|
-
const
|
|
4
|
+
import { M as S } from "./consts-BuFChS64.js";
|
|
5
|
+
import { u as I } from "./useDetectMobile-Bkvj0VMa.js";
|
|
6
|
+
import { m as g, t as O, k as w } from "./utils-BE-UlkKf.js";
|
|
7
|
+
import { T as R } from "./style-sLF37aOA.js";
|
|
8
|
+
import j from "./Button.js";
|
|
9
|
+
import E from "./Link.js";
|
|
10
|
+
import { P as F } from "./index-Ca38iPjf.js";
|
|
11
|
+
import { S as L } from "./index-Db8wvLXS.js";
|
|
12
|
+
const U = f.div`
|
|
13
13
|
display: grid;
|
|
14
14
|
grid-template-columns: ${(i) => `repeat(${i.limit}, minmax(0, 1fr))`};
|
|
15
15
|
gap: 1.25rem;
|
|
@@ -31,6 +31,10 @@ const L = f.div`
|
|
|
31
31
|
min-height: 10.375rem;
|
|
32
32
|
max-height: 10.375rem;
|
|
33
33
|
|
|
34
|
+
&:hover {
|
|
35
|
+
cursor: pointer;
|
|
36
|
+
}
|
|
37
|
+
|
|
34
38
|
& img {
|
|
35
39
|
max-width: 3.3125rem;
|
|
36
40
|
min-width: 3.3125rem;
|
|
@@ -82,45 +86,45 @@ const L = f.div`
|
|
|
82
86
|
font-weight: 400;
|
|
83
87
|
font-size: 0.875rem;
|
|
84
88
|
color: var(--gray-700, #4e555f);
|
|
85
|
-
${
|
|
89
|
+
${O(3)}
|
|
86
90
|
}
|
|
87
|
-
`,
|
|
91
|
+
`, _ = u((i, l) => {
|
|
88
92
|
const { title: o, imageUrl: m, text: r, buttonText: c, onCardClick: a } = i;
|
|
89
93
|
return /* @__PURE__ */ n(C, { ref: l, className: "blog-card", onClick: a, children: [
|
|
90
94
|
/* @__PURE__ */ n(N, { children: [
|
|
91
95
|
/* @__PURE__ */ t("div", { className: "text-wr-title", children: o }),
|
|
92
96
|
/* @__PURE__ */ t("div", { className: "text-wr", children: r }),
|
|
93
|
-
/* @__PURE__ */ t(
|
|
97
|
+
/* @__PURE__ */ t(E, { color: "gray", onClick: a, children: c })
|
|
94
98
|
] }),
|
|
95
|
-
/* @__PURE__ */ t(
|
|
99
|
+
/* @__PURE__ */ t(F, { src: m })
|
|
96
100
|
] });
|
|
97
|
-
}),
|
|
101
|
+
}), D = u(({}, i) => /* @__PURE__ */ n(C, { className: "blog-card", children: [
|
|
98
102
|
/* @__PURE__ */ n(N, { children: [
|
|
99
103
|
/* @__PURE__ */ t("div", { className: "skeleton-title" }),
|
|
100
104
|
/* @__PURE__ */ t("div", { className: "text-wr" }),
|
|
101
105
|
/* @__PURE__ */ t("div", { className: "skeleton-action" })
|
|
102
106
|
] }),
|
|
103
107
|
/* @__PURE__ */ t("div", { className: "skeleton-img" })
|
|
104
|
-
] })),
|
|
105
|
-
|
|
108
|
+
] })), G = ({ limit: i = 3, isLoading: l = !1, keyPrefix: o }) => /* @__PURE__ */ t(h, { children: Array.from({ length: i }, (m, r) => /* @__PURE__ */ t(
|
|
109
|
+
D,
|
|
106
110
|
{
|
|
107
111
|
isLoading: l
|
|
108
112
|
},
|
|
109
113
|
`${o}-skeleton-product-card-${r}`
|
|
110
|
-
)) }),
|
|
114
|
+
)) }), H = ({
|
|
111
115
|
children: i,
|
|
112
116
|
fallbackComponent: l = /* @__PURE__ */ t(h, {}),
|
|
113
117
|
isLoading: o = !1,
|
|
114
118
|
limit: m,
|
|
115
119
|
keyPrefix: r
|
|
116
|
-
}) => /* @__PURE__ */ t(
|
|
117
|
-
|
|
120
|
+
}) => /* @__PURE__ */ t(P, { fallbackComponent: l, children: o === !0 ? /* @__PURE__ */ t(
|
|
121
|
+
G,
|
|
118
122
|
{
|
|
119
123
|
isLoading: o,
|
|
120
124
|
limit: m,
|
|
121
125
|
keyPrefix: r
|
|
122
126
|
}
|
|
123
|
-
) : i }), y =
|
|
127
|
+
) : i }), y = z(_), ie = u((i, l) => {
|
|
124
128
|
const {
|
|
125
129
|
icon: o,
|
|
126
130
|
title: m,
|
|
@@ -138,8 +142,9 @@ const L = f.div`
|
|
|
138
142
|
},
|
|
139
143
|
isLoading: W = !1,
|
|
140
144
|
onSelectCard: s = () => {
|
|
141
|
-
}
|
|
142
|
-
|
|
145
|
+
},
|
|
146
|
+
productsToolbarName: x = "All"
|
|
147
|
+
} = i, v = I(), M = A(() => /* @__PURE__ */ t(h, { children: v === !0 ? r == null ? void 0 : r.map((e, p) => /* @__PURE__ */ t(
|
|
143
148
|
y,
|
|
144
149
|
{
|
|
145
150
|
title: e == null ? void 0 : e.title,
|
|
@@ -159,15 +164,15 @@ const L = f.div`
|
|
|
159
164
|
onCardClick: () => s(e)
|
|
160
165
|
},
|
|
161
166
|
p
|
|
162
|
-
)) }), [r,
|
|
163
|
-
return /* @__PURE__ */ n(
|
|
167
|
+
)) }), [r, v, a, s]);
|
|
168
|
+
return /* @__PURE__ */ n(R, { ref: l, children: [
|
|
164
169
|
/* @__PURE__ */ n("div", { className: "regular-title", children: [
|
|
165
170
|
/* @__PURE__ */ n("div", { className: "regular-title-text", children: [
|
|
166
|
-
|
|
171
|
+
w(o) && /* @__PURE__ */ t("i", { className: o }),
|
|
167
172
|
/* @__PURE__ */ t("span", { children: m })
|
|
168
173
|
] }),
|
|
169
|
-
|
|
170
|
-
|
|
174
|
+
w(b) && /* @__PURE__ */ t(
|
|
175
|
+
j,
|
|
171
176
|
{
|
|
172
177
|
type: "button",
|
|
173
178
|
btnType: "tinted",
|
|
@@ -179,7 +184,7 @@ const L = f.div`
|
|
|
179
184
|
)
|
|
180
185
|
] }),
|
|
181
186
|
(d == null ? void 0 : d.length) > 0 && /* @__PURE__ */ t(
|
|
182
|
-
|
|
187
|
+
L,
|
|
183
188
|
{
|
|
184
189
|
items: d,
|
|
185
190
|
selectedIds: T,
|
|
@@ -192,20 +197,21 @@ const L = f.div`
|
|
|
192
197
|
onSelectAll: B,
|
|
193
198
|
labelKey: "name",
|
|
194
199
|
valueKey: "code",
|
|
195
|
-
noMargin: !0
|
|
200
|
+
noMargin: !0,
|
|
201
|
+
productsToolbarName: x
|
|
196
202
|
}
|
|
197
203
|
),
|
|
198
|
-
/* @__PURE__ */ t(
|
|
199
|
-
|
|
204
|
+
/* @__PURE__ */ t(U, { limit: a, children: /* @__PURE__ */ t(
|
|
205
|
+
H,
|
|
200
206
|
{
|
|
201
207
|
isLoading: W,
|
|
202
208
|
limit: a,
|
|
203
209
|
keyPrefix: "explore-landing",
|
|
204
|
-
children:
|
|
210
|
+
children: M
|
|
205
211
|
}
|
|
206
212
|
) })
|
|
207
213
|
] });
|
|
208
214
|
});
|
|
209
215
|
export {
|
|
210
|
-
|
|
216
|
+
ie as default
|
|
211
217
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),p=require("react"),c=require("./utils-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),p=require("react"),c=require("./utils-DhRHf5Ed.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;
|
package/dist/BrandHitsSection.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as e, jsxs as h } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as o } from "react";
|
|
3
|
-
import { m as c, l as s } from "./utils-
|
|
3
|
+
import { m as c, l as s } from "./utils-BE-UlkKf.js";
|
|
4
4
|
import { s as d } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import { M as m } from "./consts-
|
|
5
|
+
import { M as m } from "./consts-BuFChS64.js";
|
|
6
6
|
const g = d.div`
|
|
7
7
|
width: 7.5rem;
|
|
8
8
|
height: auto;
|
package/dist/Breadcrumbs.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const s=require("react/jsx-runtime"),i=require("react"),t=require("./index-BPVoEhTF.cjs"),u=require("./emotion-styled.browser.esm-BtEseadx.cjs"),g=require("./utils-
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),i=require("react"),t=require("./index-BPVoEhTF.cjs"),u=require("./emotion-styled.browser.esm-BtEseadx.cjs"),g=require("./utils-DhRHf5Ed.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
|
@@ -2,7 +2,7 @@ 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
3
|
import { P as t } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { s as c } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import { c as P, b as S } from "./utils-
|
|
5
|
+
import { c as P, b as S } from "./utils-BE-UlkKf.js";
|
|
6
6
|
import v from "./Icon.js";
|
|
7
7
|
import { u as R } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
8
|
const $ = c.div`
|
package/dist/Button.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const l=require("react/jsx-runtime"),w=require("react"),o=require("./index-BPVoEhTF.cjs"),C=require("./index-DAOBjHnD.cjs"),r=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-
|
|
1
|
+
"use strict";const l=require("react/jsx-runtime"),w=require("react"),o=require("./index-BPVoEhTF.cjs"),C=require("./index-DAOBjHnD.cjs"),r=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-DhRHf5Ed.cjs"),V=require("./Icon.cjs"),W=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),B={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"}},f=e=>`
|
|
2
2
|
outline: none;
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
flex-direction: row;
|
package/dist/Button.js
CHANGED
|
@@ -3,7 +3,7 @@ import { forwardRef as E } from "react";
|
|
|
3
3
|
import { P as o } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { i as y } from "./index-BlxaTV-D.js";
|
|
5
5
|
import { s as r } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
6
|
-
import { c as x, b as t, d as c, h as T, e as z, a as q } from "./utils-
|
|
6
|
+
import { c as x, b as t, d as c, h as T, e as z, a as q } from "./utils-BE-UlkKf.js";
|
|
7
7
|
import j from "./Icon.js";
|
|
8
8
|
import { u as A } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
9
9
|
const k = {
|
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-BPVoEhTF.cjs"),o=require("./utils-
|
|
1
|
+
"use strict";const i=require("react/jsx-runtime"),a=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./index-BPVoEhTF.cjs"),o=require("./utils-DhRHf5Ed.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,7 +1,7 @@
|
|
|
1
1
|
import { jsx as u } from "react/jsx-runtime";
|
|
2
2
|
import { s as i } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
3
3
|
import { P as t } from "./index-S5Cd7WrG.js";
|
|
4
|
-
import { b as o, a as b } from "./utils-
|
|
4
|
+
import { b as o, a as b } from "./utils-BE-UlkKf.js";
|
|
5
5
|
import { u as l } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
6
6
|
const s = i.div`
|
|
7
7
|
display: inline-flex;
|
|
@@ -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-
|
|
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-BPVoEhTF.cjs"),L=require("./RangeSlider.cjs"),F=require("./DropdownItem.cjs"),X=require("./DropdownMenu.cjs"),Z=require("./IconButton.cjs"),V=require("./BannerSectionWithList.cjs"),H=require("./utils-DhRHf5Ed.cjs"),D=b.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as i, jsx as a, Fragment as z } from "react/jsx-runtime";
|
|
2
2
|
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
|
-
import { M as C } from "./consts-
|
|
4
|
+
import { M as C } from "./consts-BuFChS64.js";
|
|
5
5
|
import S from "./Button.js";
|
|
6
6
|
import { P as G } from "./index-S5Cd7WrG.js";
|
|
7
7
|
import A from "./RangeSlider.js";
|
|
@@ -9,7 +9,7 @@ import _ from "./DropdownItem.js";
|
|
|
9
9
|
import K from "./DropdownMenu.js";
|
|
10
10
|
import X from "./IconButton.js";
|
|
11
11
|
import Z from "./BannerSectionWithList.js";
|
|
12
|
-
import { w as q } from "./utils-
|
|
12
|
+
import { w as q } from "./utils-BE-UlkKf.js";
|
|
13
13
|
const J = y.div`
|
|
14
14
|
display: flex;
|
|
15
15
|
flex-direction: column;
|