@lanaco/lnc-react-ui 4.0.39 → 4.0.40

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 (62) hide show
  1. package/dist/BannerSectionBasic.cjs +9 -9
  2. package/dist/BannerSectionBasic.js +20 -20
  3. package/dist/BannerSectionCarousel.cjs +13 -5
  4. package/dist/BannerSectionCarousel.js +29 -21
  5. package/dist/BannerSectionGrid.cjs +1 -1
  6. package/dist/BannerSectionGrid.js +6 -6
  7. package/dist/BannerSectionSimple.cjs +4 -4
  8. package/dist/BannerSectionSimple.js +41 -38
  9. package/dist/BannerSectionWithList.cjs +4 -4
  10. package/dist/BannerSectionWithList.js +17 -17
  11. package/dist/BannerSectionWithListImage.cjs +5 -5
  12. package/dist/BannerSectionWithListImage.js +41 -38
  13. package/dist/BlogsSectionDetailed.cjs +10 -10
  14. package/dist/BlogsSectionDetailed.js +32 -33
  15. package/dist/BlogsSectionLarge.cjs +2 -2
  16. package/dist/BlogsSectionLarge.js +2 -2
  17. package/dist/BlogsSectionSimple.cjs +2 -2
  18. package/dist/BlogsSectionSimple.js +20 -20
  19. package/dist/BlogsSectionSimpleCentered.cjs +6 -6
  20. package/dist/BlogsSectionSimpleCentered.js +9 -9
  21. package/dist/BlogsSectionWithFilters.cjs +10 -10
  22. package/dist/BlogsSectionWithFilters.js +65 -64
  23. package/dist/BrandHitsSection.cjs +12 -7
  24. package/dist/BrandHitsSection.js +10 -5
  25. package/dist/CalorieCalculatorSection.cjs +7 -8
  26. package/dist/CalorieCalculatorSection.js +31 -32
  27. package/dist/CustomLoanMapSection.cjs +2 -2
  28. package/dist/CustomLoanMapSection.js +13 -13
  29. package/dist/DetailedProductsSection.cjs +1 -1
  30. package/dist/DetailedProductsSection.js +1 -1
  31. package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +8 -8
  32. package/dist/FieldOfInterestsWithAvatarsCardsSection.js +9 -8
  33. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +14 -6
  34. package/dist/FieldOfInterestsWithTagsCardsSection.js +12 -4
  35. package/dist/GeneralWithTagsCardsSection.cjs +18 -6
  36. package/dist/GeneralWithTagsCardsSection.js +44 -31
  37. package/dist/GiftCardsSection.cjs +9 -5
  38. package/dist/GiftCardsSection.js +21 -17
  39. package/dist/LocationSearchSection.cjs +1 -1
  40. package/dist/LocationSearchSection.js +1 -1
  41. package/dist/MasonryGeneralCardsSection.cjs +21 -1
  42. package/dist/MasonryGeneralCardsSection.js +20 -0
  43. package/dist/OverlayGeneralCardsSection.cjs +52 -96
  44. package/dist/OverlayGeneralCardsSection.js +116 -165
  45. package/dist/ProductsWithBannerSection.cjs +5 -5
  46. package/dist/ProductsWithBannerSection.js +26 -26
  47. package/dist/SalesCampaignsSection.cjs +17 -17
  48. package/dist/SalesCampaignsSection.js +81 -81
  49. package/dist/ShopCardsSection.cjs +19 -9
  50. package/dist/ShopCardsSection.js +54 -40
  51. package/dist/SimpleCategoriesSection.cjs +1 -1
  52. package/dist/SimpleCategoriesSection.js +1 -1
  53. package/dist/SimpleProductsSection.cjs +1 -1
  54. package/dist/SimpleProductsSection.js +1 -1
  55. package/dist/{index-CT6_7UFb.js → index-5cttM4t7.js} +119 -124
  56. package/dist/{index-BN8qgFbe.js → index-BT55M3t6.js} +8 -7
  57. package/dist/{index-_Db92CJE.cjs → index-DHJmdMN8.cjs} +5 -4
  58. package/dist/index-Dn5tPLgP.cjs +95 -0
  59. package/dist/{style-6tSw9aqK.js → style-CiePxaJ_.js} +6 -6
  60. package/dist/{style-BR3tIhP1.cjs → style-DN1qT8BE.cjs} +6 -6
  61. package/package.json +1 -1
  62. package/dist/index-Q_i-aqsF.cjs +0 -95
