@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.
- package/dist/Accordion.js +1 -1
- package/dist/AccordionSummary.js +1 -1
- package/dist/ActionsToolbar.js +1 -1
- package/dist/Alert.js +1 -1
- package/dist/Avatar.js +1 -1
- package/dist/Badge.js +1 -1
- package/dist/BannerSectionCarousel.cjs +9 -48
- package/dist/BannerSectionCarousel.js +208 -249
- package/dist/BannerSectionSimple.js +1 -1
- package/dist/BannerSectionWithList.js +1 -1
- package/dist/BlogCardsSponsoredSection.cjs +8 -8
- package/dist/BlogCardsSponsoredSection.js +67 -68
- package/dist/BlogCategoryCardsSection.cjs +1 -1
- package/dist/BlogCategoryCardsSection.js +22 -30
- package/dist/BlogExploreSection.js +9 -9
- package/dist/BlogListSection.cjs +11 -5
- package/dist/BlogListSection.js +187 -123
- package/dist/BlogProductCardsSection.cjs +1 -1
- package/dist/BlogProductCardsSection.js +28 -37
- package/dist/BlogShopCardsSection.cjs +1 -1
- package/dist/BlogShopCardsSection.js +40 -67
- package/dist/BlogSingleSection.cjs +16 -1
- package/dist/BlogSingleSection.js +47 -45
- package/dist/BlogsSectionDetailed.cjs +8 -27
- package/dist/BlogsSectionDetailed.js +111 -159
- package/dist/BlogsSectionLarge.cjs +19 -4
- package/dist/BlogsSectionLarge.js +73 -37
- package/dist/BlogsSectionSimple.cjs +9 -9
- package/dist/BlogsSectionSimple.js +81 -107
- package/dist/BlogsSectionSimpleCentered.cjs +25 -23
- package/dist/BlogsSectionSimpleCentered.js +103 -96
- package/dist/BlogsSectionWithFilters.cjs +31 -29
- package/dist/BlogsSectionWithFilters.js +173 -134
- package/dist/BrandHitsSection.cjs +10 -14
- package/dist/BrandHitsSection.js +93 -45
- package/dist/Breadcrumbs.js +1 -1
- package/dist/Button.js +1 -1
- package/dist/ButtonGroup.js +1 -1
- package/dist/CalorieCalculatorSection.js +1 -1
- package/dist/CategorySimpleCard-Qe5QStrs.cjs +47 -0
- package/dist/CategorySimpleCard-laAY-RUT.js +70 -0
- package/dist/CheckBoxInput.js +1 -1
- package/dist/Chip.js +1 -1
- package/dist/ColorInput.js +1 -1
- package/dist/ConfirmationForm.js +1 -1
- package/dist/CustomLoanMapSection.js +1 -1
- package/dist/{CustomStyles-SyQRnjuy.js → CustomStyles-ArAVZsIj.js} +1 -1
- package/dist/DateInput.js +1 -1
- package/dist/DecimalInput.js +1 -1
- package/dist/DecimalInputV2.js +1 -1
- package/dist/DetailedProductsInfinitiveSection.cjs +3 -3
- package/dist/DetailedProductsInfinitiveSection.js +35 -36
- package/dist/DetailedProductsSection.cjs +4 -4
- package/dist/DetailedProductsSection.js +62 -63
- package/dist/DetailsView.js +1 -1
- package/dist/DoubleRangeSlider.js +1 -1
- package/dist/DragAndDropFile.js +1 -1
- package/dist/DragDropFiles.js +1 -1
- package/dist/Drawer.js +1 -1
- package/dist/Dropdown.js +2 -2
- package/dist/DropdownItem.js +1 -1
- package/dist/DropdownLookup.js +1 -1
- package/dist/DropdownMenu.js +1 -1
- package/dist/EditableTable.js +1 -1
- package/dist/FeedbackSection.js +1 -1
- package/dist/FieldOfInterestsMasonrySection.cjs +20 -25
- package/dist/FieldOfInterestsMasonrySection.js +228 -154
- package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +33 -24
- package/dist/FieldOfInterestsWithAvatarsCardsSection.js +178 -113
- package/dist/FieldOfInterestsWithTagsCardsSection.cjs +6 -16
- package/dist/FieldOfInterestsWithTagsCardsSection.js +89 -93
- package/dist/FileInput.js +1 -1
- package/dist/FlexGridItem.js +1 -1
- package/dist/FormField.js +1 -1
- package/dist/FormView.js +1 -1
- package/dist/GeneralWithTagsCardsSection.cjs +11 -27
- package/dist/GeneralWithTagsCardsSection.js +87 -99
- package/dist/GiftCardsSection.cjs +18 -23
- package/dist/GiftCardsSection.js +146 -77
- package/dist/Icon.js +1 -1
- package/dist/IconButton.js +1 -1
- package/dist/Kanban.js +1 -1
- package/dist/KanbanActionsToolbar.js +1 -1
- package/dist/KanbanView.js +1 -1
- package/dist/Link.js +1 -1
- package/dist/LoanCalculatorSection.js +1 -1
- package/dist/LocationFinderSection.js +1 -1
- package/dist/LocationSearchSection.js +1 -1
- package/dist/MasonryGeneralCardsSection.cjs +33 -19
- package/dist/MasonryGeneralCardsSection.js +114 -68
- package/dist/MenuItem.js +1 -1
- package/dist/Modal.js +1 -1
- package/dist/MultiSelectDropdown.js +1 -1
- package/dist/MultiSelectDropdownLookup.js +1 -1
- package/dist/NestedDropdownItem.js +1 -1
- package/dist/NestedMenuItem.js +1 -1
- package/dist/NotificationContainer.js +1 -1
- package/dist/NotificationMessage.js +1 -1
- package/dist/NumberInput.js +1 -1
- package/dist/OverlayGeneralCardsSection.cjs +5 -5
- package/dist/OverlayGeneralCardsSection.js +54 -40
- package/dist/PasswordInput.js +1 -1
- package/dist/PopoverContent.js +1 -1
- package/dist/ProductsWithBannerSection.cjs +15 -20
- package/dist/ProductsWithBannerSection.js +176 -104
- package/dist/ProgressBar.js +1 -1
- package/dist/QuattroCardsSection.cjs +6 -6
- package/dist/QuattroCardsSection.js +42 -34
- package/dist/QuizSection.js +1 -1
- package/dist/RadioInput.js +1 -1
- package/dist/RangeSlider.js +1 -1
- package/dist/ReviewsSection.cjs +24 -30
- package/dist/ReviewsSection.js +170 -137
- package/dist/SalesCampaignsSection.cjs +46 -130
- package/dist/SalesCampaignsSection.js +354 -433
- package/dist/Separator.js +1 -1
- package/dist/ShopCardsSection.cjs +18 -5
- package/dist/ShopCardsSection.js +145 -88
- package/dist/Sidebar.js +1 -1
- package/dist/SimpleCategoriesSection.cjs +10 -4
- package/dist/SimpleCategoriesSection.js +79 -51
- package/dist/SimpleProductsSection.cjs +16 -3
- package/dist/SimpleProductsSection.js +172 -70
- package/dist/Spinner.js +1 -1
- package/dist/StatsSection.js +4 -4
- package/dist/Surface.js +1 -1
- package/dist/SwipeableDrawer.js +1 -1
- package/dist/TabItem.js +1 -1
- package/dist/Table.js +1 -1
- package/dist/TableView.js +1 -1
- package/dist/TextAreaInput.js +1 -1
- package/dist/TextInput.js +1 -1
- package/dist/ThemeProvider.js +1 -1
- package/dist/TimeInput.js +1 -1
- package/dist/Toggle.js +1 -1
- package/dist/TreeMenuSeparator.js +1 -1
- package/dist/UploadedFile.js +1 -1
- package/dist/UrgentSaleProductsSection.cjs +2 -2
- package/dist/UrgentSaleProductsSection.js +62 -61
- package/dist/index-BAJkosVg.cjs +11 -0
- package/dist/{index-dXWRbvgi.js → index-BMOLVn8O.js} +1 -1
- package/dist/{skeleton-5mO22c5S.js → index-BPntOicE.js} +55 -107
- package/dist/index-BSpdEGFd.js +42 -0
- package/dist/{index-CF3HhgvN.js → index-BbltNcou.js} +1 -1
- package/dist/index-BhBRZf4M.js +742 -0
- package/dist/index-BovNbKxB.js +54 -0
- package/dist/{skeleton-Ccd6EDeB.cjs → index-C5r__0lD.cjs} +4 -47
- package/dist/{index-DicTpiG0.cjs → index-CfT9e5O9.cjs} +2 -10
- package/dist/index-D-3I_Ppj.cjs +16 -0
- package/dist/index-D0IYt1s3.cjs +20 -0
- package/dist/{skeleton-CQPwIEP0.js → index-D69SKc-n.cjs} +7 -37
- package/dist/{index-C0SKNFzP.js → index-D8KPbcUf.js} +1 -1
- package/dist/index-DFdPWO4O.js +133 -0
- package/dist/index-DFyV_EK2.cjs +305 -0
- package/dist/index-DxwIu0Wn.js +84 -0
- package/dist/{index-y6sKgrZC.js → index-XYs5Cuh5.js} +21 -30
- package/dist/index.js +1 -1
- package/dist/style-BAcV7F53.cjs +64 -0
- package/dist/style-CXMUA6cI.js +74 -0
- package/dist/{style-DKAOBWn3.js → style-D3pIrH3v.js} +1 -1
- package/dist/{utils-BdsZgOUE.js → utils-DHfRApMf.js} +6 -6
- package/package.json +1 -1
- package/dist/index-1Dm1i6WK.js +0 -52
- package/dist/index-BGTtoLxz.cjs +0 -1
- package/dist/skeleton-BdbB-LdT.cjs +0 -97
- package/dist/suspense-categories-card-simple-BGj475Ca.js +0 -101
- package/dist/suspense-categories-card-simple-CjGtzfzp.cjs +0 -55
- package/dist/suspense-large-BMO7JH52.js +0 -26
- package/dist/suspense-large-CFmcSzX-.cjs +0 -1
- package/dist/suspense-product-card-detailed-BU6DPCvJ.js +0 -652
- package/dist/suspense-product-card-detailed-BbvQuPOP.cjs +0 -329
- package/dist/suspense-product-card-simple-DJ8UYolb.cjs +0 -1
- package/dist/suspense-product-card-simple-ziy0XcLp.js +0 -26
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { memo as
|
|
3
|
-
import { s as
|
|
4
|
-
import { M as
|
|
5
|
-
import { u as
|
|
6
|
-
import { S as
|
|
7
|
-
import { T as
|
|
8
|
-
import { S as
|
|
9
|
-
const
|
|
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: ${
|
|
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
|
-
`,
|
|
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:
|
|
42
|
-
subtitle:
|
|
43
|
-
description:
|
|
44
|
-
buttonText:
|
|
45
|
-
buttonLink:
|
|
46
|
-
items:
|
|
47
|
-
onButtonAction:
|
|
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:
|
|
152
|
+
onSelectCard: c = () => {
|
|
50
153
|
},
|
|
51
|
-
isLoading:
|
|
52
|
-
limit:
|
|
53
|
-
getImage:
|
|
154
|
+
isLoading: T = !1,
|
|
155
|
+
limit: u = 6,
|
|
156
|
+
getImage: h = () => {
|
|
54
157
|
},
|
|
55
|
-
negotiableText:
|
|
56
|
-
freeText:
|
|
57
|
-
componentName:
|
|
58
|
-
} =
|
|
59
|
-
var
|
|
60
|
-
return /* @__PURE__ */
|
|
61
|
-
|
|
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: (
|
|
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:
|
|
176
|
+
cardRef: n
|
|
74
177
|
}),
|
|
75
|
-
image:
|
|
76
|
-
negotiableText:
|
|
77
|
-
freeText:
|
|
78
|
-
metadata: { name:
|
|
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
|
-
|
|
81
|
-
)) : (
|
|
82
|
-
|
|
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: (
|
|
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:
|
|
197
|
+
cardRef: n
|
|
95
198
|
}),
|
|
96
|
-
image:
|
|
97
|
-
negotiableText:
|
|
98
|
-
freeText:
|
|
99
|
-
metadata: { name:
|
|
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
|
-
|
|
204
|
+
d
|
|
102
205
|
)) });
|
|
103
|
-
}, [
|
|
104
|
-
return /* @__PURE__ */
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
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
|
-
|
|
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-
|
|
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",
|
package/dist/StatsSection.js
CHANGED
|
@@ -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 {
|
|
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
|
-
`,
|
|
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
|
-
|
|
147
|
+
_.propTypes = {
|
|
148
148
|
title: o.string,
|
|
149
149
|
description: o.string,
|
|
150
150
|
items: o.array
|
|
151
151
|
};
|
|
152
152
|
export {
|
|
153
|
-
|
|
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-
|
|
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};
|
package/dist/SwipeableDrawer.js
CHANGED
|
@@ -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-
|
|
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-
|
|
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-
|
|
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-
|
|
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 {
|
package/dist/TextAreaInput.js
CHANGED
|
@@ -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-
|
|
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-
|
|
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;
|
package/dist/ThemeProvider.js
CHANGED
|
@@ -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-
|
|
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-
|
|
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-
|
|
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-
|
|
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`
|
package/dist/UploadedFile.js
CHANGED
|
@@ -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-
|
|
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"),
|
|
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
|
-
`,
|
|
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;
|