@lanaco/lnc-react-ui 4.0.226 → 4.0.227
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/BannerSectionCarousel.cjs +3 -3
- package/dist/BannerSectionCarousel.js +18 -11
- package/dist/BlogCardsSponsoredSection.cjs +1 -1
- package/dist/BlogCardsSponsoredSection.js +1 -1
- package/dist/BlogListSection.cjs +7 -7
- package/dist/BlogListSection.js +157 -207
- package/dist/BlogSingleSection.cjs +2 -11
- package/dist/BlogSingleSection.js +19 -35
- package/dist/BlogsSectionDetailed.cjs +1 -1
- package/dist/BlogsSectionDetailed.js +1 -1
- package/dist/BlogsSectionLarge.cjs +8 -16
- package/dist/BlogsSectionLarge.js +40 -58
- package/dist/BlogsSectionSimple.cjs +1 -1
- package/dist/BlogsSectionSimple.js +1 -1
- package/dist/BlogsSectionSimpleCentered.cjs +12 -25
- package/dist/BlogsSectionSimpleCentered.js +64 -98
- package/dist/BlogsSectionWithFilters.cjs +10 -21
- package/dist/BlogsSectionWithFilters.js +106 -154
- package/dist/BrandHitsSection.cjs +7 -7
- package/dist/BrandHitsSection.js +41 -87
- package/dist/DetailedProductsInfinitiveSection.cjs +1 -1
- package/dist/DetailedProductsInfinitiveSection.js +2 -2
- package/dist/DetailedProductsSection.cjs +1 -1
- package/dist/DetailedProductsSection.js +2 -2
- package/dist/FieldOfInterestsMasonrySection.cjs +13 -13
- package/dist/FieldOfInterestsMasonrySection.js +105 -159
- package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +8 -8
- package/dist/FieldOfInterestsWithAvatarsCardsSection.js +93 -124
- package/dist/FieldOfInterestsWithTagsCardsSection.cjs +1 -1
- package/dist/FieldOfInterestsWithTagsCardsSection.js +1 -1
- package/dist/GeneralWithTagsCardsSection.cjs +1 -1
- package/dist/GeneralWithTagsCardsSection.js +1 -1
- package/dist/GiftCardsSection.cjs +10 -14
- package/dist/GiftCardsSection.js +76 -146
- package/dist/MasonryGeneralCardsSection.cjs +10 -10
- package/dist/MasonryGeneralCardsSection.js +45 -44
- package/dist/OverlayGeneralCardsSection.cjs +1 -1
- package/dist/OverlayGeneralCardsSection.js +1 -1
- package/dist/ProductsWithBannerSection.cjs +13 -13
- package/dist/ProductsWithBannerSection.js +87 -168
- package/dist/QuattroCardsSection.cjs +1 -1
- package/dist/QuattroCardsSection.js +1 -1
- package/dist/ReviewsSection.cjs +18 -22
- package/dist/ReviewsSection.js +101 -163
- package/dist/SalesCampaignsSection.cjs +14 -14
- package/dist/SalesCampaignsSection.js +299 -330
- package/dist/ShopCardsSection.cjs +6 -19
- package/dist/ShopCardsSection.js +54 -100
- package/dist/SimpleCategoriesSection.cjs +3 -3
- package/dist/SimpleCategoriesSection.js +64 -67
- package/dist/SimpleProductsSection.cjs +7 -7
- package/dist/SimpleProductsSection.js +65 -138
- package/dist/UrgentSaleProductsSection.cjs +1 -1
- package/dist/UrgentSaleProductsSection.js +1 -1
- package/dist/index-B7fBsitY.js +45 -0
- package/dist/index-BMAvJQBG.cjs +9 -0
- package/dist/index-BUdvfHpp.cjs +5 -0
- package/dist/index-BXT1eY2D.js +753 -0
- package/dist/index-C6amCwRZ.js +25 -0
- package/dist/index-C8R9lsWG.cjs +1 -0
- package/dist/index-CeQvy566.cjs +11 -0
- package/dist/index-Cyt4EUZ6.js +20 -0
- package/dist/index-D3QZziO_.cjs +368 -0
- package/dist/index-VTkAaA-n.js +18 -0
- package/dist/style-BFPpppS9.js +73 -0
- package/dist/style-CQdEALKR.cjs +59 -0
- package/package.json +1 -1
- package/dist/index-BGNavrtB.cjs +0 -368
- package/dist/index-BHcrzV2G.js +0 -54
- package/dist/index-Bj1KWOV4.cjs +0 -11
- package/dist/index-BsAddfgC.cjs +0 -1
- package/dist/index-Cn4bq6ZX.js +0 -84
- package/dist/index-CuRcxKQH.js +0 -42
- package/dist/index-DB1J-G6Z.js +0 -38
- package/dist/index-DkPva6Gr.cjs +0 -20
- package/dist/index-fzBXDy05.cjs +0 -16
- package/dist/index-gFZSZLba.js +0 -882
- package/dist/style-DvkivBNg.js +0 -74
- package/dist/style-Ito6YFqi.cjs +0 -64
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Suspense as
|
|
3
|
-
import { s as
|
|
1
|
+
import { jsx as t, jsxs as k, Fragment as y } from "react/jsx-runtime";
|
|
2
|
+
import { Suspense as $, memo as z, forwardRef as F, useMemo as _ } from "react";
|
|
3
|
+
import { s as v } from "./emotion-styled.browser.esm-DfbrHHed.js";
|
|
4
4
|
import { d as a } from "./breakpoints-BubDitvo.js";
|
|
5
|
-
import { u as
|
|
6
|
-
import { S as
|
|
7
|
-
import { T as
|
|
8
|
-
import { b as
|
|
9
|
-
const D =
|
|
5
|
+
import { u as L } from "./useDetectMobile-B0Jog4jQ.js";
|
|
6
|
+
import { S as j } from "./index-jGcy-5M_.js";
|
|
7
|
+
import { T as q } from "./index-DdfMcHz0.js";
|
|
8
|
+
import { b as A, c as B, a as R, d as m } from "./style-BFPpppS9.js";
|
|
9
|
+
const D = v.div`
|
|
10
10
|
display: grid;
|
|
11
11
|
grid-template-columns: repeat(6, 1fr);
|
|
12
12
|
gap: 1.25rem;
|
|
@@ -69,7 +69,7 @@ const D = N.div`
|
|
|
69
69
|
grid-template-columns: 1fr;
|
|
70
70
|
gap: 0.75rem;
|
|
71
71
|
}
|
|
72
|
-
`, G =
|
|
72
|
+
`, G = v(A)`
|
|
73
73
|
@media ${a("S")} {
|
|
74
74
|
& .skeleton__cards {
|
|
75
75
|
& > div {
|
|
@@ -82,118 +82,45 @@ const D = N.div`
|
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
|
-
`, I = ({ keyPrefix:
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
},
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
/* @__PURE__ */ t(
|
|
104
|
-
i,
|
|
105
|
-
{
|
|
106
|
-
height: "11.125rem",
|
|
107
|
-
width: "11.125rem"
|
|
108
|
-
},
|
|
109
|
-
`${r}-3`
|
|
110
|
-
),
|
|
111
|
-
/* @__PURE__ */ t(
|
|
112
|
-
i,
|
|
113
|
-
{
|
|
114
|
-
height: "11.125rem",
|
|
115
|
-
width: "11.125rem"
|
|
116
|
-
},
|
|
117
|
-
`${r}-4`
|
|
118
|
-
)
|
|
119
|
-
] }),
|
|
120
|
-
/* @__PURE__ */ l($, { className: "skeleton__cards", children: [
|
|
121
|
-
/* @__PURE__ */ t(
|
|
122
|
-
i,
|
|
123
|
-
{
|
|
124
|
-
height: "11.125rem",
|
|
125
|
-
width: "11.125rem"
|
|
126
|
-
},
|
|
127
|
-
`${r}-5`
|
|
128
|
-
),
|
|
129
|
-
/* @__PURE__ */ t(
|
|
130
|
-
i,
|
|
131
|
-
{
|
|
132
|
-
height: "11.125rem",
|
|
133
|
-
width: "11.125rem"
|
|
134
|
-
},
|
|
135
|
-
`${r}-6`
|
|
136
|
-
),
|
|
137
|
-
/* @__PURE__ */ t(
|
|
138
|
-
i,
|
|
139
|
-
{
|
|
140
|
-
height: "11.125rem",
|
|
141
|
-
width: "11.125rem"
|
|
142
|
-
},
|
|
143
|
-
`${r}-7`
|
|
144
|
-
),
|
|
145
|
-
/* @__PURE__ */ t(
|
|
146
|
-
i,
|
|
147
|
-
{
|
|
148
|
-
height: "11.125rem",
|
|
149
|
-
width: "11.125rem"
|
|
150
|
-
},
|
|
151
|
-
`${r}-8`
|
|
152
|
-
),
|
|
153
|
-
/* @__PURE__ */ t(
|
|
154
|
-
i,
|
|
155
|
-
{
|
|
156
|
-
height: "11.125rem",
|
|
157
|
-
width: "11.125rem"
|
|
158
|
-
},
|
|
159
|
-
`${r}-9`
|
|
160
|
-
),
|
|
161
|
-
/* @__PURE__ */ t(
|
|
162
|
-
i,
|
|
163
|
-
{
|
|
164
|
-
height: "11.125rem",
|
|
165
|
-
width: "11.125rem"
|
|
166
|
-
},
|
|
167
|
-
`${r}-10`
|
|
168
|
-
)
|
|
169
|
-
] })
|
|
170
|
-
] }), V = ({
|
|
171
|
-
keyPrefix: r,
|
|
172
|
-
isLoading: m = !1,
|
|
173
|
-
fallbackComponent: n = /* @__PURE__ */ t(v, {}),
|
|
174
|
-
children: d
|
|
175
|
-
}) => /* @__PURE__ */ t(y, { fallbackComponent: n, children: m === !0 ? /* @__PURE__ */ t(I, { keyPrefix: r }) : d }), k = L(z), Y = W((r, m) => {
|
|
85
|
+
`, I = ({ keyPrefix: i }) => /* @__PURE__ */ t(G, { children: [1, 2].map((o) => /* @__PURE__ */ k(
|
|
86
|
+
B,
|
|
87
|
+
{
|
|
88
|
+
className: "skeleton__cards",
|
|
89
|
+
children: [
|
|
90
|
+
/* @__PURE__ */ t(R, { width: "100%", height: "11.125rem" }),
|
|
91
|
+
/* @__PURE__ */ t(m, { size: "11.125rem" }),
|
|
92
|
+
/* @__PURE__ */ t(m, { size: "11.125rem" }),
|
|
93
|
+
/* @__PURE__ */ t(m, { size: "11.125rem" })
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
`${i}-${o}`
|
|
97
|
+
)) }), V = ({
|
|
98
|
+
keyPrefix: i,
|
|
99
|
+
isLoading: o = !1,
|
|
100
|
+
fallbackComponent: l = /* @__PURE__ */ t(y, {}),
|
|
101
|
+
children: n
|
|
102
|
+
}) => /* @__PURE__ */ t($, { fallbackComponent: l, children: o === !0 ? /* @__PURE__ */ t(I, { keyPrefix: i }) : n }), w = z(j), Y = F((i, o) => {
|
|
176
103
|
const {
|
|
177
|
-
title:
|
|
178
|
-
subtitle:
|
|
179
|
-
description:
|
|
180
|
-
buttonText:
|
|
181
|
-
buttonLink:
|
|
182
|
-
items:
|
|
183
|
-
onButtonAction:
|
|
104
|
+
title: l,
|
|
105
|
+
subtitle: n,
|
|
106
|
+
description: C,
|
|
107
|
+
buttonText: N,
|
|
108
|
+
buttonLink: P,
|
|
109
|
+
items: r,
|
|
110
|
+
onButtonAction: M = () => {
|
|
184
111
|
},
|
|
185
|
-
isLoading:
|
|
186
|
-
limit:
|
|
187
|
-
getImage:
|
|
112
|
+
isLoading: T = !1,
|
|
113
|
+
limit: d = 6,
|
|
114
|
+
getImage: c = () => {
|
|
188
115
|
},
|
|
189
|
-
negotiableText:
|
|
190
|
-
freeText:
|
|
116
|
+
negotiableText: u,
|
|
117
|
+
freeText: p,
|
|
191
118
|
componentName: g,
|
|
192
|
-
LinkComponent:
|
|
193
|
-
} =
|
|
194
|
-
var
|
|
195
|
-
return /* @__PURE__ */ t(
|
|
196
|
-
|
|
119
|
+
LinkComponent: f
|
|
120
|
+
} = i, h = L(), U = _(() => {
|
|
121
|
+
var S, b;
|
|
122
|
+
return /* @__PURE__ */ t(y, { children: h === !0 ? (S = r == null ? void 0 : r.slice(0, 4)) == null ? void 0 : S.map((e, s) => /* @__PURE__ */ t(
|
|
123
|
+
w,
|
|
197
124
|
{
|
|
198
125
|
title: e == null ? void 0 : e.name,
|
|
199
126
|
price: e == null ? void 0 : e.price,
|
|
@@ -203,15 +130,15 @@ const D = N.div`
|
|
|
203
130
|
sellerUuid: e == null ? void 0 : e.sellerUuid,
|
|
204
131
|
uuid: e == null ? void 0 : e.uuid,
|
|
205
132
|
nameSlug: e == null ? void 0 : e.nameSlug,
|
|
206
|
-
image:
|
|
207
|
-
negotiableText:
|
|
208
|
-
freeText:
|
|
133
|
+
image: c(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
|
|
134
|
+
negotiableText: u,
|
|
135
|
+
freeText: p,
|
|
209
136
|
metadata: { name: g, accessor: e == null ? void 0 : e.accessor },
|
|
210
|
-
LinkComponent:
|
|
137
|
+
LinkComponent: f
|
|
211
138
|
},
|
|
212
139
|
s
|
|
213
|
-
)) : (
|
|
214
|
-
|
|
140
|
+
)) : (b = r == null ? void 0 : r.slice(0, 9)) == null ? void 0 : b.map((e, s) => /* @__PURE__ */ t(
|
|
141
|
+
w,
|
|
215
142
|
{
|
|
216
143
|
title: e == null ? void 0 : e.name,
|
|
217
144
|
price: e == null ? void 0 : e.price,
|
|
@@ -221,34 +148,34 @@ const D = N.div`
|
|
|
221
148
|
sellerUuid: e == null ? void 0 : e.sellerUuid,
|
|
222
149
|
uuid: e == null ? void 0 : e.uuid,
|
|
223
150
|
nameSlug: e == null ? void 0 : e.nameSlug,
|
|
224
|
-
image:
|
|
225
|
-
negotiableText:
|
|
226
|
-
freeText:
|
|
151
|
+
image: c(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
|
|
152
|
+
negotiableText: u,
|
|
153
|
+
freeText: p,
|
|
227
154
|
metadata: { name: g, accessor: e == null ? void 0 : e.accessor },
|
|
228
|
-
LinkComponent:
|
|
155
|
+
LinkComponent: f
|
|
229
156
|
},
|
|
230
157
|
s
|
|
231
158
|
)) });
|
|
232
|
-
}, [
|
|
159
|
+
}, [r, h, d]);
|
|
233
160
|
return /* @__PURE__ */ t(
|
|
234
161
|
V,
|
|
235
162
|
{
|
|
236
|
-
isLoading:
|
|
163
|
+
isLoading: T,
|
|
237
164
|
keyPrefix: "simple-products-skeleton",
|
|
238
|
-
children: /* @__PURE__ */
|
|
165
|
+
children: /* @__PURE__ */ k(D, { ref: o, limit: d, children: [
|
|
239
166
|
/* @__PURE__ */ t(
|
|
240
|
-
|
|
167
|
+
q,
|
|
241
168
|
{
|
|
242
|
-
subtitle:
|
|
243
|
-
title:
|
|
244
|
-
description:
|
|
245
|
-
buttonText:
|
|
246
|
-
buttonLink:
|
|
247
|
-
onButtonAction:
|
|
169
|
+
subtitle: n,
|
|
170
|
+
title: l,
|
|
171
|
+
description: C,
|
|
172
|
+
buttonText: N,
|
|
173
|
+
buttonLink: P,
|
|
174
|
+
onButtonAction: M,
|
|
248
175
|
className: "text-block-v1"
|
|
249
176
|
}
|
|
250
177
|
),
|
|
251
|
-
|
|
178
|
+
U
|
|
252
179
|
] })
|
|
253
180
|
}
|
|
254
181
|
);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const a=require("react/jsx-runtime"),s=require("react"),L=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),u=require("./breakpoints-CcVm-gVm.cjs"),T=require("./useDetectMobile-DYV6V1yw.cjs"),D=require("./Button.cjs"),j=require("./index-
|
|
1
|
+
"use strict";const a=require("react/jsx-runtime"),s=require("react"),L=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),u=require("./breakpoints-CcVm-gVm.cjs"),T=require("./useDetectMobile-DYV6V1yw.cjs"),D=require("./Button.cjs"),j=require("./index-D3QZziO_.cjs"),Q=L.styled.div`
|
|
2
2
|
padding: 1.75rem 3rem;
|
|
3
3
|
display: grid;
|
|
4
4
|
grid-template-columns: ${t=>`repeat(${t.limit||5}, minmax(0, 1fr))`};
|
|
@@ -4,7 +4,7 @@ import { s as z } from "./emotion-styled.browser.esm-DfbrHHed.js";
|
|
|
4
4
|
import { d as c } from "./breakpoints-BubDitvo.js";
|
|
5
5
|
import { u as A } from "./useDetectMobile-B0Jog4jQ.js";
|
|
6
6
|
import B from "./Button.js";
|
|
7
|
-
import { D as G, S as R } from "./index-
|
|
7
|
+
import { D as G, S as R } from "./index-BXT1eY2D.js";
|
|
8
8
|
const I = z.div`
|
|
9
9
|
padding: 1.75rem 3rem;
|
|
10
10
|
display: grid;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { jsx as e, Fragment as a } from "react/jsx-runtime";
|
|
2
|
+
import { Suspense as o } from "react";
|
|
3
|
+
import { S as m, a as i, e as d } from "./style-BFPpppS9.js";
|
|
4
|
+
import { s as h } from "./emotion-styled.browser.esm-DfbrHHed.js";
|
|
5
|
+
import { d as c } from "./breakpoints-BubDitvo.js";
|
|
6
|
+
const l = h(m)`
|
|
7
|
+
&.skeleton__tags {
|
|
8
|
+
max-width: 50rem;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@media ${c("S")} {
|
|
12
|
+
&.skeleton__tags {
|
|
13
|
+
overflow-x: hidden;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
`, g = ({ keyPrefix: t }) => /* @__PURE__ */ e(l, { className: "skeleton__cards", children: [1, 2, 3].map((s) => /* @__PURE__ */ e(
|
|
17
|
+
i,
|
|
18
|
+
{
|
|
19
|
+
width: "100%",
|
|
20
|
+
height: "13.75rem"
|
|
21
|
+
},
|
|
22
|
+
`${t}-${s}`
|
|
23
|
+
)) }), C = ({
|
|
24
|
+
keyPrefix: t,
|
|
25
|
+
isLoading: s = !1,
|
|
26
|
+
fallbackComponent: n = /* @__PURE__ */ e(a, {}),
|
|
27
|
+
children: r
|
|
28
|
+
}) => /* @__PURE__ */ e(o, { fallbackComponent: n, children: s === !0 ? /* @__PURE__ */ e(g, { keyPrefix: t }) : r }), f = ({ keyPrefix: t }) => /* @__PURE__ */ e(l, { className: "skeleton__tags", children: [1, 2, 3, 4, 5].map((s) => /* @__PURE__ */ e(
|
|
29
|
+
d,
|
|
30
|
+
{
|
|
31
|
+
alignItems: "center",
|
|
32
|
+
gap: "0.5rem",
|
|
33
|
+
children: /* @__PURE__ */ e(i, { height: "1.5rem", width: "8rem" })
|
|
34
|
+
},
|
|
35
|
+
`${t}-${s}`
|
|
36
|
+
)) }), T = ({
|
|
37
|
+
keyPrefix: t,
|
|
38
|
+
isLoading: s = !1,
|
|
39
|
+
fallbackComponent: n = /* @__PURE__ */ e(a, {}),
|
|
40
|
+
children: r
|
|
41
|
+
}) => /* @__PURE__ */ e(o, { fallbackComponent: n, children: s === !0 ? /* @__PURE__ */ e(f, { keyPrefix: t }) : r });
|
|
42
|
+
export {
|
|
43
|
+
T as S,
|
|
44
|
+
C as a
|
|
45
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),i=require("react"),n=require("./style-CQdEALKR.cjs"),l=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),c=require("./breakpoints-CcVm-gVm.cjs"),d=l.styled(n.SkeletonAnimationColumnContainer)`
|
|
2
|
+
@media ${c.down("S")} {
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
|
|
5
|
+
& > div {
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
`,u=({keyPrefix:t})=>e.jsx(d,{children:[1,2].map(s=>e.jsxs(n.SkeletonContainer,{children:[e.jsx(n.SkeletonRect,{width:"100%",height:"11.25rem"}),e.jsx(n.SkeletonRect,{width:"100%",height:"11.25rem"})]},`${t}-${s}`))}),a=({keyPrefix:t,isLoading:s=!1,fallbackComponent:o=e.jsx(e.Fragment,{}),children:r})=>e.jsx(i.Suspense,{fallbackComponent:o,children:s===!0?e.jsx(u,{keyPrefix:t}):r});exports.SuspenseBlogCardsSponsored=a;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),r=require("react"),s=require("./style-CQdEALKR.cjs"),c=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),l=require("./breakpoints-CcVm-gVm.cjs"),u=c.styled(s.SkeletonAnimationContainer)`
|
|
2
|
+
@media ${l.down("S")} {
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
}
|
|
5
|
+
`,a=({keyPrefix:t})=>e.jsx(u,{children:[1,2,3].map(n=>e.jsx(s.SkeletonRect,{width:"100%",height:"23rem"},`${t}-${n}`))}),d=({keyPrefix:t,isLoading:n=!1,fallbackComponent:o=e.jsx(e.Fragment,{}),children:i})=>e.jsx(r.Suspense,{fallbackComponent:o,children:n===!0?e.jsx(a,{keyPrefix:t}):i});exports.SuspenseBlogsSectionDetailed=d;
|