@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,14 +1,14 @@
1
- import { jsxs as t, jsx as e, Fragment as y } from "react/jsx-runtime";
2
- import { forwardRef as W, useRef as A, cloneElement as E, Suspense as M, memo as D, useMemo as F } from "react";
3
- import L from "./Icon.js";
4
- import v from "./IconButton.js";
5
- import { n as H, q as J, s as K, v as P, m as Q } from "./utils-MoGhNMmj.js";
6
- import { P as V } from "./index-DEypPQRI.js";
7
- import { B as X } from "./style-D54KOzZj.js";
8
- import { s as T } from "./emotion-styled.browser.esm-DfbrHHed.js";
1
+ import { jsxs as n, jsx as i, Fragment as b } from "react/jsx-runtime";
2
+ import { forwardRef as L, useRef as W, cloneElement as E, Suspense as M, memo as q, useMemo as D } from "react";
3
+ import z from "./Icon.js";
4
+ import _ from "./IconButton.js";
5
+ import { n as F, q as G, s as H, v as I, m as J } from "./utils-MoGhNMmj.js";
6
+ import { P as K } from "./index-DEypPQRI.js";
7
+ import { B as Q } from "./style-D54KOzZj.js";
8
+ import { s as S } from "./emotion-styled.browser.esm-DfbrHHed.js";
9
9
  import { d as O } from "./breakpoints-BubDitvo.js";
10
- import { b as c, S as l, c as f, a as n } from "./style-DvkivBNg.js";
11
- const Y = T.a`
10
+ import { b as V, c as P, a as c, e as X } from "./style-BFPpppS9.js";
11
+ const Y = S.a`
12
12
  text-decoration: none;
13
13
  color: var(--gray-950);
14
14
  display: flex;
@@ -77,7 +77,7 @@ const Y = T.a`
77
77
  font-weight: 600;
78
78
  line-height: 1.5rem;
79
79
  letter-spacing: 0.1px;
80
- ${H(3)}
80
+ ${F(3)}
81
81
  }
82
82
 
83
83
  & .wrapper__tags {
@@ -178,62 +178,62 @@ const Y = T.a`
178
178
  }
179
179
  }
180
180
  }