@@ -2,16 +2,17 @@ import { jsxs as t, jsx as i } from "react/jsx-runtime";
2
2
  import { forwardRef as c, Fragment as y } from "react";
3
3
  import u from "./Button.js";
4
4
  import N from "./Icon.js";
5
- import { t as x, m as v, l as b } from "./utils-DtRLzzTZ.js";
5
+ import { t as x, m as v, l as b, k } from "./utils-DtRLzzTZ.js";
6
6
  import { n as f } from "./emotion-styled.browser.esm-CjCaF13H.js";
7
- import { M as k } from "./consts-C1uHV4xc.js";
8
- const $ = f.div`
7
+ import { M as $ } from "./consts-C1uHV4xc.js";
8
+ const S = f.div`
9
9
  display: flex;
10
10
  flex-direction: column;
11
11
  align-items: center;
12
12
  border-radius: 1.25rem;
13
13
  border: 1px solid var(--neutral-9508, rgba(20, 22, 26, 0.08));
14
14
  background: var(--Lanaco-Gray-white, #fff);
15
+ width: 100%;
15
16
 
16
17
  /* drop-shadow-sm */
17
18
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
@@ -158,26 +159,26 @@ const $ = f.div`
158
159
  width: 100%;
159
160
  }
160
161
  }
161
- `, C = c(
162
+ `, z = c(
162
163
  ({
163
164
  image: a,
164
165
  imageComponent: m,
165
166
  title: l,
166
- subtitle: _,
167
- badges: g,
167
+ subtitle: g,
168
+ badges: d,
168
169
  rating: o,
169
- reviewCount: s,
170
- products: n,
171
- onSelectCard: h = () => {
170
+ reviewCount: n,
171
+ products: s,
172
+ onSelectCard: _ = () => {
172
173
  }
173
- }, w) => /* @__PURE__ */ t($, { onClick: h, children: [
174
+ }, w) => /* @__PURE__ */ t(S, { onClick: _, children: [
174
175
  /* @__PURE__ */ t("div", { className: "wrapper__content", children: [
175
176
  b(m) ? m : /* @__PURE__ */ i("img", { src: a, className: "wrapper__image" }),
176
177
  /* @__PURE__ */ t("div", { className: "wrapper__info", children: [
177
178
  /* @__PURE__ */ i("div", { className: "wrapper__title", children: l }),
178
- /* @__PURE__ */ i("div", { className: "wrapper__subtitle", children: _ }),
179
- g && /* @__PURE__ */ i("div", { className: "wrapper__badges" }),
180
- o && s && /* @__PURE__ */ t("div", { className: "wrapper__rating", children: [
179
+ /* @__PURE__ */ i("div", { className: "wrapper__subtitle", children: g }),
180
+ d && /* @__PURE__ */ i("div", { className: "wrapper__badges" }),
181
+ o && n && /* @__PURE__ */ t("div", { className: "wrapper__rating", children: [
181
182
  /* @__PURE__ */ i("div", { className: "wrapper_stars", children: [...Array(5).keys()].map((r, p) => /* @__PURE__ */ i(
182
183
  N,
183
184
  {
@@ -188,13 +189,13 @@ const $ = f.div`
188
189
  )) }),
189
190
  /* @__PURE__ */ t("div", { className: "wrapper__review-count", children: [
190
191
  "(",
191
- s == null ? void 0 : s.toLocaleString(),
192
+ n == null ? void 0 : n.toLocaleString(),
192
193
  ")"
193
194
  ] })
194
195
  ] })
195
196
  ] })
196
197
  ] }),
