@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,29 +1,29 @@
1
- import { jsxs as i, jsx as r, Fragment as k } from "react/jsx-runtime";
2
- import { forwardRef as S, Suspense as R } from "react";
1
+ import { jsxs as s, jsx as t, Fragment as $ } from "react/jsx-runtime";
2
+ import { forwardRef as w, Suspense as G } from "react";
3
3
  import { u as N } from "./useDetectMobile-B0Jog4jQ.js";
4
4
  import { R as A } from "./style-D54KOzZj.js";
5
- import { p as I, G as W, l as w } from "./utils-MoGhNMmj.js";
6
- import L from "./Button.js";
5
+ import { p as R, G as T, l as h } from "./utils-MoGhNMmj.js";
6
+ import j from "./Button.js";
7
7
  import { s as f } from "./emotion-styled.browser.esm-DfbrHHed.js";
8
- import { d as g } from "./breakpoints-BubDitvo.js";
9
- import { s as T, S as j, b as h, a as o } from "./style-DvkivBNg.js";
10
- const z = f.div`
8
+ import { d as u } from "./breakpoints-BubDitvo.js";
9
+ import { S as z, e as L, a as C } from "./style-BFPpppS9.js";
10
+ const W = f.div`
11
11
  display: grid;
12
- grid-template-columns: ${(t) => `repeat(${t.limit}, minmax(0, 1fr))`};
12
+ grid-template-columns: ${(r) => `repeat(${r.limit}, minmax(0, 1fr))`};
13
13
  gap: 1.25rem;
14
14
 
