@lanaco/lnc-react-ui 4.0.194 → 4.0.196

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 (133) 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/BannerNextSection.cjs +104 -0
  8. package/dist/BannerNextSection.js +148 -0
  9. package/dist/BannerSectionCarousel.js +1 -1
  10. package/dist/BannerSectionSimple.js +1 -1
  11. package/dist/BannerSectionWithList.js +1 -1
  12. package/dist/BlogCardsSponsoredSection.js +4 -4
  13. package/dist/BlogCategoryCardsSection.js +1 -1
  14. package/dist/BlogExploreSection.js +2 -2
  15. package/dist/BlogListSection.js +4 -4
  16. package/dist/BlogProductCardsSection.js +1 -1
  17. package/dist/BlogShopCardsSection.js +1 -1
  18. package/dist/BlogSingleSection.js +2 -2
  19. package/dist/BlogsSectionDetailed.js +4 -4
  20. package/dist/BlogsSectionLarge.js +7 -7
  21. package/dist/BlogsSectionSimple.js +4 -4
  22. package/dist/BlogsSectionSimpleCentered.js +6 -6
  23. package/dist/BlogsSectionWithFilters.js +5 -5
  24. package/dist/BrandHitsSection.js +2 -2
  25. package/dist/Breadcrumbs.js +1 -1
  26. package/dist/Button.js +1 -1
  27. package/dist/ButtonGroup.js +1 -1
  28. package/dist/CalorieCalculatorSection.js +1 -1
  29. package/dist/{CategorySimpleCard-CEzArySG.js → CategorySimpleCard-Em84kZzQ.js} +4 -4
  30. package/dist/CheckBoxInput.js +1 -1
  31. package/dist/Chip.js +1 -1
  32. package/dist/ColorInput.js +1 -1
  33. package/dist/ConfirmationForm.js +1 -1
  34. package/dist/CustomLoanMapSection.js +1 -1
  35. package/dist/{CustomStyles-6WboE3g5.js → CustomStyles-DtWxboEM.js} +1 -1
  36. package/dist/DateInput.js +1 -1
  37. package/dist/DecimalInput.js +1 -1
  38. package/dist/DecimalInputV2.js +1 -1
  39. package/dist/DetailedProductsInfinitiveSection.cjs +4 -4
  40. package/dist/DetailedProductsInfinitiveSection.js +74 -103
  41. package/dist/DetailedProductsSection.cjs +13 -4
  42. package/dist/DetailedProductsSection.js +104 -80
  43. package/dist/DetailsView.js +1 -1
  44. package/dist/DoubleRangeSlider.js +1 -1
  45. package/dist/DragAndDropFile.js +1 -1
  46. package/dist/DragDropFiles.js +1 -1
  47. package/dist/Drawer.js +1 -1
  48. package/dist/Dropdown.js +2 -2
  49. package/dist/DropdownItem.js +1 -1
  50. package/dist/DropdownLookup.js +1 -1
  51. package/dist/DropdownMenu.js +1 -1
  52. package/dist/EditableTable.js +1 -1
  53. package/dist/FeedbackSection.js +1 -1
  54. package/dist/FieldOfInterestsMasonrySection.js +2 -2
  55. package/dist/FieldOfInterestsWithAvatarsCardsSection.js +15 -15
  56. package/dist/FieldOfInterestsWithTagsCardsSection.js +2 -2
  57. package/dist/FileInput.js +1 -1
  58. package/dist/FlexGridItem.js +1 -1
  59. package/dist/FormField.js +1 -1
  60. package/dist/FormView.js +1 -1
  61. package/dist/GeneralWithTagsCardsSection.js +2 -2
  62. package/dist/GiftCardsSection.js +3 -3
  63. package/dist/Icon.js +1 -1
  64. package/dist/IconButton.js +1 -1
  65. package/dist/Kanban.js +1 -1
  66. package/dist/KanbanActionsToolbar.js +1 -1
  67. package/dist/KanbanView.js +1 -1
  68. package/dist/Link.js +1 -1
  69. package/dist/LoanCalculatorSection.js +1 -1
  70. package/dist/LocationFinderSection.js +1 -1
  71. package/dist/LocationSearchSection.js +1 -1
  72. package/dist/MasonryGeneralCardsSection.js +2 -2
  73. package/dist/MenuItem.js +1 -1
  74. package/dist/Modal.js +1 -1
  75. package/dist/MultiSelectDropdown.js +1 -1
  76. package/dist/MultiSelectDropdownLookup.js +1 -1
  77. package/dist/NestedDropdownItem.js +1 -1
  78. package/dist/NestedMenuItem.js +1 -1
  79. package/dist/NotificationContainer.js +1 -1
  80. package/dist/NotificationMessage.js +1 -1
  81. package/dist/NumberInput.js +1 -1
  82. package/dist/OverlayGeneralCardsSection.js +1 -1
  83. package/dist/PasswordInput.js +1 -1
  84. package/dist/PopoverContent.js +1 -1
  85. package/dist/ProductsWithBannerSection.js +4 -4
  86. package/dist/ProgressBar.js +1 -1
  87. package/dist/QuattroCardsSection.js +2 -2
  88. package/dist/QuizSection.js +1 -1
  89. package/dist/RadioInput.js +1 -1
  90. package/dist/RangeSlider.js +1 -1
  91. package/dist/ReviewsSection.js +3 -3
  92. package/dist/SalesCampaignsSection.js +2 -2
  93. package/dist/Separator.js +1 -1
  94. package/dist/ShopCardsSection.js +3 -3
  95. package/dist/Sidebar.js +1 -1
  96. package/dist/SimpleCategoriesSection.js +13 -13
  97. package/dist/SimpleProductsSection.js +2 -2
  98. package/dist/Spinner.js +1 -1
  99. package/dist/StatsSection.js +1 -1
  100. package/dist/Surface.js +1 -1
  101. package/dist/SwipeableDrawer.js +1 -1
  102. package/dist/TabItem.js +1 -1
  103. package/dist/Table.js +1 -1
  104. package/dist/TableView.js +1 -1
  105. package/dist/TextAreaInput.js +1 -1
  106. package/dist/TextInput.js +1 -1
  107. package/dist/ThemeProvider.js +1 -1
  108. package/dist/TimeInput.js +1 -1
  109. package/dist/Toggle.js +1 -1
  110. package/dist/TreeMenuSeparator.js +1 -1
  111. package/dist/UploadedFile.js +1 -1
  112. package/dist/UrgentSaleProductsSection.cjs +2 -2
  113. package/dist/UrgentSaleProductsSection.js +17 -15
  114. package/dist/index-4wvppFLx.js +38 -0
  115. package/dist/{index-C_NnINik.js → index-B22BZVBG.js} +1 -1
  116. package/dist/{index-DqBXIFsQ.js → index-BASX-BjS.js} +214 -211
  117. package/dist/{index-BSpdEGFd.js → index-BC2PHcI1.js} +1 -1
  118. package/dist/{index-BovNbKxB.js → index-CBMsUFkS.js} +1 -1
  119. package/dist/{index-Lmz3An4A.cjs → index-CS4w87SW.cjs} +14 -14
  120. package/dist/{index-BGiZlEQt.js → index-CWALXP1T.js} +1 -1
  121. package/dist/{index-DMHtIdm-.js → index-Cm414y95.js} +2 -2
  122. package/dist/{index-9inVkeN6.js → index-D-86mDtn.js} +2 -2
  123. package/dist/{index-DxwIu0Wn.js → index-TIqKd2Dv.js} +1 -1
  124. package/dist/{index-8quQ_PZS.js → index-bihqNqQk.js} +1 -1
  125. package/dist/index-oYE1Pl7q.cjs +1 -0
  126. package/dist/{index-BB63Jo6p.js → index-u_XFwsvc.js} +2 -2
  127. package/dist/index.cjs +1 -1
  128. package/dist/index.js +7 -5
  129. package/dist/{style-CXMUA6cI.js → style-BwQ4djFC.js} +3 -3
  130. package/dist/{style-C7FUSHmS.js → style-Cmlod7oq.js} +1 -1
  131. package/dist/{utils-Dc5zIpaz.js → utils-DtEfC-TX.js} +3 -3
  132. package/package.json +3 -2
  133. package/vite.config.js +64 -60