197
- /* @__PURE__ */ i("div", { className: "wrapper__products", children: n && (n == null ? void 0 : n.map((r, p) => /* @__PURE__ */ i(y, { children: /* @__PURE__ */ i(
198
+ /* @__PURE__ */ i("div", { className: "wrapper__products", children: s && (s == null ? void 0 : s.map((r, p) => /* @__PURE__ */ i(y, { children: /* @__PURE__ */ i(
198
199
  "div",
199
200
  {
200
201
  className: "wrapper__product",
@@ -206,7 +207,7 @@ const $ = f.div`
206
207
  }
207
208
  ) }, p))) })
208
209
  ] })
209
- ), z = c(({}, a) => /* @__PURE__ */ i(j, { children: /* @__PURE__ */ t("div", { className: "wrapper__content", children: [
210
+ ), C = c(({}, a) => /* @__PURE__ */ i(j, { children: /* @__PURE__ */ t("div", { className: "wrapper__content", children: [
210
211
  /* @__PURE__ */ i("div", { className: "wrapper__image" }),
211
212
  /* @__PURE__ */ t("div", { className: "wrapper__info", children: [
212
213
  /* @__PURE__ */ i("div", { className: "wrapper__info-item" }),
@@ -214,7 +215,7 @@ const $ = f.div`
214
215
  /* @__PURE__ */ i("div", { className: "wrapper__info-item" }),
215
216
  /* @__PURE__ */ i("div", { className: "wrapper__info-item" })
216
217
  ] })
217
- ] }) })), I = f.div`
218
+ ] }) })), M = f.div`
218
219
  display: flex;
219
220
  flex-direction: column;
220
221
  align-items: flex-start;
@@ -238,6 +239,15 @@ const $ = f.div`
238
239
  font-weight: 600;
239
240
  line-height: 2rem;
240
241
  letter-spacing: -0.47px;
242
+
243
+ display: flex;
244
+ align-items: center;
245
+ gap: 0.5rem;
246
+
247
+ & i {
248
+ font-size: 1.5rem;
249
+ color: var(--primary-500, #f59e0b);
250
+ }
241
251
  }
242
252
 
243
253
  & .title__action {
@@ -273,7 +283,7 @@ const $ = f.div`
273
283
  width: 100%;
274
284
  }
275
285
 
276
- @media (max-width: ${k + "px"}) {
286
+ @media (max-width: ${$ + "px"}) {
277
287
  & .wrapper__heading {
278
288
  & .wrapper__title {
279
289
  & .title__action {
@@ -294,48 +304,52 @@ const $ = f.div`
294
304
  gap: 1rem;
295
305
  }
296
306
  }
297
- `, E = c(
307
+ `, A = c(
298
308
  ({
299
309
  title: a,
300
310
  subtitle: m,
301
311
  items: l,
302
- limit: _ = 4,
303
- limitForMobile: g = 2,
304
- actionText: o,
305
- onSelectCard: s = () => {
312
+ limit: g = 4,
313
+ limitForMobile: d = 2,
314
+ buttonText: o = "Show More",
315
+ onSelectCard: n = () => {
316
+ },
317
+ onButtonAction: s = () => {
306
318
  },
307
- onShowMore: n
308
- }, h) => {
319
+ icon: _
320
+ }, w) => {
309
321
  var p;
310
- const w = () => {
311
- n == null || n();
312
- }, r = (e) => {
313
- s == null || s(e == null ? void 0 : e.uuid);
322
+ const r = (e) => {
323
+ n == null || n(e == null ? void 0 : e.uuid);
314
324
  };
315
325
  return /* @__PURE__ */ t(
316
- I,
326
+ M,
317
327
  {
318
- limitCards: _,
319
- limitCardsForMobile: g,
328
+ ref: w,
329
+ limitCards: g,
330
+ limitCardsForMobile: d,
320
331
  children: [
321
332
  /* @__PURE__ */ t("div", { className: "wrapper__heading", children: [
322
333
  /* @__PURE__ */ t("div", { className: "wrapper__title", children: [
323
- a && /* @__PURE__ */ i("div", { className: "title__text", children: a }),
324
- o && n && /* @__PURE__ */ i(
334
+ a && /* @__PURE__ */ t("div", { className: "title__text", children: [
335
+ k(_) && /* @__PURE__ */ i("i", { className: _ }),
336
+ /* @__PURE__ */ i("span", { children: a })
337
+ ] }),
338
+ s && /* @__PURE__ */ i(
325
339
  u,
326
340
  {
327
341
  text: o,
328
342
  borderRadius: "curved",
329
343
  btnType: "tinted",
330
344
  className: "title__action",
331
- onClick: w
345
+ onClick: s
332
346
  }
333
347
  )
334
348
  ] }),
335
349
  m && /* @__PURE__ */ i("div", { className: "wrapper__subtitle", children: m })
336
350
  ] }),
337
- /* @__PURE__ */ i("div", { className: "wrapper__cards", children: l && (l == null ? void 0 : l.length) > 0 ? l == null ? void 0 : l.map((e, d) => /* @__PURE__ */ i(
338
- C,
351
+ /* @__PURE__ */ i("div", { className: "wrapper__cards", children: l && (l == null ? void 0 : l.length) > 0 ? l == null ? void 0 : l.map((e, h) => /* @__PURE__ */ i(
352
+ z,
339
353
  {
340
354
  uuid: e == null ? void 0 : e.uuid,
341
355
  title: e == null ? void 0 : e.title,
@@ -347,13 +361,13 @@ const $ = f.div`
347
361
  imageComponent: e == null ? void 0 : e.imageComponent,
348
362
  onSelectCard: () => r == null ? void 0 : r(e)
349
363
  },
350
- `shop-card__${d + 1}`
351
- )) : (p = Array.from("1234")) == null ? void 0 : p.map((e, d) => /* @__PURE__ */ i(z, {}, `shop-card-skeleton__${d + 1}`)) })
364
+ `shop-card__${h + 1}`
365
+ )) : (p = Array.from("1234")) == null ? void 0 : p.map((e, h) => /* @__PURE__ */ i(C, {}, `shop-card-skeleton__${h + 1}`)) })
352
366
  ]
353
367
  }
