@lanaco/lnc-react-ui 4.0.169 → 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-CxiFuUOT.js +0 -653
  171. package/dist/suspense-product-card-detailed-IR4sh-l4.cjs +0 -330
  172. package/dist/suspense-product-card-simple-DJ8UYolb.cjs +0 -1
  173. package/dist/suspense-product-card-simple-ziy0XcLp.js +0 -26
@@ -1,12 +1,12 @@
1
- import { jsx as r, Fragment as U, jsxs as F } from "react/jsx-runtime";
2
- import { memo as T, forwardRef as v, useMemo as B } from "react";
3
- import { s as I } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import { M as L } from "./consts-BuFChS64.js";
5
- import { u as j } from "./useDetectMobile-Bkvj0VMa.js";
6
- import { S as z } from "./index-y6sKgrZC.js";
7
- import { T as E } from "./index-DK8dqEUQ.js";
8
- import { S as _ } from "./suspense-product-card-simple-ziy0XcLp.js";
9
- const A = I.div`
1
+ import { jsxs as m, jsx as t, Fragment as _ } from "react/jsx-runtime";
2
+ import { Suspense as I, memo as W, forwardRef as j, useMemo as z } from "react";
3
+ import { s as C } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
+ import { M as k } from "./consts-BuFChS64.js";
5
+ import { u as E } from "./useDetectMobile-Bkvj0VMa.js";
6
+ import { S as R } from "./index-XYs5Cuh5.js";
7
+ import { T as q } from "./index-DK8dqEUQ.js";
8
+ import { S as A, a as f, b as D, c as i } from "./style-CXMUA6cI.js";
9
+ const G = C.div`
10
10
  display: grid;
11
11
  grid-template-columns: repeat(6, 1fr);
12
12
  gap: 1.25rem;
@@ -17,7 +17,7 @@ const A = I.div`
17
17
  margin: auto;
18
18
  }
19
19
 
20
- @media (max-width: ${L + "px"}) {
20
+ @media (max-width: ${k + "px"}) {
21
21
  grid-template-columns: repeat(2, 1fr);
22
22
 
23
23
  & .text-block-v1 {
@@ -36,29 +36,132 @@ const A = I.div`
36
36
 
37
37
  }
38
38
  }
