@lanaco/lnc-react-ui 4.0.183 → 4.0.185

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 (75) hide show
  1. package/dist/BlogCardsSponsoredSection.cjs +5 -3
  2. package/dist/BlogCardsSponsoredSection.js +68 -64
  3. package/dist/BlogCategoryCardsSection.cjs +1 -1
  4. package/dist/BlogCategoryCardsSection.js +1 -1
  5. package/dist/BlogListSection.cjs +8 -6
  6. package/dist/BlogListSection.js +122 -114
  7. package/dist/BlogProductCardsSection.cjs +1 -1
  8. package/dist/BlogProductCardsSection.js +1 -1
  9. package/dist/BlogShopCardsSection.cjs +1 -1
  10. package/dist/BlogShopCardsSection.js +1 -1
  11. package/dist/BlogSingleSection.cjs +1 -1
  12. package/dist/BlogSingleSection.js +1 -1
  13. package/dist/BlogsSectionDetailed.cjs +5 -3
  14. package/dist/BlogsSectionDetailed.js +53 -49
  15. package/dist/BlogsSectionLarge.cjs +2 -2
  16. package/dist/BlogsSectionLarge.js +2 -2
  17. package/dist/BlogsSectionSimple.cjs +9 -7
  18. package/dist/BlogsSectionSimple.js +53 -47
  19. package/dist/BlogsSectionSimpleCentered.cjs +7 -5
  20. package/dist/BlogsSectionSimpleCentered.js +31 -26
  21. package/dist/BlogsSectionWithFilters.cjs +9 -7
  22. package/dist/BlogsSectionWithFilters.js +47 -42
  23. package/dist/BrandHitsSection.cjs +9 -7
  24. package/dist/BrandHitsSection.js +40 -35
  25. package/dist/{CategorySimpleCard-BNYjZQTH.cjs → CategorySimpleCard-D5N8cx0Z.cjs} +4 -3
  26. package/dist/{CategorySimpleCard-BA0S7TaN.js → CategorySimpleCard-DRQuoxXu.js} +17 -15
  27. package/dist/CheckBoxInput.cjs +27 -27
  28. package/dist/CheckBoxInput.js +61 -98
  29. package/dist/ColorInput.cjs +26 -26
  30. package/dist/ColorInput.js +127 -162
  31. package/dist/DetailedProductsInfinitiveSection.cjs +2 -2
  32. package/dist/DetailedProductsInfinitiveSection.js +6 -5
  33. package/dist/DetailedProductsSection.cjs +2 -2
  34. package/dist/DetailedProductsSection.js +12 -10
  35. package/dist/FieldOfInterestsMasonrySection.cjs +5 -3
  36. package/dist/FieldOfInterestsMasonrySection.js +90 -85
  37. package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +4 -4
  38. package/dist/FieldOfInterestsWithAvatarsCardsSection.js +49 -46
  39. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +8 -6
  40. package/dist/FieldOfInterestsWithTagsCardsSection.js +44 -40
  41. package/dist/GeneralWithTagsCardsSection.cjs +12 -8
  42. package/dist/GeneralWithTagsCardsSection.js +50 -44
  43. package/dist/GiftCardsSection.cjs +7 -5
  44. package/dist/GiftCardsSection.js +46 -40
  45. package/dist/MasonryGeneralCardsSection.cjs +6 -5
  46. package/dist/MasonryGeneralCardsSection.js +26 -23
  47. package/dist/Modal.cjs +14 -13
  48. package/dist/Modal.js +88 -86
  49. package/dist/OverlayGeneralCardsSection.cjs +7 -5
  50. package/dist/OverlayGeneralCardsSection.js +30 -35
  51. package/dist/ProductsWithBannerSection.cjs +8 -6
  52. package/dist/ProductsWithBannerSection.js +71 -77
  53. package/dist/QuattroCardsSection.cjs +8 -6
  54. package/dist/QuattroCardsSection.js +31 -28
  55. package/dist/ReviewsSection.cjs +11 -9
  56. package/dist/ReviewsSection.js +38 -36
  57. package/dist/SalesCampaignsSection.cjs +22 -19
  58. package/dist/SalesCampaignsSection.js +299 -300
  59. package/dist/ShopCardsSection.cjs +1 -1
  60. package/dist/ShopCardsSection.js +1 -1
  61. package/dist/SimpleCategoriesSection.cjs +2 -2
  62. package/dist/SimpleCategoriesSection.js +7 -3
  63. package/dist/SimpleProductsSection.cjs +5 -5
  64. package/dist/SimpleProductsSection.js +62 -72
  65. package/dist/UrgentSaleProductsSection.cjs +6 -6
  66. package/dist/UrgentSaleProductsSection.js +9 -7
  67. package/dist/{index-DoKMLSVY.cjs → index-0p_3g3pT.cjs} +4 -2
  68. package/dist/{index-Bhfq_YpE.js → index-BipuzfLW.js} +28 -25
  69. package/dist/{index-CaAhRJ2-.cjs → index-Bmr3IeZ_.cjs} +12 -11
  70. package/dist/{index-DWLKvVyZ.js → index-C8QkdNHi.js} +27 -23
  71. package/dist/{index-B8I1mHMA.js → index-CA59z2ge.js} +29 -26
  72. package/dist/{index-BnYqZk-h.cjs → index-DHV9awrE.cjs} +4 -2
  73. package/dist/{index-DxZ71UZ1.js → index-DZ8515cZ.js} +144 -137
  74. package/dist/{index-D55MR8tU.cjs → index-MiN854X_.cjs} +6 -4
  75. package/package.json +1 -1