354
368
  );
355
369
  }
356
370
  );
357
371
  export {
358
- E as default
372
+ A as default
359
373
  };
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("react/jsx-runtime"),c=require("react"),p=require("./emotion-styled.browser.esm-Cle7tAM9.cjs"),f=require("./consts-CtNoHdBj.cjs"),S=require("./useDetectMobile-D6d5LpdL.cjs"),d=require("./utils-NZLCh-J5.cjs"),k=require("./style-BR3tIhP1.cjs"),x=require("./Button.cjs"),C=p.newStyled.div`
1
+ "use strict";const e=require("react/jsx-runtime"),c=require("react"),p=require("./emotion-styled.browser.esm-Cle7tAM9.cjs"),f=require("./consts-CtNoHdBj.cjs"),S=require("./useDetectMobile-D6d5LpdL.cjs"),d=require("./utils-NZLCh-J5.cjs"),k=require("./style-DN1qT8BE.cjs"),x=require("./Button.cjs"),C=p.newStyled.div`
2
2
  display: grid;
3
3
  grid-template-columns: ${i=>"repeat(6, minmax(0, 1fr))"};
4
4
  gap: 2rem;
@@ -4,7 +4,7 @@ import { n as b } from "./emotion-styled.browser.esm-CjCaF13H.js";
4
4
  import { M as v } from "./consts-C1uHV4xc.js";
5
5
  import { u as E } from "./useDetectMobile-BC6EGaBc.js";
6
6
  import { t as h, m as I, k as f } from "./utils-DtRLzzTZ.js";
7
- import { R as P } from "./style-6tSw9aqK.js";
7
+ import { R as P } from "./style-CiePxaJ_.js";
8
8
  import T from "./Button.js";
9
9
  const j = b.div`
10
10
  display: grid;
@@ -1,4 +1,4 @@
1
- "use strict";const r=require("react/jsx-runtime"),o=require("react"),k=require("./emotion-styled.browser.esm-Cle7tAM9.cjs"),y=require("./consts-CtNoHdBj.cjs"),P=require("./useDetectMobile-D6d5LpdL.cjs"),g=require("./index-_Db92CJE.cjs"),q=require("./index-Dit169OA.cjs"),M=k.newStyled.div`
1
+ "use strict";const r=require("react/jsx-runtime"),o=require("react"),k=require("./emotion-styled.browser.esm-Cle7tAM9.cjs"),y=require("./consts-CtNoHdBj.cjs"),P=require("./useDetectMobile-D6d5LpdL.cjs"),g=require("./index-DHJmdMN8.cjs"),q=require("./index-Dit169OA.cjs"),M=k.newStyled.div`
2
2
  display: grid;
3
3
  grid-template-columns: repeat(6, 1fr);
4
4
  gap: 1.25rem;
@@ -3,7 +3,7 @@ import { forwardRef as f, Suspense as y, memo as M, useMemo as v } from "react";
3
3
  import { n as U } from "./emotion-styled.browser.esm-CjCaF13H.js";
4
4
  import { M as B } from "./consts-C1uHV4xc.js";
5
5
  import { u as C } from "./useDetectMobile-BC6EGaBc.js";
6
- import { S as T, a as _ } from "./index-BN8qgFbe.js";
6
+ import { S as T, a as _ } from "./index-BT55M3t6.js";
7
7
  import { T as $ } from "./index-DxdBg_r_.js";
8
8
  const j = U.div`