39
- `, g = T(z), $ = v((f, S) => {
39
+ `, O = C(A)`
40
+ @media (max-width: ${k + "px"}) {
41
+ & .skeleton__cards {
42
+ & > div {
43
+ width: 100%;
44
+ height: 100%;
45
+
46
+ &:nth-of-type(even) {
47
+ display: none;
48
+ }
49
+ }
50
+ }
51
+ }
52
+ `, P = ({ keyPrefix: r }) => /* @__PURE__ */ m(O, { children: [
53
+ /* @__PURE__ */ m(f, { className: "skeleton__cards", children: [
54
+ /* @__PURE__ */ t(
55
+ D,
56
+ {
57
+ width: "100%",
58
+ height: "11.125rem"
59
+ },
60
+ `${r}-1`
61
+ ),
62
+ /* @__PURE__ */ t(
63
+ i,
64
+ {
65
+ height: "11.125rem",
66
+ width: "11.125rem"
67
+ },
68
+ `${r}-2`
69
+ ),
70
+ /* @__PURE__ */ t(
71
+ i,
72
+ {
73
+ height: "11.125rem",
74
+ width: "11.125rem"
75
+ },
76
+ `${r}-3`
77
+ ),
78
+ /* @__PURE__ */ t(
79
+ i,
80
+ {
81
+ height: "11.125rem",
82
+ width: "11.125rem"
83
+ },
84
+ `${r}-4`
85
+ )
86
+ ] }),
87
+ /* @__PURE__ */ m(f, { className: "skeleton__cards", children: [
88
+ /* @__PURE__ */ t(
89
+ i,
90
+ {
91
+ height: "11.125rem",
92
+ width: "11.125rem"
93
+ },
94
+ `${r}-5`
95
+ ),
96
+ /* @__PURE__ */ t(
97
+ i,
98
+ {
99
+ height: "11.125rem",
100
+ width: "11.125rem"
101
+ },
102
+ `${r}-6`
103
+ ),
104
+ /* @__PURE__ */ t(
105
+ i,
106
+ {
107
+ height: "11.125rem",
108
+ width: "11.125rem"
109
+ },
110
+ `${r}-7`
111
+ ),
112
+ /* @__PURE__ */ t(
113
+ i,
114
+ {
115
+ height: "11.125rem",
116
+ width: "11.125rem"
117
+ },
118
+ `${r}-8`
119
+ ),
120
+ /* @__PURE__ */ t(
121
+ i,
122
+ {
123
+ height: "11.125rem",
124
+ width: "11.125rem"
125
+ },
126
+ `${r}-9`
127
+ ),
128
+ /* @__PURE__ */ t(
129
+ i,
130
+ {
131
+ height: "11.125rem",
132
+ width: "11.125rem"
133
+ },
134
+ `${r}-10`
135
+ )
136
+ ] })
137
+ ] }), V = ({
138
+ keyPrefix: r,
139
+ isLoading: o = !1,
140
+ fallbackComponent: s = /* @__PURE__ */ t(_, {}),
141
+ children: l
142
+ }) => /* @__PURE__ */ t(I, { fallbackComponent: s, children: o === !0 ? /* @__PURE__ */ t(P, { keyPrefix: r }) : l }), N = W(R), x = j((r, o) => {
40
143
  const {
41
- title: b,
42
- subtitle: h,
43
- description: w,
44
- buttonText: y,
45
- buttonLink: P,
46
- items: i,
47
- onButtonAction: k = () => {
144
+ title: s,
145
+ subtitle: l,
146
+ description: v,
147
+ buttonText: M,
148
+ buttonLink: U,
149
+ items: a,
150
+ onButtonAction: F = () => {
48
151
  },
49
- onSelectCard: u = () => {
152
+ onSelectCard: c = () => {
50
153
  },
51
- isLoading: C = !1,
52
- limit: t = 6,
53
- getImage: m = () => {
154
+ isLoading: T = !1,
155
+ limit: u = 6,
156
+ getImage: h = () => {
54
157
  },
55
- negotiableText: l,
56
- freeText: s,
57
- componentName: d
58
- } = f, n = j(), M = B(() => {
59
- var c, p;
60
- return /* @__PURE__ */ r(U, { children: n === !0 ? (c = i == null ? void 0 : i.slice(0, 4)) == null ? void 0 : c.map((e, a) => /* @__PURE__ */ r(
61
- g,
158
+ negotiableText: p,
159
+ freeText: g,
160
+ componentName: S
161
+ } = r, w = E(), L = z(() => {
162
+ var b, $;
163
+ return /* @__PURE__ */ t(_, { children: w === !0 ? (b = a == null ? void 0 : a.slice(0, 4)) == null ? void 0 : b.map((e, d) => /* @__PURE__ */ t(
164
+ N,
62
165
  {
63
166
  title: e == null ? void 0 : e.name,
64
167
  price: e == null ? void 0 : e.price,
@@ -67,19 +170,19 @@ const A = I.div`
67
170
  currency: e == null ? void 0 : e.currency,
68
171
  sellerUuid: e == null ? void 0 : e.sellerUuid,
69
172
  uuid: e == null ? void 0 : e.uuid,
70
- onSelectCard: (N, o) => u({
173
+ onSelectCard: (B, n) => c({
71
174
  uuid: e == null ? void 0 : e.uuid,
72
175
  nameSlug: e == null ? void 0 : e.nameSlug,
73
- cardRef: o
176
+ cardRef: n
74
177
  }),
75
- image: m(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
76
- negotiableText: l,
77
- freeText: s,
78
- metadata: { name: d, accessor: e == null ? void 0 : e.accessor }
178
+ image: h(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
179
+ negotiableText: p,
180
+ freeText: g,
181
+ metadata: { name: S, accessor: e == null ? void 0 : e.accessor }
79
182
  },
80
- a
81
- )) : (p = i == null ? void 0 : i.slice(0, 9)) == null ? void 0 : p.map((e, a) => /* @__PURE__ */ r(
82
- g,
183
+ d
184
+ )) : ($ = a == null ? void 0 : a.slice(0, 9)) == null ? void 0 : $.map((e, d) => /* @__PURE__ */ t(
185
+ N,
83
186
  {
84
187
  title: e == null ? void 0 : e.name,
85
188
  price: e == null ? void 0 : e.price,
@@ -88,43 +191,42 @@ const A = I.div`
88
191
  currency: e == null ? void 0 : e.currency,
89
192
  sellerUuid: e == null ? void 0 : e.sellerUuid,
90
193
  uuid: e == null ? void 0 : e.uuid,
91
- onSelectCard: (N, o) => u({
194
+ onSelectCard: (B, n) => c({
92
195
  uuid: e == null ? void 0 : e.uuid,
93
196
  nameSlug: e == null ? void 0 : e.nameSlug,
94
- cardRef: o
197
+ cardRef: n
95
198
  }),
96
- image: m(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
97
- negotiableText: l,
98
- freeText: s,
99
- metadata: { name: d, accessor: e == null ? void 0 : e.accessor }
199
+ image: h(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
200
+ negotiableText: p,
201
+ freeText: g,
202
+ metadata: { name: S, accessor: e == null ? void 0 : e.accessor }
100
203
  },
101
- a
204
+ d
102
205
  )) });
103
- }, [i, n, t]);
104
- return /* @__PURE__ */ F(A, { ref: S, limit: t, children: [
105
- /* @__PURE__ */ r(
106
- E,
107
- {
108
- subtitle: h,
109
- title: b,
110
- description: w,
111
- buttonText: y,
112
- buttonLink: P,
113
- onButtonAction: k,
114
- className: "text-block-v1"
115
- }
116
- ),
117
- /* @__PURE__ */ r(
118
- _,
119
- {
120
- isLoading: C,
121
- limit: t,
122
- keyPrefix: "explore-landing",
123
- children: M
124
- }
125
- )
126
- ] });
206
+ }, [a, w, u]);
207
+ return /* @__PURE__ */ t(
208
+ V,
209
+ {
210
+ isLoading: T,
211
+ keyPrefix: "simple-products-skeleton",
212
+ children: /* @__PURE__ */ m(G, { ref: o, limit: u, children: [
213
+ /* @__PURE__ */ t(
214
+ q,
215
+ {
216
+ subtitle: l,
217
+ title: s,
218
+ description: v,
219
+ buttonText: M,
220
+ buttonLink: U,
221
+ onButtonAction: F,
222
+ className: "text-block-v1"
223
+ }
224
+ ),
225
+ L
226
+ ] })
227
+ }
228
+ );
127
229
  });
128
230
  export {
129
- $ as default
231
+ x as default
130
232
  };
package/dist/Spinner.js CHANGED
@@ -2,7 +2,7 @@ import { jsxs as c, jsx as s } from "react/jsx-runtime";
2
2
  import { P as i } from "./index-CblbdqjE.js";
3
3
  import { s as o } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { k as p } from "./emotion-react.browser.esm-DUVZ5oEL.js";
5
- import { c as g, b as n } from "./utils-BdsZgOUE.js";
5
+ import { c as g, b as n } from "./utils-DHfRApMf.js";
6
6
  import { u as h } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
7
7
  const u = {
8
8
  small: "0.6rem",
@@ -3,7 +3,7 @@ import { forwardRef as s } from "react";
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 { M as l } from "./consts-BuFChS64.js";
6
- import { p as m } from "./utils-BdsZgOUE.js";
6
+ import { o as m } from "./utils-DHfRApMf.js";
7
7
  const g = c.div`
8
8
  display: flex;
9
9
  justify-content: center;
@@ -137,18 +137,18 @@ const h = c.div`
137
137
  }
138
138
  }
139
139
  }
140
- `, p = s(({ title: i, description: r, items: e = [] }, n) => /* @__PURE__ */ a(h, { ref: n, children: [
140
+ `, _ = s(({ title: i, description: r, items: e = [] }, n) => /* @__PURE__ */ a(h, { ref: n, children: [
141
141
  /* @__PURE__ */ a("div", { className: "section__heading", children: [
142
142
  i && /* @__PURE__ */ t("div", { className: "section__title", children: i }),
143
143
  r && /* @__PURE__ */ t("div", { className: "section__description", children: r })
144
144
  ] }),
145
145
  /* @__PURE__ */ t(d, { items: e })
146
146
  ] }));
147
- p.propTypes = {
147
+ _.propTypes = {
148
148
  title: o.string,
149
149
  description: o.string,
150
150
  items: o.array
151
151
  };
152
152
  export {
153
- p as default
153
+ _ as default
154
154
  };
package/dist/Surface.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
2
  import { s as x } from "./emotion-styled.browser.esm-BNN1dTl3.js";
3
3
  import { P as r } from "./index-CblbdqjE.js";
4
- import { j as u, a as f } from "./utils-BdsZgOUE.js";
4
+ import { j as u, a as f } from "./utils-DHfRApMf.js";
5
5
  import { u as p } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
6
6
  const g = x.div`
7
7
  padding: ${(e) => e.padding};
@@ -2,7 +2,7 @@ import { jsx as g, Fragment as V } from "react/jsx-runtime";
2
2
  import { forwardRef as q, useRef as A, useState as B, useImperativeHandle as G, useEffect as J } from "react";
3
3
  import { P as t } from "./index-CblbdqjE.js";
4
4
  import { s as y } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
- import { b as w, c as K } from "./utils-BdsZgOUE.js";
5
+ import { b as w, c as K } from "./utils-DHfRApMf.js";
6
6
  import { u as Q } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
7
7
  const R = (e, o, r, u, s) => {
8
8
  if (e === "right" || e === "left" || o && r) return "height: 100%;";
package/dist/TabItem.js CHANGED
@@ -2,7 +2,7 @@ import { jsx as j } from "react/jsx-runtime";
2
2
  import { forwardRef as D, useState as H } from "react";
3
3
  import { P as t } from "./index-CblbdqjE.js";
4
4
  import { s as I } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
- import { h as A, c as F, b as i, a as o } from "./utils-BdsZgOUE.js";
5
+ import { h as A, c as F, b as i, a as o } from "./utils-DHfRApMf.js";
6
6
  import { u as K } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
7
7
  import { u as h } from "./useUpdateEffect-CuYWz7EA.js";
8
8
  const S = (e) => e == "small" ? "3.125rem" : e == "medium" ? "3.375rem" : "3.625rem", V = I.div`
package/dist/Table.js CHANGED
@@ -2,7 +2,7 @@ import { jsx as b, jsxs as fe, Fragment as P } from "react/jsx-runtime";
2
2
  import { useLayoutEffect as Kr, useEffect as $e, useState as Pt, useMemo as Xr, createElement as k, isValidElement as qr, forwardRef as Jr, useImperativeHandle as Zr } from "react";
3
3
  import { s as v } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { P as o } from "./index-CblbdqjE.js";
5
- import { A as Nt, B as Qr, b as A, c as De, C as Bt, u as en, D as K, r as j, i as $ } from "./utils-BdsZgOUE.js";
5
+ import { A as Nt, B as Qr, b as A, c as De, C as Bt, u as en, D as K, r as j, i as $ } from "./utils-DHfRApMf.js";
6
6
  import { c as G, g as ke } from "./_commonjsHelpers-BkfeUUK-.js";
7
7
  import { u as U } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
8
  import { i as tn } from "./index-6RFrSPs_.js";
package/dist/TableView.js CHANGED
@@ -4,7 +4,7 @@ import { P as e } from "./index-CblbdqjE.js";
4
4
  import { s as re } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
5
  import ae from "./ActionsToolbar.js";
6
6
  import ie from "./Pagination.js";
7
- import { r as g, i as w } from "./utils-BdsZgOUE.js";
7
+ import { r as g, i as w } from "./utils-DHfRApMf.js";
8
8
  import se from "./Table.js";
9
9
  const me = re.div`
10
10
  & .table-view-pagination-lnc {
@@ -4,7 +4,7 @@ import * as y from "react";
4
4
  import W, { forwardRef as Y, useState as F, useEffect as E, useCallback as q } from "react";
5
5
  import { d as D } from "./index-Dt62UGku.js";
6
6
  import { s as X } from "./emotion-styled.browser.esm-BNN1dTl3.js";
7
- import { c as Z, d as J, b as x, a as K, e as Q, h as ee } from "./utils-BdsZgOUE.js";
7
+ import { c as Z, d as J, b as x, a as K, e as Q, h as ee } from "./utils-DHfRApMf.js";
8
8
  import { _ as te, u as re } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
9
9
  import { _ as ne } from "./objectWithoutPropertiesLoose-DhwSMsjf.js";
10
10
  import { i as ae } from "./use-isomorphic-layout-effect.browser.esm-DERp5kr6.js";
package/dist/TextInput.js CHANGED
@@ -3,7 +3,7 @@ import { P as t } from "./index-CblbdqjE.js";
3
3
  import { forwardRef as D, useRef as E, useState as V, useEffect as q, useCallback as A } from "react";
4
4
  import { d as G } from "./index-Dt62UGku.js";
5
5
  import { s as m } from "./emotion-styled.browser.esm-BNN1dTl3.js";
6
- import { d as s, b as a, a as H, e as J, h as T, c as K } from "./utils-BdsZgOUE.js";
6
+ import { d as s, b as a, a as H, e as J, h as T, c as K } from "./utils-DHfRApMf.js";
7
7
  import { u as L } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
8
  const M = m.div`
9
9
  display: flex;
@@ -1,6 +1,6 @@
1
1
  import { jsx as b, jsxs as u } from "react/jsx-runtime";
2
2
  import { createContext as g, useContext as f, useState as h, useEffect as x } from "react";
3
- import { m as $, d, b as a, n as s } from "./utils-BdsZgOUE.js";
3
+ import { m as $, d, b as a, n as s } from "./utils-DHfRApMf.js";
4
4
  import { P as i } from "./index-CblbdqjE.js";
5
5
  import { $ as y } from "./styled-components.browser.esm-D-n22PJk.js";
6
6
  import { b as T } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
package/dist/TimeInput.js CHANGED
@@ -3,7 +3,7 @@ import { forwardRef as O, useState as k, useEffect as v, useCallback as T } from
3
3
  import { s as z } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { P as a } from "./index-CblbdqjE.js";
5
5
  import { d as S } from "./index-Dt62UGku.js";
6
- import { c as w, b as r, a as R, h as j, e as F, d as N } from "./utils-BdsZgOUE.js";
6
+ import { c as w, b as r, a as R, h as j, e as F, d as N } from "./utils-DHfRApMf.js";
7
7
  import { u as P } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
8
  const U = ({ theme: e, size: n }) => {
9
9
  var d = N(e, n);
package/dist/Toggle.js CHANGED
@@ -2,7 +2,7 @@ import { jsxs as P, jsx as m } from "react/jsx-runtime";
2
2
  import { useState as S } from "react";
3
3
  import { P as t } from "./index-CblbdqjE.js";
4
4
  import { s as k } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
- import { e as j, b as i, c as f } from "./utils-BdsZgOUE.js";
5
+ import { e as j, b as i, c as f } from "./utils-DHfRApMf.js";
6
6
  import { u as B } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
7
7
  const o = {
8
8
  containerWidth: {
@@ -1,7 +1,7 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
2
  import { P as r } from "./index-CblbdqjE.js";
3
3
  import { s as l } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import { b as i } from "./utils-BdsZgOUE.js";
4
+ import { b as i } from "./utils-DHfRApMf.js";
5
5
  import { forwardRef as n } from "react";
6
6
  import { u as c } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
7
7
  const f = l.div`
@@ -4,7 +4,7 @@ import { P as i } from "./index-CblbdqjE.js";
4
4
  import { s as t } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
5
  import y from "./Icon.js";
6
6
  import O from "./ProgressBar.js";
7
- import { b as S, c as C } from "./utils-BdsZgOUE.js";
7
+ import { b as S, c as C } from "./utils-DHfRApMf.js";
8
8
  import { u as R } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
9
9
  const z = {
10
10
  small: "1.5rem",
@@ -1,4 +1,4 @@
1
- "use strict";const o=require("react/jsx-runtime"),n=require("react"),_=require("./emotion-styled.browser.esm-BtEseadx.cjs"),C=require("./consts-goSZX3xP.cjs"),$=require("./useDetectMobile-zkbzoOGV.cjs"),T=require("./Button.cjs"),S=require("./suspense-product-card-detailed-IR4sh-l4.cjs"),D=_.styled.div`
1
+ "use strict";const o=require("react/jsx-runtime"),s=require("react"),_=require("./emotion-styled.browser.esm-BtEseadx.cjs"),C=require("./consts-goSZX3xP.cjs"),$=require("./useDetectMobile-zkbzoOGV.cjs"),T=require("./Button.cjs"),N=require("./index-DFyV_EK2.cjs"),F=_.styled.div`
2
2
  padding: 1.75rem 3rem;
3
3
  display: grid;
4
4
  grid-template-columns: ${a=>`repeat(${a.limit||5}, minmax(0, 1fr))`};
@@ -71,4 +71,4 @@
71
71
  display: flex;
72
72
  flex-direction: column;
73
73
  }
74
- `,w=n.memo(S.DetailedProductCard),F=n.forwardRef((a,P)=>{const{items:r,limit:i=5,limitMobile:l=4,onSelectCard:u=()=>{},title:N="Urgent sale",showLessText:j="Show less",showMoreText:q="Show more",isLoading:L=!1,getImage:g=()=>{},negotiableText:p,freeText:b,onBookmark:f=()=>{},bookmarkComponent:k,componentName:h,sponsoredText:y}=a,d=$.useDetectMobile(),[s,M]=n.useState(!1),U=n.useMemo(()=>{var t;return o.jsx(o.Fragment,{children:d===!0?(t=r==null?void 0:r.slice(0,s===!0?r==null?void 0:r.length:l))==null?void 0:t.map((e,m)=>o.jsx(w,{sellerName:e==null?void 0:e.sellerName,name:e==null?void 0:e.name,price:e==null?void 0:e.price,sellingPrice:e==null?void 0:e.sellingPrice,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,currency:e==null?void 0:e.currency,categoryCode:e==null?void 0:e.categoryCode,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,sponsored:e==null?void 0:e.sponsored,onSelectCard:(v,c)=>u({uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug,cardRef:c}),image:e==null?void 0:e.image,imageUrl:g(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,imageComponent:e==null?void 0:e.imageComponent,negotiableText:p,freeText:b,onBookmark:f,bookmarkComponent:k,bookmarked:e==null?void 0:e.bookmarked,bookmarkLists:e==null?void 0:e.bookmarkLists,metadata:{name:h,accessor:e==null?void 0:e.accessor},tags:e==null?void 0:e.tags,condition:e==null?void 0:e.condition,quantity:e==null?void 0:e.quantity,trade:e==null?void 0:e.trade,sponsoredText:y},m)):r==null?void 0:r.slice(0,i).map((e,m)=>o.jsx(w,{name:e==null?void 0:e.name,price:e==null?void 0:e.price,sellingPrice:e==null?void 0:e.sellingPrice,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,currency:e==null?void 0:e.currency,categoryCode:e==null?void 0:e.categoryCode,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,location:e==null?void 0:e.location,sponsored:e==null?void 0:e.sponsored,onSelectCard:(v,c)=>u({uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug,cardRef:c}),image:e==null?void 0:e.image,imageUrl:g(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,imageComponent:e==null?void 0:e.imageComponent,negotiableText:p,freeText:b,onBookmark:f,bookmarkComponent:k,bookmarked:e==null?void 0:e.bookmarked,bookmarkLists:e==null?void 0:e.bookmarkLists,metadata:{name:h,accessor:e==null?void 0:e.accessor},tags:e==null?void 0:e.tags,condition:e==null?void 0:e.condition,quantity:e==null?void 0:e.quantity,trade:e==null?void 0:e.trade,sponsoredText:y,sellerName:e==null?void 0:e.sellerName},m))})},[r,d,i,l,s]);return o.jsxs(D,{ref:P,limit:i,children:[o.jsxs("div",{className:"urgent-tag",children:[o.jsx("i",{className:"mng mng-lnc-bolt-filled"}),o.jsx("span",{children:N})]}),o.jsx(S.SuspenseDetailedProductCard,{isLoading:L,limit:i,keyPrefix:"explore-landing",children:U}),d===!0&&l<(r==null?void 0:r.length)&&o.jsx(T,{className:"show-more",btnType:"basic",type:"button",color:"neutral",onClick:t=>{var e;(e=t==null?void 0:t.target)==null||e.blur(),M(!s)},children:s===!0?j:q})]})});module.exports=F;
74
+ `,S=s.memo(N.DetailedProductCard),I=s.forwardRef((a,P)=>{const{items:r,limit:n=5,limitMobile:l=4,onSelectCard:u=()=>{},title:j="Urgent sale",showLessText:q="Show less",showMoreText:L="Show more",isLoading:g=!1,getImage:p=()=>{},negotiableText:b,freeText:k,onBookmark:f=()=>{},bookmarkComponent:h,componentName:y,sponsoredText:w}=a,d=$.useDetectMobile(),[i,M]=s.useState(!1),U=s.useMemo(()=>{var t;return o.jsx(o.Fragment,{children:d===!0?(t=r==null?void 0:r.slice(0,i===!0?r==null?void 0:r.length:l))==null?void 0:t.map((e,m)=>o.jsx(S,{sellerName:e==null?void 0:e.sellerName,name:e==null?void 0:e.name,price:e==null?void 0:e.price,sellingPrice:e==null?void 0:e.sellingPrice,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,currency:e==null?void 0:e.currency,categoryCode:e==null?void 0:e.categoryCode,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,sponsored:e==null?void 0:e.sponsored,onSelectCard:(v,c)=>u({uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug,cardRef:c}),image:e==null?void 0:e.image,imageUrl:p(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,imageComponent:e==null?void 0:e.imageComponent,negotiableText:b,freeText:k,onBookmark:f,bookmarkComponent:h,bookmarked:e==null?void 0:e.bookmarked,bookmarkLists:e==null?void 0:e.bookmarkLists,metadata:{name:y,accessor:e==null?void 0:e.accessor},tags:e==null?void 0:e.tags,condition:e==null?void 0:e.condition,quantity:e==null?void 0:e.quantity,trade:e==null?void 0:e.trade,sponsoredText:w},m)):r==null?void 0:r.slice(0,n).map((e,m)=>o.jsx(S,{name:e==null?void 0:e.name,price:e==null?void 0:e.price,sellingPrice:e==null?void 0:e.sellingPrice,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,currency:e==null?void 0:e.currency,categoryCode:e==null?void 0:e.categoryCode,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,location:e==null?void 0:e.location,sponsored:e==null?void 0:e.sponsored,onSelectCard:(v,c)=>u({uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug,cardRef:c}),image:e==null?void 0:e.image,imageUrl:p(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,imageComponent:e==null?void 0:e.imageComponent,negotiableText:b,freeText:k,onBookmark:f,bookmarkComponent:h,bookmarked:e==null?void 0:e.bookmarked,bookmarkLists:e==null?void 0:e.bookmarkLists,metadata:{name:y,accessor:e==null?void 0:e.accessor},tags:e==null?void 0:e.tags,condition:e==null?void 0:e.condition,quantity:e==null?void 0:e.quantity,trade:e==null?void 0:e.trade,sponsoredText:w,sellerName:e==null?void 0:e.sellerName},m))})},[r,d,n,l,i]);return o.jsx(N.SuspenseDetailedProductCard,{isLoading:g,keyPrefix:"urgent-sale-products-skeleton",children:o.jsxs(F,{ref:P,limit:n,children:[o.jsxs("div",{className:"urgent-tag",children:[o.jsx("i",{className:"mng mng-lnc-bolt-filled"}),o.jsx("span",{children:j})]})," ",U," ",d===!0&&l<(r==null?void 0:r.length)&&!g&&o.jsx(T,{className:"show-more",btnType:"basic",type:"button",color:"neutral",onClick:t=>{var e;(e=t==null?void 0:t.target)==null||e.blur(),M(!i)},children:i===!0?q:L})]})})});module.exports=I;