15
- @media ${g("M")} {
15
+ @media ${u("M")} {
16
16
  grid-template-columns: repeat(2, 1fr);
17
17
  }
18
18
 
19
- @media ${g("S")} {
19
+ @media ${u("S")} {
20
20
  grid-template-columns: repeat(2, 1fr);
21
21
  }
22
22
 
23
- @media ${g("XS")} {
23
+ @media ${u("XS")} {
24
24
  grid-template-columns: repeat(1, 1fr);
25
25
  }
26
- `, B = f.a`
26
+ `, I = f.a`
27
27
  text-decoration: none;
28
28
  color: var(--gray-950);
29
29
  display: flex;
@@ -83,163 +83,93 @@ const z = f.div`
83
83
  -webkit-transform: rotate(315deg);
84
84
  transform: rotate(315deg);
85
85
  }
86
- `, C = S((t, c) => {
86
+ `, v = w((r, o) => {
87
87
  const {
88
- image: a,
89
- text: m,
90
- price: d,
91
- currency: n,
92
- onSelectGiftCard: u = () => {
88
+ image: n,
89
+ text: l,
90
+ price: a,
91
+ currency: i,
92
+ onSelectGiftCard: p = () => {
93
93
  },
94
- selectAction: l,
95
- LinkComponent: p
96
- } = t;
97
- return /* @__PURE__ */ i(
98
- B,
94
+ selectAction: m,
95
+ LinkComponent: d
96
+ } = r;
97
+ return /* @__PURE__ */ s(
98
+ I,
99
99
  {
100
- ref: c,
100
+ ref: o,
101
101
  className: "simple-gift-card",
102
- onClick: () => u(d),
103
- as: p || "a",
104
- ...p ? {
105
- to: `${l}`
102
+ onClick: () => p(a),
103
+ as: d || "a",
104
+ ...d ? {
105
+ to: `${m}`
106
106
  } : {
107
- href: `${l}`
107
+ href: `${m}`
108
108
  },
109
109
  children: [
110
- /* @__PURE__ */ i(M, { children: [
111
- /* @__PURE__ */ r("div", { className: "price-tag", children: d && n && `${I(d)} ${W(n)}` }),
112
- /* @__PURE__ */ r("img", { src: a })
110
+ /* @__PURE__ */ s(M, { children: [
111
+ /* @__PURE__ */ t("div", { className: "price-tag", children: a && i && `${R(a)} ${T(i)}` }),
112
+ /* @__PURE__ */ t("img", { src: n })
113
113
  ] }),
114
- /* @__PURE__ */ r("div", { className: "text-wrap", children: m })
114
+ /* @__PURE__ */ t("div", { className: "text-wrap", children: l })
115
115
  ]
116
116
  }
117
117
  );
118
- }), D = f(j)`
119
- @media ${g("S")} {
118
+ }), B = f(z)`
119
+ @media ${u("S")} {
120
120
  flex-direction: column;
121
121
 
122
122
  & > div {
123
123
  flex-direction: column;
124
-
125
- & > div {
126
- ${T}
127
- }
128
124
  }
129
125
  }
130
- `, E = ({ keyPrefix: t }) => /* @__PURE__ */ i(D, { children: [
131
- /* @__PURE__ */ i(h, { alignItems: "center", children: [
132
- /* @__PURE__ */ r(o, { height: "11rem", borderRadius: "0.75rem" }),
133
- /* @__PURE__ */ r(
134
- o,
135
- {
136
- height: "1.25rem",
137
- borderRadius: "0.75rem",
138
- width: "5rem"
139
- }
140
- )
141
- ] }, `${t}-1`),
142
- /* @__PURE__ */ i(
143
- h,
144
- {
145
- alignItems: "center",
146
- noGradient: !0,
147
- children: [
148
- /* @__PURE__ */ r(o, { height: "11rem", borderRadius: "0.75rem" }),
149
- /* @__PURE__ */ r(
150
- o,
151
- {
152
- height: "1.25rem",
153
- borderRadius: "0.75rem",
154
- width: "5rem"
155
- }
156
- )
157
- ]
158
- },
159
- `${t}-2`
160
- ),
161
- /* @__PURE__ */ i(
162
- h,
163
- {
164
- alignItems: "center",
165
- noGradient: !0,
166
- children: [
167
- /* @__PURE__ */ r(o, { height: "11rem", borderRadius: "0.75rem" }),
168
- /* @__PURE__ */ r(
169
- o,
170
- {
171
- height: "1.25rem",
172
- borderRadius: "0.75rem",
173
- width: "5rem"
174
- }
175
- )
176
- ]
177
- },
178
- `${t}-3`
179
- ),
180
- /* @__PURE__ */ i(
181
- h,
182
- {
183
- alignItems: "center",
184
- noGradient: !0,
185
- children: [
186
- /* @__PURE__ */ r(o, { height: "11rem", borderRadius: "0.75rem" }),
187
- /* @__PURE__ */ r(
188
- o,
189
- {
190
- height: "1.25rem",
191
- borderRadius: "0.75rem",
192
- width: "5rem"
193
- }
194
- )
195
- ]
196
- },
197
- `${t}-4`
198
- )
199
- ] }), U = ({
200
- keyPrefix: t,
201
- isLoading: c = !1,
202
- fallbackComponent: a = /* @__PURE__ */ r(k, {}),
203
- children: m
204
- }) => /* @__PURE__ */ r(R, { fallbackComponent: a, children: c === !0 ? /* @__PURE__ */ r(E, { keyPrefix: t }) : m }), V = S((t, c) => {
126
+ `, D = ({ keyPrefix: r }) => /* @__PURE__ */ t(B, { children: [1, 2, 3, 4].map((o) => /* @__PURE__ */ s(L, { alignItems: "center", children: [
127
+ /* @__PURE__ */ t(C, { width: "100%", height: "11rem", borderRadius: "0.75rem" }),
128
+ /* @__PURE__ */ t(C, { height: "1.25rem", borderRadius: "0.75rem", width: "5rem" })
129
+ ] }, `${r}-${o}`)) }), E = ({
130
+ keyPrefix: r,
131
+ isLoading: o = !1,
132
+ fallbackComponent: n = /* @__PURE__ */ t($, {}),
133
+ children: l
134
+ }) => /* @__PURE__ */ t(G, { fallbackComponent: n, children: o === !0 ? /* @__PURE__ */ t(D, { keyPrefix: r }) : l }), Q = w((r, o) => {
205
135
  const {
206
- icon: a,
207
- title: m,
208
- buttonLink: d,
209
- items: n,
210
- isLoading: u = !1,
211
- buttonText: l,
212
- limit: p = 4,
213
- onSelectCard: b = () => {
136
+ icon: n,
137
+ title: l,
138
+ buttonLink: a,
139
+ items: i,
140
+ isLoading: p = !1,
141
+ buttonText: m,
142
+ limit: d = 4,
143
+ onSelectCard: g = () => {
214
144
  },
215
- onButtonAction: $ = () => {
145
+ onButtonAction: S = () => {
216
146
  },
217
- LinkComponent: v
218
- } = t, y = N();
219
- return /* @__PURE__ */ i(A, { ref: c, children: [
220
- /* @__PURE__ */ i("div", { className: "regular-title", children: [
221
- /* @__PURE__ */ i("div", { className: "regular-title-text", children: [
222
- w(a) && /* @__PURE__ */ r("i", { className: a }),
223
- /* @__PURE__ */ r("span", { children: m })
147
+ LinkComponent: b
148
+ } = r, y = N();
149
+ return /* @__PURE__ */ s(A, { ref: o, children: [
150
+ /* @__PURE__ */ s("div", { className: "regular-title", children: [
151
+ /* @__PURE__ */ s("div", { className: "regular-title-text", children: [
152
+ h(n) && /* @__PURE__ */ t("i", { className: n }),
153
+ /* @__PURE__ */ t("span", { children: l })
224
154
  ] }),
225
- w(l) && w(d) && !u && /* @__PURE__ */ r(
226
- L,
155
+ h(m) && h(a) && !p && /* @__PURE__ */ t(
156
+ j,
227
157
  {
228
158
  type: "button",
229
159
  btnType: "tinted",
230
160
  color: "neutral",
231
161
  onClick: (e) => {
232
- var s;
233
- (s = e == null ? void 0 : e.target) == null || s.blur(), $(d);
162
+ var c;
163
+ (c = e == null ? void 0 : e.target) == null || c.blur(), S(a);
234
164
  },
235
165
  borderRadius: "curved",
236
166
  className: "button-link",
237
- children: l
167
+ children: m
238
168
  }
239
169
  )
240
170
  ] }),
241
- /* @__PURE__ */ r(U, { isLoading: u, keyPrefix: "gift-cards-skeleton", children: /* @__PURE__ */ r(z, { limit: p, children: y === !0 ? n == null ? void 0 : n.map((e, s) => /* @__PURE__ */ r(
242
- C,
171
+ /* @__PURE__ */ t(E, { isLoading: p, keyPrefix: "gift-cards-skeleton", children: /* @__PURE__ */ t(W, { limit: d, children: y === !0 ? i == null ? void 0 : i.map((e, c) => /* @__PURE__ */ t(
172
+ v,
243
173
  {
244
174
  text: e == null ? void 0 : e.text,
245
175
  price: e == null ? void 0 : e.priceTo,
@@ -247,12 +177,12 @@ const z = f.div`
247
177
  image: e == null ? void 0 : e.imageUrl,
248
178
  uuid: e == null ? void 0 : e.uuid,
249
179
  selectAction: e == null ? void 0 : e.selectAction,
250
- onSelectGiftCard: (G) => b(e),
251
- LinkComponent: v
180
+ onSelectGiftCard: (k) => g(e),
181
+ LinkComponent: b
252
182
  },
253
- s
254
- )) : n == null ? void 0 : n.slice(0, p).map((e, s) => /* @__PURE__ */ r(
255
- C,
183
+ c
184
+ )) : i == null ? void 0 : i.slice(0, d).map((e, c) => /* @__PURE__ */ t(
185
+ v,
256
186
  {
257
187
  text: e == null ? void 0 : e.text,
258
188
  price: e == null ? void 0 : e.priceTo,
@@ -260,13 +190,13 @@ const z = f.div`
260
190
  image: e == null ? void 0 : e.imageUrl,
261
191
  uuid: e == null ? void 0 : e.uuid,
262
192
  selectAction: e == null ? void 0 : e.selectAction,
263
- onSelectGiftCard: (G) => b(e),
264
- LinkComponent: v
193
+ onSelectGiftCard: (k) => g(e),
194
+ LinkComponent: b
265
195
  },
266
- s
196
+ c
267
197
  )) }) })
268
198
  ] });
269
199
  });
270
200
  export {
271
- V as default
201
+ Q as default
272
202
  };
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("react/jsx-runtime"),p=require("react"),j=require("./Button.cjs"),l=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),o=require("./utils-CITgSxXe.cjs"),d=require("./breakpoints-CcVm-gVm.cjs"),y=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),n=require("./style-Ito6YFqi.cjs"),v=l.styled.a`
1
+ "use strict";const e=require("react/jsx-runtime"),x=require("react"),j=require("./Button.cjs"),l=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),i=require("./utils-CITgSxXe.cjs"),d=require("./breakpoints-CcVm-gVm.cjs"),y=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),n=require("./style-CQdEALKR.cjs"),v=l.styled.a`
2
2
  text-decoration: none;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -58,7 +58,7 @@
58
58
  width: 24.5rem;
59
59
  height: 30rem;
60
60
  border-radius: 0.75rem;
61
- background-color: ${o.linearGradientAnimation("-90deg")};
61
+ background-color: ${i.linearGradientAnimation("-90deg")};
62
62
  }
63
63
 
64
64
  & .wrapper__text {
@@ -78,7 +78,7 @@
78
78
  font-style: normal;
79
79
  font-weight: 500;
80
80
  line-height: 1.5rem;
81
- ${o.truncateTextInRows(2)}
81
+ ${i.truncateTextInRows(2)}
82
82
  }
83
83
 
84
84
  & .text__tag {
@@ -100,7 +100,7 @@
100
100
  font-style: normal;
101
101
  font-weight: 400;
102
102
  line-height: 1.25rem;
103
- ${o.truncateTextInRows(2)}
103
+ ${i.truncateTextInRows(2)}
104
104
  }
105
105
 
106
106
  & .text__action {
@@ -117,19 +117,19 @@
117
117
  }
118
118
 
119
119
  & .text__title--skeleton {
120
- background-color: ${o.linearGradientAnimation("-90deg")};
120
+ background-color: ${i.linearGradientAnimation("-90deg")};
121
121
  height: 1rem;
122
122
  width: 9rem;
123
123
  }
124
124
 
125
125
  & .text__description--skeleton {
126
- background-color: ${o.linearGradientAnimation("-90deg")};
126
+ background-color: ${i.linearGradientAnimation("-90deg")};
127
127
  height: 1rem;
128
128
  width: 12rem;
129
129
  }
130
130
 
131
131
  & .text__action--skeleton {
132
- background-color: ${o.linearGradientAnimation("-90deg")};
132
+ background-color: ${i.linearGradientAnimation("-90deg")};
133
133
  height: 2rem;
134
134
  width: 9rem;
135
135
  }
@@ -142,7 +142,7 @@
142
142
  max-height: 14.5rem;
143
143
  }
144
144
  }
145
- `,k=p.forwardRef(({title:r,imageUrl:t,description:i,buttonText:a,onSelectCard:c=()=>{},className:m,position:g,tag:s,backgroundColor:h,borderColor:u,buttonLink:x,LinkComponent:f},w)=>{const _=f||"a",b=y.useTheme();return e.jsx(e.Fragment,{children:e.jsxs(v,{ref:w,theme:b,className:m,position:g,backgroundColor:h,onClick:c,as:_,borderColor:u,...f?{to:`/${x}`}:{href:`/${x}`},children:[e.jsx("img",{src:t,className:"wrapper__image",loading:"lazy"}),e.jsxs("div",{className:"wrapper__text",children:[s&&e.jsx("div",{className:"text__tag",children:s}),e.jsx("div",{className:"text__title",children:r}),o.isDefinedNotEmptyString(i)&&e.jsx("div",{className:"text__description",children:i}),o.isDefinedNotEmptyString(a)&&e.jsx(j,{text:a,className:"text__action",color:"gray"})]})]})})}),S=l.styled.div`
145
+ `,k=x.forwardRef(({title:r,imageUrl:t,description:o,buttonText:a,onSelectCard:c=()=>{},className:m,position:g,tag:s,backgroundColor:h,borderColor:u,buttonLink:p,LinkComponent:f},w)=>{const _=f||"a",b=y.useTheme();return e.jsx(e.Fragment,{children:e.jsxs(v,{ref:w,theme:b,className:m,position:g,backgroundColor:h,onClick:c,as:_,borderColor:u,...f?{to:`/${p}`}:{href:`/${p}`},children:[e.jsx("img",{src:t,className:"wrapper__image",loading:"lazy"}),e.jsxs("div",{className:"wrapper__text",children:[s&&e.jsx("div",{className:"text__tag",children:s}),e.jsx("div",{className:"text__title",children:r}),i.isDefinedNotEmptyString(o)&&e.jsx("div",{className:"text__description",children:o}),i.isDefinedNotEmptyString(a)&&e.jsx(j,{text:a,className:"text__action",color:"gray"})]})]})})}),S=l.styled.div`
146
146
  display: flex;
147
147
  flex-direction: column;
148
148
  gap: 1.5rem;
@@ -193,7 +193,7 @@
193
193
  height: 100%;
194
194
  max-height: 100%;
195
195
  }
196
- `,C=l.styled(n.SkeletonRowWrapper)`
196
+ `,C=l.styled(n.SkeletonAnimationContainer)`
197
197
  @media ${d.down("S")} {
198
198
  flex-direction: column;
199
199
 
@@ -207,4 +207,4 @@
207
207
  flex-direction: column;
208
208
  }
209
209
  }
210
- `,G=({keyPrefix:r})=>e.jsxs(C,{children:[e.jsx(n.SkeletonColumnWrapper,{children:e.jsx(n.SkeletonLinePlaceholder,{height:"31.25rem",className:"skeleton__big"},`${r}-1`)}),e.jsxs(n.SkeletonColumnWrapper,{children:[e.jsxs(n.SkeletonRowWrapper,{noGradient:!0,children:[e.jsx(n.SkeletonLinePlaceholder,{height:"15rem"},`${r}-2`),e.jsx(n.SkeletonLinePlaceholder,{height:"15rem"},`${r}-3`)]}),e.jsxs(n.SkeletonRowWrapper,{noGradient:!0,children:[e.jsx(n.SkeletonLinePlaceholder,{height:"15rem"},`${r}-4`),e.jsx(n.SkeletonLinePlaceholder,{height:"15rem"},`${r}-5`)]})]})]}),N=({keyPrefix:r,isLoading:t=!1,fallbackComponent:i=e.jsx(e.Fragment,{}),children:a})=>e.jsx(p.Suspense,{fallbackComponent:i,children:t===!0?e.jsx(G,{keyPrefix:r}):a}),R=p.forwardRef(({title:r,items:t,isLoading:i=!1,limit:a=3,onSelectCard:c=()=>{},LinkComponent:m},g)=>e.jsxs(S,{ref:g,children:[e.jsx("div",{className:"regular-title",children:e.jsx("div",{className:"regular-title-text",children:e.jsx("span",{children:r})})}),e.jsx(N,{isLoading:i,keyPrefix:"masonry-general-cards-skeleton",children:e.jsx($,{limit:a,children:t&&(t==null?void 0:t.map((s,h)=>e.jsx(k,{...s,onSelectCard:()=>c(s),LinkComponent:m},`landing-page-masonry-general-card__${h+1}`)))})})]}));module.exports=R;
210
+ `,R=({keyPrefix:r})=>e.jsxs(C,{children:[e.jsx(n.SkeletonColumnContainer,{children:e.jsx(n.SkeletonRect,{height:"31.25rem",className:"skeleton__big",width:"100%"},`${r}-1`)}),e.jsxs(n.SkeletonColumnContainer,{children:[e.jsxs(n.SkeletonContainer,{children:[e.jsx(n.SkeletonRect,{width:"100%",height:"15rem"},`${r}-2`),e.jsx(n.SkeletonRect,{width:"100%",height:"15rem"},`${r}-3`)]}),e.jsxs(n.SkeletonContainer,{children:[e.jsx(n.SkeletonRect,{width:"100%",height:"15rem"},`${r}-4`),e.jsx(n.SkeletonRect,{width:"100%",height:"15rem"},`${r}-5`)]})]})]}),N=({keyPrefix:r,isLoading:t=!1,fallbackComponent:o=e.jsx(e.Fragment,{}),children:a})=>e.jsx(x.Suspense,{fallbackComponent:o,children:t===!0?e.jsx(R,{keyPrefix:r}):a}),G=x.forwardRef(({title:r,items:t,isLoading:o=!1,limit:a=3,onSelectCard:c=()=>{},LinkComponent:m},g)=>e.jsxs(S,{ref:g,children:[e.jsx("div",{className:"regular-title",children:e.jsx("div",{className:"regular-title-text",children:e.jsx("span",{children:r})})}),e.jsx(N,{isLoading:o,keyPrefix:"masonry-general-cards-skeleton",children:e.jsx($,{limit:a,children:t&&(t==null?void 0:t.map((s,h)=>e.jsx(k,{...s,onSelectCard:()=>c(s),LinkComponent:m},`landing-page-masonry-general-card__${h+1}`)))})})]}));module.exports=G;
@@ -1,12 +1,12 @@
1
1
  import { jsx as r, Fragment as v, jsxs as a } from "react/jsx-runtime";
2
2
  import { forwardRef as $, Suspense as N } from "react";
3
- import G from "./Button.js";
3
+ import z from "./Button.js";
4
4
  import { s as d } from "./emotion-styled.browser.esm-DfbrHHed.js";
5
- import { w as s, n as _, l as w } from "./utils-MoGhNMmj.js";
5
+ import { w as s, n as x, l as w } from "./utils-MoGhNMmj.js";
6
6
  import { d as m } from "./breakpoints-BubDitvo.js";
7
- import { u as z } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
- import { S as f, b, a as l } from "./style-DvkivBNg.js";
9
- const j = d.a`
7
+ import { u as G } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
+ import { S as j, e as _, a as l, c as b } from "./style-BFPpppS9.js";
9
+ const M = d.a`
10
10
  text-decoration: none;
11
11
  display: flex;
12
12
  flex-direction: column;
@@ -98,7 +98,7 @@ const j = d.a`
98
98
  font-style: normal;
99
99
  font-weight: 500;
100
100
  line-height: 1.5rem;
101
- ${_(2)}
101
+ ${x(2)}
102
102
  }
103
103
 
104
104
  & .text__tag {
@@ -120,7 +120,7 @@ const j = d.a`
120
120
  font-style: normal;
121
121
  font-weight: 400;
122
122
  line-height: 1.25rem;
123
- ${_(2)}
123
+ ${x(2)}
124
124
  }
125
125
 
126
126
  & .text__action {
@@ -162,12 +162,12 @@ const j = d.a`
162
162
  max-height: 14.5rem;
163
163
  }
164
164
  }
165
- `, W = $(
165
+ `, R = $(
166
166
  ({
167
167
  title: e,
168
168
  imageUrl: t,
169
- description: o,
170
- buttonText: i,
169
+ description: i,
170
+ buttonText: o,
171
171
  onSelectCard: c = () => {
172
172
  },
173
173
  className: g,
@@ -175,12 +175,12 @@ const j = d.a`
175
175
  tag: n,
176
176
  backgroundColor: p,
177
177
  borderColor: y,
178
- buttonLink: u,
179
- LinkComponent: x
178
+ buttonLink: f,
179
+ LinkComponent: u
180
180
  }, k) => {
181
- const S = x || "a", C = z();
181
+ const S = u || "a", C = G();
182
182
  return /* @__PURE__ */ r(v, { children: /* @__PURE__ */ a(
183
- j,
183
+ M,
184
184
  {
185
185
  ref: k,
186
186
  theme: C,
@@ -190,21 +190,21 @@ const j = d.a`
190
190
  onClick: c,
191
191
  as: S,
192
192
  borderColor: y,
193
- ...x ? {
194
- to: `/${u}`
193
+ ...u ? {
194
+ to: `/${f}`
195
195
  } : {
196
- href: `/${u}`
196
+ href: `/${f}`
197
197
  },
198
198
  children: [
199
199
  /* @__PURE__ */ r("img", { src: t, className: "wrapper__image", loading: "lazy" }),
200
200
  /* @__PURE__ */ a("div", { className: "wrapper__text", children: [
201
201
  n && /* @__PURE__ */ r("div", { className: "text__tag", children: n }),
202
202
  /* @__PURE__ */ r("div", { className: "text__title", children: e }),
203
- w(o) && /* @__PURE__ */ r("div", { className: "text__description", children: o }),
204
- w(i) && /* @__PURE__ */ r(
205
- G,
203
+ w(i) && /* @__PURE__ */ r("div", { className: "text__description", children: i }),
204
+ w(o) && /* @__PURE__ */ r(
205
+ z,
206
206
  {
207
- text: i,
207
+ text: o,
208
208
  className: "text__action",
209
209
  color: "gray"
210
210
  }
@@ -214,7 +214,7 @@ const j = d.a`
214
214
  }
215
215
  ) });
216
216
  }
217
- ), M = d.div`
217
+ ), E = d.div`
218
218
  display: flex;
219
219
  flex-direction: column;
220
220
  gap: 1.5rem;
@@ -247,7 +247,7 @@ const j = d.a`
247
247
  }
248
248
  }
249
249
  }
250
- `, R = d.div`
250
+ `, W = d.div`
251
251
  display: grid;
252
252
  grid-template-columns: ${() => "repeat(12, minmax(0, 1fr))"};
253
253
 
@@ -265,7 +265,7 @@ const j = d.a`
265
265
  height: 100%;
266
266
  max-height: 100%;
267
267
  }
268
- `, E = d(f)`
268
+ `, A = d(j)`
269
269
  @media ${m("S")} {
270
270
  flex-direction: column;
271
271
 
@@ -279,48 +279,49 @@ const j = d.a`
279
279
  flex-direction: column;
280
280
  }
281
281
  }
282
- `, T = ({ keyPrefix: e }) => /* @__PURE__ */ a(E, { children: [
283
- /* @__PURE__ */ r(b, { children: /* @__PURE__ */ r(
282
+ `, T = ({ keyPrefix: e }) => /* @__PURE__ */ a(A, { children: [
283
+ /* @__PURE__ */ r(_, { children: /* @__PURE__ */ r(
284
284
  l,
285
285
  {
286
286
  height: "31.25rem",
287
- className: "skeleton__big"
287
+ className: "skeleton__big",
288
+ width: "100%"
288
289
  },
289
290
  `${e}-1`
290
291
  ) }),
291
- /* @__PURE__ */ a(b, { children: [
292
- /* @__PURE__ */ a(f, { noGradient: !0, children: [
293
- /* @__PURE__ */ r(l, { height: "15rem" }, `${e}-2`),
294
- /* @__PURE__ */ r(l, { height: "15rem" }, `${e}-3`)
292
+ /* @__PURE__ */ a(_, { children: [
293
+ /* @__PURE__ */ a(b, { children: [
294
+ /* @__PURE__ */ r(l, { width: "100%", height: "15rem" }, `${e}-2`),
295
+ /* @__PURE__ */ r(l, { width: "100%", height: "15rem" }, `${e}-3`)
295
296
  ] }),
296
- /* @__PURE__ */ a(f, { noGradient: !0, children: [
297
- /* @__PURE__ */ r(l, { height: "15rem" }, `${e}-4`),
298
- /* @__PURE__ */ r(l, { height: "15rem" }, `${e}-5`)
297
+ /* @__PURE__ */ a(b, { children: [
298
+ /* @__PURE__ */ r(l, { width: "100%", height: "15rem" }, `${e}-4`),
299
+ /* @__PURE__ */ r(l, { width: "100%", height: "15rem" }, `${e}-5`)
299
300
  ] })
300
301
  ] })
301
302
  ] }), X = ({
302
303
  keyPrefix: e,
303
304
  isLoading: t = !1,
304
- fallbackComponent: o = /* @__PURE__ */ r(v, {}),
305
- children: i
306
- }) => /* @__PURE__ */ r(N, { fallbackComponent: o, children: t === !0 ? /* @__PURE__ */ r(T, { keyPrefix: e }) : i }), K = $(
305
+ fallbackComponent: i = /* @__PURE__ */ r(v, {}),
306
+ children: o
307
+ }) => /* @__PURE__ */ r(N, { fallbackComponent: i, children: t === !0 ? /* @__PURE__ */ r(T, { keyPrefix: e }) : o }), O = $(
307
308
  ({
308
309
  title: e,
309
310
  items: t,
310
- isLoading: o = !1,
311
- limit: i = 3,
311
+ isLoading: i = !1,
312
+ limit: o = 3,
312
313
  onSelectCard: c = () => {
313
314
  },
314
315
  LinkComponent: g
315
- }, h) => /* @__PURE__ */ a(M, { ref: h, children: [
316
+ }, h) => /* @__PURE__ */ a(E, { ref: h, children: [
316
317
  /* @__PURE__ */ r("div", { className: "regular-title", children: /* @__PURE__ */ r("div", { className: "regular-title-text", children: /* @__PURE__ */ r("span", { children: e }) }) }),
317
318
  /* @__PURE__ */ r(
318
319
  X,
319
320
  {
320
- isLoading: o,
321
+ isLoading: i,
321
322
  keyPrefix: "masonry-general-cards-skeleton",
322
- children: /* @__PURE__ */ r(R, { limit: i, children: t && (t == null ? void 0 : t.map((n, p) => /* @__PURE__ */ r(
323
- W,
323
+ children: /* @__PURE__ */ r(W, { limit: o, children: t && (t == null ? void 0 : t.map((n, p) => /* @__PURE__ */ r(
324
+ R,
324
325
  {
325
326
  ...n,
326
327
  onSelectCard: () => c(n),
@@ -333,5 +334,5 @@ const j = d.a`
333
334
  ] })
334
335
  );
335
336
  export {
336
- K as default
337
+ O as default
337
338
  };
@@ -1,4 +1,4 @@
1
- "use strict";const n=require("react/jsx-runtime"),h=require("react"),x=require("./Button.cjs"),u=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),a=require("./breakpoints-CcVm-gVm.cjs"),m=require("./index-fzBXDy05.cjs"),p=u.styled.a`
1
+ "use strict";const n=require("react/jsx-runtime"),h=require("react"),x=require("./Button.cjs"),u=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),a=require("./breakpoints-CcVm-gVm.cjs"),m=require("./index-BUdvfHpp.cjs"),p=u.styled.a`
2
2
  text-decoration: none;
3
3
  color: var(--gray-950);
4
4
  display: flex;
@@ -3,7 +3,7 @@ import { forwardRef as m } from "react";
3
3
  import u from "./Button.js";
4
4
  import { s as _ } from "./emotion-styled.browser.esm-DfbrHHed.js";
5
5
  import { d as i } from "./breakpoints-BubDitvo.js";
6
- import { S as p } from "./index-BHcrzV2G.js";
6
+ import { S as p } from "./index-VTkAaA-n.js";
7
7
  const x = _.a`
8
8
  text-decoration: none;
9
9
  color: var(--gray-950);