9
9
  display: grid;
@@ -1,17 +1,17 @@
1
- import { jsx as s, jsxs as h, Fragment as z } from "react/jsx-runtime";
2
- import _, { useState as S, useRef as F, useEffect as j, useImperativeHandle as P, forwardRef as U } from "react";
3
- import { P as l } from "./index-S5Cd7WrG.js";
4
- import X from "./FlexBox.js";
1
+ import { jsx as i, jsxs as d, Fragment as z } from "react/jsx-runtime";
2
+ import _, { useState as w, useRef as F, useEffect as j, useImperativeHandle as P, forwardRef as q } from "react";
3
+ import { P as r } from "./index-S5Cd7WrG.js";
4
+ import U from "./FlexBox.js";
5
5
  import W from "./IconButton.js";
6
- import { useTheme as Z } from "./ThemeProvider.js";
7
- import { n as q } from "./emotion-styled.browser.esm-CjCaF13H.js";
6
+ import { useTheme as X } from "./ThemeProvider.js";
7
+ import { n as Z } from "./emotion-styled.browser.esm-CjCaF13H.js";
8
8
  import { M as C } from "./consts-C1uHV4xc.js";
9
9
  import { u as J } from "./useDetectMobile-BC6EGaBc.js";
10
10
  import { I as H } from "./index-wy-PXQR9.js";
11
11
  import V from "./Button.js";
12
12
  import Q from "./Icon.js";
13
13
  import { l as Y } from "./utils-DtRLzzTZ.js";
14
- const rr = q.div`
14
+ const ee = Z.div`
15
15
  position: relative;
16
16
  padding: ${(e) => e.padding};
17
17
 