@@ -1,10 +1,10 @@
1
- import { jsx as o, Fragment as T, jsxs as y } from "react/jsx-runtime";
2
- import { memo as F, forwardRef as I, useState as _, useMemo as q } from "react";
1
+ import { jsx as o, Fragment as $, jsxs as y } from "react/jsx-runtime";
2
+ import { memo as T, forwardRef as I, useState as _, useMemo as q } from "react";
3
3
  import { s as B } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { M as D, S as E } from "./consts-BuFChS64.js";
5
5
  import { u as Q } from "./useDetectMobile-Bkvj0VMa.js";
6
6
  import j from "./Button.js";
7
- import { D as z, S as A } from "./index-DqBXIFsQ.js";
7
+ import { D as z, S as A } from "./index-BASX-BjS.js";
8
8
  const G = B.div`
9
9
  padding: 1.75rem 3rem;
10
10
  display: grid;
@@ -78,7 +78,7 @@ const G = B.div`
78
78
  display: flex;
79
79
  flex-direction: column;
80
80
  }
81
- `, w = F(z), K = I((r, N) => {
81
+ `, w = T(z), K = I((r, N) => {
82
82
  const {
83
83
  items: a,
84
84
  limit: s = 5,
@@ -97,11 +97,11 @@ const G = B.div`
97
97
  },
98
98
  actionComponent: k,
99
99
  componentName: b,
100
- sponsoredText: C,
101
- LinkComponent: S
102
- } = r, l = Q(), [i, U] = _(!1), v = q(() => {
100
+ sponsoredText: S,
101
+ LinkComponent: C
102
+ } = r, l = Q(), [i, U] = _(!1), F = q(() => {
103
103
  var t;
104
- return /* @__PURE__ */ o(T, { children: l === !0 ? (t = a == null ? void 0 : a.slice(0, i === !0 ? a == null ? void 0 : a.length : n)) == null ? void 0 : t.map((e, m) => /* @__PURE__ */ o(
104
+ return /* @__PURE__ */ o($, { children: l === !0 ? (t = a == null ? void 0 : a.slice(0, i === !0 ? a == null ? void 0 : a.length : n)) == null ? void 0 : t.map((e, m) => /* @__PURE__ */ o(
105
105
  w,
106
106
  {
107
107
  sellerName: e == null ? void 0 : e.sellerName,
@@ -115,7 +115,7 @@ const G = B.div`
115
115
  sellerUuid: e == null ? void 0 : e.sellerUuid,
116
116
  uuid: e == null ? void 0 : e.uuid,
117
117
  sponsored: e == null ? void 0 : e.sponsored,
118
- onSelectCard: ($, d) => c({
118
+ onSelectCard: (v, d) => c({
119
119
  uuid: e == null ? void 0 : e.uuid,
120
120
  nameSlug: e == null ? void 0 : e.nameSlug,
121
121
  cardRef: d
@@ -138,8 +138,9 @@ const G = B.div`
138
138
  status: e == null ? void 0 : e.status,
139
139
  trade: e == null ? void 0 : e.trade,
140
140
  forCart: e == null ? void 0 : e.forCart,
141
- sponsoredText: C,
142
- LinkComponent: S
141
+ sponsoredText: S,
142
+ LinkComponent: C,
143
+ hasFreeShipping: e == null ? void 0 : e.hasFreeShipping
143
144
  },
144
145
  m
145
146
  )) : a == null ? void 0 : a.slice(0, s).map((e, m) => /* @__PURE__ */ o(
@@ -156,7 +157,7 @@ const G = B.div`
156
157
  uuid: e == null ? void 0 : e.uuid,
157
158
  location: e == null ? void 0 : e.location,
158
159
  sponsored: e == null ? void 0 : e.sponsored,
159
- onSelectCard: ($, d) => c({
160
+ onSelectCard: (v, d) => c({
160
161
  uuid: e == null ? void 0 : e.uuid,
161
162
  nameSlug: e == null ? void 0 : e.nameSlug,
162
163
  cardRef: d
@@ -179,9 +180,10 @@ const G = B.div`
179
180
  status: e == null ? void 0 : e.status,
180
181
  trade: e == null ? void 0 : e.trade,
181
182
  forCart: e == null ? void 0 : e.forCart,
182
- sponsoredText: C,
183
+ sponsoredText: S,
183
184
  sellerName: e == null ? void 0 : e.sellerName,
184
- LinkComponent: S
185
+ LinkComponent: C,
186
+ hasFreeShipping: e == null ? void 0 : e.hasFreeShipping
185
187
  },
186
188
  m
187
189
  )) });
@@ -197,7 +199,7 @@ const G = B.div`
197
199
  /* @__PURE__ */ o("span", { children: P })
198
200
  ] }),
199
201
  " ",
200
- v,
202
+ F,
201
203
  " ",
202
204
  l === !0 && n < (a == null ? void 0 : a.length) && !u && /* @__PURE__ */ o(
203
205
  j,
@@ -0,0 +1,38 @@
1
+ import { jsxs as a, jsx as e, Fragment as m } from "react/jsx-runtime";
2
+ import { Suspense as d } from "react";
3
+ import { S as i, a as t } from "./style-BwQ4djFC.js";
4
+ import { s as l } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
+ const p = l(i)``, S = ({ keyPrefix: r }) => /* @__PURE__ */ a(p, { children: [
6
+ /* @__PURE__ */ e(
7
+ t,
8
+ {
9
+ width: "5rem",
10
+ borderRadius: "0.75rem"
11
+ },
12
+ `${r}-1`
13
+ ),
14
+ /* @__PURE__ */ e(
15
+ t,
16
+ {
17
+ width: "5rem",
18
+ borderRadius: "0.75rem"
19
+ },
20
+ `${r}-2`
21
+ ),
22
+ /* @__PURE__ */ e(
23
+ t,
24
+ {
25
+ width: "5rem",
26
+ borderRadius: "0.75rem"
27
+ },
28
+ `${r}-3`
29
+ )
30
+ ] }), R = ({
31
+ keyPrefix: r,
32
+ isLoading: o = !1,
33
+ fallbackComponent: s = /* @__PURE__ */ e(m, {}),
34
+ children: n
35
+ }) => /* @__PURE__ */ e(d, { fallbackComponent: s, children: o === !0 ? /* @__PURE__ */ e(S, { keyPrefix: r }) : n });
36
+ export {
37
+ R as S
38
+ };
@@ -1,6 +1,6 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
2
  import { forwardRef as a, useRef as s, useEffect as d, Fragment as f } from "react";
3
- import { k as g } from "./utils-Dc5zIpaz.js";
3
+ import { k as g } from "./utils-DtEfC-TX.js";
4
4
  const n = "data:image/svg+xml,%3csvg%20width='240'%20height='240'%20viewBox='0%200%20240%20240'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='240'%20height='240'%20rx='12'%20fill='%2314161A'%20fill-opacity='0.04'/%3e%3crect%20x='88'%20y='88'%20width='64'%20height='64'%20rx='32'%20fill='%2314161A'%20fill-opacity='0.08'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M110%20108H130C130.53%20108%20131.039%20108.211%20131.414%20108.586C131.789%20108.961%20132%20109.47%20132%20110V130C132%20130.53%20131.789%20131.039%20131.414%20131.414C131.039%20131.789%20130.53%20132%20130%20132H110C109.47%20132%20108.961%20131.789%20108.586%20131.414C108.211%20131.039%20108%20130.53%20108%20130V110C108%20109.47%20108.211%20108.961%20108.586%20108.586C108.961%20108.211%20109.47%20108%20110%20108ZM110%20124V130H130V128L125%20123L123.41%20124.59C123.035%20124.963%20122.528%20125.172%20122%20125.172C121.472%20125.172%20120.965%20124.963%20120.59%20124.59L115%20119L110%20124ZM126.41%20121.58L130%20125.17V110H110V121.17L113.59%20117.58C113.965%20117.207%20114.472%20116.998%20115%20116.998C115.528%20116.998%20116.035%20117.207%20116.41%20117.58L122%20123.17L123.59%20121.58C123.965%20121.207%20124.472%20120.998%20125%20120.998C125.528%20120.998%20126.035%20121.207%20126.41%20121.58ZM124.667%20117.494C124.173%20117.824%20123.593%20118%20123%20118C122.204%20118%20121.441%20117.684%20120.879%20117.121C120.316%20116.559%20120%20115.796%20120%20115C120%20114.407%20120.176%20113.827%20120.506%20113.333C120.835%20112.84%20121.304%20112.455%20121.852%20112.228C122.4%20112.001%20123.003%20111.942%20123.585%20112.058C124.167%20112.173%20124.702%20112.459%20125.121%20112.879C125.541%20113.298%20125.827%20113.833%20125.942%20114.415C126.058%20114.997%20125.999%20115.6%20125.772%20116.148C125.545%20116.696%20125.16%20117.165%20124.667%20117.494ZM123.556%20114.169C123.391%20114.059%20123.198%20114%20123%20114C122.735%20114%20122.48%20114.105%20122.293%20114.293C122.105%20114.48%20122%20114.735%20122%20115C122%20115.198%20122.059%20115.391%20122.169%20115.556C122.278%20115.72%20122.435%20115.848%20122.617%20115.924C122.8%20116%20123.001%20116.019%20123.195%20115.981C123.389%20115.942%20123.567%20115.847%20123.707%20115.707C123.847%20115.567%20123.942%20115.389%20123.981%20115.195C124.019%20115.001%20124%20114.8%20123.924%20114.617C123.848%20114.435%20123.72%20114.278%20123.556%20114.169Z'%20fill='%23868C98'/%3e%3c/svg%3e", u = a(({ src: C, ...o }, c) => {
5
5
  const r = s();
6
6
  return d(() => {