@lanaco/lnc-react-ui 4.0.170 → 4.0.171

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 (173) hide show
  1. package/dist/Accordion.js +1 -1
  2. package/dist/AccordionSummary.js +1 -1
  3. package/dist/ActionsToolbar.js +1 -1
  4. package/dist/Alert.js +1 -1
  5. package/dist/Avatar.js +1 -1
  6. package/dist/Badge.js +1 -1
  7. package/dist/BannerSectionCarousel.cjs +9 -48
  8. package/dist/BannerSectionCarousel.js +208 -249
  9. package/dist/BannerSectionSimple.js +1 -1
  10. package/dist/BannerSectionWithList.js +1 -1
  11. package/dist/BlogCardsSponsoredSection.cjs +8 -8
  12. package/dist/BlogCardsSponsoredSection.js +67 -68
  13. package/dist/BlogCategoryCardsSection.cjs +1 -1
  14. package/dist/BlogCategoryCardsSection.js +22 -30
  15. package/dist/BlogExploreSection.js +9 -9
  16. package/dist/BlogListSection.cjs +11 -5
  17. package/dist/BlogListSection.js +187 -123
  18. package/dist/BlogProductCardsSection.cjs +1 -1
  19. package/dist/BlogProductCardsSection.js +28 -37
  20. package/dist/BlogShopCardsSection.cjs +1 -1
  21. package/dist/BlogShopCardsSection.js +40 -67
  22. package/dist/BlogSingleSection.cjs +16 -1
  23. package/dist/BlogSingleSection.js +47 -45
  24. package/dist/BlogsSectionDetailed.cjs +8 -27
  25. package/dist/BlogsSectionDetailed.js +111 -159
  26. package/dist/BlogsSectionLarge.cjs +19 -4
  27. package/dist/BlogsSectionLarge.js +73 -37
  28. package/dist/BlogsSectionSimple.cjs +9 -9
  29. package/dist/BlogsSectionSimple.js +81 -107
  30. package/dist/BlogsSectionSimpleCentered.cjs +25 -23
  31. package/dist/BlogsSectionSimpleCentered.js +103 -96
  32. package/dist/BlogsSectionWithFilters.cjs +31 -29
  33. package/dist/BlogsSectionWithFilters.js +173 -134
  34. package/dist/BrandHitsSection.cjs +10 -14
  35. package/dist/BrandHitsSection.js +93 -45
  36. package/dist/Breadcrumbs.js +1 -1
  37. package/dist/Button.js +1 -1
  38. package/dist/ButtonGroup.js +1 -1
  39. package/dist/CalorieCalculatorSection.js +1 -1
  40. package/dist/CategorySimpleCard-Qe5QStrs.cjs +47 -0
  41. package/dist/CategorySimpleCard-laAY-RUT.js +70 -0
  42. package/dist/CheckBoxInput.js +1 -1
  43. package/dist/Chip.js +1 -1
  44. package/dist/ColorInput.js +1 -1
  45. package/dist/ConfirmationForm.js +1 -1
  46. package/dist/CustomLoanMapSection.js +1 -1
  47. package/dist/{CustomStyles-SyQRnjuy.js → CustomStyles-ArAVZsIj.js} +1 -1
  48. package/dist/DateInput.js +1 -1
  49. package/dist/DecimalInput.js +1 -1
  50. package/dist/DecimalInputV2.js +1 -1
  51. package/dist/DetailedProductsInfinitiveSection.cjs +3 -3
  52. package/dist/DetailedProductsInfinitiveSection.js +35 -36
  53. package/dist/DetailedProductsSection.cjs +4 -4
  54. package/dist/DetailedProductsSection.js +62 -63
  55. package/dist/DetailsView.js +1 -1
  56. package/dist/DoubleRangeSlider.js +1 -1
  57. package/dist/DragAndDropFile.js +1 -1
  58. package/dist/DragDropFiles.js +1 -1
  59. package/dist/Drawer.js +1 -1
  60. package/dist/Dropdown.js +2 -2
  61. package/dist/DropdownItem.js +1 -1
  62. package/dist/DropdownLookup.js +1 -1
  63. package/dist/DropdownMenu.js +1 -1
  64. package/dist/EditableTable.js +1 -1
  65. package/dist/FeedbackSection.js +1 -1
  66. package/dist/FieldOfInterestsMasonrySection.cjs +20 -25
  67. package/dist/FieldOfInterestsMasonrySection.js +228 -154
  68. package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +33 -24
  69. package/dist/FieldOfInterestsWithAvatarsCardsSection.js +178 -113
  70. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +6 -16
  71. package/dist/FieldOfInterestsWithTagsCardsSection.js +89 -93
  72. package/dist/FileInput.js +1 -1
  73. package/dist/FlexGridItem.js +1 -1
  74. package/dist/FormField.js +1 -1
  75. package/dist/FormView.js +1 -1
  76. package/dist/GeneralWithTagsCardsSection.cjs +11 -27
  77. package/dist/GeneralWithTagsCardsSection.js +87 -99
  78. package/dist/GiftCardsSection.cjs +18 -23
  79. package/dist/GiftCardsSection.js +146 -77
  80. package/dist/Icon.js +1 -1
  81. package/dist/IconButton.js +1 -1
  82. package/dist/Kanban.js +1 -1
  83. package/dist/KanbanActionsToolbar.js +1 -1
  84. package/dist/KanbanView.js +1 -1
  85. package/dist/Link.js +1 -1
  86. package/dist/LoanCalculatorSection.js +1 -1
  87. package/dist/LocationFinderSection.js +1 -1
  88. package/dist/LocationSearchSection.js +1 -1
  89. package/dist/MasonryGeneralCardsSection.cjs +33 -19
  90. package/dist/MasonryGeneralCardsSection.js +114 -68
  91. package/dist/MenuItem.js +1 -1
  92. package/dist/Modal.js +1 -1
  93. package/dist/MultiSelectDropdown.js +1 -1
  94. package/dist/MultiSelectDropdownLookup.js +1 -1
  95. package/dist/NestedDropdownItem.js +1 -1
  96. package/dist/NestedMenuItem.js +1 -1
  97. package/dist/NotificationContainer.js +1 -1
  98. package/dist/NotificationMessage.js +1 -1
  99. package/dist/NumberInput.js +1 -1
  100. package/dist/OverlayGeneralCardsSection.cjs +5 -5
  101. package/dist/OverlayGeneralCardsSection.js +54 -40
  102. package/dist/PasswordInput.js +1 -1
  103. package/dist/PopoverContent.js +1 -1
  104. package/dist/ProductsWithBannerSection.cjs +15 -20
  105. package/dist/ProductsWithBannerSection.js +176 -104
  106. package/dist/ProgressBar.js +1 -1
  107. package/dist/QuattroCardsSection.cjs +6 -6
  108. package/dist/QuattroCardsSection.js +42 -34
  109. package/dist/QuizSection.js +1 -1
  110. package/dist/RadioInput.js +1 -1
  111. package/dist/RangeSlider.js +1 -1
  112. package/dist/ReviewsSection.cjs +24 -30
  113. package/dist/ReviewsSection.js +170 -137
  114. package/dist/SalesCampaignsSection.cjs +46 -130
  115. package/dist/SalesCampaignsSection.js +354 -433
  116. package/dist/Separator.js +1 -1
  117. package/dist/ShopCardsSection.cjs +18 -5
  118. package/dist/ShopCardsSection.js +145 -88
  119. package/dist/Sidebar.js +1 -1
  120. package/dist/SimpleCategoriesSection.cjs +10 -4
  121. package/dist/SimpleCategoriesSection.js +79 -51
  122. package/dist/SimpleProductsSection.cjs +16 -3
  123. package/dist/SimpleProductsSection.js +172 -70
  124. package/dist/Spinner.js +1 -1
  125. package/dist/StatsSection.js +4 -4
  126. package/dist/Surface.js +1 -1
  127. package/dist/SwipeableDrawer.js +1 -1
  128. package/dist/TabItem.js +1 -1
  129. package/dist/Table.js +1 -1
  130. package/dist/TableView.js +1 -1
  131. package/dist/TextAreaInput.js +1 -1
  132. package/dist/TextInput.js +1 -1
  133. package/dist/ThemeProvider.js +1 -1
  134. package/dist/TimeInput.js +1 -1
  135. package/dist/Toggle.js +1 -1
  136. package/dist/TreeMenuSeparator.js +1 -1
  137. package/dist/UploadedFile.js +1 -1
  138. package/dist/UrgentSaleProductsSection.cjs +2 -2
  139. package/dist/UrgentSaleProductsSection.js +62 -61
  140. package/dist/index-BAJkosVg.cjs +11 -0
  141. package/dist/{index-dXWRbvgi.js → index-BMOLVn8O.js} +1 -1
  142. package/dist/{skeleton-5mO22c5S.js → index-BPntOicE.js} +55 -107
  143. package/dist/index-BSpdEGFd.js +42 -0
  144. package/dist/{index-CF3HhgvN.js → index-BbltNcou.js} +1 -1
  145. package/dist/index-BhBRZf4M.js +742 -0
  146. package/dist/index-BovNbKxB.js +54 -0
  147. package/dist/{skeleton-Ccd6EDeB.cjs → index-C5r__0lD.cjs} +4 -47
  148. package/dist/{index-DicTpiG0.cjs → index-CfT9e5O9.cjs} +2 -10
  149. package/dist/index-D-3I_Ppj.cjs +16 -0
  150. package/dist/index-D0IYt1s3.cjs +20 -0
  151. package/dist/{skeleton-CQPwIEP0.js → index-D69SKc-n.cjs} +7 -37
  152. package/dist/{index-C0SKNFzP.js → index-D8KPbcUf.js} +1 -1
  153. package/dist/index-DFdPWO4O.js +133 -0
  154. package/dist/index-DFyV_EK2.cjs +305 -0
  155. package/dist/index-DxwIu0Wn.js +84 -0
  156. package/dist/{index-y6sKgrZC.js → index-XYs5Cuh5.js} +21 -30
  157. package/dist/index.js +1 -1
  158. package/dist/style-BAcV7F53.cjs +64 -0
  159. package/dist/style-CXMUA6cI.js +74 -0
  160. package/dist/{style-DKAOBWn3.js → style-D3pIrH3v.js} +1 -1
  161. package/dist/{utils-BdsZgOUE.js → utils-DHfRApMf.js} +6 -6
  162. package/package.json +1 -1
  163. package/dist/index-1Dm1i6WK.js +0 -52
  164. package/dist/index-BGTtoLxz.cjs +0 -1
  165. package/dist/skeleton-BdbB-LdT.cjs +0 -97
  166. package/dist/suspense-categories-card-simple-BGj475Ca.js +0 -101
  167. package/dist/suspense-categories-card-simple-CjGtzfzp.cjs +0 -55
  168. package/dist/suspense-large-BMO7JH52.js +0 -26
  169. package/dist/suspense-large-CFmcSzX-.cjs +0 -1
  170. package/dist/suspense-product-card-detailed-BU6DPCvJ.js +0 -652
  171. package/dist/suspense-product-card-detailed-BbvQuPOP.cjs +0 -329
  172. package/dist/suspense-product-card-simple-DJ8UYolb.cjs +0 -1
  173. package/dist/suspense-product-card-simple-ziy0XcLp.js +0 -26
