@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.
Files changed (79) hide show
  1. package/dist/BannerSectionCarousel.cjs +3 -3
  2. package/dist/BannerSectionCarousel.js +18 -11
  3. package/dist/BlogCardsSponsoredSection.cjs +1 -1
  4. package/dist/BlogCardsSponsoredSection.js +1 -1
  5. package/dist/BlogListSection.cjs +7 -7
  6. package/dist/BlogListSection.js +157 -207
  7. package/dist/BlogSingleSection.cjs +2 -11
  8. package/dist/BlogSingleSection.js +19 -35
  9. package/dist/BlogsSectionDetailed.cjs +1 -1
  10. package/dist/BlogsSectionDetailed.js +1 -1
  11. package/dist/BlogsSectionLarge.cjs +8 -16
  12. package/dist/BlogsSectionLarge.js +40 -58
  13. package/dist/BlogsSectionSimple.cjs +1 -1
  14. package/dist/BlogsSectionSimple.js +1 -1
  15. package/dist/BlogsSectionSimpleCentered.cjs +12 -25
  16. package/dist/BlogsSectionSimpleCentered.js +64 -98
  17. package/dist/BlogsSectionWithFilters.cjs +10 -21
  18. package/dist/BlogsSectionWithFilters.js +106 -154
  19. package/dist/BrandHitsSection.cjs +7 -7
  20. package/dist/BrandHitsSection.js +41 -87
  21. package/dist/DetailedProductsInfinitiveSection.cjs +1 -1
  22. package/dist/DetailedProductsInfinitiveSection.js +2 -2
  23. package/dist/DetailedProductsSection.cjs +1 -1
  24. package/dist/DetailedProductsSection.js +2 -2
  25. package/dist/FieldOfInterestsMasonrySection.cjs +13 -13
  26. package/dist/FieldOfInterestsMasonrySection.js +105 -159
  27. package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +8 -8
  28. package/dist/FieldOfInterestsWithAvatarsCardsSection.js +93 -124
  29. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +1 -1
  30. package/dist/FieldOfInterestsWithTagsCardsSection.js +1 -1
  31. package/dist/GeneralWithTagsCardsSection.cjs +1 -1
  32. package/dist/GeneralWithTagsCardsSection.js +1 -1
  33. package/dist/GiftCardsSection.cjs +10 -14
  34. package/dist/GiftCardsSection.js +76 -146
  35. package/dist/MasonryGeneralCardsSection.cjs +10 -10
  36. package/dist/MasonryGeneralCardsSection.js +45 -44
  37. package/dist/OverlayGeneralCardsSection.cjs +1 -1
  38. package/dist/OverlayGeneralCardsSection.js +1 -1
  39. package/dist/ProductsWithBannerSection.cjs +13 -13
  40. package/dist/ProductsWithBannerSection.js +87 -168
  41. package/dist/QuattroCardsSection.cjs +1 -1
  42. package/dist/QuattroCardsSection.js +1 -1
  43. package/dist/ReviewsSection.cjs +18 -22
  44. package/dist/ReviewsSection.js +101 -163
  45. package/dist/SalesCampaignsSection.cjs +14 -14
  46. package/dist/SalesCampaignsSection.js +299 -330
  47. package/dist/ShopCardsSection.cjs +6 -19
  48. package/dist/ShopCardsSection.js +54 -100
  49. package/dist/SimpleCategoriesSection.cjs +3 -3
  50. package/dist/SimpleCategoriesSection.js +64 -67
  51. package/dist/SimpleProductsSection.cjs +7 -7
  52. package/dist/SimpleProductsSection.js +65 -138
  53. package/dist/UrgentSaleProductsSection.cjs +1 -1
  54. package/dist/UrgentSaleProductsSection.js +1 -1
  55. package/dist/index-B7fBsitY.js +45 -0
  56. package/dist/index-BMAvJQBG.cjs +9 -0
  57. package/dist/index-BUdvfHpp.cjs +5 -0
  58. package/dist/index-BXT1eY2D.js +753 -0
  59. package/dist/index-C6amCwRZ.js +25 -0
  60. package/dist/index-C8R9lsWG.cjs +1 -0
  61. package/dist/index-CeQvy566.cjs +11 -0
  62. package/dist/index-Cyt4EUZ6.js +20 -0
  63. package/dist/index-D3QZziO_.cjs +368 -0
  64. package/dist/index-VTkAaA-n.js +18 -0
  65. package/dist/style-BFPpppS9.js +73 -0
  66. package/dist/style-CQdEALKR.cjs +59 -0
  67. package/package.json +1 -1
  68. package/dist/index-BGNavrtB.cjs +0 -368
  69. package/dist/index-BHcrzV2G.js +0 -54
  70. package/dist/index-Bj1KWOV4.cjs +0 -11
  71. package/dist/index-BsAddfgC.cjs +0 -1
  72. package/dist/index-Cn4bq6ZX.js +0 -84
  73. package/dist/index-CuRcxKQH.js +0 -42
  74. package/dist/index-DB1J-G6Z.js +0 -38
  75. package/dist/index-DkPva6Gr.cjs +0 -20
  76. package/dist/index-fzBXDy05.cjs +0 -16
  77. package/dist/index-gFZSZLba.js +0 -882
  78. package/dist/style-DvkivBNg.js +0 -74
  79. package/dist/style-Ito6YFqi.cjs +0 -64