@@ -1,14 +1,16 @@
1
- import { jsxs as i, jsx as e, Fragment as w } from "react/jsx-runtime";
2
- import { forwardRef as j, useRef as T, cloneElement as O, Suspense as W, memo as E, useMemo as M } from "react";
3
- import G from "./Icon.js";
4
- import R from "./IconButton.js";
5
- import { o as P, q as U, s as q, v as I, l as A } from "./utils-Dc5zIpaz.js";
6
- import { P as D } from "./index-C_NnINik.js";
7
- import { B as F } from "./style-C7FUSHmS.js";
1
+ import { jsxs as t, jsx as e, Fragment as u } from "react/jsx-runtime";
2
+ import { forwardRef as L, useRef as O, cloneElement as W, Suspense as D, memo as E, useMemo as M } from "react";
3
+ import R from "./Icon.js";
4
+ import I from "./IconButton.js";
5
+ import { o as P, q as U, s as q, v as j, l as A } from "./utils-Dc5zIpaz.js";
6
+ import { P as F } from "./index-C_NnINik.js";
7
+ import { B as X } from "./style-C7FUSHmS.js";
8
8
  import { s as B } from "./emotion-styled.browser.esm-BNN1dTl3.js";
9
- import { M as L } from "./consts-BuFChS64.js";
10
- import { S as s, a as l, c as p, b as t } from "./style-CXMUA6cI.js";
11
- const X = B.div`
9
+ import { M as z } from "./consts-BuFChS64.js";
10
+ import { S as s, a as l, c as p, b as i } from "./style-CXMUA6cI.js";
11
+ const Z = B.a`
12
+ text-decoration: none;
13
+ color: var(--gray-950);
12
14
  display: flex;
13
15
  padding: 1rem;
14
16
  align-items: center;
@@ -103,7 +105,7 @@ const X = B.div`
103
105
  }
104
106
  }
105
107
 
106
- @media (max-width: ${L + "px"}) {
108
+ @media (max-width: ${z + "px"}) {
107
109
  flex-direction: column;
108
110
  padding: 0;
109
111
  background: transparent;
@@ -154,101 +156,107 @@ const X = B.div`
154
156
  }
155
157
  }
156
158
  }