@@ -108,35 +108,35 @@ const rr = q.div`
108
108
  `, L = _.forwardRef(
109
109
  ({
110
110
  columnGap: e = "2rem",
111
- rowGap: B = "1.25rem",
112
- scrollBySize: g = 300,
113
- wrapForMobile: k = !1,
111
+ rowGap: v = "1.25rem",
112
+ scrollBySize: f = 300,
113
+ wrapForMobile: y = !1,
114
114
  wrap: n = !1,
115
- children: p,
116
- methodsRef: w,
117
- arrowsVisibleOnHover: x = !0,
118
- rightAlignArrows: N = !1,
119
- padding: v = "0",
120
- showTimesBtn: f,
121
- noArrows: u,
122
- noGradient: y = !1,
123
- hideDisabledArrows: a = !1,
124
- noMargin: d = !1,
125
- ...T
126
- }, $) => {
127
- const A = J(), { theme: r } = Z(), [t, b] = S(!1), [c, m] = S(!1), [M, I] = S(!0), o = F(), R = () => {
128
- var i;
129
- (i = o.current) == null || i.scrollBy(g, 0);
115
+ children: u,
116
+ methodsRef: b,
117
+ arrowsVisibleOnHover: S = !0,
118
+ rightAlignArrows: k = !1,
119
+ padding: m = "0",
120
+ showTimesBtn: h,
121
+ noArrows: a,
122
+ noGradient: x = !1,
123
+ hideDisabledArrows: c = !1,
124
+ noMargin: g = !1,
125
+ ...N
126
+ }, T) => {
127
+ const $ = J(), { theme: l } = X(), [t, A] = w(!1), [p, B] = w(!1), [M, I] = w(!0), o = F(), R = () => {
128
+ var s;
129
+ (s = o.current) == null || s.scrollBy(f, 0);
130
130
  }, K = () => {
131
- var i;
132
- (i = o.current) == null || i.scrollBy(-g, 0);
133
- }, [E, D] = S(!1);
131
+ var s;
132
+ (s = o.current) == null || s.scrollBy(-f, 0);
133
+ }, [E, D] = w(!1);
134
134
  j(() => {
135
- var i, O;
135
+ var s, O;
136
136
  D(
137
- ((i = o == null ? void 0 : o.current) == null ? void 0 : i.scrollWidth) > ((O = o == null ? void 0 : o.current) == null ? void 0 : O.clientWidth)
137
+ ((s = o == null ? void 0 : o.current) == null ? void 0 : s.scrollWidth) > ((O = o == null ? void 0 : o.current) == null ? void 0 : O.clientWidth)
138
138
  );
139
- }, [p]), P(w, () => ({
139
+ }, [u]), P(b, () => ({
140
140
  scrollToEnd() {
141
141
  G();
142
142
  },
@@ -150,42 +150,42 @@ const rr = q.div`
150
150
  const G = () => {
151
151
  o.current.scrollLeft = o.current.scrollWidth;
152
152
  };
153
- return /* @__PURE__ */ s(
154
- rr,
153
+ return /* @__PURE__ */ i(
154
+ ee,
155
155
  {
156
- ref: $,
157
- arrowsVisibleOnHover: x,
156
+ ref: T,
157
+ arrowsVisibleOnHover: S,
158
158
  hasOverflow: E,
159
- noArrows: u,
160
- padding: v,
161
- rightAlignArrows: N,
162
- showTimesBtn: f,
163
- theme: r,
164
- noMargin: d,
165
- ...T,
166
- children: /* @__PURE__ */ h(
167
- X,
159
+ noArrows: a,
160
+ padding: m,
161
+ rightAlignArrows: k,
162
+ showTimesBtn: h,
163
+ theme: l,
164
+ noMargin: g,
165
+ ...N,
166
+ children: /* @__PURE__ */ d(
167
+ U,
168
168
  {
169
169
  ref: o,
170
170
  className: "scrollable-container",
171
171
  columnGap: e,
172
- rowGap: B,
173
- wrap: n || k && A ? "Wrap" : "NoWrap",
172
+ rowGap: v,
173
+ wrap: n || y && $ ? "Wrap" : "NoWrap",
174
174
  children: [
175
- u !== !0 && /* @__PURE__ */ h(z, { children: [
176
- !(a === !0 && c === !0) && /* @__PURE__ */ s(
175
+ a !== !0 && /* @__PURE__ */ d(z, { children: [
176
+ !(c === !0 && p === !0) && /* @__PURE__ */ i(
177
177
  W,
178
178
  {
179
179
  borderRadius: "curved",
180
180
  btnType: "tinted",
181
181
  className: "scroll-arrow-left",
182
182
  color: "neutral",
183
- disabled: c,
183
+ disabled: p,
184
184
  icon: "angle-left",
185
185
  onClick: K
186
186
  }
187
187
  ),
188
- !(a === !0 && t === !0) && /* @__PURE__ */ s(
188
+ !(c === !0 && t === !0) && /* @__PURE__ */ i(
189
189
  W,
190
190
  {
191
191
  borderRadius: "curved",
@@ -198,33 +198,33 @@ const rr = q.div`
198
198
  }
199
199
  )
200
200
  ] }),
201
- /* @__PURE__ */ s(
201
+ /* @__PURE__ */ i(
202
202
  H,
203
203
  {
204
204
  isHorizontal: !0,
205
205
  onIsNotVisible: () => {
206
- c === !0 && m(!1);
206
+ p === !0 && B(!1);
207
207
  },
208
208
  onIsVisible: () => {
209
- c === !1 && m(!0);
209
+ p === !1 && B(!0);
210
210
  }
211
211
  }
212
212
  ),
213
- p,
214
- /* @__PURE__ */ s(
213
+ u,
214
+ /* @__PURE__ */ i(
215
215
  H,
216
216
  {
217
217
  className: "right-scroller",
218
218
  isHorizontal: !0,
219
219
  onIsNotVisible: () => {
220
- t === !0 && b(!1), I(!0);
220
+ t === !0 && A(!1), I(!0);
221
221
  },
222
222
  onIsVisible: () => {
223
- t === !1 && b(!0), I(!1);
223
+ t === !1 && A(!0), I(!1);
224
224
  }
225
225
  }
226
226
  ),
227
- M && E && y !== !0 && /* @__PURE__ */ s("div", { className: "gradient" })
227
+ M && E && x !== !0 && /* @__PURE__ */ i("div", { className: "gradient" })
228
228
  ]
229
229
  }