@@ -1,11 +1,12 @@
1
- import { jsx as t, Fragment as w, jsxs as m } from "react/jsx-runtime";
2
- import { forwardRef as f } from "react";
3
- import b from "./Button.js";
1
+ import { jsx as r, Fragment as _, jsxs as i } from "react/jsx-runtime";
2
+ import { forwardRef as w, Suspense as k } from "react";
3
+ import y from "./Button.js";
4
4
  import { s } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
- import { o as n, p, k as h } from "./utils-BdsZgOUE.js";
5
+ import { w as m, o as f, k as u } from "./utils-DHfRApMf.js";
6
6
  import { M as c } from "./consts-BuFChS64.js";
7
- import { u as v } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
- const y = s.div`
7
+ import { u as S } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
+ import { a as p, S as x, b as o } from "./style-CXMUA6cI.js";
9
+ const N = s.div`
9
10
  display: flex;
10
11
  flex-direction: column;
11
12
  align-items: flex-start;
@@ -14,24 +15,24 @@ const y = s.div`
14
15
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.06);
15
16
  cursor: pointer;
16
17
 
17
- grid-column: ${(r) => {
18
- var e;
19
- return ((e = r.position) == null ? void 0 : e.columnStart) || "1";
18
+ grid-column: ${(e) => {
19
+ var t;
20
+ return ((t = e.position) == null ? void 0 : t.columnStart) || "1";
20
21
  }} /
21
- ${(r) => {
22
- var e;
23
- return ((e = r.position) == null ? void 0 : e.columnEnd) || "6";
22
+ ${(e) => {
23
+ var t;
24
+ return ((t = e.position) == null ? void 0 : t.columnEnd) || "6";
24
25
  }};
25
- grid-row: ${(r) => {
26
- var e;
27
- return ((e = r.position) == null ? void 0 : e.rowStart) || "1";
26
+ grid-row: ${(e) => {
27
+ var t;
28
+ return ((t = e.position) == null ? void 0 : t.rowStart) || "1";
28
29
  }} /
29
- ${(r) => {
30
- var e;
31
- return ((e = r.position) == null ? void 0 : e.rowEnd) || "1";
30
+ ${(e) => {
31
+ var t;
32
+ return ((t = e.position) == null ? void 0 : t.rowEnd) || "1";
32
33
  }};
33
34
 
34
- background: ${(r) => r.backgroundColor || `linear-gradient(
35
+ background: ${(e) => e.backgroundColor || `linear-gradient(
35
36
  178deg,
36
37
  rgba(0, 0, 0, 0) 1.5%,
37
38
  rgba(0, 0, 0, 0.16) 8.95%,
@@ -50,7 +51,7 @@ const y = s.div`
50
51
  width: 24.5rem;
51
52
  height: 30rem;
52
53
  border-radius: 0.75rem;
53
- background-color: ${n("-90deg")};
54
+ background-color: ${m("-90deg")};
54
55
  }
55
56
 
56
57
  & .wrapper__text {
@@ -70,7 +71,7 @@ const y = s.div`
70
71
  font-style: normal;
71
72
  font-weight: 500;
72
73
  line-height: 1.5rem;
73
- ${p(2)}
74
+ ${f(2)}
74
75
  }
75
76
 
76
77
  & .text__tag {
@@ -92,7 +93,7 @@ const y = s.div`
92
93
  font-style: normal;
93
94
  font-weight: 400;
94
95
  line-height: 1.25rem;
95
- ${p(2)}
96
+ ${f(2)}
96
97
  }
97
98
 
98
99
  & .text__action {
@@ -106,19 +107,19 @@ const y = s.div`
106
107
  }
107
108
 
108
109
  & .text__title--skeleton {
109
- background-color: ${n("-90deg")};
110
+ background-color: ${m("-90deg")};
110
111
  height: 1rem;
111
112
  width: 9rem;
112
113
  }
113
114
 
114
115
  & .text__description--skeleton {
115
- background-color: ${n("-90deg")};
116
+ background-color: ${m("-90deg")};
116
117
  height: 1rem;
117
118
  width: 12rem;
118
119
  }
119
120
 
120
121
  & .text__action--skeleton {
121
- background-color: ${n("-90deg")};
122
+ background-color: ${m("-90deg")};
122
123
  height: 2rem;
123
124
  width: 9rem;
124
125
  }
@@ -131,39 +132,39 @@ const y = s.div`
131
132
  max-height: 14.5rem;
132
133
  }
133
134
  }
