@lanaco/lnc-react-ui 4.0.108 → 4.0.110
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/BlogCategoryCardsSection.cjs +1 -1
- package/dist/BlogCategoryCardsSection.js +1 -1
- package/dist/BlogListSection.cjs +4 -4
- package/dist/BlogListSection.js +41 -39
- package/dist/BlogProductCardsSection.cjs +1 -1
- package/dist/BlogProductCardsSection.js +2 -2
- package/dist/BlogsSectionDetailed.cjs +6 -9
- package/dist/BlogsSectionDetailed.js +9 -12
- package/dist/BlogsSectionSimple.cjs +6 -9
- package/dist/BlogsSectionSimple.js +23 -26
- package/dist/DetailedProductsSection.cjs +1 -1
- package/dist/DetailedProductsSection.js +1 -1
- package/dist/FieldOfInterestsMasonrySection.cjs +13 -4
- package/dist/FieldOfInterestsMasonrySection.js +51 -41
- package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +1 -1
- package/dist/FieldOfInterestsWithAvatarsCardsSection.js +1 -1
- package/dist/FieldOfInterestsWithTagsCardsSection.cjs +0 -9
- package/dist/FieldOfInterestsWithTagsCardsSection.js +15 -24
- package/dist/GeneralWithTagsCardsSection.cjs +3 -12
- package/dist/GeneralWithTagsCardsSection.js +5 -14
- package/dist/GiftCardsSection.cjs +10 -3
- package/dist/GiftCardsSection.js +24 -17
- package/dist/LocationSearchSection.cjs +3 -7
- package/dist/LocationSearchSection.js +8 -12
- package/dist/MasonryGeneralCardsSection.cjs +2 -11
- package/dist/MasonryGeneralCardsSection.js +0 -9
- package/dist/OverlayGeneralCardsSection.cjs +17 -11
- package/dist/OverlayGeneralCardsSection.js +37 -31
- package/dist/ProductsWithBannerSection.cjs +5 -11
- package/dist/ProductsWithBannerSection.js +8 -14
- package/dist/SalesCampaignsSection.cjs +9 -12
- package/dist/SalesCampaignsSection.js +22 -25
- package/dist/SimpleCategoriesSection.cjs +1 -1
- package/dist/SimpleCategoriesSection.js +1 -1
- package/dist/SimpleProductsSection.cjs +1 -1
- package/dist/SimpleProductsSection.js +2 -2
- package/dist/UrgentSaleProductsSection.cjs +1 -1
- package/dist/UrgentSaleProductsSection.js +1 -1
- package/dist/{index-CEI_JOki.js → index-B2pFbNKc.js} +4 -5
- package/dist/{index-B30K8mkW.cjs → index-B_HNDmXL.cjs} +3 -4
- package/dist/{suspense-categories-card-simple-Ds6hXZKt.js → suspense-categories-card-simple-BbtBbuWb.js} +15 -17
- package/dist/{suspense-categories-card-simple-B5zd-nnm.cjs → suspense-categories-card-simple-CK7XDK4k.cjs} +2 -4
- package/dist/{suspense-product-card-detailed-DXwya4fQ.cjs → suspense-product-card-detailed-LcBMp1iw.cjs} +4 -10
- package/dist/{suspense-product-card-detailed-bYBpLiXc.js → suspense-product-card-detailed-PArA5O4M.js} +0 -6
- package/dist/{suspense-product-card-simple-Ba1UPqgy.cjs → suspense-product-card-simple-CJwnghtt.cjs} +1 -1
- package/dist/{suspense-product-card-simple-ib6FLerL.js → suspense-product-card-simple-Z-FddSb-.js} +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const s=require("react/jsx-runtime"),a=require("react"),u=require("./suspense-categories-card-simple-
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),a=require("react"),u=require("./suspense-categories-card-simple-CK7XDK4k.cjs"),l=require("./style-BTTXJFJN.cjs"),m=a.memo(u.CategorySimpleCard),p=a.forwardRef(({items:r,onSelectCard:i=()=>{},isLoading:n=!1,limit:t=4,isHighlight:c=!1},C)=>{const d=a.useMemo(()=>{var o;return(o=r==null?void 0:r.slice(0,4))==null?void 0:o.map((e,g)=>s.jsx(m,{uuid:e==null?void 0:e.uuid,image:e==null?void 0:e.image,name:e==null?void 0:e.name,onSelectCard:()=>i==null?void 0:i(e==null?void 0:e.uuid)},g))},[r]);return s.jsx(l.Wrapper,{className:c?"highlight":"",children:s.jsx("div",{className:"wrapper__grid",children:s.jsx(u.SuspenseSimpleCategoryCard,{isLoading:n,limit:t,keyPrefix:"blog-section",children:d})})})});module.exports=p;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { memo as l, forwardRef as f, useMemo as t } from "react";
|
|
3
|
-
import { C as u, S as n } from "./suspense-categories-card-simple-
|
|
3
|
+
import { C as u, S as n } from "./suspense-categories-card-simple-BbtBbuWb.js";
|
|
4
4
|
import { W as c } from "./style-tw6KjI2J.js";
|
|
5
5
|
const C = l(u), M = f(
|
|
6
6
|
({
|
package/dist/BlogListSection.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),c=require("react"),w=require("./Icon.cjs"),y=require("./IconButton.cjs"),N=require("./Chip.cjs"),o=require("./utils-CZynEOC_.cjs"),k=require("./index-BvSNRLNa.cjs"),j=require("./emotion-styled.browser.esm-BtEseadx.cjs"),R=require("./suspense-large-CtcwWswP.cjs"),q=j.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
padding: 1rem;
|
|
4
4
|
align-items: center;
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
font-weight: 600;
|
|
44
44
|
line-height: 1.5rem;
|
|
45
45
|
letter-spacing: 0.1px;
|
|
46
|
-
${
|
|
46
|
+
${o.truncateTextInRows(3)}
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
& .wrapper__tags {
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
|
-
`,I=
|
|
120
|
+
`,I=c.forwardRef(({title:d,imageUrl:s,options:i,publishedAt:a,timeToReadText:n="{0} min read",timeToRead:l=0,numberOfLikes:m=0,numberOfComments:p=0,isBookmarked:g=!1,onSelectCard:h=()=>{},onSelectOption:f=()=>{},onBookmark:e=()=>{},onShare:u=()=>{}},b)=>r.jsxs(q,{onClick:h,children:[r.jsx(k.ProductImageWrapper,{src:s,className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__content",children:[r.jsxs("div",{className:"wrapper__subcontent",children:[r.jsx("div",{className:"wrapper__title",children:d}),r.jsx("div",{className:"wrapper__tags",children:i&&(i==null?void 0:i.map((t,v)=>r.jsx(N,{label:t==null?void 0:t.name,color:t==null?void 0:t.color,className:"wrapper__tag",onClick:_=>{_==null||_.stopPropagation(),f(t==null?void 0:t.code)}},`blog-card-sponsored-option__${v+1}`)))})]}),r.jsxs("div",{className:"wrapper__info",children:[r.jsxs("div",{className:"info__content",children:[r.jsx("div",{className:"info__text",children:`${o.formatLocaleDateString(a)} • ${o.formatString(n,l)}`}),r.jsxs("div",{className:"info__text",children:[r.jsxs("div",{children:[r.jsx(w,{icon:" mng-lnc-thumbs-up",sizeInUnits:"1rem"}),o.getRoundedNumber(m)]}),r.jsxs("div",{children:[r.jsx(w,{icon:" mng-lnc-messages",sizeInUnits:"1rem"}),o.getRoundedNumber(p)]})]})]}),r.jsxs("div",{className:"info__content",children:[r.jsx(y,{icon:g?" mng-lnc-bookmark--filled":" mng-lnc-bookmark",borderRadius:"curved",btnType:"basic",color:"neutral",onClick:t=>{t==null||t.stopPropagation(),e()}}),r.jsx(y,{icon:" mng-lnc-share",borderRadius:"curved",btnType:"basic",color:"neutral",onClick:t=>{t==null||t.stopPropagation(),u()}})]})]})]})]})),z=j.styled.div`
|
|
121
121
|
display: flex;
|
|
122
122
|
flex-direction: column;
|
|
123
123
|
align-items: flex-start;
|
|
@@ -139,4 +139,4 @@
|
|
|
139
139
|
bottom: -0.75rem;
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
|
-
`,
|
|
142
|
+
`,C=c.memo(I),L=c.forwardRef(({timeToReadText:d="{0} min read",items:s,onSelectCard:i=()=>{},onSelectOption:a=()=>{},onShare:n=()=>{},onBookmark:l=()=>{},isLoading:m=!1,getImage:p=()=>{},isSeparated:g=!0},h)=>{const f=c.useMemo(()=>s==null?void 0:s.map((e,u)=>r.jsx(C,{title:e==null?void 0:e.title,titleSlug:e==null?void 0:e.titleSlug,options:e==null?void 0:e.options,publishedAt:e==null?void 0:e.publishedAt,timeToReadText:d,timeToRead:e==null?void 0:e.timeToRead,numberOfLikes:e==null?void 0:e.numberOfLikes,numberOfComments:e==null?void 0:e.numberOfComments,isSponsored:e==null?void 0:e.isSponsored,isBookmarked:e==null?void 0:e.isBookmarked,onSelectCard:()=>i==null?void 0:i(e),onSelectOption:b=>a==null?void 0:a(b),onShare:()=>n==null?void 0:n(e),onBookmark:()=>l==null?void 0:l(e),imageUrl:p(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null},`blog-card-item__${u+1}`)),[s]);return r.jsx(z,{className:g?"separated":"",children:r.jsx(R.SuspenseBlogLarge,{isLoading:m,limit:5,keyPrefix:"blog-section",children:f})})});module.exports=L;
|
package/dist/BlogListSection.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as i, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import { forwardRef as y, memo as z, useMemo as I } from "react";
|
|
3
|
+
import b from "./Icon.js";
|
|
4
|
+
import w from "./IconButton.js";
|
|
5
5
|
import R from "./Chip.js";
|
|
6
|
-
import { p as j, s as
|
|
7
|
-
import { P } from "./index-YGcWbzeb.js";
|
|
8
|
-
import { s as
|
|
9
|
-
import { S as
|
|
10
|
-
const L =
|
|
6
|
+
import { p as j, s as C, v as P, w as v } from "./utils-BbgAIA9N.js";
|
|
7
|
+
import { P as $ } from "./index-YGcWbzeb.js";
|
|
8
|
+
import { s as N } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
9
|
+
import { S as B } from "./suspense-large-BM9s_kZP.js";
|
|
10
|
+
const L = N.div`
|
|
11
11
|
display: flex;
|
|
12
12
|
padding: 1rem;
|
|
13
13
|
align-items: center;
|
|
@@ -126,7 +126,7 @@ const L = y.div`
|
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
|
-
`, T =
|
|
129
|
+
`, T = y(
|
|
130
130
|
({
|
|
131
131
|
title: m,
|
|
132
132
|
imageUrl: n,
|
|
@@ -136,70 +136,71 @@ const L = y.div`
|
|
|
136
136
|
timeToRead: o = 0,
|
|
137
137
|
numberOfLikes: c = 0,
|
|
138
138
|
numberOfComments: d = 0,
|
|
139
|
-
|
|
139
|
+
isBookmarked: p = !1,
|
|
140
|
+
onSelectCard: _ = () => {
|
|
140
141
|
},
|
|
141
|
-
onSelectOption:
|
|
142
|
+
onSelectOption: f = () => {
|
|
142
143
|
},
|
|
143
|
-
onBookmark:
|
|
144
|
+
onBookmark: e = () => {
|
|
144
145
|
},
|
|
145
|
-
onShare:
|
|
146
|
+
onShare: g = () => {
|
|
146
147
|
}
|
|
147
|
-
},
|
|
148
|
-
/* @__PURE__ */ t(
|
|
148
|
+
}, h) => /* @__PURE__ */ i(L, { onClick: _, children: [
|
|
149
|
+
/* @__PURE__ */ t($, { src: n, className: "wrapper__image" }),
|
|
149
150
|
/* @__PURE__ */ i("div", { className: "wrapper__content", children: [
|
|
150
151
|
/* @__PURE__ */ i("div", { className: "wrapper__subcontent", children: [
|
|
151
152
|
/* @__PURE__ */ t("div", { className: "wrapper__title", children: m }),
|
|
152
|
-
/* @__PURE__ */ t("div", { className: "wrapper__tags", children: a && (a == null ? void 0 : a.map((r,
|
|
153
|
+
/* @__PURE__ */ t("div", { className: "wrapper__tags", children: a && (a == null ? void 0 : a.map((r, k) => /* @__PURE__ */ t(
|
|
153
154
|
R,
|
|
154
155
|
{
|
|
155
156
|
label: r == null ? void 0 : r.name,
|
|
156
157
|
color: r == null ? void 0 : r.color,
|
|
157
158
|
className: "wrapper__tag",
|
|
158
|
-
onClick: (
|
|
159
|
-
|
|
159
|
+
onClick: (u) => {
|
|
160
|
+
u == null || u.stopPropagation(), f(r == null ? void 0 : r.code);
|
|
160
161
|
}
|
|
161
162
|
},
|
|
162
|
-
`blog-card-sponsored-option__${
|
|
163
|
+
`blog-card-sponsored-option__${k + 1}`
|
|
163
164
|
))) })
|
|
164
165
|
] }),
|
|
165
166
|
/* @__PURE__ */ i("div", { className: "wrapper__info", children: [
|
|
166
167
|
/* @__PURE__ */ i("div", { className: "info__content", children: [
|
|
167
|
-
/* @__PURE__ */ t("div", { className: "info__text", children: `${
|
|
168
|
+
/* @__PURE__ */ t("div", { className: "info__text", children: `${C(
|
|
168
169
|
l
|
|
169
|
-
)} • ${
|
|
170
|
+
)} • ${P(s, o)}` }),
|
|
170
171
|
/* @__PURE__ */ i("div", { className: "info__text", children: [
|
|
171
172
|
/* @__PURE__ */ i("div", { children: [
|
|
172
|
-
/* @__PURE__ */ t(
|
|
173
|
-
|
|
173
|
+
/* @__PURE__ */ t(b, { icon: " mng-lnc-thumbs-up", sizeInUnits: "1rem" }),
|
|
174
|
+
v(c)
|
|
174
175
|
] }),
|
|
175
176
|
/* @__PURE__ */ i("div", { children: [
|
|
176
|
-
/* @__PURE__ */ t(
|
|
177
|
-
|
|
177
|
+
/* @__PURE__ */ t(b, { icon: " mng-lnc-messages", sizeInUnits: "1rem" }),
|
|
178
|
+
v(d)
|
|
178
179
|
] })
|
|
179
180
|
] })
|
|
180
181
|
] }),
|
|
181
182
|
/* @__PURE__ */ i("div", { className: "info__content", children: [
|
|
182
183
|
/* @__PURE__ */ t(
|
|
183
|
-
|
|
184
|
+
w,
|
|
184
185
|
{
|
|
185
|
-
icon: " mng-lnc-bookmark",
|
|
186
|
+
icon: p ? " mng-lnc-bookmark--filled" : " mng-lnc-bookmark",
|
|
186
187
|
borderRadius: "curved",
|
|
187
188
|
btnType: "basic",
|
|
188
189
|
color: "neutral",
|
|
189
190
|
onClick: (r) => {
|
|
190
|
-
r == null || r.stopPropagation(),
|
|
191
|
+
r == null || r.stopPropagation(), e();
|
|
191
192
|
}
|
|
192
193
|
}
|
|
193
194
|
),
|
|
194
195
|
/* @__PURE__ */ t(
|
|
195
|
-
|
|
196
|
+
w,
|
|
196
197
|
{
|
|
197
198
|
icon: " mng-lnc-share",
|
|
198
199
|
borderRadius: "curved",
|
|
199
200
|
btnType: "basic",
|
|
200
201
|
color: "neutral",
|
|
201
202
|
onClick: (r) => {
|
|
202
|
-
r == null || r.stopPropagation(),
|
|
203
|
+
r == null || r.stopPropagation(), g();
|
|
203
204
|
}
|
|
204
205
|
}
|
|
205
206
|
)
|
|
@@ -207,7 +208,7 @@ const L = y.div`
|
|
|
207
208
|
] })
|
|
208
209
|
] })
|
|
209
210
|
] })
|
|
210
|
-
), U =
|
|
211
|
+
), U = N.div`
|
|
211
212
|
display: flex;
|
|
212
213
|
flex-direction: column;
|
|
213
214
|
align-items: flex-start;
|
|
@@ -229,7 +230,7 @@ const L = y.div`
|
|
|
229
230
|
bottom: -0.75rem;
|
|
230
231
|
}
|
|
231
232
|
}
|
|
232
|
-
`,
|
|
233
|
+
`, W = z(T), J = y(
|
|
233
234
|
({
|
|
234
235
|
timeToReadText: m = "{0} min read",
|
|
235
236
|
items: n,
|
|
@@ -245,9 +246,9 @@ const L = y.div`
|
|
|
245
246
|
getImage: d = () => {
|
|
246
247
|
},
|
|
247
248
|
isSeparated: p = !0
|
|
248
|
-
},
|
|
249
|
-
const f = I(() => n == null ? void 0 : n.map((e,
|
|
250
|
-
|
|
249
|
+
}, _) => {
|
|
250
|
+
const f = I(() => n == null ? void 0 : n.map((e, g) => /* @__PURE__ */ t(
|
|
251
|
+
W,
|
|
251
252
|
{
|
|
252
253
|
title: e == null ? void 0 : e.title,
|
|
253
254
|
titleSlug: e == null ? void 0 : e.titleSlug,
|
|
@@ -258,16 +259,17 @@ const L = y.div`
|
|
|
258
259
|
numberOfLikes: e == null ? void 0 : e.numberOfLikes,
|
|
259
260
|
numberOfComments: e == null ? void 0 : e.numberOfComments,
|
|
260
261
|
isSponsored: e == null ? void 0 : e.isSponsored,
|
|
262
|
+
isBookmarked: e == null ? void 0 : e.isBookmarked,
|
|
261
263
|
onSelectCard: () => a == null ? void 0 : a(e),
|
|
262
|
-
onSelectOption: (
|
|
264
|
+
onSelectOption: (h) => l == null ? void 0 : l(h),
|
|
263
265
|
onShare: () => s == null ? void 0 : s(e),
|
|
264
266
|
onBookmark: () => o == null ? void 0 : o(e),
|
|
265
267
|
imageUrl: d(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null
|
|
266
268
|
},
|
|
267
|
-
`blog-card-item__${
|
|
269
|
+
`blog-card-item__${g + 1}`
|
|
268
270
|
)), [n]);
|
|
269
271
|
return /* @__PURE__ */ t(U, { className: p ? "separated" : "", children: /* @__PURE__ */ t(
|
|
270
|
-
|
|
272
|
+
B,
|
|
271
273
|
{
|
|
272
274
|
isLoading: c,
|
|
273
275
|
limit: 5,
|
|
@@ -278,5 +280,5 @@ const L = y.div`
|
|
|
278
280
|
}
|
|
279
281
|
);
|
|
280
282
|
export {
|
|
281
|
-
|
|
283
|
+
J as default
|
|
282
284
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),u=require("react"),q=require("./useDetectMobile-zkbzoOGV.cjs"),P=require("./index-
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),u=require("react"),q=require("./useDetectMobile-zkbzoOGV.cjs"),P=require("./index-B_HNDmXL.cjs"),f=require("./suspense-product-card-simple-CJwnghtt.cjs"),h=require("./Button.cjs"),j=require("./style-BTTXJFJN.cjs"),y=u.memo(P.SimpleProductCard),M=u.forwardRef(({buttonText:o,buttonLink:t,items:i,onButtonAction:l=()=>{},onSelectCard:s=()=>{},isLoading:n=!1,limit:d=4,getImage:a=()=>{},isHighlight:p=!1},N)=>{const m=q.useDetectMobile(),b=u.useMemo(()=>{var c;return(c=i==null?void 0:i.slice(0,4))==null?void 0:c.map((e,g)=>r.jsx(y,{title:e==null?void 0:e.name,price:e==null?void 0:e.price,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,currency:e==null?void 0:e.currency,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,onSelectCard:()=>s==null?void 0:s(e==null?void 0:e.uuid),image:a(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null},g))},[i]);return r.jsxs(j.Wrapper,{className:p?"highlight":"",children:[r.jsx("div",{className:"wrapper__grid",children:r.jsx(f.SuspenseSimpleProductCard,{isLoading:n,limit:d,keyPrefix:"blog-section",children:b})}),r.jsx(h,{text:o,borderRadius:"curved",btnType:m?"basic":"outline",color:"neutral",className:"wrapper__action",onClick:()=>l(t)})]})});module.exports=M;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as i, jsxs as g } from "react/jsx-runtime";
|
|
2
2
|
import { memo as b, forwardRef as h, useMemo as P } from "react";
|
|
3
3
|
import { u as N } from "./useDetectMobile-Bkvj0VMa.js";
|
|
4
|
-
import { S as y } from "./index-
|
|
5
|
-
import { S as M } from "./suspense-product-card-simple-
|
|
4
|
+
import { S as y } from "./index-B2pFbNKc.js";
|
|
5
|
+
import { S as M } from "./suspense-product-card-simple-Z-FddSb-.js";
|
|
6
6
|
import S from "./Button.js";
|
|
7
7
|
import { W as _ } from "./style-tw6KjI2J.js";
|
|
8
8
|
const w = b(y), R = h(
|
|
@@ -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"),N=require("./consts-goSZX3xP.cjs"),R=require("./useDetectMobile-zkbzoOGV.cjs"),r=require("./utils-CZynEOC_.cjs"),k=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: ${N.MOBILE_SIZE_PX+"px"}) {
|
|
7
7
|
grid-template-columns: repeat(1, 1fr);
|
|
8
8
|
}
|
|
9
|
-
`,
|
|
9
|
+
`,v=w.styled.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
flex-direction: column;
|
|
12
12
|
width: 100%;
|
|
@@ -20,10 +20,7 @@
|
|
|
20
20
|
min-height: 21.5625rem;
|
|
21
21
|
cursor: pointer;
|
|
22
22
|
&:hover {
|
|
23
|
-
|
|
24
|
-
color: var(--primary-500, #f59e0b);
|
|
25
|
-
transition: var(--transition);
|
|
26
|
-
}
|
|
23
|
+
|
|
27
24
|
}
|
|
28
25
|
|
|
29
26
|
& img {
|
|
@@ -47,7 +44,7 @@
|
|
|
47
44
|
padding: 0 1rem 1rem 1rem;
|
|
48
45
|
}
|
|
49
46
|
|
|
50
|
-
@media (max-width: ${
|
|
47
|
+
@media (max-width: ${N.MOBILE_SIZE_PX+"px"}) {
|
|
51
48
|
}
|
|
52
49
|
`,S=w.styled.div`
|
|
53
50
|
padding: 1rem 1rem 0 1rem;
|
|
@@ -108,4 +105,4 @@
|
|
|
108
105
|
align-items: center;
|
|
109
106
|
gap: 1rem;
|
|
110
107
|
}
|
|
111
|
-
`,$=u.forwardRef((i,
|
|
108
|
+
`,$=u.forwardRef((i,a)=>{const{title:s,imageUrl:m,text:o,numberOfLikes:n,numberOfComments:h,timeToRead:p,publishedAt:c,tags:d,onCardClick:j,timeToReadText:f="{0} min read"}=i;return t.jsxs(v,{ref:a,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&&f?`${r.formatString(f,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(h)})]})]})]}),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((l,b)=>t.jsx(k.BlogTag,{color:l==null?void 0:l.color,children:l==null?void 0:l.name},b))})]})}),D=u.forwardRef(({},i)=>t.jsxs(v,{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:a=!1,keyPrefix:s})=>t.jsx(t.Fragment,{children:Array.from({length:i},(m,o)=>t.jsx(D,{isLoading:a},`${s}-skeleton-product-card-${o}`))}),B=({children:i,fallbackComponent:a=t.jsx(t.Fragment,{}),isLoading:s=!1,limit:m,keyPrefix:o})=>t.jsx(u.Suspense,{fallbackComponent:a,children:s===!0?t.jsx(q,{isLoading:s,limit:m,keyPrefix:o}):i}),y=u.memo($),L=u.forwardRef((i,a)=>{const{icon:s,title:m,onButtonAction:o,items:n,buttonText:h,timeToReadText:p,limit:c=3,onSelectCard:d=()=>{},isLoading:j=!1,buttonLink:f,getImage:l=()=>{}}=i,b=R.useDetectMobile(),C=u.useMemo(()=>t.jsx(t.Fragment,{children:b===!0?n==null?void 0:n.map((e,g)=>t.jsx(y,{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:l(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(y,{title:e==null?void 0:e.title,imageUrl:l(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(k.RegulatTitleSectionWrapper,{ref:a,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(h)&&r.isDefinedNotEmptyString(f)&&t.jsx(T,{type:"button",btnType:"tinted",color:"gray",onClick:e=>{var g;(g=e==null?void 0:e.target)==null||g.blur(),o(f)},borderRadius:"curved",className:"button-link",children:h})]}),t.jsx(A,{limit:c,children:t.jsx(B,{isLoading:j,limit:c,keyPrefix:"explore-landing",children:C})})]})});module.exports=L;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsxs as t, jsx as r, Fragment as
|
|
1
|
+
import { jsxs as t, jsx as r, Fragment as v } 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
4
|
import { M as T } from "./consts-BuFChS64.js";
|
|
5
5
|
import { u as D } from "./useDetectMobile-Bkvj0VMa.js";
|
|
6
|
-
import { o as
|
|
6
|
+
import { o as k, p as P, v as z, s as M, w as C, k as w } from "./utils-BbgAIA9N.js";
|
|
7
7
|
import { B as I, R as U } from "./style-08foMKSd.js";
|
|
8
8
|
import W from "./Button.js";
|
|
9
9
|
import { P as j } from "./index-YGcWbzeb.js";
|
|
@@ -29,10 +29,7 @@ const E = y.div`
|
|
|
29
29
|
min-height: 21.5625rem;
|
|
30
30
|
cursor: pointer;
|
|
31
31
|
&:hover {
|
|
32
|
-
|
|
33
|
-
color: var(--primary-500, #f59e0b);
|
|
34
|
-
transition: var(--transition);
|
|
35
|
-
}
|
|
32
|
+
|
|
36
33
|
}
|
|
37
34
|
|
|
38
35
|
& img {
|
|
@@ -46,7 +43,7 @@ const E = y.div`
|
|
|
46
43
|
width: 100%;
|
|
47
44
|
max-height: 11.0625rem;
|
|
48
45
|
min-height: 11.0625rem;
|
|
49
|
-
background-color: ${
|
|
46
|
+
background-color: ${k("-90deg")};
|
|
50
47
|
}
|
|
51
48
|
|
|
52
49
|
& .tags-wr {
|
|
@@ -72,13 +69,13 @@ const E = y.div`
|
|
|
72
69
|
}
|
|
73
70
|
|
|
74
71
|
& .info-wr-skeleton {
|
|
75
|
-
background-color: ${
|
|
72
|
+
background-color: ${k("-90deg")};
|
|
76
73
|
height: 1rem;
|
|
77
74
|
width: 100%;
|
|
78
75
|
}
|
|
79
76
|
|
|
80
77
|
& .skeleton-title {
|
|
81
|
-
background-color: ${
|
|
78
|
+
background-color: ${k("-90deg")};
|
|
82
79
|
height: 1.5rem;
|
|
83
80
|
width: 70%;
|
|
84
81
|
}
|
|
@@ -168,7 +165,7 @@ const E = y.div`
|
|
|
168
165
|
/* @__PURE__ */ r("div", { className: "skeleton-title" }),
|
|
169
166
|
/* @__PURE__ */ r("div", { className: "info-wr-skeleton" })
|
|
170
167
|
] })
|
|
171
|
-
] })), F = ({ limit: i = 3, isLoading: o = !1, keyPrefix: a }) => /* @__PURE__ */ r(
|
|
168
|
+
] })), F = ({ limit: i = 3, isLoading: o = !1, keyPrefix: a }) => /* @__PURE__ */ r(v, { children: Array.from({ length: i }, (d, s) => /* @__PURE__ */ r(
|
|
172
169
|
G,
|
|
173
170
|
{
|
|
174
171
|
isLoading: o
|
|
@@ -176,7 +173,7 @@ const E = y.div`
|
|
|
176
173
|
`${a}-skeleton-product-card-${s}`
|
|
177
174
|
)) }), X = ({
|
|
178
175
|
children: i,
|
|
179
|
-
fallbackComponent: o = /* @__PURE__ */ r(
|
|
176
|
+
fallbackComponent: o = /* @__PURE__ */ r(v, {}),
|
|
180
177
|
isLoading: a = !1,
|
|
181
178
|
limit: d,
|
|
182
179
|
keyPrefix: s
|
|
@@ -202,7 +199,7 @@ const E = y.div`
|
|
|
202
199
|
buttonLink: u,
|
|
203
200
|
getImage: n = () => {
|
|
204
201
|
}
|
|
205
|
-
} = i, h = D(), $ = L(() => /* @__PURE__ */ r(
|
|
202
|
+
} = i, h = D(), $ = L(() => /* @__PURE__ */ r(v, { children: h === !0 ? l == null ? void 0 : l.map((e, g) => /* @__PURE__ */ r(
|
|
206
203
|
S,
|
|
207
204
|
{
|
|
208
205
|
title: e == null ? void 0 : e.title,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),c=require("react"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),c=require("react"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),S=require("./consts-goSZX3xP.cjs"),N=require("./useDetectMobile-zkbzoOGV.cjs"),u=require("./utils-CZynEOC_.cjs"),q=require("./style-JqDQj4jh.cjs"),x=require("./Button.cjs"),R=require("./Link.cjs"),M=require("./index-BvSNRLNa.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
|
+
`,b=p.styled.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
flex-direction: column;
|
|
12
12
|
width: 100%;
|
|
@@ -21,10 +21,7 @@
|
|
|
21
21
|
cursor: pointer;
|
|
22
22
|
|
|
23
23
|
&:hover {
|
|
24
|
-
|
|
25
|
-
color: var(--primary-500, #f59e0b);
|
|
26
|
-
transition: var(--transition);
|
|
27
|
-
}
|
|
24
|
+
|
|
28
25
|
}
|
|
29
26
|
|
|
30
27
|
& img {
|
|
@@ -46,7 +43,7 @@
|
|
|
46
43
|
margin-top: auto;
|
|
47
44
|
}
|
|
48
45
|
|
|
49
|
-
@media (max-width: ${
|
|
46
|
+
@media (max-width: ${S.MOBILE_SIZE_PX+"px"}) {
|
|
50
47
|
}
|
|
51
48
|
`,y=p.styled.div`
|
|
52
49
|
padding: 1rem 1rem 0 1rem;
|
|
@@ -68,4 +65,4 @@
|
|
|
68
65
|
color: var(--gray-700, #4e555f);
|
|
69
66
|
${u.truncateTextInRows(3)}
|
|
70
67
|
}
|
|
71
|
-
`,$=c.forwardRef((t,
|
|
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(y,{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(y,{})]})),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:w,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:"gray",onClick:e=>{var a;(a=e==null?void 0:e.target)==null||a.blur(),o(m)},borderRadius:"curved",className:"button-link",children:w})]}),r.jsx(B,{limit:g,children:r.jsx(T,{isLoading:v,limit:g,keyPrefix:"explore-landing",children:C})})]})});module.exports=_;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as m, jsx as r, Fragment as g } from "react/jsx-runtime";
|
|
2
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
|
|
4
|
+
import { M as v } from "./consts-BuFChS64.js";
|
|
5
5
|
import { u as T } from "./useDetectMobile-Bkvj0VMa.js";
|
|
6
|
-
import { o as I, p as U, k as
|
|
6
|
+
import { o as I, p as U, k as S } from "./utils-BbgAIA9N.js";
|
|
7
7
|
import { R as W } from "./style-08foMKSd.js";
|
|
8
8
|
import z from "./Button.js";
|
|
9
9
|
import j from "./Link.js";
|
|
@@ -13,7 +13,7 @@ const E = h.div`
|
|
|
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: ${v + "px"}) {
|
|
17
17
|
grid-template-columns: repeat(1, 1fr);
|
|
18
18
|
}
|
|
19
19
|
`, w = h.div`
|
|
@@ -31,10 +31,7 @@ const E = h.div`
|
|
|
31
31
|
cursor: pointer;
|
|
32
32
|
|
|
33
33
|
&:hover {
|
|
34
|
-
|
|
35
|
-
color: var(--primary-500, #f59e0b);
|
|
36
|
-
transition: var(--transition);
|
|
37
|
-
}
|
|
34
|
+
|
|
38
35
|
}
|
|
39
36
|
|
|
40
37
|
& img {
|
|
@@ -56,7 +53,7 @@ const E = h.div`
|
|
|
56
53
|
margin-top: auto;
|
|
57
54
|
}
|
|
58
55
|
|
|
59
|
-
@media (max-width: ${
|
|
56
|
+
@media (max-width: ${v + "px"}) {
|
|
60
57
|
}
|
|
61
58
|
`, y = h.div`
|
|
62
59
|
padding: 1rem 1rem 0 1rem;
|
|
@@ -80,9 +77,9 @@ const E = h.div`
|
|
|
80
77
|
}
|
|
81
78
|
`, L = u((t, o) => {
|
|
82
79
|
const { title: i, imageUrl: n, text: l, onCardClick: c, readMoreText: s = "Read more" } = t;
|
|
83
|
-
return /* @__PURE__ */
|
|
80
|
+
return /* @__PURE__ */ m(w, { ref: o, className: "blog-card", onClick: c, children: [
|
|
84
81
|
/* @__PURE__ */ r(A, { src: n }),
|
|
85
|
-
/* @__PURE__ */
|
|
82
|
+
/* @__PURE__ */ m(y, { children: [
|
|
86
83
|
/* @__PURE__ */ r("div", { className: "text-wr-title", children: i }),
|
|
87
84
|
/* @__PURE__ */ r("div", { className: "text-wr", children: l })
|
|
88
85
|
] }),
|
|
@@ -90,7 +87,7 @@ const E = h.div`
|
|
|
90
87
|
] });
|
|
91
88
|
}), _ = u(({}, t) => (
|
|
92
89
|
// <LandingPageClearProductCardSkeleton />
|
|
93
|
-
/* @__PURE__ */
|
|
90
|
+
/* @__PURE__ */ m(w, { className: "product-card", children: [
|
|
94
91
|
/* @__PURE__ */ r("div", { className: "skeleton-img" }),
|
|
95
92
|
/* @__PURE__ */ r("div", { className: "card-title" }),
|
|
96
93
|
/* @__PURE__ */ r(y, {})
|
|
@@ -114,7 +111,7 @@ const E = h.div`
|
|
|
114
111
|
limit: n,
|
|
115
112
|
keyPrefix: l
|
|
116
113
|
}
|
|
117
|
-
) : t }),
|
|
114
|
+
) : t }), k = P(L), Y = u((t, o) => {
|
|
118
115
|
const {
|
|
119
116
|
icon: i,
|
|
120
117
|
title: n,
|
|
@@ -130,8 +127,8 @@ const E = h.div`
|
|
|
130
127
|
getImage: f = () => {
|
|
131
128
|
},
|
|
132
129
|
readMoreText: b = "Read more"
|
|
133
|
-
} = t, M = T(), $ = R(() => /* @__PURE__ */ r(g, { children: M === !0 ? a == null ? void 0 : a.map((e,
|
|
134
|
-
|
|
130
|
+
} = t, M = T(), $ = R(() => /* @__PURE__ */ r(g, { children: M === !0 ? a == null ? void 0 : a.map((e, d) => /* @__PURE__ */ r(
|
|
131
|
+
k,
|
|
135
132
|
{
|
|
136
133
|
title: e == null ? void 0 : e.title,
|
|
137
134
|
imageUrl: f(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
|
|
@@ -140,9 +137,9 @@ const E = h.div`
|
|
|
140
137
|
readMoreText: b,
|
|
141
138
|
onCardClick: () => c(e == null ? void 0 : e.titleSlug)
|
|
142
139
|
},
|
|
143
|
-
|
|
144
|
-
)) : a == null ? void 0 : a.slice(0, p).map((e,
|
|
145
|
-
|
|
140
|
+
d
|
|
141
|
+
)) : a == null ? void 0 : a.slice(0, p).map((e, d) => /* @__PURE__ */ r(
|
|
142
|
+
k,
|
|
146
143
|
{
|
|
147
144
|
title: e == null ? void 0 : e.title,
|
|
148
145
|
imageUrl: f(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
|
|
@@ -151,23 +148,23 @@ const E = h.div`
|
|
|
151
148
|
readMoreText: b,
|
|
152
149
|
onCardClick: () => c(e == null ? void 0 : e.titleSlug)
|
|
153
150
|
},
|
|
154
|
-
|
|
151
|
+
d
|
|
155
152
|
)) }), [a]);
|
|
156
|
-
return /* @__PURE__ */
|
|
157
|
-
/* @__PURE__ */
|
|
158
|
-
/* @__PURE__ */
|
|
159
|
-
|
|
153
|
+
return /* @__PURE__ */ m(W, { ref: o, children: [
|
|
154
|
+
/* @__PURE__ */ m("div", { className: "regular-title", children: [
|
|
155
|
+
/* @__PURE__ */ m("div", { className: "regular-title-text", children: [
|
|
156
|
+
S(i) && /* @__PURE__ */ r("i", { className: i }),
|
|
160
157
|
/* @__PURE__ */ r("span", { children: n })
|
|
161
158
|
] }),
|
|
162
|
-
|
|
159
|
+
S(s) && /* @__PURE__ */ r(
|
|
163
160
|
z,
|
|
164
161
|
{
|
|
165
162
|
type: "button",
|
|
166
163
|
btnType: "tinted",
|
|
167
164
|
color: "gray",
|
|
168
165
|
onClick: (e) => {
|
|
169
|
-
var
|
|
170
|
-
(
|
|
166
|
+
var d;
|
|
167
|
+
(d = e == null ? void 0 : e.target) == null || d.blur(), l(s);
|
|
171
168
|
},
|
|
172
169
|
borderRadius: "curved",
|
|
173
170
|
className: "button-link",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const i=require("react/jsx-runtime"),s=require("react"),v=require("./emotion-styled.browser.esm-BtEseadx.cjs"),D=require("./consts-goSZX3xP.cjs"),U=require("./Button.cjs"),y=require("./utils-CZynEOC_.cjs"),M=require("./useDetectMobile-zkbzoOGV.cjs"),F=require("./style-JqDQj4jh.cjs"),h=require("./suspense-product-card-detailed-
|
|
1
|
+
"use strict";const i=require("react/jsx-runtime"),s=require("react"),v=require("./emotion-styled.browser.esm-BtEseadx.cjs"),D=require("./consts-goSZX3xP.cjs"),U=require("./Button.cjs"),y=require("./utils-CZynEOC_.cjs"),M=require("./useDetectMobile-zkbzoOGV.cjs"),F=require("./style-JqDQj4jh.cjs"),h=require("./suspense-product-card-detailed-LcBMp1iw.cjs"),T=require("./index-C1DkD2ug.cjs"),E=v.styled.div`
|
|
2
2
|
display: grid;
|
|
3
3
|
grid-template-columns: ${r=>`repeat(${r.limit}, minmax(0, 1fr))`};
|
|
4
4
|
gap: ${r=>(r==null?void 0:r.gap)||"1.25rem"};
|
|
@@ -6,7 +6,7 @@ import E from "./Button.js";
|
|
|
6
6
|
import { k as f } from "./utils-BbgAIA9N.js";
|
|
7
7
|
import { u as I } from "./useDetectMobile-Bkvj0VMa.js";
|
|
8
8
|
import { T as $ } from "./style-08foMKSd.js";
|
|
9
|
-
import { D as L, S as O } from "./suspense-product-card-detailed-
|
|
9
|
+
import { D as L, S as O } from "./suspense-product-card-detailed-PArA5O4M.js";
|
|
10
10
|
import { S as R } from "./index-CQLF61YV.js";
|
|
11
11
|
const W = F.div`
|
|
12
12
|
display: grid;
|