@@ -1,12 +1,12 @@
1
- import { jsxs as l, jsx as t, Fragment as v } from "react/jsx-runtime";
2
- import { Suspense as y, memo as L, forwardRef as W, useMemo as j } from "react";
3
- import { s as N } from "./emotion-styled.browser.esm-DfbrHHed.js";
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 q } from "./useDetectMobile-B0Jog4jQ.js";
6
- import { S as z } from "./index-jGcy-5M_.js";
7
- import { T as B } from "./index-DdfMcHz0.js";
8
- import { b as R, S as $, a as A, c as i } from "./style-DvkivBNg.js";
9
- const D = N.div`
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 = N(R)`
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: r }) => /* @__PURE__ */ l(G, { children: [
86
- /* @__PURE__ */ l($, { className: "skeleton__cards", children: [
87
- /* @__PURE__ */ t(
88
- A,
89
- {
90
- width: "100%",
91
- height: "11.125rem"
92
- },
93
- `${r}-1`
94
- ),
95
- /* @__PURE__ */ t(
96
- i,
97
- {
98
- height: "11.125rem",
99
- width: "11.125rem"
100
- },
101
- `${r}-2`
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: n,
178
- subtitle: d,
179
- description: M,
180
- buttonText: T,
181
- buttonLink: U,
182
- items: o,
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: C = !1,
186
- limit: c = 6,
187
- getImage: u = () => {
112
+ isLoading: T = !1,
113
+ limit: d = 6,
114
+ getImage: c = () => {
188
115
  },
189
- negotiableText: p,
190
- freeText: h,
116
+ negotiableText: u,
117
+ freeText: p,
191
118
  componentName: g,
192
- LinkComponent: w
193
- } = r, S = q(), F = j(() => {
194
- var b, f;
195
- return /* @__PURE__ */ t(v, { children: S === !0 ? (b = o == null ? void 0 : o.slice(0, 4)) == null ? void 0 : b.map((e, s) => /* @__PURE__ */ t(
196
- k,
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: u(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
207
- negotiableText: p,
208
- freeText: h,
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: w
137
+ LinkComponent: f
211
138
  },
212
139
  s
213
- )) : (f = o == null ? void 0 : o.slice(0, 9)) == null ? void 0 : f.map((e, s) => /* @__PURE__ */ t(
214
- k,
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: u(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
225
- negotiableText: p,
226
- freeText: h,
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: w
155
+ LinkComponent: f
229
156
  },
230
157
  s
231
158
  )) });
232
- }, [o, S, c]);
159
+ }, [r, h, d]);
233
160
  return /* @__PURE__ */ t(
234
161
  V,
235
162
  {
236
- isLoading: C,
163
+ isLoading: T,
237
164
  keyPrefix: "simple-products-skeleton",
238
- children: /* @__PURE__ */ l(D, { ref: m, limit: c, children: [
165
+ children: /* @__PURE__ */ k(D, { ref: o, limit: d, children: [
239
166
  /* @__PURE__ */ t(
240
- B,
167
+ q,
241
168
  {
242
- subtitle: d,
243
- title: n,
244
- description: M,
245
- buttonText: T,
246
- buttonLink: U,
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
- F
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-BGNavrtB.cjs"),Q=L.styled.div`
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-gFZSZLba.js";
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;