157
- `, Z = j(
159
+ `, H = L(
158
160
  ({
159
161
  blogUuid: o,
160
162
  title: d,
161
163
  imageUrl: c,
162
164
  options: a,
163
165
  publishedAt: h,
164
- timeToReadText: _ = "{0} min read",
165
- timeToRead: b = 0,
166
- numberOfLikes: y = 0,
166
+ timeToReadText: w = "{0} min read",
167
+ timeToRead: _ = 0,
168
+ numberOfLikes: b = 0,
167
169
  numberOfComments: v = 0,
168
170
  isBookmarked: g = !1,
169
- onSelectCard: k = () => {
171
+ onSelectCard: y = () => {
170
172
  },
171
- onBookmark: N = () => {
173
+ onBookmark: k = () => {
172
174
  },
173
175
  onShare: r = () => {
174
176
  },
175
- bookmarkComponent: f = /* @__PURE__ */ e(w, {}),
176
- metadata: m
177
- }, S) => {
178
- const u = () => A(f) ? O(f, {
177
+ bookmarkComponent: f = /* @__PURE__ */ e(u, {}),
178
+ metadata: m,
179
+ titleSlug: C
180
+ }, $) => {
181
+ const S = () => A(f) ? W(f, {
179
182
  key: `bookmark_blog__${o}__${g}`,
180
183
  isBookmarked: g,
181
184
  blogUuid: o,
182
- onBookmark: ($, z) => N($, z),
183
- ref: S,
185
+ onBookmark: (N, T) => k(N, T),
186
+ ref: $,
184
187
  componentName: "ExploreBlogSectionCard"
185
- }) : /* @__PURE__ */ e(w, {}), C = T();
186
- return /* @__PURE__ */ i(
187
- X,
188
+ }) : /* @__PURE__ */ e(u, {}), G = O();
189
+ return /* @__PURE__ */ t(
190
+ Z,
188
191
  {
189
- ref: C,
192
+ ref: G,
190
193
  name: m == null ? void 0 : m.name,
191
194
  "data-accessor": m == null ? void 0 : m.accessor,
192
- onClick: (n) => k(n, C),
195
+ onClick: (n) => y(n, G),
193
196
  className: "blog-card-item",
197
+ href: `/blog/${C}`,
194
198
  children: [
195
- /* @__PURE__ */ e(D, { src: c, className: "wrapper__image" }),
196
- /* @__PURE__ */ i("div", { className: "wrapper__content", children: [
197
- /* @__PURE__ */ i("div", { className: "wrapper__subcontent", children: [
199
+ /* @__PURE__ */ e(F, { src: c, className: "wrapper__image" }),
200
+ /* @__PURE__ */ t("div", { className: "wrapper__content", children: [
201
+ /* @__PURE__ */ t("div", { className: "wrapper__subcontent", children: [
198
202
  /* @__PURE__ */ e("div", { className: "wrapper__title", children: d }),
199
- /* @__PURE__ */ i("div", { className: "wrapper__tags-action", children: [
200
- /* @__PURE__ */ e("div", { className: "wrapper__tags", children: a && (a == null ? void 0 : a.map((n, $) => /* @__PURE__ */ e(
201
- F,
203
+ /* @__PURE__ */ t("div", { className: "wrapper__tags-action", children: [
204
+ /* @__PURE__ */ e("div", { className: "wrapper__tags", children: a && (a == null ? void 0 : a.map((n, N) => /* @__PURE__ */ e(
205
+ X,
202
206
  {
203
207
  color: n == null ? void 0 : n.color,
204
208
  children: n == null ? void 0 : n.name
205
209
  },
206
- `blog-card-sponsored-option__${$ + 1}`
210
+ `blog-card-sponsored-option__${N + 1}`
207
211
  ))) }),
208
- /* @__PURE__ */ i("div", { className: "info__content mobile-only", children: [
209
- /* @__PURE__ */ e(u, {}),
212
+ /* @__PURE__ */ t("div", { className: "info__content mobile-only", onClick: (n) => {
213
+ n.stopPropagation(), n.preventDefault();
214
+ }, children: [
215
+ /* @__PURE__ */ e(S, {}),
210
216
  /* @__PURE__ */ e(
211
- R,
217
+ I,
212
218
  {
213
219
  icon: " mng-lnc-share",
214
220
  borderRadius: "curved",
215
221
  btnType: "basic",
216
222
  color: "neutral",
217
- onClick: (n) => {
218
- n == null || n.stopPropagation(), r();
223
+ onClick: () => {
224
+ r();
219
225
  }
220
226
  }
221
227
  )
222
228
  ] })
223
229
  ] })
224
230
  ] }),
225
- /* @__PURE__ */ i("div", { className: "wrapper__info", children: [
226
- /* @__PURE__ */ i("div", { className: "info__content", children: [
231
+ /* @__PURE__ */ t("div", { className: "wrapper__info", children: [
232
+ /* @__PURE__ */ t("div", { className: "info__content", children: [
227
233
  /* @__PURE__ */ e("div", { className: "info__text", children: `${U(
228
234
  h
229
- )} • ${q(_, b)}` }),
230
- /* @__PURE__ */ i("div", { className: "info__text", children: [
231
- /* @__PURE__ */ i("div", { children: [
232
- /* @__PURE__ */ e(G, { icon: " mng-lnc-thumbs-up--filled", sizeInUnits: "1rem" }),
233
- I(y)
235
+ )} • ${q(w, _)}` }),
236
+ /* @__PURE__ */ t("div", { className: "info__text", children: [
237
+ /* @__PURE__ */ t("div", { children: [
238
+ /* @__PURE__ */ e(R, { icon: " mng-lnc-thumbs-up--filled", sizeInUnits: "1rem" }),
239
+ j(b)
234
240
  ] }),
235
- /* @__PURE__ */ i("div", { children: [
236
- /* @__PURE__ */ e(G, { icon: " mng-lnc-messages-filled", sizeInUnits: "1rem" }),
237
- I(v)
241
+ /* @__PURE__ */ t("div", { children: [
242
+ /* @__PURE__ */ e(R, { icon: " mng-lnc-messages-filled", sizeInUnits: "1rem" }),
243
+ j(v)
238
244
  ] })
239
245
  ] })
240
246
  ] }),
241
- /* @__PURE__ */ i("div", { className: "info__content desktop-only", children: [
242
- /* @__PURE__ */ e(u, {}),
247
+ /* @__PURE__ */ t("div", { className: "info__content desktop-only", onClick: (n) => {
248
+ n == null || n.preventDefault(), n == null || n.stopPropagation();
249
+ }, children: [
250
+ /* @__PURE__ */ e(S, {}),
243
251
  /* @__PURE__ */ e(
244
- R,
252
+ I,
245
253
  {
246
254
  icon: " mng-lnc-share",
247
255
  borderRadius: "curved",
248
256
  btnType: "basic",
249
257
  color: "neutral",
250
- onClick: (n) => {
251
- n == null || n.stopPropagation(), r();
258
+ onClick: () => {
259
+ r();
252
260
  }
253
261
  }
254
262
  )
@@ -259,7 +267,7 @@ const X = B.div`
259
267
  }
260
268
  );
261
269
  }
262
- ), H = B.div`
270
+ ), J = B.div`
263
271
  display: flex;
264
272
  flex-direction: column;
265
273
  align-items: flex-start;
@@ -283,79 +291,79 @@ const X = B.div`
283
291
  bottom: -1.25rem;
284
292
  }
285
293
  }
286
- `, J = B(s)`
287
- @media (max-width: ${L + "px"}) {
294
+ `, K = B(s)`
295
+ @media (max-width: ${z + "px"}) {
288
296
  & > div {
289
297
  flex-direction: column;
290
298
  }
291
299
  }
292
- `, K = ({ keyPrefix: o }) => /* @__PURE__ */ i(J, { children: [
293
- /* @__PURE__ */ i(l, { children: [
300
+ `, Q = ({ keyPrefix: o }) => /* @__PURE__ */ t(K, { children: [
301
+ /* @__PURE__ */ t(l, { children: [
294
302
  /* @__PURE__ */ e(p, { height: "9.5rem", width: "17.75rem" }),
295
- /* @__PURE__ */ i(s, { noGradient: !0, children: [
296
- /* @__PURE__ */ e(t, { height: "1.5rem" }),
297
- /* @__PURE__ */ i(l, { noGradient: !0, children: [
298
- /* @__PURE__ */ e(t, { width: "5rem", height: "1.25rem" }),
299
- /* @__PURE__ */ e(t, { width: "5rem", height: "1.25rem" }),
300
- /* @__PURE__ */ e(t, { width: "5rem", height: "1.25rem" }),
301
- /* @__PURE__ */ e(t, { width: "5rem", height: "1.25rem" })
303
+ /* @__PURE__ */ t(s, { noGradient: !0, children: [
304
+ /* @__PURE__ */ e(i, { height: "1.5rem" }),
305
+ /* @__PURE__ */ t(l, { noGradient: !0, children: [
306
+ /* @__PURE__ */ e(i, { width: "5rem", height: "1.25rem" }),
307
+ /* @__PURE__ */ e(i, { width: "5rem", height: "1.25rem" }),
308
+ /* @__PURE__ */ e(i, { width: "5rem", height: "1.25rem" }),
309
+ /* @__PURE__ */ e(i, { width: "5rem", height: "1.25rem" })
302
310
  ] })
303
311
  ] })
304
312
  ] }, `${o}-1`),
305
- /* @__PURE__ */ i(l, { children: [
313
+ /* @__PURE__ */ t(l, { children: [
306
314
  /* @__PURE__ */ e(p, { height: "9.5rem", width: "17.75rem" }),
307
- /* @__PURE__ */ i(s, { noGradient: !0, children: [
308
- /* @__PURE__ */ e(t, { height: "1.5rem" }),
309
- /* @__PURE__ */ i(l, { noGradient: !0, children: [
310
- /* @__PURE__ */ e(t, { width: "5rem", height: "1.25rem" }),
311
- /* @__PURE__ */ e(t, { width: "5rem", height: "1.25rem" }),
312
- /* @__PURE__ */ e(t, { width: "5rem", height: "1.25rem" }),
313
- /* @__PURE__ */ e(t, { width: "5rem", height: "1.25rem" })
315
+ /* @__PURE__ */ t(s, { noGradient: !0, children: [
316
+ /* @__PURE__ */ e(i, { height: "1.5rem" }),
317
+ /* @__PURE__ */ t(l, { noGradient: !0, children: [
318
+ /* @__PURE__ */ e(i, { width: "5rem", height: "1.25rem" }),
319
+ /* @__PURE__ */ e(i, { width: "5rem", height: "1.25rem" }),
320
+ /* @__PURE__ */ e(i, { width: "5rem", height: "1.25rem" }),
321
+ /* @__PURE__ */ e(i, { width: "5rem", height: "1.25rem" })
314
322
  ] })
315
323
  ] })
316
324
  ] }, `${o}-2`),
317
- /* @__PURE__ */ i(l, { children: [
325
+ /* @__PURE__ */ t(l, { children: [
318
326
  /* @__PURE__ */ e(p, { height: "9.5rem", width: "17.75rem" }),
319
- /* @__PURE__ */ i(s, { noGradient: !0, children: [
320
- /* @__PURE__ */ e(t, { height: "1.5rem" }),
321
- /* @__PURE__ */ i(l, { noGradient: !0, children: [
322
- /* @__PURE__ */ e(t, { width: "5rem", height: "1.25rem" }),
323
- /* @__PURE__ */ e(t, { width: "5rem", height: "1.25rem" }),
324
- /* @__PURE__ */ e(t, { width: "5rem", height: "1.25rem" }),
325
- /* @__PURE__ */ e(t, { width: "5rem", height: "1.25rem" })
327
+ /* @__PURE__ */ t(s, { noGradient: !0, children: [
328
+ /* @__PURE__ */ e(i, { height: "1.5rem" }),
329
+ /* @__PURE__ */ t(l, { noGradient: !0, children: [
330
+ /* @__PURE__ */ e(i, { width: "5rem", height: "1.25rem" }),
331
+ /* @__PURE__ */ e(i, { width: "5rem", height: "1.25rem" }),
332
+ /* @__PURE__ */ e(i, { width: "5rem", height: "1.25rem" }),
333
+ /* @__PURE__ */ e(i, { width: "5rem", height: "1.25rem" })
326
334
  ] })
327
335
  ] })
328
336
  ] }, `${o}-3`),
329
- /* @__PURE__ */ i(l, { children: [
337
+ /* @__PURE__ */ t(l, { children: [
330
338
  /* @__PURE__ */ e(p, { height: "9.5rem", width: "17.75rem" }),
331
- /* @__PURE__ */ i(s, { noGradient: !0, children: [
332
- /* @__PURE__ */ e(t, { height: "1.5rem" }),
333
- /* @__PURE__ */ i(l, { noGradient: !0, children: [
334
- /* @__PURE__ */ e(t, { width: "5rem", height: "1.25rem" }),
335
- /* @__PURE__ */ e(t, { width: "5rem", height: "1.25rem" }),
336
- /* @__PURE__ */ e(t, { width: "5rem", height: "1.25rem" }),
337
- /* @__PURE__ */ e(t, { width: "5rem", height: "1.25rem" })
339
+ /* @__PURE__ */ t(s, { noGradient: !0, children: [
340
+ /* @__PURE__ */ e(i, { height: "1.5rem" }),
341
+ /* @__PURE__ */ t(l, { noGradient: !0, children: [
342
+ /* @__PURE__ */ e(i, { width: "5rem", height: "1.25rem" }),
343
+ /* @__PURE__ */ e(i, { width: "5rem", height: "1.25rem" }),
344
+ /* @__PURE__ */ e(i, { width: "5rem", height: "1.25rem" }),
345
+ /* @__PURE__ */ e(i, { width: "5rem", height: "1.25rem" })
338
346
  ] })
339
347
  ] })
340
348
  ] }, `${o}-4`),
341
- /* @__PURE__ */ i(l, { children: [
349
+ /* @__PURE__ */ t(l, { children: [
342
350
  /* @__PURE__ */ e(p, { height: "9.5rem", width: "17.75rem" }),
343
- /* @__PURE__ */ i(s, { noGradient: !0, children: [
344
- /* @__PURE__ */ e(t, { height: "1.5rem" }),
345
- /* @__PURE__ */ i(l, { noGradient: !0, children: [
346
- /* @__PURE__ */ e(t, { width: "5rem", height: "1.25rem" }),
347
- /* @__PURE__ */ e(t, { width: "5rem", height: "1.25rem" }),
348
- /* @__PURE__ */ e(t, { width: "5rem", height: "1.25rem" }),
349
- /* @__PURE__ */ e(t, { width: "5rem", height: "1.25rem" })
351
+ /* @__PURE__ */ t(s, { noGradient: !0, children: [
352
+ /* @__PURE__ */ e(i, { height: "1.5rem" }),
353
+ /* @__PURE__ */ t(l, { noGradient: !0, children: [
354
+ /* @__PURE__ */ e(i, { width: "5rem", height: "1.25rem" }),
355
+ /* @__PURE__ */ e(i, { width: "5rem", height: "1.25rem" }),
356
+ /* @__PURE__ */ e(i, { width: "5rem", height: "1.25rem" }),
357
+ /* @__PURE__ */ e(i, { width: "5rem", height: "1.25rem" })
350
358
  ] })
351
359
  ] })
352
360
  ] }, `${o}-5`)
353
- ] }), Q = ({
361
+ ] }), V = ({
354
362
  keyPrefix: o,
355
363
  isLoading: d = !1,
356
- fallbackComponent: c = /* @__PURE__ */ e(w, {}),
364
+ fallbackComponent: c = /* @__PURE__ */ e(u, {}),
357
365
  children: a
358
- }) => /* @__PURE__ */ e(W, { fallbackComponent: c, children: d === !0 ? /* @__PURE__ */ e(K, { keyPrefix: o }) : a }), V = E(Z), me = j(
366
+ }) => /* @__PURE__ */ e(D, { fallbackComponent: c, children: d === !0 ? /* @__PURE__ */ e(Q, { keyPrefix: o }) : a }), Y = E(H), de = L(
359
367
  ({
360
368
  timeToReadText: o = "{0} min read",
361
369
  items: d,
@@ -364,18 +372,18 @@ const X = B.div`
364
372
  },
365
373
  onShare: h = () => {
366
374
  },
367
- onBookmark: _ = () => {
375
+ onBookmark: w = () => {
368
376
  },
369
- getImage: b = () => {
377
+ getImage: _ = () => {
370
378
  },
371
- isSeparated: y = !0,
372
- bookmarkComponent: v = /* @__PURE__ */ e(w, {}),
379
+ isSeparated: b = !0,
380
+ bookmarkComponent: v = /* @__PURE__ */ e(u, {}),
373
381
  componentName: g
374
- }, k) => {
375
- const N = M(() => d == null ? void 0 : d.map((r, f) => {
382
+ }, y) => {
383
+ const k = M(() => d == null ? void 0 : d.map((r, f) => {
376
384
  var m;
377
385
  return /* @__PURE__ */ e(
378
- V,
386
+ Y,
379
387
  {
380
388
  blogUuid: r == null ? void 0 : r.uuid,
381
389
  title: r == null ? void 0 : r.title,
@@ -388,19 +396,19 @@ const X = B.div`
388
396
  numberOfComments: r == null ? void 0 : r.numberOfComments,
389
397
  isSponsored: r == null ? void 0 : r.isSponsored,
390
398
  isBookmarked: r == null ? void 0 : r.isBookmarked,
391
- onSelectCard: (S, u) => a == null ? void 0 : a(r, u),
399
+ onSelectCard: (C, $) => a == null ? void 0 : a(r, $),
392
400
  onShare: () => h == null ? void 0 : h(r),
393
- onBookmark: _,
394
- imageUrl: b(r == null ? void 0 : r.imageUrl, r == null ? void 0 : r.uuid) || null,
401
+ onBookmark: w,
402
+ imageUrl: _(r == null ? void 0 : r.imageUrl, r == null ? void 0 : r.uuid) || null,
395
403
  bookmarkComponent: v,
396
404
  metadata: { name: g, accessor: r == null ? void 0 : r.accessor }
397
405
  },
398
406
  `blog-card-item__${f + 1}__${(m = r == null ? void 0 : r.isBookmarked) == null ? void 0 : m.toString()}`
399
407
  );
400
408
  }), [d]);
401
- return /* @__PURE__ */ e(Q, { isLoading: c, keyPrefix: "blog-list-skeleton", children: /* @__PURE__ */ e(H, { ref: k, className: y ? "separated" : "", children: N }) });
409
+ return /* @__PURE__ */ e(V, { isLoading: c, keyPrefix: "blog-list-skeleton", children: /* @__PURE__ */ e(J, { ref: y, className: b ? "separated" : "", children: k }) });
402
410
  }
403
411
  );
404
412
  export {
405
- me as default
413
+ de as default
406
414
  };
@@ -1 +1 @@
1
- "use strict";const i=require("react/jsx-runtime"),c=require("react"),h=require("./useDetectMobile-zkbzoOGV.cjs"),j=require("./index-BnYqZk-h.cjs"),M=require("./Button.cjs"),N=require("./style-BTTXJFJN.cjs"),f=c.memo(j.SimpleProductCard),y=c.forwardRef(({buttonText:t,buttonLink:u,items:r,onButtonAction:a=()=>{},onSelectCard:s=()=>{},isLoading:P=!1,limit:R=4,getImage:l=()=>{},isHighlight:n=!1,componentName:d},m)=>{const p=h.useDetectMobile(),g=c.useMemo(()=>{var o;return(o=r==null?void 0:r.slice(0,4))==null?void 0:o.map((e,b)=>i.jsx(f,{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:(_,q)=>s==null?void 0:s(e==null?void 0:e.uuid,q),image:l(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,metadata:{name:d,accessor:e==null?void 0:e.accessor}},b))},[r]);return i.jsxs(N.Wrapper,{ref:m,className:`blog-product-cards-section ${n?"highlight":""}`,children:[i.jsx("div",{className:"wrapper__grid",children:g}),i.jsx(M,{text:t,borderRadius:"curved",btnType:p?"basic":"outline",color:"neutral",className:"wrapper__action",onClick:()=>a(u)})]})});module.exports=y;
1
+ "use strict";const i=require("react/jsx-runtime"),c=require("react"),h=require("./useDetectMobile-zkbzoOGV.cjs"),j=require("./index-DHV9awrE.cjs"),M=require("./Button.cjs"),N=require("./style-BTTXJFJN.cjs"),f=c.memo(j.SimpleProductCard),y=c.forwardRef(({buttonText:t,buttonLink:u,items:r,onButtonAction:a=()=>{},onSelectCard:s=()=>{},isLoading:P=!1,limit:R=4,getImage:l=()=>{},isHighlight:n=!1,componentName:d},m)=>{const p=h.useDetectMobile(),g=c.useMemo(()=>{var o;return(o=r==null?void 0:r.slice(0,4))==null?void 0:o.map((e,b)=>i.jsx(f,{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:(_,q)=>s==null?void 0:s(e==null?void 0:e.uuid,q),image:l(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,metadata:{name:d,accessor:e==null?void 0:e.accessor}},b))},[r]);return i.jsxs(N.Wrapper,{ref:m,className:`blog-product-cards-section ${n?"highlight":""}`,children:[i.jsx("div",{className:"wrapper__grid",children:g}),i.jsx(M,{text:t,borderRadius:"curved",btnType:p?"basic":"outline",color:"neutral",className:"wrapper__action",onClick:()=>a(u)})]})});module.exports=y;
@@ -1,7 +1,7 @@
1
1
  import { jsx as o, jsxs as b } from "react/jsx-runtime";
2
2
  import { memo as h, forwardRef as N, useMemo as M } from "react";
3
3
  import { u as P } from "./useDetectMobile-Bkvj0VMa.js";
4
- import { S as _ } from "./index-DWLKvVyZ.js";
4
+ import { S as _ } from "./index-C8QkdNHi.js";
5
5
  import w from "./Button.js";
6
6
  import { W as y } from "./style-tw6KjI2J.js";
7
7
  const U = h(_), D = N(
@@ -1 +1 @@
1
- "use strict";const i=require("react/jsx-runtime"),o=require("react"),q=require("./useDetectMobile-zkbzoOGV.cjs"),_=require("./index-DoKMLSVY.cjs"),f=require("./Button.cjs"),j=require("./style-BTTXJFJN.cjs"),w=o.memo(_.ShopCard),M=o.forwardRef(({buttonText:u,buttonLink:a,items:r,onButtonAction:c=()=>{},onSelectCard:s=()=>{},isLoading:v=!1,limit:R=4,getImage:n=()=>{},isHighlight:l=!1,componentName:d},p)=>{const h=q.useDetectMobile(),m=o.useMemo(()=>{var t;return(t=r==null?void 0:r.slice(0,4))==null?void 0:t.map((e,g)=>i.jsx(w,{uuid:e==null?void 0:e.uuid,title:e==null?void 0:e.name,subtitle:e==null?void 0:e.shortDescription,rating:e==null?void 0:e.rating,reviewCount:e==null?void 0:e.reviewCount,onSelectCard:(C,b)=>s==null?void 0:s(e==null?void 0:e.uuid,b),image:n(e==null?void 0:e.profileImage,e==null?void 0:e.uuid)||null,hideProducts:!0,metadata:{name:d,accessor:e==null?void 0:e.accessor}},`shop-card__${g+1}`))},[r]);return i.jsxs(j.Wrapper,{ref:p,className:l?"highlight":"",children:[i.jsx("div",{className:"wrapper__grid",children:m}),i.jsx(f,{text:u,borderRadius:"curved",btnType:h?"basic":"outline",color:"neutral",className:"wrapper__action",onClick:()=>c(a)})]})});module.exports=M;
1
+ "use strict";const i=require("react/jsx-runtime"),o=require("react"),q=require("./useDetectMobile-zkbzoOGV.cjs"),_=require("./index-0p_3g3pT.cjs"),f=require("./Button.cjs"),j=require("./style-BTTXJFJN.cjs"),w=o.memo(_.ShopCard),M=o.forwardRef(({buttonText:u,buttonLink:a,items:r,onButtonAction:c=()=>{},onSelectCard:s=()=>{},isLoading:v=!1,limit:R=4,getImage:n=()=>{},isHighlight:l=!1,componentName:d},p)=>{const h=q.useDetectMobile(),m=o.useMemo(()=>{var t;return(t=r==null?void 0:r.slice(0,4))==null?void 0:t.map((e,g)=>i.jsx(w,{uuid:e==null?void 0:e.uuid,title:e==null?void 0:e.name,subtitle:e==null?void 0:e.shortDescription,rating:e==null?void 0:e.rating,reviewCount:e==null?void 0:e.reviewCount,onSelectCard:(C,b)=>s==null?void 0:s(e==null?void 0:e.uuid,b),image:n(e==null?void 0:e.profileImage,e==null?void 0:e.uuid)||null,hideProducts:!0,metadata:{name:d,accessor:e==null?void 0:e.accessor}},`shop-card__${g+1}`))},[r]);return i.jsxs(j.Wrapper,{ref:p,className:l?"highlight":"",children:[i.jsx("div",{className:"wrapper__grid",children:m}),i.jsx(f,{text:u,borderRadius:"curved",btnType:h?"basic":"outline",color:"neutral",className:"wrapper__action",onClick:()=>c(a)})]})});module.exports=M;
@@ -1,7 +1,7 @@
1
1
  import { jsx as i, jsxs as g } from "react/jsx-runtime";
2
2
  import { memo as b, forwardRef as _, useMemo as w } from "react";
3
3
  import { u as v } from "./useDetectMobile-Bkvj0VMa.js";
4
- import { S as M } from "./index-B8I1mHMA.js";
4
+ import { S as M } from "./index-CA59z2ge.js";
5
5
  import C from "./Button.js";
6
6
  import { W as N } from "./style-tw6KjI2J.js";
7
7
  const S = b(M), L = _(
@@ -1,4 +1,4 @@
1
- "use strict";const r=require("react/jsx-runtime"),s=require("react"),u=require("./index-D55MR8tU.cjs"),l=require("./style-BAcV7F53.cjs"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),c=require("./consts-goSZX3xP.cjs"),d=g.styled(l.SkeletonColumnWrapper)`
1
+ "use strict";const r=require("react/jsx-runtime"),s=require("react"),u=require("./index-MiN854X_.cjs"),l=require("./style-BAcV7F53.cjs"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),c=require("./consts-goSZX3xP.cjs"),d=g.styled(l.SkeletonColumnWrapper)`
2
2
  @media (max-width: ${c.MOBILE_SIZE_PX+"px"}) {
3
3
  & > div {
4
4
  height: 13.25rem;
@@ -1,6 +1,6 @@
1
1
  import { jsx as r, Fragment as s } from "react/jsx-runtime";
2
2
  import { Suspense as i, forwardRef as g } from "react";
3
- import { B as d } from "./index-Bhfq_YpE.js";
3
+ import { B as d } from "./index-BipuzfLW.js";
4
4
  import { S as u, b as f } from "./style-CXMUA6cI.js";
5
5
  import { s as c } from "./emotion-styled.browser.esm-BNN1dTl3.js";
6
6
  import { M as p } from "./consts-BuFChS64.js";
@@ -6,7 +6,9 @@
6
6
  @media (max-width: ${R.MOBILE_SIZE_PX+"px"}) {
7
7
  grid-template-columns: repeat(1, 1fr);
8
8
  }
9
- `,D=N.styled.div`
9
+ `,D=N.styled.a`
10
+ text-decoration: none;
11
+ color: var(--gray-950);
10
12
  display: flex;
11
13
  flex-direction: column;
12
14
  width: 100%;
@@ -47,7 +49,7 @@
47
49
  max-height: 100%;
48
50
  min-height: 100%;
49
51
  }
50
- `,A=N.styled.div`
52
+ `,$=N.styled.div`
51
53
  display: flex;
52
54
  flex-direction: column;
53
55
  gap: 0;
@@ -92,4 +94,4 @@
92
94
  align-items: center;
93
95
  gap: 1rem;
94
96
  }
95
- `,E=u.forwardRef((o,v)=>{const{title:p,imageUrl:b,text:j,numberOfLikes:i,numberOfComments:f,timeToRead:c,publishedAt:d,tags:n,onCardClick:h,timeToReadText:m="{0} min read",metadata:s}=o,g=u.useRef();return t.jsxs(D,{ref:g,className:"blog-card","data-accessor":s==null?void 0:s.accessor,name:s==null?void 0:s.name,onClick:r=>h(r,g),children:[t.jsx(q.ProductImageWrapper,{src:b}),t.jsxs("div",{className:"blog-card-content",children:[t.jsxs(A,{children:[t.jsxs("div",{className:"info-wr",children:[t.jsxs("div",{className:"info-wr-1",children:[t.jsxs("span",{children:[a.formatLocaleDateString(d)," "]}),t.jsx("span",{className:"small-dot",children:"●"}),c&&m?`${a.formatString(m,c)}`:"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:a.getRoundedNumber(i)})]}),t.jsxs("span",{className:"info-wr-1",children:[t.jsx("i",{className:"mng mng-lnc-messages-filled"}),t.jsx("span",{children:a.getRoundedNumber(f)})]})]})]}),t.jsx("div",{className:"text-wr-title",children:p}),t.jsx("div",{className:"text-wr",children:j})]}),n&&t.jsx("div",{className:"tags-wr",children:n==null?void 0:n.map((r,w)=>t.jsx(C.BlogTag,{color:r==null?void 0:r.color,children:r==null?void 0:r.name},w))})]})]})}),S=u.memo(E),I=u.forwardRef((o,v)=>{const{icon:p,title:b,onButtonAction:j,items:i,buttonText:f,timeToReadText:c,limit:d=3,onSelectCard:n=()=>{},isLoading:h=!1,buttonLink:m,getImage:s=()=>{},componentName:g}=o,r=T.useDetectMobile(),w=u.useMemo(()=>t.jsx(t.Fragment,{children:r===!0?i==null?void 0:i.map((e,l)=>t.jsx(S,{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:c,tags:e==null?void 0:e.tags,onCardClick:(k,y)=>n(e==null?void 0:e.titleSlug,y),imageUrl:s(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,metadata:{name:g,accessor:e==null?void 0:e.accessor}},l)):i==null?void 0:i.slice(0,d).map((e,l)=>t.jsx(S,{title:e==null?void 0:e.title,imageUrl:s(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:c,onCardClick:(k,y)=>n(e==null?void 0:e.titleSlug,y),metadata:{name:g,accessor:e==null?void 0:e.accessor}},l))}),[i,r,d,n]);return t.jsxs(C.RegulatTitleSectionWrapper,{ref:v,children:[t.jsxs("div",{className:"regular-title",children:[t.jsxs("div",{className:"regular-title-text",children:[a.isDefinedNotEmptyString(p)&&t.jsx("i",{className:p}),t.jsx("span",{children:b})]}),a.isDefinedNotEmptyString(f)&&a.isDefinedNotEmptyString(m)&&!h&&t.jsx(O,{type:"button",btnType:"tinted",color:"neutral",onClick:e=>{var l;(l=e==null?void 0:e.target)==null||l.blur(),j(m)},borderRadius:"curved",className:"button-link",children:f})]}),t.jsx(L.SuspenseBlogsSectionDetailed,{isLoading:h,keyPrefix:"blogs-detailed-skeleton",children:t.jsx(B,{limit:d,children:w})})]})});module.exports=I;
97
+ `,A=u.forwardRef((o,v)=>{const{title:p,imageUrl:j,text:w,numberOfLikes:i,numberOfComments:f,timeToRead:c,publishedAt:d,tags:n,onCardClick:h,timeToReadText:m="{0} min read",metadata:s,titleSlug:b}=o,g=u.useRef();return t.jsxs(D,{ref:g,className:"blog-card","data-accessor":s==null?void 0:s.accessor,name:s==null?void 0:s.name,onClick:r=>h(r,g),href:`/blog/${b}`,children:[t.jsx(q.ProductImageWrapper,{src:j}),t.jsxs("div",{className:"blog-card-content",children:[t.jsxs($,{children:[t.jsxs("div",{className:"info-wr",children:[t.jsxs("div",{className:"info-wr-1",children:[t.jsxs("span",{children:[a.formatLocaleDateString(d)," "]}),t.jsx("span",{className:"small-dot",children:"●"}),c&&m?`${a.formatString(m,c)}`:"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:a.getRoundedNumber(i)})]}),t.jsxs("span",{className:"info-wr-1",children:[t.jsx("i",{className:"mng mng-lnc-messages-filled"}),t.jsx("span",{children:a.getRoundedNumber(f)})]})]})]}),t.jsx("div",{className:"text-wr-title",children:p}),t.jsx("div",{className:"text-wr",children:w})]}),n&&t.jsx("div",{className:"tags-wr",children:n==null?void 0:n.map((r,e)=>t.jsx(C.BlogTag,{color:r==null?void 0:r.color,children:r==null?void 0:r.name},e))})]})]})}),S=u.memo(A),E=u.forwardRef((o,v)=>{const{icon:p,title:j,onButtonAction:w,items:i,buttonText:f,timeToReadText:c,limit:d=3,onSelectCard:n=()=>{},isLoading:h=!1,buttonLink:m,getImage:s=()=>{},componentName:b}=o,g=T.useDetectMobile(),r=u.useMemo(()=>t.jsx(t.Fragment,{children:g===!0?i==null?void 0:i.map((e,l)=>t.jsx(S,{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:c,tags:e==null?void 0:e.tags,onCardClick:(k,y)=>n(e==null?void 0:e.titleSlug,y),imageUrl:s(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,metadata:{name:b,accessor:e==null?void 0:e.accessor}},l)):i==null?void 0:i.slice(0,d).map((e,l)=>t.jsx(S,{title:e==null?void 0:e.title,imageUrl:s(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:c,onCardClick:(k,y)=>n(e==null?void 0:e.titleSlug,y),metadata:{name:b,accessor:e==null?void 0:e.accessor}},l))}),[i,g,d,n]);return t.jsxs(C.RegulatTitleSectionWrapper,{ref:v,children:[t.jsxs("div",{className:"regular-title",children:[t.jsxs("div",{className:"regular-title-text",children:[a.isDefinedNotEmptyString(p)&&t.jsx("i",{className:p}),t.jsx("span",{children:j})]}),a.isDefinedNotEmptyString(f)&&a.isDefinedNotEmptyString(m)&&!h&&t.jsx(O,{type:"button",btnType:"tinted",color:"neutral",onClick:e=>{var l;(l=e==null?void 0:e.target)==null||l.blur(),w(m)},borderRadius:"curved",className:"button-link",children:f})]}),t.jsx(L.SuspenseBlogsSectionDetailed,{isLoading:h,keyPrefix:"blogs-detailed-skeleton",children:t.jsx(B,{limit:d,children:r})})]})});module.exports=E;