230
230
  )
@@ -233,94 +233,89 @@ const rr = q.div`
233
233
  }
234
234
  );
235
235
  L.propTypes = {
236
- title: l.string,
237
- rowGap: l.string,
238
- columnGap: l.string,
239
- scrollBySize: l.number,
240
- wrapForMobile: l.bool,
241
- wrap: l.bool,
242
- methodsRef: l.any,
243
- arrowsVisibleOnHover: l.bool,
244
- rightAlignArrows: l.bool,
245
- padding: l.string
236
+ title: r.string,
237
+ rowGap: r.string,
238
+ columnGap: r.string,
239
+ scrollBySize: r.number,
240
+ wrapForMobile: r.bool,
241
+ wrap: r.bool,
242
+ methodsRef: r.any,
243
+ arrowsVisibleOnHover: r.bool,
244
+ rightAlignArrows: r.bool,
245
+ padding: r.string
246
246
  };
247
- const er = U((e, B) => {
247
+ const re = q((e, v) => {
248
248
  const {
249
- allButton: g = !0,
250
- items: k = [],
249
+ allButton: f = !0,
250
+ items: y = [],
251
251
  selectedIds: n = [],
252
- onSelect: p = () => {
252
+ onSelect: u = () => {
253
253
  },
254
- onRemove: w = () => {
254
+ onRemove: b = () => {
255
255
  },
256
- onSelectAll: x = () => {
256
+ onSelectAll: S = () => {
257
257
  },
258
- className: N,
259
- showTimesBtn: v = !1,
260
- labelKey: f = "label",
261
- valueKey: u = "value",
262
- codeKey: y = "code",
263
- uniqueKey: a,
264
- typeKey: d,
265
- productsToolbarName: T = "All",
266
- ...$
267
- } = e, A = (r, t, b, c, m) => {
268
- n != null && n.includes(r) ? w(r, t, b, c, m) : p(r, t, b, c, m);
258
+ className: k,
259
+ showTimesBtn: m = !1,
260
+ labelKey: h = "label",
261
+ valueKey: a = "value",
262
+ codeKey: x = "code",
263
+ uniqueKey: c,
264
+ typeKey: g,
265
+ productsToolbarName: N = "All",
266
+ ...T
267
+ } = e, $ = (l, t) => {
268
+ n != null && n.includes(t) ? b(l, t) : u(l, t);
269
269
  };
270
- return /* @__PURE__ */ h(
270
+ return /* @__PURE__ */ d(
271
271
  L,
272
272
  {
273
+ ref: v,
273
274
  arrowsVisibleOnHover: !1,
274
- className: N,
275
+ className: k,
275
276
  columnGap: "0.75rem",
276
277
  padding: "0.25rem 0",
277
278
  rightAlignArrows: !0,
278
- showTimesBtn: v,
279
- ...$,
279
+ showTimesBtn: m,
280
+ ...T,
280
281
  children: [
281
- g && /* @__PURE__ */ s(
282
+ f && /* @__PURE__ */ i(
282
283
  V,
283
284
  {
284
285
  borderRadius: "curved",
285
286
  btnType: n.length === 0 ? "filled" : "tinted",
286
287
  className: "badge-button",
287
288
  color: "neutral",
288
- onClick: x,
289
- children: T
289
+ onClick: S,
290
+ children: N
290
291
  }
291
292
  ),
292
- k.map((r, t) => /* @__PURE__ */ h(
293
+ y.map((l, t) => /* @__PURE__ */ d(
293
294
  V,
294
295
  {
295
296
  borderRadius: "curved",
296
- btnType: n.includes(r.uuid) ? "filled" : "tinted",
297
+ btnType: n.includes(l.uuid) ? "filled" : "tinted",
297
298
  className: "badge-button",
298
299
  color: "neutral",
299
- onClick: () => A(
300
- r[u],
301
- r[f],
302
- r[y],
303
- a ? r[a] : null,
304
- d ? r[d] : null
305
- ),
300
+ onClick: () => $(l, l[a]),
306
301
  children: [
307
- Y(r == null ? void 0 : r.icon) && /* @__PURE__ */ h(z, { children: [
308
- /* @__PURE__ */ s("i", { className: r == null ? void 0 : r.icon }),
302
+ Y(l == null ? void 0 : l.icon) && /* @__PURE__ */ d(z, { children: [
303
+ /* @__PURE__ */ i("i", { className: l == null ? void 0 : l.icon }),
309
304
  " "
310
305
  ] }),
311
- r[f],
312
- v === !0 && /* @__PURE__ */ s(
306
+ l[h],
307
+ m === !0 && /* @__PURE__ */ i(
313
308
  Q,
314
309
  {
315
310
  className: "times-btn",
316
311
  icon: "times",
317
312
  sizeInUnits: "0.75rem",
318
- onClick: () => w(
319
- r[u],
320
- r[f],
321
- r[y],
322
- a ? r[a] : null,
323
- d ? r[d] : null
313
+ onClick: () => b(
314
+ l[a],
315
+ l[h],
316
+ l[x],
317
+ c ? l[c] : null,
318
+ g ? l[g] : null
324
319
  )
325
320
  }
326
321
  )
@@ -332,19 +327,19 @@ const er = U((e, B) => {
332
327
  }
333
328
  );
334
329
  });
335
- er.propTypes = {
336
- allButton: l.bool,
337
- items: l.array,
338
- selectedIds: l.array,
339
- onSelect: l.func,
340
- onRemove: l.func,
341
- onSelectAll: l.func,
342
- className: l.string,
343
- showTimesBtn: l.bool,
344
- valuKey: l.string,
345
- labelKey: l.string,
346
- codeKey: l.string
330
+ re.propTypes = {
331
+ allButton: r.bool,
332
+ items: r.array,
333
+ selectedIds: r.array,
334
+ onSelect: r.func,
335
+ onRemove: r.func,
336
+ onSelectAll: r.func,
337
+ className: r.string,
338
+ showTimesBtn: r.bool,
339
+ valuKey: r.string,
340
+ labelKey: r.string,
341
+ codeKey: r.string
347
342
  };
348
343
  export {
349
- er as S
344
+ re as S
350
345
  };
@@ -53,6 +53,7 @@ const C = o.div`
53
53
  aspect-ratio: 1 / 1; /* defining the aspect ratio of the image */