181
- `, Z = W(
181
+ `, Z = L(
182
182
  ({
183
- blogUuid: o,
184
- title: m,
185
- imageUrl: h,
186
- options: a,
187
- publishedAt: p,
188
- timeToReadText: k = "{0} min read",
189
- timeToRead: N = 0,
190
- numberOfLikes: $ = 0,
191
- numberOfComments: C = 0,
192
- isBookmarked: u = !1,
193
- onSelectCard: B = () => {
183
+ blogUuid: a,
184
+ title: t,
185
+ imageUrl: m,
186
+ options: o,
187
+ publishedAt: d,
188
+ timeToReadText: w = "{0} min read",
189
+ timeToRead: y = 0,
190
+ numberOfLikes: v = 0,
191
+ numberOfComments: k = 0,
192
+ isBookmarked: g = !1,
193
+ onSelectCard: C = () => {
194
194
  },
195
- onBookmark: R = () => {
195
+ onBookmark: N = () => {
196
196
  },
197
- onShare: w = () => {
197
+ onShare: f = () => {
198
198
  },
199
- bookmarkComponent: s = /* @__PURE__ */ e(y, {}),
200
- metadata: d,
201
- titleSlug: _,
202
- LinkComponent: r,
203
- hasShare: b = !0,
204
- hasDelete: g = !1,
205
- onDelete: S = () => {
199
+ bookmarkComponent: s = /* @__PURE__ */ i(b, {}),
200
+ metadata: l,
201
+ titleSlug: h,
202
+ LinkComponent: e,
203
+ hasShare: u = !0,
204
+ hasDelete: p = !1,
205
+ onDelete: $ = () => {
206
206
  }
207
- }, G) => {
208
- const U = r || "a", z = () => Q(s) ? E(s, {
209
- key: `bookmark_blog__${o}__${u}`,
210
- isBookmarked: u,
211
- blogUuid: o,
212
- onBookmark: (j, q) => R(j, q),
213
- ref: G,
207
+ }, B) => {
208
+ const U = e || "a", j = () => J(s) ? E(s, {
209
+ key: `bookmark_blog__${a}__${g}`,
210
+ isBookmarked: g,
211
+ blogUuid: a,
212
+ onBookmark: (R, A) => N(R, A),
213
+ ref: B,
214
214
  componentName: "ExploreBlogSectionCard"
215
- }) : /* @__PURE__ */ e(y, {}), I = A();
216
- return /* @__PURE__ */ t(
215
+ }) : /* @__PURE__ */ i(b, {}), T = W();
216
+ return /* @__PURE__ */ n(
217
217
  Y,
218
218
  {
219
- ref: I,
220
- name: d == null ? void 0 : d.name,
221
- "data-accessor": d == null ? void 0 : d.accessor,
222
- onClick: (i) => B(i, I),
219
+ ref: T,
220
+ name: l == null ? void 0 : l.name,
221
+ "data-accessor": l == null ? void 0 : l.accessor,
222
+ onClick: (r) => C(r, T),
223
223
  className: "blog-card-item",
224
224
  as: U,
225
- ...r ? { to: `/blog/${_}` } : { href: `/blog/${_}` },
225
+ ...e ? { to: `/blog/${h}` } : { href: `/blog/${h}` },
226
226
  children: [
227
- /* @__PURE__ */ t("div", { className: "image-container", children: [
228
- g && /* @__PURE__ */ e(
227
+ /* @__PURE__ */ n("div", { className: "image-container", children: [
228
+ p && /* @__PURE__ */ i(
229
229
  "div",
230
230
  {
231
231
  className: "action mobile-only",
232
- onClick: (i) => {
233
- i == null || i.preventDefault(), i == null || i.stopPropagation();
232
+ onClick: (r) => {
233
+ r == null || r.preventDefault(), r == null || r.stopPropagation();
234
234
  },
235
- children: /* @__PURE__ */ e(
236
- v,
235
+ children: /* @__PURE__ */ i(
236
+ _,
237
237
  {
238
238
  icon: " mng-lnc-close",
239
239
  borderRadius: "curved",
@@ -242,67 +242,67 @@ const Y = T.a`
242
242
  color: "neutral",
243
243
  size: "medium",
244
244
  onClick: () => {
245
- S();
245
+ $();
246
246
  }
247
247
  }
248
248
  )
249
249
  }
250
250
  ),
251
- /* @__PURE__ */ e(V, { src: h, className: "wrapper__image" })
251
+ /* @__PURE__ */ i(K, { src: m, className: "wrapper__image" })
252
252
  ] }),
253
- /* @__PURE__ */ t("div", { className: "wrapper__content", children: [
254
- /* @__PURE__ */ t("div", { className: "wrapper__subcontent", children: [
255
- /* @__PURE__ */ t("div", { className: "wrapper__info", children: [
256
- /* @__PURE__ */ e("div", { className: "wrapper__title", children: m }),
257
- g && /* @__PURE__ */ e(
253
+ /* @__PURE__ */ n("div", { className: "wrapper__content", children: [
254
+ /* @__PURE__ */ n("div", { className: "wrapper__subcontent", children: [
255
+ /* @__PURE__ */ n("div", { className: "wrapper__info", children: [
256
+ /* @__PURE__ */ i("div", { className: "wrapper__title", children: t }),
257
+ p && /* @__PURE__ */ i(
258
258
  "div",
259
259
  {
260
260
  className: "action desktop-only",
261
- onClick: (i) => {
262
- i == null || i.preventDefault(), i == null || i.stopPropagation();
261
+ onClick: (r) => {
262
+ r == null || r.preventDefault(), r == null || r.stopPropagation();
263
263
  },
264
- children: /* @__PURE__ */ e(
265
- v,
264
+ children: /* @__PURE__ */ i(
265
+ _,
266
266
  {
267
267
  icon: " mng-lnc-close",
268
268
  borderRadius: "curved",
269
269
  btnType: "basic",
270
270
  color: "neutral",
271
271
  onClick: () => {
272
- S();
272
+ $();
273
273
  }
274
274
  }
275
275
  )
276
276
  }
277
277
  )
278
278
  ] }),
279
- /* @__PURE__ */ t("div", { className: "wrapper__tags-action", children: [
280
- /* @__PURE__ */ e("div", { className: "wrapper__tags", children: a && (a == null ? void 0 : a.map((i, j) => /* @__PURE__ */ e(
281
- X,
279
+ /* @__PURE__ */ n("div", { className: "wrapper__tags-action", children: [
280
+ /* @__PURE__ */ i("div", { className: "wrapper__tags", children: o && (o == null ? void 0 : o.map((r, R) => /* @__PURE__ */ i(
281
+ Q,
282
282
  {
283
- color: i == null ? void 0 : i.color,
284
- children: i == null ? void 0 : i.name
283
+ color: r == null ? void 0 : r.color,
284
+ children: r == null ? void 0 : r.name
285
285
  },
286
- `blog-card-sponsored-option__${j + 1}`
286
+ `blog-card-sponsored-option__${R + 1}`
287
287
  ))) }),
288
- /* @__PURE__ */ t(
288
+ /* @__PURE__ */ n(
289
289
  "div",
290
290
  {
291
291
  className: "info__content mobile-only",
292
- onClick: (i) => {
293
- i.stopPropagation(), i.preventDefault();
292
+ onClick: (r) => {
293
+ r.stopPropagation(), r.preventDefault();
294
294
  },
295
295
  children: [
296
- /* @__PURE__ */ e(z, {}),
297
- b && /* @__PURE__ */ e(
298
- v,
296
+ /* @__PURE__ */ i(j, {}),
297
+ u && /* @__PURE__ */ i(
298
+ _,
299
299
  {
300
300
  icon: " mng-lnc-share",
301
301
  borderRadius: "curved",
302
302
  btnType: "basic",
303
303
  color: "neutral",
304
304
  onClick: () => {
305
- w();
305
+ f();
306
306
  }
307
307
  }
308
308
  )
@@ -311,40 +311,40 @@ const Y = T.a`
311
311
  )
312
312
  ] })
313
313
  ] }),
314
- /* @__PURE__ */ t("div", { className: "wrapper__info", children: [
315
- /* @__PURE__ */ t("div", { className: "info__content", children: [
316
- /* @__PURE__ */ e("div", { className: "info__text", children: `${J(
317
- p
318
- )} • ${K(k, N)}` }),
319
- /* @__PURE__ */ t("div", { className: "info__text", children: [
320
- /* @__PURE__ */ t("div", { children: [
321
- /* @__PURE__ */ e(L, { icon: " mng-lnc-thumbs-up--filled", sizeInUnits: "1rem" }),
322
- P($)
314
+ /* @__PURE__ */ n("div", { className: "wrapper__info", children: [
315
+ /* @__PURE__ */ n("div", { className: "info__content", children: [
316
+ /* @__PURE__ */ i("div", { className: "info__text", children: `${G(
317
+ d
318
+ )} • ${H(w, y)}` }),
319
+ /* @__PURE__ */ n("div", { className: "info__text", children: [
320
+ /* @__PURE__ */ n("div", { children: [
321
+ /* @__PURE__ */ i(z, { icon: " mng-lnc-thumbs-up--filled", sizeInUnits: "1rem" }),
322
+ I(v)
323
323
  ] }),
324
- /* @__PURE__ */ t("div", { children: [
325
- /* @__PURE__ */ e(L, { icon: " mng-lnc-messages-filled", sizeInUnits: "1rem" }),
326
- P(C)
324
+ /* @__PURE__ */ n("div", { children: [
325
+ /* @__PURE__ */ i(z, { icon: " mng-lnc-messages-filled", sizeInUnits: "1rem" }),
326
+ I(k)
327
327
  ] })
328
328
  ] })
329
329
  ] }),
330
- /* @__PURE__ */ t(
330
+ /* @__PURE__ */ n(
331
331
  "div",
332
332
  {
333
333
  className: "info__content desktop-only",
334
- onClick: (i) => {
335
- i == null || i.preventDefault(), i == null || i.stopPropagation();
334
+ onClick: (r) => {
335
+ r == null || r.preventDefault(), r == null || r.stopPropagation();
336
336
  },
337
337
  children: [
338
- /* @__PURE__ */ e(z, {}),
339
- b && /* @__PURE__ */ e(
340
- v,
338
+ /* @__PURE__ */ i(j, {}),
339
+ u && /* @__PURE__ */ i(
340
+ _,
341
341
  {
342
342
  icon: " mng-lnc-share",
343
343
  borderRadius: "curved",
344
344
  btnType: "basic",
345
345
  color: "neutral",
346
346
  onClick: () => {
347
- w();
347
+ f();
348
348
  }
349
349
  }
350
350
  )
@@ -357,7 +357,7 @@ const Y = T.a`
357
357
  }
358
358
  );
359
359
  }
360
- ), x = T.div`
360
+ ), x = S.div`
361
361
  display: flex;
362
362
  flex-direction: column;
363
363
  align-items: flex-start;
@@ -381,133 +381,83 @@ const Y = T.a`
381
381
  bottom: -1.25rem;
382
382
  }
383
383
  }
384
- `, ee = T(c)`
384
+ `, ee = S(V)`
385
385
  @media ${O("S")} {
386
386
  & > div {
387
387
  flex-direction: column;
388
388
  }
389
389
  }
390
- `, re = ({ keyPrefix: o }) => /* @__PURE__ */ t(ee, { children: [
391
- /* @__PURE__ */ t(l, { children: [
392
- /* @__PURE__ */ e(f, { height: "9.5rem", width: "17.75rem" }),
393
- /* @__PURE__ */ t(c, { noGradient: !0, children: [
394
- /* @__PURE__ */ e(n, { height: "1.5rem" }),
395
- /* @__PURE__ */ t(l, { noGradient: !0, children: [
396
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
397
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
398
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
399
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" })
400
- ] })
390
+ `, re = ({ keyPrefix: a }) => /* @__PURE__ */ i(ee, { children: [1, 2, 3, 4, 5].map((t) => /* @__PURE__ */ n(P, { children: [
391
+ /* @__PURE__ */ i(c, { height: "9.5rem", width: "17.75rem" }),
392
+ /* @__PURE__ */ n(X, { children: [
393
+ /* @__PURE__ */ i(c, { height: "1.5rem", width: "100%" }),
394
+ /* @__PURE__ */ n(P, { children: [
395
+ /* @__PURE__ */ i(c, { width: "5rem", height: "1.25rem" }),
396
+ /* @__PURE__ */ i(c, { width: "5rem", height: "1.25rem" }),
397
+ /* @__PURE__ */ i(c, { width: "5rem", height: "1.25rem" }),
398
+ /* @__PURE__ */ i(c, { width: "5rem", height: "1.25rem" })
401
399
  ] })
402
- ] }, `${o}-1`),
403
- /* @__PURE__ */ t(l, { children: [
404
- /* @__PURE__ */ e(f, { height: "9.5rem", width: "17.75rem" }),
405
- /* @__PURE__ */ t(c, { noGradient: !0, children: [
406
- /* @__PURE__ */ e(n, { height: "1.5rem" }),
407
- /* @__PURE__ */ t(l, { noGradient: !0, children: [
408
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
409
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
410
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
411
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" })
412
- ] })
413
- ] })
414
- ] }, `${o}-2`),
415
- /* @__PURE__ */ t(l, { children: [
416
- /* @__PURE__ */ e(f, { height: "9.5rem", width: "17.75rem" }),
417
- /* @__PURE__ */ t(c, { noGradient: !0, children: [
418
- /* @__PURE__ */ e(n, { height: "1.5rem" }),
419
- /* @__PURE__ */ t(l, { noGradient: !0, children: [
420
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
421
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
422
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
423
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" })
424
- ] })
425
- ] })
426
- ] }, `${o}-3`),
427
- /* @__PURE__ */ t(l, { children: [
428
- /* @__PURE__ */ e(f, { height: "9.5rem", width: "17.75rem" }),
429
- /* @__PURE__ */ t(c, { noGradient: !0, children: [
430
- /* @__PURE__ */ e(n, { height: "1.5rem" }),
431
- /* @__PURE__ */ t(l, { noGradient: !0, children: [
432
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
433
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
434
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
435
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" })
436
- ] })
437
- ] })
438
- ] }, `${o}-4`),
439
- /* @__PURE__ */ t(l, { children: [
440
- /* @__PURE__ */ e(f, { height: "9.5rem", width: "17.75rem" }),
441
- /* @__PURE__ */ t(c, { noGradient: !0, children: [
442
- /* @__PURE__ */ e(n, { height: "1.5rem" }),
443
- /* @__PURE__ */ t(l, { noGradient: !0, children: [
444
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
445
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
446
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
447
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" })
448
- ] })
449
- ] })
450
- ] }, `${o}-5`)
451
- ] }), ie = ({
452
- keyPrefix: o,
453
- isLoading: m = !1,
454
- fallbackComponent: h = /* @__PURE__ */ e(y, {}),
455
- children: a
456
- }) => /* @__PURE__ */ e(M, { fallbackComponent: h, children: m === !0 ? /* @__PURE__ */ e(re, { keyPrefix: o }) : a }), te = D(Z), ge = W(
400
+ ] })
401
+ ] }, `${a}-${t}`)) }), ie = ({
402
+ keyPrefix: a,
403
+ isLoading: t = !1,
404
+ fallbackComponent: m = /* @__PURE__ */ i(b, {}),
405
+ children: o
406
+ }) => /* @__PURE__ */ i(M, { fallbackComponent: m, children: t === !0 ? /* @__PURE__ */ i(re, { keyPrefix: a }) : o }), ne = q(Z), fe = L(
457
407
  ({
458
- timeToReadText: o = "{0} min read",
459
- items: m,
460
- isLoading: h = !1,
461
- onSelectCard: a = () => {
408
+ timeToReadText: a = "{0} min read",
409
+ items: t,
410
+ isLoading: m = !1,
411
+ onSelectCard: o = () => {
462
412
  },
463
- onShare: p = () => {
413
+ onShare: d = () => {
464
414
  },
465
- onBookmark: k = () => {
415
+ onBookmark: w = () => {
466
416
  },
467
- getImage: N = () => {
417
+ getImage: y = () => {
468
418
  },
469
- isSeparated: $ = !0,
470
- bookmarkComponent: C = /* @__PURE__ */ e(y, {}),
471
- componentName: u,
472
- LinkComponent: B,
473
- hasShare: R = !0,
474
- hasDelete: w = !1,
419
+ isSeparated: v = !0,
420
+ bookmarkComponent: k = /* @__PURE__ */ i(b, {}),
421
+ componentName: g,
422
+ LinkComponent: C,
423
+ hasShare: N = !0,
424
+ hasDelete: f = !1,
475
425
  onDelete: s = () => {
476
426
  }
477
- }, d) => {
478
- const _ = F(() => m == null ? void 0 : m.map((r, b) => {
479
- var g;
480
- return /* @__PURE__ */ e(
481
- te,
427
+ }, l) => {
428
+ const h = D(() => t == null ? void 0 : t.map((e, u) => {
429
+ var p;
430
+ return /* @__PURE__ */ i(
431
+ ne,
482
432
  {
483
- blogUuid: r == null ? void 0 : r.uuid,
484
- title: r == null ? void 0 : r.title,
485
- titleSlug: r == null ? void 0 : r.titleSlug,
486
- options: r == null ? void 0 : r.options,
487
- publishedAt: r == null ? void 0 : r.publishedAt,
488
- timeToReadText: o,
489
- timeToRead: r == null ? void 0 : r.timeToRead,
490
- numberOfLikes: r == null ? void 0 : r.numberOfLikes,
491
- numberOfComments: r == null ? void 0 : r.numberOfComments,
492
- isSponsored: r == null ? void 0 : r.isSponsored,
493
- isBookmarked: r == null ? void 0 : r.isBookmarked,
494
- onSelectCard: (S, G) => a == null ? void 0 : a(r, G),
495
- hasShare: R,
496
- hasDelete: w,
497
- onDelete: () => s == null ? void 0 : s(r),
498
- onShare: () => p == null ? void 0 : p(r),
499
- onBookmark: k,
500
- imageUrl: N(r == null ? void 0 : r.imageUrl, r == null ? void 0 : r.uuid) || null,
501
- bookmarkComponent: C,
502
- metadata: { name: u, accessor: r == null ? void 0 : r.accessor },
503
- LinkComponent: B
433
+ blogUuid: e == null ? void 0 : e.uuid,
434
+ title: e == null ? void 0 : e.title,
435
+ titleSlug: e == null ? void 0 : e.titleSlug,
436
+ options: e == null ? void 0 : e.options,
437
+ publishedAt: e == null ? void 0 : e.publishedAt,
438
+ timeToReadText: a,
439
+ timeToRead: e == null ? void 0 : e.timeToRead,
440
+ numberOfLikes: e == null ? void 0 : e.numberOfLikes,
441
+ numberOfComments: e == null ? void 0 : e.numberOfComments,
442
+ isSponsored: e == null ? void 0 : e.isSponsored,
443
+ isBookmarked: e == null ? void 0 : e.isBookmarked,
444
+ onSelectCard: ($, B) => o == null ? void 0 : o(e, B),
445
+ hasShare: N,
446
+ hasDelete: f,
447
+ onDelete: () => s == null ? void 0 : s(e),
448
+ onShare: () => d == null ? void 0 : d(e),
449
+ onBookmark: w,
450
+ imageUrl: y(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
451
+ bookmarkComponent: k,
452
+ metadata: { name: g, accessor: e == null ? void 0 : e.accessor },
453
+ LinkComponent: C
504
454
  },
505
- `blog-card-item__${b + 1}__${(g = r == null ? void 0 : r.isBookmarked) == null ? void 0 : g.toString()}`
455
+ `blog-card-item__${u + 1}__${(p = e == null ? void 0 : e.isBookmarked) == null ? void 0 : p.toString()}`
506
456
  );
507
- }), [m]);
508
- return /* @__PURE__ */ e(ie, { isLoading: h, keyPrefix: "blog-list-skeleton", children: /* @__PURE__ */ e(x, { ref: d, className: $ ? "separated" : "", children: _ }) });
457
+ }), [t]);
458
+ return /* @__PURE__ */ i(ie, { isLoading: m, keyPrefix: "blog-list-skeleton", children: /* @__PURE__ */ i(x, { ref: l, className: v ? "separated" : "", children: h }) });
509
459
  }
510
460
  );
511
461
  export {
512
- ge as default
462
+ fe as default
513
463
  };
@@ -1,16 +1,7 @@
1
- "use strict";const n=require("react/jsx-runtime"),s=require("react"),g=require("./index-D4OKsSqi.cjs"),l=require("./style-Ito6YFqi.cjs"),c=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),d=require("./breakpoints-CcVm-gVm.cjs"),x=c.styled(l.SkeletonColumnWrapper)`
1
+ "use strict";const n=require("react/jsx-runtime"),s=require("react"),g=require("./index-D4OKsSqi.cjs"),l=require("./style-CQdEALKR.cjs"),a=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),d=require("./breakpoints-CcVm-gVm.cjs"),x=a.styled(l.SkeletonAnimationColumnContainer)`
2
2
  @media ${d.down("S")} {
3
3
  & > div {
4
4
  height: 13.25rem;
5
-
6
- background: linear-gradient(
7
- to right,
8
- transparent 0%,
9
- #f4f6fb 40%,
10
- #f4f6fb 100%
11
- );
12
-
13
- box-shadow: none;
14
5
  }
15
6
  }
16
- `,S=({keyPrefix:r})=>n.jsx(x,{children:n.jsx(l.SkeletonLinePlaceholder,{height:"11.25rem",borderRadius:"0.75rem"},`${r}-1`)}),b=({keyPrefix:r,isLoading:t=!1,fallbackComponent:o=n.jsx(n.Fragment,{}),children:e})=>n.jsx(s.Suspense,{fallbackComponent:o,children:t===!0?n.jsx(S,{keyPrefix:r}):e}),f=s.forwardRef((r,t)=>{const{isLoading:o,item:e,onSelectCard:i=()=>{},getImage:a=()=>{},LinkComponent:u}=r;return n.jsx(b,{isLoading:o,keyPrefix:"blogs-single-skeleton",children:n.jsx(g.BlogCardLarge,{ref:t,title:e==null?void 0:e.title,imageUrl:a(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:()=>i(e==null?void 0:e.titleSlug),LinkComponent:u})})});module.exports=f;
7
+ `,S=({keyPrefix:t})=>n.jsx(x,{children:n.jsx(l.SkeletonRect,{width:"100%",height:"11.25rem"},`${t}-0`)}),h=({keyPrefix:t,isLoading:r=!1,fallbackComponent:o=n.jsx(n.Fragment,{}),children:e})=>n.jsx(s.Suspense,{fallbackComponent:o,children:r===!0?n.jsx(S,{keyPrefix:t}):e}),j=s.forwardRef((t,r)=>{const{isLoading:o,item:e,onSelectCard:i=()=>{},getImage:u=()=>{},LinkComponent:c}=t;return n.jsx(h,{isLoading:o,keyPrefix:"blogs-single-skeleton",children:n.jsx(g.BlogCardLarge,{ref:r,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:()=>i(e==null?void 0:e.titleSlug),LinkComponent:c})})});module.exports=j;
@@ -1,57 +1,41 @@
1
- import { jsx as r, Fragment as i } from "react/jsx-runtime";
1
+ import { jsx as o, Fragment as i } from "react/jsx-runtime";
2
2
  import { Suspense as g, forwardRef as d } from "react";
3
3
  import { B as u } from "./index-rhYVjszT.js";
4
- import { b as f, a as c } from "./style-DvkivBNg.js";
5
- import { s as p } from "./emotion-styled.browser.esm-DfbrHHed.js";
6
- import { d as S } from "./breakpoints-BubDitvo.js";
7
- const h = p(f)`
8
- @media ${S("S")} {
4
+ import { b as c, a as S } from "./style-BFPpppS9.js";
5
+ import { s as f } from "./emotion-styled.browser.esm-DfbrHHed.js";
6
+ import { d as p } from "./breakpoints-BubDitvo.js";
7
+ const m = f(c)`
8
+ @media ${p("S")} {
9
9
  & > div {
10
10
  height: 13.25rem;
11
-
12
- background: linear-gradient(
13
- to right,
14
- transparent 0%,
15
- #f4f6fb 40%,
16
- #f4f6fb 100%
17
- );
18
-
19
- box-shadow: none;
20
11
  }
21
12
  }
22
- `, b = ({ keyPrefix: o }) => /* @__PURE__ */ r(h, { children: /* @__PURE__ */ r(
23
- c,
24
- {
25
- height: "11.25rem",
26
- borderRadius: "0.75rem"
27
- },
28
- `${o}-1`
29
- ) }), m = ({
30
- keyPrefix: o,
31
- isLoading: n = !1,
32
- fallbackComponent: t = /* @__PURE__ */ r(i, {}),
13
+ `, h = ({ keyPrefix: n }) => /* @__PURE__ */ o(m, { children: /* @__PURE__ */ o(S, { width: "100%", height: "11.25rem" }, `${n}-0`) }), C = ({
14
+ keyPrefix: n,
15
+ isLoading: t = !1,
16
+ fallbackComponent: r = /* @__PURE__ */ o(i, {}),
33
17
  children: e
34
- }) => /* @__PURE__ */ r(g, { fallbackComponent: t, children: n === !0 ? /* @__PURE__ */ r(b, { keyPrefix: o }) : e }), y = d((o, n) => {
18
+ }) => /* @__PURE__ */ o(g, { fallbackComponent: r, children: t === !0 ? /* @__PURE__ */ o(h, { keyPrefix: n }) : e }), y = d((n, t) => {
35
19
  const {
36
- isLoading: t,
20
+ isLoading: r,
37
21
  item: e,
38
22
  onSelectCard: l = () => {
39
23
  },
40
- getImage: a = () => {
24
+ getImage: s = () => {
41
25
  },
42
- LinkComponent: s
43
- } = o;
44
- return /* @__PURE__ */ r(m, { isLoading: t, keyPrefix: "blogs-single-skeleton", children: /* @__PURE__ */ r(
26
+ LinkComponent: a
27
+ } = n;
28
+ return /* @__PURE__ */ o(C, { isLoading: r, keyPrefix: "blogs-single-skeleton", children: /* @__PURE__ */ o(
45
29
  u,
46
30
  {
47
- ref: n,
31
+ ref: t,
48
32
  title: e == null ? void 0 : e.title,
49
- imageUrl: a(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
33
+ imageUrl: s(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
50
34
  text: e == null ? void 0 : e.description,
51
35
  titleSlug: e == null ? void 0 : e.titleSlug,
52
36
  buttonText: e == null ? void 0 : e.buttonText,
53
37
  onCardClick: () => l(e == null ? void 0 : e.titleSlug),
54
- LinkComponent: s
38
+ LinkComponent: a
55
39
  }
56
40
  ) });
57
41
  });
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),u=require("react"),S=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),w=require("./breakpoints-CcVm-gVm.cjs"),$=require("./useDetectMobile-DYV6V1yw.cjs"),a=require("./utils-CITgSxXe.cjs"),R=require("./style-Boz6dk5s.cjs"),q=require("./Button.cjs"),L=require("./index-DsINTjQk.cjs"),O=require("./index-fzBXDy05.cjs"),D=S.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),u=require("react"),S=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),w=require("./breakpoints-CcVm-gVm.cjs"),$=require("./useDetectMobile-DYV6V1yw.cjs"),a=require("./utils-CITgSxXe.cjs"),R=require("./style-Boz6dk5s.cjs"),q=require("./Button.cjs"),L=require("./index-DsINTjQk.cjs"),O=require("./index-BUdvfHpp.cjs"),D=S.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: ${o=>`repeat(${o.limit}, minmax(0, 1fr))`};
4
4
  gap: 1.25rem;
@@ -7,7 +7,7 @@ import { n as j, q as M, s as U, v as R, l as C } from "./utils-MoGhNMmj.js";
7
7
  import { B as W, R as P } from "./style-D54KOzZj.js";
8
8
  import I from "./Button.js";
9
9
  import { P as q } from "./index-DEypPQRI.js";
10
- import { S as E } from "./index-BHcrzV2G.js";
10
+ import { S as E } from "./index-VTkAaA-n.js";
11
11
  const F = S.div`
12
12
  display: grid;
13
13
  grid-template-columns: ${(l) => `repeat(${l.limit}, minmax(0, 1fr))`};