@lanaco/lnc-react-ui 4.0.86 → 4.0.88
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/BannerSectionBasic.cjs +1 -1
- package/dist/BannerSectionBasic.js +1 -1
- package/dist/BannerSectionCarousel.cjs +2 -2
- package/dist/BannerSectionCarousel.js +6 -3
- package/dist/BannerSectionGrid.cjs +1 -1
- package/dist/BannerSectionGrid.js +3 -3
- package/dist/BannerSectionSimple.cjs +7 -7
- package/dist/BannerSectionSimple.js +54 -51
- package/dist/BannerSectionWithList.cjs +7 -7
- package/dist/BannerSectionWithList.js +33 -30
- package/dist/BannerSectionWithListImage.cjs +9 -9
- package/dist/BannerSectionWithListImage.js +44 -41
- package/dist/BlogCardsSponsoredSection.cjs +4 -4
- package/dist/BlogCardsSponsoredSection.js +33 -30
- package/dist/BlogCategoryCardsSection.cjs +1 -1
- package/dist/BlogCategoryCardsSection.js +2 -2
- package/dist/BlogListSection.cjs +1 -1
- package/dist/BlogListSection.js +1 -1
- package/dist/BlogProductCardsSection.cjs +1 -1
- package/dist/BlogProductCardsSection.js +2 -2
- package/dist/BlogShopCardsSection.cjs +1 -1
- package/dist/BlogShopCardsSection.js +2 -2
- package/dist/BlogSingleSection.cjs +1 -1
- package/dist/BlogSingleSection.js +2 -2
- package/dist/BlogsSectionDetailed.cjs +2 -2
- package/dist/BlogsSectionDetailed.js +29 -26
- package/dist/BlogsSectionLarge.cjs +1 -1
- package/dist/BlogsSectionLarge.js +4 -4
- package/dist/BlogsSectionSimple.cjs +6 -6
- package/dist/BlogsSectionSimple.js +33 -30
- package/dist/BlogsSectionSimpleCentered.cjs +1 -1
- package/dist/BlogsSectionSimpleCentered.js +2 -2
- package/dist/BlogsSectionWithFilters.cjs +6 -6
- package/dist/BlogsSectionWithFilters.js +50 -45
- package/dist/BrandHitsSection.cjs +1 -1
- package/dist/BrandHitsSection.js +1 -1
- package/dist/CalorieCalculatorSection.cjs +1 -1
- package/dist/CalorieCalculatorSection.js +1 -1
- package/dist/CustomLoanMapSection.cjs +3 -3
- package/dist/CustomLoanMapSection.js +96 -36
- package/dist/DetailedProductsSection.cjs +4 -4
- package/dist/DetailedProductsSection.js +40 -35
- package/dist/FieldOfInterestsMasonrySection.cjs +24 -13
- package/dist/FieldOfInterestsMasonrySection.js +72 -66
- package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +1 -1
- package/dist/FieldOfInterestsWithAvatarsCardsSection.js +1 -1
- package/dist/FieldOfInterestsWithTagsCardsSection.cjs +12 -11
- package/dist/FieldOfInterestsWithTagsCardsSection.js +56 -53
- package/dist/GeneralWithTagsCardsSection.cjs +6 -7
- package/dist/GeneralWithTagsCardsSection.js +8 -9
- package/dist/GiftCardsSection.cjs +8 -8
- package/dist/GiftCardsSection.js +55 -52
- 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 +4 -4
- package/dist/LocationSearchSection.js +18 -16
- package/dist/MasonryGeneralCardsSection.cjs +1 -1
- package/dist/MasonryGeneralCardsSection.js +1 -1
- package/dist/OverlayGeneralCardsSection.cjs +1 -1
- package/dist/OverlayGeneralCardsSection.js +2 -2
- package/dist/ProductsWithBannerSection.cjs +1 -1
- package/dist/ProductsWithBannerSection.js +3 -3
- package/dist/QuizSection.cjs +1 -1
- package/dist/QuizSection.js +1 -1
- package/dist/ReviewsSection.cjs +1 -1
- package/dist/ReviewsSection.js +2 -2
- package/dist/SalesCampaignsSection.cjs +1 -1
- package/dist/SalesCampaignsSection.js +2 -2
- package/dist/SeparatorSection.cjs +1 -1
- package/dist/SeparatorSection.js +1 -1
- package/dist/ShopCardsSection.cjs +1 -1
- package/dist/ShopCardsSection.js +1 -1
- package/dist/SimpleCategoriesSection.cjs +2 -2
- package/dist/SimpleCategoriesSection.js +19 -16
- package/dist/SimpleProductsSection.cjs +1 -1
- package/dist/SimpleProductsSection.js +3 -3
- package/dist/UrgentSaleProductsSection.cjs +12 -6
- package/dist/UrgentSaleProductsSection.js +56 -47
- package/dist/consts-BuFChS64.js +7 -0
- package/dist/consts-goSZX3xP.cjs +1 -0
- package/dist/{index-BxlCwYfi.cjs → index-BaLBHyTh.cjs} +1 -1
- package/dist/{index-C7iutNsj.cjs → index-Ccw8sLnK.cjs} +1 -1
- package/dist/{index-CpuLfTNK.js → index-CsrdUl1x.js} +1 -1
- package/dist/{index-CWAifrDS.cjs → index-Cx4KvZ9L.cjs} +1 -1
- package/dist/{index-rYeYJwuL.cjs → index-DG7qQq8L.cjs} +1 -1
- package/dist/{index-DmuZIVnC.js → index-Db8wvLXS.js} +2 -2
- package/dist/{index-BpS5mEUu.js → index-Yh18uk_f.js} +2 -2
- package/dist/{index-B5bRol0l.js → index-iSD5jNBk.js} +2 -2
- package/dist/{skeleton-BRWiMY6b.cjs → skeleton-BBSBZ4JV.cjs} +1 -1
- package/dist/{skeleton-DhXNRCfI.js → skeleton-DALCB1S7.js} +1 -1
- 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-D-tE8xV6.cjs → suspense-categories-card-simple-5JZtz7wj.cjs} +1 -1
- package/dist/{suspense-categories-card-simple-BmmCOsc0.js → suspense-categories-card-simple-BTFqzXyn.js} +1 -1
- package/dist/{suspense-large-Buu1428e.cjs → suspense-large-BtfvnzWh.cjs} +1 -1
- package/dist/{suspense-large-iKRJJlJv.js → suspense-large-DFlSJhGG.js} +1 -1
- package/dist/{suspense-product-card-detailed-J2a9wi6Z.js → suspense-product-card-detailed-CwdbxJrY.js} +1 -1
- package/dist/{suspense-product-card-detailed-CwUN6A-L.cjs → suspense-product-card-detailed-DBNlkFiP.cjs} +1 -1
- package/dist/{useDetectMobile-BC6EGaBc.js → useDetectMobile-Bkvj0VMa.js} +1 -1
- package/dist/{useDetectMobile-D6d5LpdL.cjs → useDetectMobile-zkbzoOGV.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-B69VVFyo.js +0 -164
- package/dist/index-ZR5ws_qw.cjs +0 -103
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { memo as
|
|
3
|
-
import { s as
|
|
4
|
-
import { M as F } from "./consts-
|
|
5
|
-
import { u as
|
|
6
|
-
import
|
|
7
|
-
import { D as
|
|
8
|
-
const
|
|
1
|
+
import { jsx as a, Fragment as U, jsxs as g } from "react/jsx-runtime";
|
|
2
|
+
import { memo as v, forwardRef as P, useState as N, useMemo as $ } from "react";
|
|
3
|
+
import { s as C } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
+
import { M as L, S as F } from "./consts-BuFChS64.js";
|
|
5
|
+
import { u as I } from "./useDetectMobile-Bkvj0VMa.js";
|
|
6
|
+
import T from "./Button.js";
|
|
7
|
+
import { D as _, S as D } from "./suspense-product-card-detailed-CwdbxJrY.js";
|
|
8
|
+
const E = C.div`
|
|
9
9
|
padding: 1.75rem 3rem;
|
|
10
10
|
display: grid;
|
|
11
11
|
grid-template-columns: ${(i) => `repeat(${i.limit || 5}, minmax(0, 1fr))`};
|
|
@@ -61,35 +61,41 @@ const I = $.div`
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
@media (max-width: ${
|
|
64
|
+
@media (max-width: ${L + "px"}) {
|
|
65
65
|
grid-template-columns: repeat(2, 1fr);
|
|
66
66
|
padding: 2rem 1.25rem;
|
|
67
67
|
gap: 1.19rem;
|
|
68
|
+
}
|
|
68
69
|
|
|
69
|
-
|
|
70
|
-
|
|
70
|
+
@media (max-width: ${F + "px"}) {
|
|
71
|
+
display: flex;
|
|
72
|
+
flex-direction: column;
|
|
71
73
|
|
|
72
|
-
& .
|
|
74
|
+
& .product-card {
|
|
75
|
+
& img {
|
|
76
|
+
width: 100%;
|
|
77
|
+
height: 100%;
|
|
78
|
+
}
|
|
73
79
|
}
|
|
74
80
|
}
|
|
75
|
-
`, f =
|
|
81
|
+
`, f = v(_), X = P((i, h) => {
|
|
76
82
|
const {
|
|
77
83
|
items: r,
|
|
78
|
-
limit:
|
|
79
|
-
limitMobile:
|
|
80
|
-
onSelectCard:
|
|
84
|
+
limit: l = 5,
|
|
85
|
+
limitMobile: n = 4,
|
|
86
|
+
onSelectCard: o = () => {
|
|
81
87
|
},
|
|
82
88
|
title: b = "Urgent sale",
|
|
83
89
|
showLessText: w = "Show less",
|
|
84
90
|
showMoreText: y = "Show more",
|
|
85
91
|
isLoading: S = !1,
|
|
86
|
-
getImage:
|
|
92
|
+
getImage: c = () => {
|
|
87
93
|
},
|
|
88
|
-
negotiableText:
|
|
89
|
-
freeText:
|
|
90
|
-
} = i,
|
|
91
|
-
var
|
|
92
|
-
return /* @__PURE__ */
|
|
94
|
+
negotiableText: u,
|
|
95
|
+
freeText: p
|
|
96
|
+
} = i, d = I(), [s, k] = N(!1), M = $(() => {
|
|
97
|
+
var t;
|
|
98
|
+
return /* @__PURE__ */ a(U, { children: d === !0 ? (t = r == null ? void 0 : r.slice(0, s === !0 ? r == null ? void 0 : r.length : n)) == null ? void 0 : t.map((e, m) => /* @__PURE__ */ a(
|
|
93
99
|
f,
|
|
94
100
|
{
|
|
95
101
|
title: e == null ? void 0 : e.name,
|
|
@@ -100,13 +106,13 @@ const I = $.div`
|
|
|
100
106
|
sellerUuid: e == null ? void 0 : e.sellerUuid,
|
|
101
107
|
uuid: e == null ? void 0 : e.uuid,
|
|
102
108
|
isSponsored: e == null ? void 0 : e.isSponsored,
|
|
103
|
-
onSelectCard: () =>
|
|
104
|
-
imageUrl:
|
|
105
|
-
negotiableText:
|
|
106
|
-
freeText:
|
|
109
|
+
onSelectCard: () => o == null ? void 0 : o(e == null ? void 0 : e.uuid),
|
|
110
|
+
imageUrl: c(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
|
|
111
|
+
negotiableText: u,
|
|
112
|
+
freeText: p
|
|
107
113
|
},
|
|
108
|
-
|
|
109
|
-
)) : r == null ? void 0 : r.slice(0,
|
|
114
|
+
m
|
|
115
|
+
)) : r == null ? void 0 : r.slice(0, l).map((e, m) => /* @__PURE__ */ a(
|
|
110
116
|
f,
|
|
111
117
|
{
|
|
112
118
|
title: e == null ? void 0 : e.name,
|
|
@@ -118,41 +124,44 @@ const I = $.div`
|
|
|
118
124
|
uuid: e == null ? void 0 : e.uuid,
|
|
119
125
|
location: e == null ? void 0 : e.location,
|
|
120
126
|
isSponsored: e == null ? void 0 : e.isSponsored,
|
|
121
|
-
onSelectCard: () =>
|
|
122
|
-
imageUrl:
|
|
123
|
-
negotiableText:
|
|
124
|
-
freeText:
|
|
127
|
+
onSelectCard: () => o == null ? void 0 : o(e == null ? void 0 : e.uuid),
|
|
128
|
+
imageUrl: c(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
|
|
129
|
+
negotiableText: u,
|
|
130
|
+
freeText: p
|
|
125
131
|
},
|
|
126
|
-
|
|
132
|
+
m
|
|
127
133
|
)) });
|
|
128
|
-
}, [r, l,
|
|
129
|
-
return /* @__PURE__ */
|
|
130
|
-
/* @__PURE__ */
|
|
131
|
-
/* @__PURE__ */
|
|
132
|
-
/* @__PURE__ */
|
|
134
|
+
}, [r, d, l, n, s]);
|
|
135
|
+
return /* @__PURE__ */ g(E, { ref: h, limit: l, children: [
|
|
136
|
+
/* @__PURE__ */ g("div", { className: "urgent-tag", children: [
|
|
137
|
+
/* @__PURE__ */ a("i", { className: "mng mng-lnc-bolt-filled" }),
|
|
138
|
+
/* @__PURE__ */ a("span", { children: b })
|
|
133
139
|
] }),
|
|
134
|
-
/* @__PURE__ */
|
|
135
|
-
|
|
140
|
+
/* @__PURE__ */ a(
|
|
141
|
+
D,
|
|
136
142
|
{
|
|
137
143
|
isLoading: S,
|
|
138
|
-
limit:
|
|
144
|
+
limit: l,
|
|
139
145
|
keyPrefix: "explore-landing",
|
|
140
|
-
children:
|
|
146
|
+
children: M
|
|
141
147
|
}
|
|
142
148
|
),
|
|
143
|
-
|
|
144
|
-
|
|
149
|
+
d === !0 && n < (r == null ? void 0 : r.length) && /* @__PURE__ */ a(
|
|
150
|
+
T,
|
|
145
151
|
{
|
|
146
152
|
className: "show-more",
|
|
147
153
|
btnType: "basic",
|
|
148
154
|
type: "button",
|
|
149
155
|
color: "gray",
|
|
150
|
-
onClick: () =>
|
|
151
|
-
|
|
156
|
+
onClick: (t) => {
|
|
157
|
+
var e;
|
|
158
|
+
(e = t == null ? void 0 : t.target) == null || e.blur(), k(!s);
|
|
159
|
+
},
|
|
160
|
+
children: s === !0 ? w : y
|
|
152
161
|
}
|
|
153
162
|
)
|
|
154
163
|
] });
|
|
155
164
|
});
|
|
156
165
|
export {
|
|
157
|
-
|
|
166
|
+
X as default
|
|
158
167
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const I=2*Math.PI*26;exports.CIRCLE_CIRCUMFERENCE=I;exports.CIRCLE_RADIUS=26;exports.MOBILE_SIZE_PX=800;exports.SMALL_MOBILE_SIZE_PX=400;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),a=require("react"),d=require("./emotion-styled.browser.esm-BtEseadx.cjs"),u=require("./consts-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),a=require("react"),d=require("./emotion-styled.browser.esm-BtEseadx.cjs"),u=require("./consts-goSZX3xP.cjs"),x=require("./Button.cjs"),b=d.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: 1.25rem;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),d=require("react"),i=require("./skeleton-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),d=require("react"),i=require("./skeleton-BBSBZ4JV.cjs"),x=require("./useDetectMobile-zkbzoOGV.cjs"),c=require("./Button.cjs"),m=require("./index-BVaZWq6y.cjs"),p=d.forwardRef((o,n)=>{const{title:l,imageUrl:a,text:u,onCardClick:t,buttonText:r}=o,s=x.useDetectMobile();return e.jsxs(i.Wrapper,{ref:n,className:"blog-card",onClick:t,children:[e.jsx(m.ProductImageWrapper,{src:a}),e.jsxs(i.TextWrapper,{children:[e.jsx("div",{className:"text-wr-title",children:l}),e.jsx("div",{className:"text-wr",children:u}),s!==!0&&e.jsx(c,{type:"button",btnType:"outline",size:"medium",color:"gray",onClick:t,children:r})]}),s===!0&&e.jsx(c,{className:"action",type:"button",btnType:"outline",size:"medium",color:"gray",onClick:t,children:r})]})});exports.BlogCardLarge=p;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as o, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as d } from "react";
|
|
3
3
|
import { s as m } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import { M as f } from "./consts-
|
|
4
|
+
import { M as f } from "./consts-BuFChS64.js";
|
|
5
5
|
import p from "./Button.js";
|
|
6
6
|
const u = m.div`
|
|
7
7
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),w=require("react"),A=require("./emotion-styled.browser.esm-BtEseadx.cjs"),b=require("./consts-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),w=require("react"),A=require("./emotion-styled.browser.esm-BtEseadx.cjs"),b=require("./consts-goSZX3xP.cjs"),d=require("./utils-DhRHf5Ed.cjs"),Z=require("./useDetectMobile-zkbzoOGV.cjs"),C=require("./Button.cjs"),D=A.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
gap: 1.25rem;
|
|
4
4
|
padding: 1.5rem;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const l=require("react/jsx-runtime"),n=require("react"),r=require("./index-BPVoEhTF.cjs"),V=require("./FlexBox.cjs"),R=require("./IconButton.cjs"),_=require("./ThemeProvider.cjs"),z=require("./emotion-styled.browser.esm-BtEseadx.cjs"),E=require("./consts-
|
|
1
|
+
"use strict";const l=require("react/jsx-runtime"),n=require("react"),r=require("./index-BPVoEhTF.cjs"),V=require("./FlexBox.cjs"),R=require("./IconButton.cjs"),_=require("./ThemeProvider.cjs"),z=require("./emotion-styled.browser.esm-BtEseadx.cjs"),E=require("./consts-goSZX3xP.cjs"),D=require("./useDetectMobile-zkbzoOGV.cjs"),K=require("./index-CHDRU86t.cjs"),O=require("./Button.cjs"),F=require("./Icon.cjs"),G=require("./utils-DhRHf5Ed.cjs"),X=z.styled.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
padding: ${e=>e.padding};
|
|
4
4
|
|
|
@@ -5,8 +5,8 @@ import U from "./FlexBox.js";
|
|
|
5
5
|
import W from "./IconButton.js";
|
|
6
6
|
import { useTheme as X } from "./ThemeProvider.js";
|
|
7
7
|
import { s as Z } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
8
|
-
import { M as C } from "./consts-
|
|
9
|
-
import { u as J } from "./useDetectMobile-
|
|
8
|
+
import { M as C } from "./consts-BuFChS64.js";
|
|
9
|
+
import { u as J } from "./useDetectMobile-Bkvj0VMa.js";
|
|
10
10
|
import { I as H } from "./index-Dhf4jQmS.js";
|
|
11
11
|
import V from "./Button.js";
|
|
12
12
|
import Q from "./Icon.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as i, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as p } from "react";
|
|
3
|
-
import { W as d, T as u } from "./skeleton-
|
|
4
|
-
import { u as b } from "./useDetectMobile-
|
|
3
|
+
import { W as d, T as u } from "./skeleton-DALCB1S7.js";
|
|
4
|
+
import { u as b } from "./useDetectMobile-Bkvj0VMa.js";
|
|
5
5
|
import a from "./Button.js";
|
|
6
6
|
import { P as f } from "./index-Ca38iPjf.js";
|
|
7
7
|
const k = p((l, c) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as d, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as C, useState as n } from "react";
|
|
3
3
|
import { s as A } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import { M as w } from "./consts-
|
|
4
|
+
import { M as w } from "./consts-BuFChS64.js";
|
|
5
5
|
import { o as D, l as V, k as z } from "./utils-BE-UlkKf.js";
|
|
6
|
-
import { u as E } from "./useDetectMobile-
|
|
6
|
+
import { u as E } from "./useDetectMobile-Bkvj0VMa.js";
|
|
7
7
|
import I from "./Button.js";
|
|
8
8
|
const M = A.div`
|
|
9
9
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),m=require("react"),t=require("./emotion-styled.browser.esm-BtEseadx.cjs"),i=require("./consts-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),m=require("react"),t=require("./emotion-styled.browser.esm-BtEseadx.cjs"),i=require("./consts-goSZX3xP.cjs"),r=require("./utils-DhRHf5Ed.cjs"),o=t.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
gap: 1.25rem;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as m, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as o } from "react";
|
|
3
3
|
import { s as r } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import { M as i } from "./consts-
|
|
4
|
+
import { M as i } from "./consts-BuFChS64.js";
|
|
5
5
|
import { m as t, t as a } from "./utils-BE-UlkKf.js";
|
|
6
6
|
const d = r.div`
|
|
7
7
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("./emotion-styled.browser.esm-BtEseadx.cjs"),e=require("./consts-
|
|
1
|
+
"use strict";const r=require("./emotion-styled.browser.esm-BtEseadx.cjs"),e=require("./consts-goSZX3xP.cjs"),t=r.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
justify-content: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./consts-
|
|
1
|
+
"use strict";const r=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./consts-goSZX3xP.cjs"),a=r.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: 1.5rem;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),o=require("react"),d=require("./emotion-styled.browser.esm-BtEseadx.cjs"),s=require("./utils-DhRHf5Ed.cjs"),l=require("./consts-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),o=require("react"),d=require("./emotion-styled.browser.esm-BtEseadx.cjs"),s=require("./utils-DhRHf5Ed.cjs"),l=require("./consts-goSZX3xP.cjs"),c=d.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: 0;
|
|
@@ -2,7 +2,7 @@ import { jsxs as m, jsx as e, Fragment as s } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as d, Suspense as h } from "react";
|
|
3
3
|
import { s as g } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { t as n, m as p } from "./utils-BE-UlkKf.js";
|
|
5
|
-
import { M as f } from "./consts-
|
|
5
|
+
import { M as f } from "./consts-BuFChS64.js";
|
|
6
6
|
const c = g.div`
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-direction: column;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),l=require("react"),u=require("./skeleton-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),l=require("react"),u=require("./skeleton-BBSBZ4JV.cjs"),c=({limit:s=2,isLoading:t=!1,keyPrefix:r})=>e.jsx(e.Fragment,{children:Array.from({length:s},(o,n)=>e.jsx(u.BlogCardLargeSkeleton,{isLoading:t},`${r}-skeleton-product-card-${n}`))}),a=({children:s,fallbackComponent:t=e.jsx(e.Fragment,{}),isLoading:r=!1,limit:o,keyPrefix:n})=>e.jsx(l.Suspense,{fallbackComponent:t,children:r===!0?e.jsx(c,{isLoading:r,limit:o,keyPrefix:n}):s});exports.SuspenseBlogLarge=a;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r, Fragment as l } from "react/jsx-runtime";
|
|
2
2
|
import { Suspense as a } from "react";
|
|
3
|
-
import { B as m } from "./skeleton-
|
|
3
|
+
import { B as m } from "./skeleton-DALCB1S7.js";
|
|
4
4
|
const p = ({ limit: o = 2, isLoading: t = !1, keyPrefix: e }) => /* @__PURE__ */ r(l, { children: Array.from({ length: o }, (s, n) => /* @__PURE__ */ r(
|
|
5
5
|
m,
|
|
6
6
|
{
|
|
@@ -3,7 +3,7 @@ import { forwardRef as c, Suspense as $ } from "react";
|
|
|
3
3
|
import { t as y, o as g, m as s, l as S, n as P, G as C } from "./utils-BE-UlkKf.js";
|
|
4
4
|
import { s as f } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import { P as z } from "./index-Ca38iPjf.js";
|
|
6
|
-
import { M as D } from "./consts-
|
|
6
|
+
import { M as D } from "./consts-BuFChS64.js";
|
|
7
7
|
const u = f.div`
|
|
8
8
|
display: flex;
|
|
9
9
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),o=require("react"),r=require("./utils-DhRHf5Ed.cjs"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),k=require("./index-BVaZWq6y.cjs"),v=require("./consts-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),o=require("react"),r=require("./utils-DhRHf5Ed.cjs"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),k=require("./index-BVaZWq6y.cjs"),v=require("./consts-goSZX3xP.cjs"),g=p.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: 0.5rem;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("react"),s=require("./consts-
|
|
1
|
+
"use strict";const t=require("react"),s=require("./consts-goSZX3xP.cjs"),r=()=>{const[n,i]=t.useState(window.innerWidth),e=()=>{i(window.innerWidth)};return t.useEffect(()=>(window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}),[]),n<=s.MOBILE_SIZE_PX};exports.useDetectMobile=r;
|
package/package.json
CHANGED
package/dist/consts-C1uHV4xc.js
DELETED
package/dist/consts-CtNoHdBj.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const I=2*Math.PI*26;exports.CIRCLE_CIRCUMFERENCE=I;exports.CIRCLE_RADIUS=26;exports.MOBILE_SIZE_PX=800;
|