54
54
  object-fit: cover; /* making sure the image isn't distorted */
55
55
  border-radius: 0.75rem;
56
+ mix-blend-mode: multiply;
56
57
  }
57
58
 
58
59
  & .fallback-image {
@@ -74,7 +75,7 @@ const C = o.div`
74
75
  border-radius: 62.4375rem;
75
76
  z-index: 1;
76
77
  background-color: var(--white, #fff);
77
- color: var(--gray-950, #14161A);
78
+ color: var(--gray-950, #14161a);
78
79
  }
79
80
  & .title-simple-product-card {
80
81
  z-index: 1;
@@ -85,13 +86,13 @@ const C = o.div`
85
86
  &:hover {
86
87
  & .title-simple-product-card {
87
88
  z-index: 1;
88
- color: var(--primary-500, #F59E0B);
89
+ color: var(--primary-500, #f59e0b);
89
90
  }
90
91
  }
91
- `, F = f((n, y) => {
92
+ `, G = f((d, y) => {
92
93
  const {
93
94
  uuid: w,
94
- title: d,
95
+ title: n,
95
96
  price: r,
96
97
  currency: i,
97
98
  isNegotiable: l,
@@ -103,11 +104,11 @@ const C = o.div`
103
104
  imageComponent: t,
104
105
  negotiableText: p = "Negotiable",
105
106
  freeText: g = "Free"
106
- } = n;
107
+ } = d;
107
108
  return /* @__PURE__ */ e(v, { className: "simple-product-card", onClick: s, children: [
108
109
  h(t) ? t : /* @__PURE__ */ a("img", { src: c }),
109
110
  /* @__PURE__ */ e("div", { className: "text-block", children: [
110
- /* @__PURE__ */ a("div", { className: "title-simple-product-card", children: d }),
111
+ /* @__PURE__ */ a("div", { className: "title-simple-product-card", children: n }),
111
112
  /* @__PURE__ */ e("div", { className: "price-chip", children: [
112
113
  r && i && `${b(r)} ${x(i)}`,
113
114
  l && p,
@@ -118,5 +119,5 @@ const C = o.div`
118
119
  });
119
120
  export {
120
121
  C as S,
121
- F as a
122
+ G as a
122
123
  };