134
- `, k = f(
135
+ `, C = w(
135
136
  ({
136
- title: r,
137
- imageUrl: e,
138
- description: i,
139
- buttonText: a,
140
- onSelectCard: l = () => {
137
+ title: e,
138
+ imageUrl: t,
139
+ description: a,
140
+ buttonText: n,
141
+ onSelectCard: g = () => {
141
142
  },
142
- className: o,
143
- position: d,
144
- tag: g,
145
- backgroundColor: x
146
- }, u) => {
147
- const _ = v();
148
- return /* @__PURE__ */ t(w, { children: /* @__PURE__ */ m(
149
- y,
143
+ className: h,
144
+ position: l,
145
+ tag: d,
146
+ backgroundColor: b
147
+ }, v) => {
148
+ const $ = S();
149
+ return /* @__PURE__ */ r(_, { children: /* @__PURE__ */ i(
150
+ N,
150
151
  {
151
- ref: u,
152
- theme: _,
153
- className: o,
154
- position: d,
155
- backgroundColor: x,
156
- onClick: l,
152
+ ref: v,
153
+ theme: $,
154
+ className: h,
155
+ position: l,
156
+ backgroundColor: b,
157
+ onClick: g,
157
158
  children: [
158
- /* @__PURE__ */ t("img", { src: e, className: "wrapper__image" }),
159
- /* @__PURE__ */ m("div", { className: "wrapper__text", children: [
160
- g && /* @__PURE__ */ t("div", { className: "text__tag", children: g }),
161
- /* @__PURE__ */ t("div", { className: "text__title", children: r }),
162
- h(i) && /* @__PURE__ */ t("div", { className: "text__description", children: i }),
163
- h(a) && /* @__PURE__ */ t(
164
- b,
159
+ /* @__PURE__ */ r("img", { src: t, className: "wrapper__image" }),
160
+ /* @__PURE__ */ i("div", { className: "wrapper__text", children: [
161
+ d && /* @__PURE__ */ r("div", { className: "text__tag", children: d }),
162
+ /* @__PURE__ */ r("div", { className: "text__title", children: e }),
163
+ u(a) && /* @__PURE__ */ r("div", { className: "text__description", children: a }),
164
+ u(n) && /* @__PURE__ */ r(
165
+ y,
165
166
  {
166
- text: a,
167
+ text: n,
167
168
  className: "text__action"
168
169
  }
169
170
  )
@@ -172,7 +173,7 @@ const y = s.div`
172
173
  }
173
174
  ) });
174
175
  }
175
- ), $ = s.div`
176
+ ), G = s.div`
176
177
  display: flex;
177
178
  flex-direction: column;
178
179
  gap: 1.5rem;
@@ -205,9 +206,9 @@ const y = s.div`
205
206
  }
206
207
  }
207
208
  }
208
- `, N = s.div`
209
+ `, z = s.div`
209
210
  display: grid;
210
- grid-template-columns: ${(r) => "repeat(12, minmax(0, 1fr))"};
211
+ grid-template-columns: ${(e) => "repeat(12, minmax(0, 1fr))"};
211
212
 
212
213
  grid-template-rows: 15rem 15rem;
213
214
  grid-column-gap: 1.25rem;
@@ -223,20 +224,65 @@ const y = s.div`
223
224
  height: 100%;
224
225
  max-height: 100%;
225
226
  }
226
- `, I = f(
227
- ({ title: r, items: e, limit: i = 3, onSelectCard: a = () => {
228
- } }, l) => /* @__PURE__ */ m($, { ref: l, children: [
229
- /* @__PURE__ */ t("div", { className: "regular-title", children: /* @__PURE__ */ t("div", { className: "regular-title-text", children: /* @__PURE__ */ t("span", { children: r }) }) }),
230
- /* @__PURE__ */ t(N, { limit: i, children: e && (e == null ? void 0 : e.map((o, d) => /* @__PURE__ */ t(
231
- k,
227
+ `, M = s(p)`
228
+ @media (max-width: ${c + "px"}) {
229
+ flex-direction: column;
230
+
231
+ & .skeleton__big {
232
+ width: 100%;
233
+ height: 100%;
234
+ aspect-ratio: 1 / 1;
235
+ }
236
+
237
+ & > div {
238
+ flex-direction: column;
239
+ }
240
+ }
241
+ `, j = ({ keyPrefix: e }) => /* @__PURE__ */ i(M, { children: [
242
+ /* @__PURE__ */ r(x, { children: /* @__PURE__ */ r(
243
+ o,
244
+ {
245
+ height: "31.25rem",
246
+ className: "skeleton__big"
247
+ },
248
+ `${e}-1`
249
+ ) }),
250
+ /* @__PURE__ */ i(x, { children: [
251
+ /* @__PURE__ */ i(p, { noGradient: !0, children: [
252
+ /* @__PURE__ */ r(o, { height: "15rem" }, `${e}-2`),
253
+ /* @__PURE__ */ r(o, { height: "15rem" }, `${e}-3`)
254
+ ] }),
255
+ /* @__PURE__ */ i(p, { noGradient: !0, children: [
256
+ /* @__PURE__ */ r(o, { height: "15rem" }, `${e}-4`),
257
+ /* @__PURE__ */ r(o, { height: "15rem" }, `${e}-5`)
258
+ ] })
259
+ ] })
260
+ ] }), E = ({
261
+ keyPrefix: e,
262
+ isLoading: t = !1,
263
+ fallbackComponent: a = /* @__PURE__ */ r(_, {}),
264
+ children: n
265
+ }) => /* @__PURE__ */ r(k, { fallbackComponent: a, children: t === !0 ? /* @__PURE__ */ r(j, { keyPrefix: e }) : n }), F = w(
266
+ ({ title: e, items: t, isLoading: a = !1, limit: n = 3, onSelectCard: g = () => {
267
+ } }, h) => /* @__PURE__ */ i(G, { ref: h, children: [
268
+ /* @__PURE__ */ r("div", { className: "regular-title", children: /* @__PURE__ */ r("div", { className: "regular-title-text", children: /* @__PURE__ */ r("span", { children: e }) }) }),
269
+ /* @__PURE__ */ r(
270
+ E,
232
271
  {
233
- ...o,
234
- onSelectCard: () => a(o)
235
- },
236
- `landing-page-masonry-general-card__${d + 1}`
237
- ))) })
272
+ isLoading: a,
273
+ keyPrefix: "masonry-general-cards-skeleton",
274
+ children: /* @__PURE__ */ r(z, { limit: n, children: t && (t == null ? void 0 : t.map((l, d) => /* @__PURE__ */ r(
275
+ C,
276
+ {
277
+ ...l,
278
+ onSelectCard: () => g(l)
279
+ },
280
+ `landing-page-masonry-general-card__${d + 1}`
281
+ ))) })
282
+ }
283
+ )
238
284
  ] })
239
285
  );
240
286
  export {
241
- I as default
287
+ F as default
242
288
  };
package/dist/MenuItem.js CHANGED
@@ -3,7 +3,7 @@ import { forwardRef as J, useRef as Q, useState as W, useEffect as X } from "rea
3
3
  import { P as o } from "./index-CblbdqjE.js";
4
4
  import { s as Z } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
5
  import v from "./Icon.js";
6
- import { b as i, c as I, h as w } from "./utils-BdsZgOUE.js";
6
+ import { b as i, c as I, h as w } from "./utils-DHfRApMf.js";
7
7
  import { u as ee } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
8
  const ne = Z.div`
9
9
  box-sizing: border-box;
package/dist/Modal.js CHANGED
@@ -3,7 +3,7 @@ import { forwardRef as z, useRef as X, useState as V, useImperativeHandle as q,
3
3
  import { P as o } from "./index-CblbdqjE.js";
4
4
  import { s as C } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
5
  import K from "./Icon.js";
6
- import { b as w } from "./utils-BdsZgOUE.js";
6
+ import { b as w } from "./utils-DHfRApMf.js";
7
7
  import { r as Q } from "./index-B1vKwsDE.js";
8
8
  import { m as M } from "./motion-Ckekul_K.js";
9
9
  import { u as Y } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
@@ -1,7 +1,7 @@
1
1
  import { jsx as g } from "react/jsx-runtime";
2
2
  import { P as e } from "./index-CblbdqjE.js";
3
3
  import { forwardRef as y, useCallback as h } from "react";
4
- import { a as M } from "./CustomStyles-SyQRnjuy.js";
4
+ import { a as M } from "./CustomStyles-ArAVZsIj.js";
5
5
  import { d as S } from "./index-Dt62UGku.js";
6
6
  import C from "./Dropdown.js";
7
7
  import { u as I } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
@@ -1,7 +1,7 @@
1
1
  import { jsx as y } from "react/jsx-runtime";
2
2
  import { P as e } from "./index-CblbdqjE.js";
3
3
  import { forwardRef as g, useCallback as h } from "react";
4
- import { a as M } from "./CustomStyles-SyQRnjuy.js";
4
+ import { a as M } from "./CustomStyles-ArAVZsIj.js";
5
5
  import { d as S } from "./index-Dt62UGku.js";
6
6
  import C from "./DropdownLookup.js";
7
7
  import { u as I } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
@@ -2,7 +2,7 @@ import { jsxs as S, Fragment as p, jsx as n } from "react/jsx-runtime";
2
2
  import { forwardRef as w, useState as x, cloneElement as l, Children as P, isValidElement as O } from "react";
3
3
  import { P as t } from "./index-CblbdqjE.js";
4
4
  import { s as h } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
- import { b as D } from "./utils-BdsZgOUE.js";
5
+ import { b as D } from "./utils-DHfRApMf.js";
6
6
  import { m as j } from "./motion-Ckekul_K.js";
7
7
  import { u as Y } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
8
  import { A as C } from "./index-D-c5IxDk.js";
@@ -2,7 +2,7 @@ import { jsxs as O, Fragment as l, jsx as a } from "react/jsx-runtime";
2
2
  import { forwardRef as P, useState as h, cloneElement as u, Children as w, isValidElement as z } from "react";
3
3
  import { P as t } from "./index-CblbdqjE.js";
4
4
  import { s as $ } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
- import { b as j } from "./utils-BdsZgOUE.js";
5
+ import { b as j } from "./utils-DHfRApMf.js";
6
6
  import { m as D } from "./motion-Ckekul_K.js";
7
7
  import { u as Y } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
8
  import { A as C } from "./index-D-c5IxDk.js";
@@ -3,7 +3,7 @@ import { forwardRef as O } from "react";
3
3
  import { P as t } from "./index-CblbdqjE.js";
4
4
  import { s as _ } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
5
  import { T as v } from "./react-toastify.esm-BLQznunb.js";
6
- import { b as e, a as C } from "./utils-BdsZgOUE.js";
6
+ import { b as e, a as C } from "./utils-DHfRApMf.js";
7
7
  import { useTheme as $ } from "./ThemeProvider.js";
8
8
  const P = _.div`
9
9
  & .lnc-notification {
@@ -3,7 +3,7 @@ import { forwardRef as N } from "react";
3
3
  import { P as i } from "./index-CblbdqjE.js";
4
4
  import { s as v } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
5
  import w from "./Icon.js";
6
- import { c as $, b as s, g as B } from "./utils-BdsZgOUE.js";
6
+ import { c as $, b as s, g as B } from "./utils-DHfRApMf.js";
7
7
  import P from "./Avatar.js";
8
8
  import { u as z } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
9
9
  const T = v.div`
@@ -3,7 +3,7 @@ import { P as t } from "./index-CblbdqjE.js";
3
3
  import { forwardRef as H, useRef as J, useState as D, useEffect as L, useCallback as Q } from "react";
4
4
  import { d as Y } from "./index-Dt62UGku.js";
5
5
  import { s as m } from "./emotion-styled.browser.esm-BNN1dTl3.js";
6
- import { d as s, b as l, a as Z, e as v, h as F, c as ee } from "./utils-BdsZgOUE.js";
6
+ import { d as s, b as l, a as Z, e as v, h as F, c as ee } from "./utils-DHfRApMf.js";
7
7
  import { u as ae } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
8
  const te = m.div`
9
9
  display: flex;
@@ -1,4 +1,4 @@
1
- "use strict";const n=require("react/jsx-runtime"),d=require("react"),t=require("./index-BpbMKBf_.cjs"),u=require("./Button.cjs"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),f=require("./consts-goSZX3xP.cjs"),_=g.styled.div`
1
+ "use strict";const n=require("react/jsx-runtime"),g=require("react"),t=require("./index-BpbMKBf_.cjs"),x=require("./Button.cjs"),f=require("./emotion-styled.browser.esm-BtEseadx.cjs"),h=require("./consts-goSZX3xP.cjs"),_=require("./index-D-3I_Ppj.cjs"),p=f.styled.div`
2
2
  display: flex;
3
3
  height: 28.75rem;
4
4
  padding: 2.25rem;
@@ -60,7 +60,7 @@
60
60
  }
61
61
  }
62
62
 
63
- @media (max-width: ${f.MOBILE_SIZE_PX+"px"}) {
63
+ @media (max-width: ${h.MOBILE_SIZE_PX+"px"}) {
64
64
  padding: 2rem;
65
65
  min-height: 17.5rem;
66
66
  width: 100%;
@@ -83,7 +83,7 @@
83
83
  }
84
84
  }
85
85
  }
86
- `,h=d.forwardRef(({title:r,description:o,buttonText:i,imageUrl:s,backgroundColor:l="none",handleSelectCard:e=()=>{},handleButtonAction:a=()=>{}},m)=>n.jsxs(_,{backgroundImage:s,backgroundColor:l,onClick:e,children:[n.jsxs("div",{className:"section__text",children:[r&&n.jsx("div",{className:"section__title",children:r}),o&&n.jsx("div",{className:"section__description",children:o})]}),n.jsx(u,{text:i,onClick:c=>{c==null||c.stopPropagation(),a()},borderRadius:"regular",color:"gray",className:"section__action"})]}));h.propTypes={title:t.PropTypes.string,description:t.PropTypes.string,buttonText:t.PropTypes.string,imageUrl:t.PropTypes.string,backgroundColor:t.PropTypes.string,handleSelectCard:t.PropTypes.func,handleButtonAction:t.PropTypes.func};const x=g.styled.div`
86
+ `,u=g.forwardRef(({title:r,description:o,buttonText:i,imageUrl:s,backgroundColor:l="none",handleSelectCard:a=()=>{},handleButtonAction:e=()=>{}},d)=>n.jsxs(p,{backgroundImage:s,backgroundColor:l,onClick:a,children:[n.jsxs("div",{className:"section__text",children:[r&&n.jsx("div",{className:"section__title",children:r}),o&&n.jsx("div",{className:"section__description",children:o})]}),n.jsx(x,{text:i,onClick:c=>{c==null||c.stopPropagation(),e()},borderRadius:"regular",color:"gray",className:"section__action"})]}));u.propTypes={title:t.PropTypes.string,description:t.PropTypes.string,buttonText:t.PropTypes.string,imageUrl:t.PropTypes.string,backgroundColor:t.PropTypes.string,handleSelectCard:t.PropTypes.func,handleButtonAction:t.PropTypes.func};const m=f.styled.div`
87
87
  display: flex;
88
88
  flex-direction: column;
89
89
  align-items: flex-start;
@@ -122,7 +122,7 @@
122
122
  }
123
123
  }
124
124
 
125
- @media (max-width: ${f.MOBILE_SIZE_PX+"px"}) {
125
+ @media (max-width: ${h.MOBILE_SIZE_PX+"px"}) {
126
126
  & .section__title {
127
127
  font-size: 1.375rem;
128
128
  line-height: 1.75rem;
@@ -132,4 +132,4 @@
132
132
  flex-direction: column;
133
133
  }
134
134
  }
135
- `,p=d.forwardRef(({title:r,items:o,onSelectCard:i=()=>{},onButtonAction:s=()=>{}},l)=>n.jsxs(x,{ref:l,children:[n.jsx("div",{className:"section__title",children:r}),n.jsx("div",{className:"section__items",children:o==null?void 0:o.map((e,a)=>n.jsx(h,{title:e==null?void 0:e.title,description:e==null?void 0:e.description,imageUrl:e==null?void 0:e.imageUrl,buttonText:e==null?void 0:e.buttonText,backgroundColor:e==null?void 0:e.backgroundColor,handleSelectCard:()=>i(e),handleButtonAction:()=>s(e)},`overlay-general-card__${a+1}`))})]}));module.exports=p;
135
+ `,y=g.forwardRef(({title:r,items:o,isLoading:i=!1,onSelectCard:s=()=>{},onButtonAction:l=()=>{}},a)=>n.jsxs(m,{ref:a,children:[n.jsx("div",{className:"section__title",children:r}),n.jsx(_.SuspenseBlogsSectionDetailed,{isLoading:i,keyPrefix:"overlay-general-cards-skeleton",children:n.jsx("div",{className:"section__items",children:o==null?void 0:o.map((e,d)=>n.jsx(u,{title:e==null?void 0:e.title,description:e==null?void 0:e.description,imageUrl:e==null?void 0:e.imageUrl,buttonText:e==null?void 0:e.buttonText,backgroundColor:e==null?void 0:e.backgroundColor,handleSelectCard:()=>s(e),handleButtonAction:()=>l(e)},`overlay-general-card__${d+1}`))})})]}));module.exports=y;
@@ -1,10 +1,11 @@
1
- import { jsxs as d, jsx as o } from "react/jsx-runtime";
2
- import { forwardRef as f } from "react";
1
+ import { jsxs as d, jsx as n } from "react/jsx-runtime";
2
+ import { forwardRef as g } from "react";
3
3
  import { P as t } from "./index-CblbdqjE.js";
4
- import _ from "./Button.js";
5
- import { s as g } from "./emotion-styled.browser.esm-BNN1dTl3.js";
6
- import { M as h } from "./consts-BuFChS64.js";
7
- const u = g.div`
4
+ import u from "./Button.js";
5
+ import { s as h } from "./emotion-styled.browser.esm-BNN1dTl3.js";
6
+ import { M as m } from "./consts-BuFChS64.js";
7
+ import { S as x } from "./index-BovNbKxB.js";
8
+ const p = h.div`
8
9
  display: flex;
9
10
  height: 28.75rem;
10
11
  padding: 2.25rem;
@@ -66,7 +67,7 @@ const u = g.div`
66
67
  }
67
68
  }
68
69
 
69
- @media (max-width: ${h + "px"}) {
70
+ @media (max-width: ${m + "px"}) {
70
71
  padding: 2rem;
71
72
  min-height: 17.5rem;
72
73
  width: 100%;
@@ -89,34 +90,34 @@ const u = g.div`
89
90
  }
90
91
  }
91
92
  }
92
- `, m = f(
93
+ `, _ = g(
93
94
  ({
94
95
  title: r,
95
- description: n,
96
+ description: o,
96
97
  buttonText: i,
97
98
  imageUrl: a,
98
99
  backgroundColor: l = "none",
99
- handleSelectCard: e = () => {
100
+ handleSelectCard: s = () => {
100
101
  },
101
- handleButtonAction: s = () => {
102
+ handleButtonAction: e = () => {
102
103
  }
103
- }, p) => /* @__PURE__ */ d(
104
- u,
104
+ }, f) => /* @__PURE__ */ d(
105
+ p,
105
106
  {
106
107
  backgroundImage: a,
107
108
  backgroundColor: l,
108
- onClick: e,
109
+ onClick: s,
109
110
  children: [
110
111
  /* @__PURE__ */ d("div", { className: "section__text", children: [
111
- r && /* @__PURE__ */ o("div", { className: "section__title", children: r }),
112
- n && /* @__PURE__ */ o("div", { className: "section__description", children: n })
112
+ r && /* @__PURE__ */ n("div", { className: "section__title", children: r }),
113
+ o && /* @__PURE__ */ n("div", { className: "section__description", children: o })
113
114
  ] }),
114
- /* @__PURE__ */ o(
115
- _,
115
+ /* @__PURE__ */ n(
116
+ u,
116
117
  {
117
118
  text: i,
118
119
  onClick: (c) => {
119
- c == null || c.stopPropagation(), s();
120
+ c == null || c.stopPropagation(), e();
120
121
  },
121
122
  borderRadius: "regular",
122
123
  color: "gray",
@@ -127,7 +128,7 @@ const u = g.div`
127
128
  }
128
129
  )
129
130
  );
130
- m.propTypes = {
131
+ _.propTypes = {
131
132
  title: t.string,
132
133
  description: t.string,
133
134
  buttonText: t.string,
@@ -136,7 +137,7 @@ m.propTypes = {
136
137
  handleSelectCard: t.func,
137
138
  handleButtonAction: t.func
138
139
  };
139
- const x = g.div`
140
+ const y = h.div`
140
141
  display: flex;
141
142
  flex-direction: column;
142
143
  align-items: flex-start;
@@ -175,7 +176,7 @@ const x = g.div`
175
176
  }
176
177
  }
177
178
 
178
- @media (max-width: ${h + "px"}) {
179
+ @media (max-width: ${m + "px"}) {
179
180
  & .section__title {
180
181
  font-size: 1.375rem;
181
182
  line-height: 1.75rem;
@@ -185,26 +186,39 @@ const x = g.div`
185
186
  flex-direction: column;
186
187
  }
187
188
  }
188
- `, z = f(
189
- ({ title: r, items: n, onSelectCard: i = () => {
190
- }, onButtonAction: a = () => {
191
- } }, l) => /* @__PURE__ */ d(x, { ref: l, children: [
192
- /* @__PURE__ */ o("div", { className: "section__title", children: r }),
193
- /* @__PURE__ */ o("div", { className: "section__items", children: n == null ? void 0 : n.map((e, s) => /* @__PURE__ */ o(
194
- m,
189
+ `, N = g(
190
+ ({
191
+ title: r,
192
+ items: o,
193
+ isLoading: i = !1,
194
+ onSelectCard: a = () => {
195
+ },
196
+ onButtonAction: l = () => {
197
+ }
198
+ }, s) => /* @__PURE__ */ d(y, { ref: s, children: [
199
+ /* @__PURE__ */ n("div", { className: "section__title", children: r }),
200
+ /* @__PURE__ */ n(
201
+ x,
195
202
  {
196
- title: e == null ? void 0 : e.title,
197
- description: e == null ? void 0 : e.description,
198
- imageUrl: e == null ? void 0 : e.imageUrl,
199
- buttonText: e == null ? void 0 : e.buttonText,
200
- backgroundColor: e == null ? void 0 : e.backgroundColor,
201
- handleSelectCard: () => i(e),
202
- handleButtonAction: () => a(e)
203
- },
204
- `overlay-general-card__${s + 1}`
205
- )) })
203
+ isLoading: i,
204
+ keyPrefix: "overlay-general-cards-skeleton",
205
+ children: /* @__PURE__ */ n("div", { className: "section__items", children: o == null ? void 0 : o.map((e, f) => /* @__PURE__ */ n(
206
+ _,
207
+ {
208
+ title: e == null ? void 0 : e.title,
209
+ description: e == null ? void 0 : e.description,
210
+ imageUrl: e == null ? void 0 : e.imageUrl,
211
+ buttonText: e == null ? void 0 : e.buttonText,
212
+ backgroundColor: e == null ? void 0 : e.backgroundColor,
213
+ handleSelectCard: () => a(e),
214
+ handleButtonAction: () => l(e)
215
+ },
216
+ `overlay-general-card__${f + 1}`
217
+ )) })
218
+ }
219
+ )
206
220
  ] })
207
221
  );
208
222
  export {
209
- z as default
223
+ N as default
210
224
  };
@@ -4,7 +4,7 @@ import { P as n } from "./index-CblbdqjE.js";
4
4
  import { d as J } from "./index-Dt62UGku.js";
5
5
  import K from "./Icon.js";
6
6
  import { s as h } from "./emotion-styled.browser.esm-BNN1dTl3.js";
7
- import { d as f, b as r, a as M, e as Q, h as w, c as X } from "./utils-BdsZgOUE.js";
7
+ import { d as f, b as r, a as M, e as Q, h as w, c as X } from "./utils-DHfRApMf.js";
8
8
  import { u as Y } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
9
9
  const Z = h.div`
10
10
  display: flex;
@@ -4,7 +4,7 @@ import { a as f, F as u, b as g } from "./floating-ui.react.esm-CfpRzwmn.js";
4
4
  import { P as n } from "./index-CblbdqjE.js";
5
5
  import h from "./PopoverContext.js";
6
6
  import { s as x } from "./emotion-styled.browser.esm-BNN1dTl3.js";
7
- import { g as y, a as P, b as v } from "./utils-BdsZgOUE.js";
7
+ import { g as y, a as P, b as v } from "./utils-DHfRApMf.js";
8
8
  import { m as w } from "./motion-Ckekul_K.js";
9
9
  import { u as C } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
10
10
  const F = x(w.div)`