@lanaco/lnc-react-ui 4.0.149 → 4.0.151
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/DetailedProductsInfinitiveSection.cjs +66 -0
- package/dist/DetailedProductsInfinitiveSection.js +172 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +87 -85
- package/package.json +2 -1
- package/vite.config.js +4 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),r=require("react"),S=require("./emotion-styled.browser.esm-BtEseadx.cjs"),j=require("./consts-goSZX3xP.cjs"),P=require("./IconButton.cjs"),N=require("./Button.cjs"),d=require("./utils-Dl9xPH4c.cjs"),D=require("./useDetectMobile-zkbzoOGV.cjs"),u=require("./suspense-product-card-detailed-FuxsUusc.cjs"),M=S.styled.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: 1.5rem;
|
|
5
|
+
|
|
6
|
+
& .section__heading {
|
|
7
|
+
display: flex;
|
|
8
|
+
justify-content: space-between;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
& .section__title {
|
|
12
|
+
color: var(--gray-950, #14161a);
|
|
13
|
+
font-weight: 600;
|
|
14
|
+
font-size: 1.5rem;
|
|
15
|
+
line-height: 2rem;
|
|
16
|
+
letter-spacing: -0.0294rem;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
& .section__items {
|
|
20
|
+
display: grid;
|
|
21
|
+
grid-template-columns: ${n=>`repeat(${n.limit}, minmax(0, 1fr))`};
|
|
22
|
+
gap: 2rem;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
& .section__show-more {
|
|
26
|
+
color: var(--neutral-600, #0f2a46);
|
|
27
|
+
font-size: 0.875rem;
|
|
28
|
+
font-style: normal;
|
|
29
|
+
font-weight: 500;
|
|
30
|
+
line-height: 1.25rem;
|
|
31
|
+
letter-spacing: -0.0056rem;
|
|
32
|
+
width: 100%;
|
|
33
|
+
max-width: 100%;
|
|
34
|
+
align-self: center;
|
|
35
|
+
|
|
36
|
+
&:focus {
|
|
37
|
+
outline: none;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
& .section__view-all {
|
|
42
|
+
white-space: nowrap;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@media (max-width: ${j.MOBILE_SIZE_PX+"px"}) {
|
|
46
|
+
& .section__items {
|
|
47
|
+
display: flex;
|
|
48
|
+
gap: 1rem;
|
|
49
|
+
overflow-x: auto;
|
|
50
|
+
|
|
51
|
+
-webkit-overflow-scrolling: touch;
|
|
52
|
+
::-webkit-scrollbar {
|
|
53
|
+
-webkit-appearance: none;
|
|
54
|
+
}
|
|
55
|
+
-ms-overflow-style: none;
|
|
56
|
+
/* Internet Explorer 10+ */
|
|
57
|
+
scrollbar-width: none;
|
|
58
|
+
/* Firefox */
|
|
59
|
+
|
|
60
|
+
&::-webkit-scrollbar {
|
|
61
|
+
display: none;
|
|
62
|
+
/* Safari and Chrome */
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
`,B=r.memo(u.DetailedProductCard),I=r.forwardRef((n,L)=>{const{title:s,items:o,limit:a=4,isLoading:m=!1,onSelectCard:g=()=>{},onLoadMore:p=()=>{},onButtonAction:b=()=>{},getImage:f=()=>{},viewAllbuttonLink:l,viewAllButonText:w="View all",negotiableText:_,freeText:h,loadMoreButtonIcon:y="angle-down",sponsoredText:k,onBookmark:v=()=>{},bookmarkComponent:C}=n,c=D.useDetectMobile(),q=r.useMemo(()=>o==null?void 0:o.map((e,i)=>t.jsx(B,{name:e==null?void 0:e.name,price:e==null?void 0:e.price,sellingPrice:e==null?void 0:e.sellingPrice,currency:e==null?void 0:e.currency,image:e==null?void 0:e.image,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,sponsored:e==null?void 0:e.sponsored,imageComponent:e==null?void 0:e.imageComponent,onSelectCard:()=>g({uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug}),imageUrl:f(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,negotiableText:_,freeText:h,tags:e==null?void 0:e.tags,categoryCode:e==null?void 0:e.categoryCode,condition:e==null?void 0:e.condition,quantity:e==null?void 0:e.quantity,trade:e==null?void 0:e.trade,sponsoredText:k,onBookmark:v,bookmarkComponent:C,bookmarked:e==null?void 0:e.bookmarked,bookmarkLists:e==null?void 0:e.bookmarkLists},i)),[o]);return t.jsxs(M,{limit:a,children:[t.jsxs("div",{className:"section__heading",children:[d.isDefinedNotEmptyString(s)&&t.jsx("div",{className:"section__title",children:s}),c&&d.isDefinedNotEmptyString(l)&&t.jsx(N,{type:"button",btnType:"tinted",color:"neutral",onClick:e=>{var i;(i=e==null?void 0:e.target)==null||i.blur(),b(l)},borderRadius:"curved",className:"section__view-all",children:w})]}),t.jsx(u.SuspenseDetailedProductCard,{isLoading:m,limit:a,keyPrefix:"explore-landing",children:t.jsx("div",{className:"section__items",children:q})}),!c&&t.jsx(P,{icon:y,borderRadius:"curved",btnType:"basic",color:"neutral",className:"section__show-more",onClick:p})]})});module.exports=I;
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
import { jsx as o, jsxs as c } from "react/jsx-runtime";
|
|
2
|
+
import { memo as S, forwardRef as P, useMemo as M } from "react";
|
|
3
|
+
import { s as N } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
+
import { M as B } from "./consts-BuFChS64.js";
|
|
5
|
+
import D from "./IconButton.js";
|
|
6
|
+
import I from "./Button.js";
|
|
7
|
+
import { k as m } from "./utils-BdsZgOUE.js";
|
|
8
|
+
import { u as L } from "./useDetectMobile-Bkvj0VMa.js";
|
|
9
|
+
import { D as T, S as z } from "./suspense-product-card-detailed-C-ZCjG5p.js";
|
|
10
|
+
const E = N.div`
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
gap: 1.5rem;
|
|
14
|
+
|
|
15
|
+
& .section__heading {
|
|
16
|
+
display: flex;
|
|
17
|
+
justify-content: space-between;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
& .section__title {
|
|
21
|
+
color: var(--gray-950, #14161a);
|
|
22
|
+
font-weight: 600;
|
|
23
|
+
font-size: 1.5rem;
|
|
24
|
+
line-height: 2rem;
|
|
25
|
+
letter-spacing: -0.0294rem;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
& .section__items {
|
|
29
|
+
display: grid;
|
|
30
|
+
grid-template-columns: ${(r) => `repeat(${r.limit}, minmax(0, 1fr))`};
|
|
31
|
+
gap: 2rem;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
& .section__show-more {
|
|
35
|
+
color: var(--neutral-600, #0f2a46);
|
|
36
|
+
font-size: 0.875rem;
|
|
37
|
+
font-style: normal;
|
|
38
|
+
font-weight: 500;
|
|
39
|
+
line-height: 1.25rem;
|
|
40
|
+
letter-spacing: -0.0056rem;
|
|
41
|
+
width: 100%;
|
|
42
|
+
max-width: 100%;
|
|
43
|
+
align-self: center;
|
|
44
|
+
|
|
45
|
+
&:focus {
|
|
46
|
+
outline: none;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
& .section__view-all {
|
|
51
|
+
white-space: nowrap;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@media (max-width: ${B + "px"}) {
|
|
55
|
+
& .section__items {
|
|
56
|
+
display: flex;
|
|
57
|
+
gap: 1rem;
|
|
58
|
+
overflow-x: auto;
|
|
59
|
+
|
|
60
|
+
-webkit-overflow-scrolling: touch;
|
|
61
|
+
::-webkit-scrollbar {
|
|
62
|
+
-webkit-appearance: none;
|
|
63
|
+
}
|
|
64
|
+
-ms-overflow-style: none;
|
|
65
|
+
/* Internet Explorer 10+ */
|
|
66
|
+
scrollbar-width: none;
|
|
67
|
+
/* Firefox */
|
|
68
|
+
|
|
69
|
+
&::-webkit-scrollbar {
|
|
70
|
+
display: none;
|
|
71
|
+
/* Safari and Chrome */
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
`, U = S(T), G = P((r, $) => {
|
|
76
|
+
const {
|
|
77
|
+
title: n,
|
|
78
|
+
items: i,
|
|
79
|
+
limit: a = 4,
|
|
80
|
+
isLoading: d = !1,
|
|
81
|
+
onSelectCard: u = () => {
|
|
82
|
+
},
|
|
83
|
+
onLoadMore: p = () => {
|
|
84
|
+
},
|
|
85
|
+
onButtonAction: g = () => {
|
|
86
|
+
},
|
|
87
|
+
getImage: f = () => {
|
|
88
|
+
},
|
|
89
|
+
viewAllbuttonLink: l,
|
|
90
|
+
viewAllButonText: b = "View all",
|
|
91
|
+
negotiableText: w,
|
|
92
|
+
freeText: _,
|
|
93
|
+
loadMoreButtonIcon: h = "angle-down",
|
|
94
|
+
sponsoredText: k,
|
|
95
|
+
onBookmark: y = () => {
|
|
96
|
+
},
|
|
97
|
+
bookmarkComponent: v
|
|
98
|
+
} = r, s = L(), C = M(() => i == null ? void 0 : i.map((e, t) => /* @__PURE__ */ o(
|
|
99
|
+
U,
|
|
100
|
+
{
|
|
101
|
+
name: e == null ? void 0 : e.name,
|
|
102
|
+
price: e == null ? void 0 : e.price,
|
|
103
|
+
sellingPrice: e == null ? void 0 : e.sellingPrice,
|
|
104
|
+
currency: e == null ? void 0 : e.currency,
|
|
105
|
+
image: e == null ? void 0 : e.image,
|
|
106
|
+
sellerUuid: e == null ? void 0 : e.sellerUuid,
|
|
107
|
+
uuid: e == null ? void 0 : e.uuid,
|
|
108
|
+
sponsored: e == null ? void 0 : e.sponsored,
|
|
109
|
+
imageComponent: e == null ? void 0 : e.imageComponent,
|
|
110
|
+
onSelectCard: () => u({ uuid: e == null ? void 0 : e.uuid, nameSlug: e == null ? void 0 : e.nameSlug }),
|
|
111
|
+
imageUrl: f(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
|
|
112
|
+
isFree: e == null ? void 0 : e.isFree,
|
|
113
|
+
isNegotiable: e == null ? void 0 : e.isNegotiable,
|
|
114
|
+
negotiableText: w,
|
|
115
|
+
freeText: _,
|
|
116
|
+
tags: e == null ? void 0 : e.tags,
|
|
117
|
+
categoryCode: e == null ? void 0 : e.categoryCode,
|
|
118
|
+
condition: e == null ? void 0 : e.condition,
|
|
119
|
+
quantity: e == null ? void 0 : e.quantity,
|
|
120
|
+
trade: e == null ? void 0 : e.trade,
|
|
121
|
+
sponsoredText: k,
|
|
122
|
+
onBookmark: y,
|
|
123
|
+
bookmarkComponent: v,
|
|
124
|
+
bookmarked: e == null ? void 0 : e.bookmarked,
|
|
125
|
+
bookmarkLists: e == null ? void 0 : e.bookmarkLists
|
|
126
|
+
},
|
|
127
|
+
t
|
|
128
|
+
)), [i]);
|
|
129
|
+
return /* @__PURE__ */ c(E, { limit: a, children: [
|
|
130
|
+
/* @__PURE__ */ c("div", { className: "section__heading", children: [
|
|
131
|
+
m(n) && /* @__PURE__ */ o("div", { className: "section__title", children: n }),
|
|
132
|
+
s && m(l) && /* @__PURE__ */ o(
|
|
133
|
+
I,
|
|
134
|
+
{
|
|
135
|
+
type: "button",
|
|
136
|
+
btnType: "tinted",
|
|
137
|
+
color: "neutral",
|
|
138
|
+
onClick: (e) => {
|
|
139
|
+
var t;
|
|
140
|
+
(t = e == null ? void 0 : e.target) == null || t.blur(), g(l);
|
|
141
|
+
},
|
|
142
|
+
borderRadius: "curved",
|
|
143
|
+
className: "section__view-all",
|
|
144
|
+
children: b
|
|
145
|
+
}
|
|
146
|
+
)
|
|
147
|
+
] }),
|
|
148
|
+
/* @__PURE__ */ o(
|
|
149
|
+
z,
|
|
150
|
+
{
|
|
151
|
+
isLoading: d,
|
|
152
|
+
limit: a,
|
|
153
|
+
keyPrefix: "explore-landing",
|
|
154
|
+
children: /* @__PURE__ */ o("div", { className: "section__items", children: C })
|
|
155
|
+
}
|
|
156
|
+
),
|
|
157
|
+
!s && /* @__PURE__ */ o(
|
|
158
|
+
D,
|
|
159
|
+
{
|
|
160
|
+
icon: h,
|
|
161
|
+
borderRadius: "curved",
|
|
162
|
+
btnType: "basic",
|
|
163
|
+
color: "neutral",
|
|
164
|
+
className: "section__show-more",
|
|
165
|
+
onClick: p
|
|
166
|
+
}
|
|
167
|
+
)
|
|
168
|
+
] });
|
|
169
|
+
});
|
|
170
|
+
export {
|
|
171
|
+
G as default
|
|
172
|
+
};
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./CheckBoxInput.cjs"),t=require("./ColorInput.cjs"),e=require("./DateInput.cjs"),n=require("./DecimalInput.cjs"),i=require("./DecimalInputV2.cjs"),c=require("./FileInput.cjs"),a=require("./NumberInput.cjs"),s=require("./PasswordInput.cjs"),u=require("./RadioInput.cjs"),d=require("./RangeSlider.cjs"),q=require("./TextAreaInput.cjs"),l=require("./TextInput.cjs"),S=require("./TimeInput.cjs"),p=require("./Badge.cjs"),g=require("./Chip.cjs"),C=require("./DataView.cjs"),m=require("./DetailsView.cjs"),B=require("./EditableTable.cjs"),I=require("./FormView.cjs"),D=require("./Kanban.cjs"),b=require("./KanbanCard-BDvoqTDS.cjs"),T=require("./KanbanHeader.cjs"),F=require("./KanbanFooter.cjs"),P=require("./KanbanView.cjs"),w=require("./KanbanActionsToolbar.cjs"),h=require("./Table.cjs"),f=require("./TableView.cjs"),M=require("./ActionsToolbar.cjs"),A=require("./Alert.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./CheckBoxInput.cjs"),t=require("./ColorInput.cjs"),e=require("./DateInput.cjs"),n=require("./DecimalInput.cjs"),i=require("./DecimalInputV2.cjs"),c=require("./FileInput.cjs"),a=require("./NumberInput.cjs"),s=require("./PasswordInput.cjs"),u=require("./RadioInput.cjs"),d=require("./RangeSlider.cjs"),q=require("./TextAreaInput.cjs"),l=require("./TextInput.cjs"),S=require("./TimeInput.cjs"),p=require("./Badge.cjs"),g=require("./Chip.cjs"),C=require("./DataView.cjs"),m=require("./DetailsView.cjs"),B=require("./EditableTable.cjs"),I=require("./FormView.cjs"),D=require("./Kanban.cjs"),b=require("./KanbanCard-BDvoqTDS.cjs"),T=require("./KanbanHeader.cjs"),F=require("./KanbanFooter.cjs"),P=require("./KanbanView.cjs"),w=require("./KanbanActionsToolbar.cjs"),h=require("./Table.cjs"),f=require("./TableView.cjs"),M=require("./ActionsToolbar.cjs"),A=require("./Alert.cjs"),v=require("./Notification.cjs"),G=require("./NotificationContainer.cjs"),x=require("./NotificationMessage.cjs"),L=require("./ProgressBar.cjs"),y=require("./Spinner.cjs"),K=require("./Avatar.cjs"),N=require("./Button.cjs"),V=require("./Icon.cjs"),W=require("./IconButton.cjs"),k=require("./Link.cjs"),H=require("./Surface.cjs"),R=require("./UploadedFile.cjs"),O=require("./DoubleRangeSlider.cjs"),E=require("./DragAndDropFile.cjs"),Q=require("./DragDropFiles.cjs"),U=require("./Dropdown.cjs"),z=require("./DropdownLookup.cjs"),j=require("./MultiSelectDropdown.cjs"),J=require("./MultiSelectDropdownLookup.cjs"),X=require("./RadioGroup.cjs"),Y=require("./SearchBar.cjs"),Z=require("./Toggle.cjs"),_=require("./ButtonGroup.cjs"),$=require("./Content.cjs"),ee=require("./FlexBox.cjs"),re=require("./FlexGrid.cjs"),oe=require("./FlexGridItem.cjs"),te=require("./Footer.cjs"),ne=require("./FormField.cjs"),ie=require("./Grid.cjs"),ce=require("./GridItem.cjs"),ae=require("./Header.cjs"),se=require("./PageLayout.cjs"),ue=require("./Sidebar.cjs"),de=require("./Tabs.cjs"),qe=require("./TabItem.cjs"),le=require("./Accordion.cjs"),Se=require("./AccordionSummary.cjs"),pe=require("./AccordionDetails.cjs"),ge=require("./Breadcrumbs.cjs"),Ce=require("./ConfirmationForm.cjs"),me=require("./Drawer.cjs"),Be=require("./DropdownMenu.cjs"),Ie=require("./DropdownItem.cjs"),De=require("./NestedDropdownItem.cjs"),be=require("./Separator.cjs"),Te=require("./Modal.cjs"),Fe=require("./Pagination.cjs"),Pe=require("./Popover.cjs"),we=require("./PopoverClose.cjs"),he=require("./PopoverHeading.cjs"),fe=require("./PopoverContent.cjs"),Me=require("./PopoverTrigger.cjs"),Ae=require("./PopoverDescription.cjs"),ve=require("./SwipeableDrawer.cjs"),Ge=require("./TreeMenu.cjs"),xe=require("./MenuItem.cjs"),Le=require("./NestedMenuItem.cjs"),ye=require("./TreeMenuSeparator.cjs"),Ke=require("./MasonryGeneralCardsSection.cjs"),Ne=require("./DetailedProductsSection.cjs"),Ve=require("./DetailedProductsInfinitiveSection.cjs"),We=require("./ProductsWithBannerSection.cjs"),ke=require("./SimpleProductsSection.cjs"),He=require("./UrgentSaleProductsSection.cjs"),Re=require("./BannerSectionCarousel.cjs"),Oe=require("./BannerSectionGrid.cjs"),Ee=require("./BannerSectionSimple.cjs"),Qe=require("./BannerSectionWithList.cjs"),Ue=require("./BannerSectionWithListImage.cjs"),ze=require("./GiftCardsSection.cjs"),je=require("./BrandHitsSection.cjs"),Je=require("./FieldOfInterestsMasonrySection.cjs"),Xe=require("./FieldOfInterestsWithAvatarsCardsSection.cjs"),Ye=require("./FieldOfInterestsWithTagsCardsSection.cjs"),Ze=require("./BannerSectionBasic.cjs"),_e=require("./GeneralWithTagsCardsSection.cjs"),$e=require("./ShopCardsSection.cjs"),er=require("./QuizSection.cjs"),rr=require("./SalesCampaignsSection.cjs"),or=require("./CalorieCalculatorSection.cjs"),tr=require("./BlogCategoryCardsSection.cjs"),nr=require("./BlogProductCardsSection.cjs"),ir=require("./BlogShopCardsSection.cjs"),cr=require("./BlogCardsSponsoredSection.cjs"),ar=require("./BlogListSection.cjs"),sr=require("./AdBannerSection.cjs"),ur=require("./QuattroCardsSection.cjs"),dr=require("./FeedbackSection.cjs"),qr=require("./HelpBannerSection.cjs"),lr=require("./ContactSection.cjs"),Sr=require("./FaqSection.cjs"),pr=require("./SearchSection-BGK1Fxaj.cjs"),gr=require("./StatsSection.cjs"),Cr=require("./ToggleSection.cjs"),mr=require("./BlogExploreSection.cjs"),r=require("./ThemeProvider.cjs"),Br=require("./CustomStyles-Ajyqx0cb.cjs");exports.CheckBoxInput=o;exports.ColorInput=t;exports.DateInput=e.default;exports.registerLocale=e.registerLocale;exports.DecimalInput=n;exports.DecimalInputV2=i;exports.FileInput=c;exports.NumberInput=a;exports.PasswordInput=s;exports.RadioInput=u;exports.RangeSlider=d;exports.TextAreaInput=q;exports.TextInput=l;exports.TimeInput=S;exports.Badge=p;exports.Chip=g;exports.DataView=C;exports.DetailsView=m;exports.EditableTable=B;exports.FormView=I;exports.Kanban=D;exports.KanbanCard=b.KanbanCard;exports.KanbanHeader=T;exports.KanbanFooter=F;exports.KanbanView=P;exports.KanbanActionsToolbar=w;exports.Table=h.default;exports.TableView=f;exports.ActionsToolbar=M;exports.Alert=A;exports.Notification=v;exports.NotificationContainer=G;exports.NotificationMessage=x;exports.ProgressBar=L;exports.Spinner=y;exports.Avatar=K;exports.Button=N;exports.Icon=V;exports.IconButton=W;exports.Link=k;exports.Surface=H;exports.UploadedFile=R;exports.DoubleRangeSlider=O;exports.DragAndDropFile=E;exports.DragDropFiles=Q;exports.Dropdown=U.default;exports.DropdownLookup=z;exports.MultiSelectDropdown=j;exports.MultiSelectDropdownLookup=J;exports.RadioGroup=X;exports.SearchBar=Y;exports.Toggle=Z;exports.ButtonGroup=_;exports.Content=$;exports.FlexBox=ee;exports.FlexGrid=re;exports.FlexGridItem=oe;exports.Footer=te;exports.FormField=ne;exports.Grid=ie;exports.GridItem=ce;exports.Header=ae;exports.PageLayout=se;exports.Sidebar=ue;exports.Tabs=de;exports.TabItem=qe;exports.Accordion=le;exports.AccordionSummary=Se;exports.AccordionDetails=pe.default;exports.Breadcrumbs=ge;exports.ConfirmationForm=Ce;exports.Drawer=me;exports.DropdownMenu=Be;exports.DropdownItem=Ie;exports.NestedDropdownItem=De;exports.Separator=be;exports.Modal=Te;exports.Pagination=Fe;exports.Popover=Pe;exports.PopoverClose=we;exports.PopoverHeading=he;exports.PopoverContent=fe;exports.PopoverTrigger=Me;exports.PopoverDescription=Ae;exports.SwipeableDrawer=ve;exports.TreeMenu=Ge;exports.MenuItem=xe;exports.NestedMenuItem=Le;exports.TreeMenuSeparator=ye;exports.MasonryGeneralCardsSection=Ke;exports.DetailedProductsSection=Ne;exports.DetailedProductsInfinitiveSection=Ve;exports.ProductsWithBannerSection=We;exports.SimpleProductsSection=ke;exports.UrgentSaleProductsSection=He;exports.BannerSectionCarousel=Re;exports.BannerSectionGrid=Oe;exports.BannerSectionSimple=Ee;exports.BannerSectionWithList=Qe;exports.BannerSectionWithListImage=Ue;exports.GiftCardsSection=ze;exports.BrandHitsSection=je;exports.FieldOfInterestsMasonrySection=Je;exports.FieldOfInterestsWithAvatarsCardsSection=Xe;exports.FieldOfInterestsWithTagsCardsSection=Ye;exports.BannerSectionBasic=Ze;exports.GeneralWithTagsCardsSection=_e;exports.ShopCardsSection=$e;exports.QuizSection=er;exports.SalesCampaignsSection=rr;exports.CalorieCalculatorSection=or;exports.BlogCategoryCardsSection=tr;exports.BlogProductCardsSection=nr;exports.BlogShopCardsSection=ir;exports.BlogCardsSponsoredSection=cr;exports.BlogListSection=ar;exports.AdBannerSection=sr;exports.QuattroCardsSection=ur;exports.FeedbackSection=dr;exports.HelpBannerSection=qr;exports.ContactSection=lr;exports.FaqSection=Sr;exports.SearchSection=pr.SearchSection;exports.StatsSection=gr;exports.ToggleSection=Cr;exports.BlogExploreSection=mr;exports.ThemeProvider=r.default;exports.useTheme=r.useTheme;exports.components=Br.components;
|
package/dist/index.js
CHANGED
|
@@ -9,10 +9,10 @@ import { default as g } from "./PasswordInput.js";
|
|
|
9
9
|
import { default as C } from "./RadioInput.js";
|
|
10
10
|
import { default as D } from "./RangeSlider.js";
|
|
11
11
|
import { default as T } from "./TextAreaInput.js";
|
|
12
|
-
import { default as
|
|
12
|
+
import { default as P } from "./TextInput.js";
|
|
13
13
|
import { default as h } from "./TimeInput.js";
|
|
14
14
|
import { default as M } from "./Badge.js";
|
|
15
|
-
import { default as
|
|
15
|
+
import { default as G } from "./Chip.js";
|
|
16
16
|
import { default as K } from "./DataView.js";
|
|
17
17
|
import { default as V } from "./DetailsView.js";
|
|
18
18
|
import { default as k } from "./EditableTable.js";
|
|
@@ -36,10 +36,10 @@ import { default as ge } from "./Avatar.js";
|
|
|
36
36
|
import { default as Ce } from "./Button.js";
|
|
37
37
|
import { default as De } from "./Icon.js";
|
|
38
38
|
import { default as Te } from "./IconButton.js";
|
|
39
|
-
import { default as
|
|
39
|
+
import { default as Pe } from "./Link.js";
|
|
40
40
|
import { default as he } from "./Surface.js";
|
|
41
41
|
import { default as Me } from "./UploadedFile.js";
|
|
42
|
-
import { default as
|
|
42
|
+
import { default as Ge } from "./DoubleRangeSlider.js";
|
|
43
43
|
import { default as Ke } from "./DragAndDropFile.js";
|
|
44
44
|
import { default as Ve } from "./DragDropFiles.js";
|
|
45
45
|
import { default as ke } from "./Dropdown.js";
|
|
@@ -63,9 +63,9 @@ import { default as Bo } from "./PageLayout.js";
|
|
|
63
63
|
import { default as Io } from "./Sidebar.js";
|
|
64
64
|
import { default as bo } from "./Tabs.js";
|
|
65
65
|
import { default as Fo } from "./TabItem.js";
|
|
66
|
-
import { default as
|
|
66
|
+
import { default as wo } from "./Accordion.js";
|
|
67
67
|
import { default as Ao } from "./AccordionSummary.js";
|
|
68
|
-
import { default as
|
|
68
|
+
import { default as vo } from "./AccordionDetails.js";
|
|
69
69
|
import { default as Lo } from "./Breadcrumbs.js";
|
|
70
70
|
import { default as No } from "./ConfirmationForm.js";
|
|
71
71
|
import { default as Wo } from "./Drawer.js";
|
|
@@ -88,81 +88,83 @@ import { default as it } from "./NestedMenuItem.js";
|
|
|
88
88
|
import { default as St } from "./TreeMenuSeparator.js";
|
|
89
89
|
import { default as Bt } from "./MasonryGeneralCardsSection.js";
|
|
90
90
|
import { default as It } from "./DetailedProductsSection.js";
|
|
91
|
-
import { default as bt } from "./
|
|
92
|
-
import { default as Ft } from "./
|
|
93
|
-
import { default as
|
|
94
|
-
import { default as At } from "./
|
|
95
|
-
import { default as
|
|
96
|
-
import { default as Lt } from "./
|
|
97
|
-
import { default as Nt } from "./
|
|
98
|
-
import { default as Wt } from "./
|
|
99
|
-
import { default as yt } from "./
|
|
100
|
-
import { default as Rt } from "./
|
|
101
|
-
import { default as Et } from "./
|
|
102
|
-
import { default as Ut } from "./
|
|
103
|
-
import { default as zt } from "./
|
|
104
|
-
import { default as Jt } from "./
|
|
105
|
-
import { default as Yt } from "./
|
|
106
|
-
import { default as _t } from "./
|
|
107
|
-
import { default as er } from "./
|
|
108
|
-
import { default as tr } from "./
|
|
109
|
-
import { default as ar } from "./
|
|
110
|
-
import { default as dr } from "./
|
|
111
|
-
import { default as lr } from "./
|
|
112
|
-
import { default as ur } from "./
|
|
113
|
-
import { default as nr } from "./
|
|
114
|
-
import { default as ir } from "./
|
|
115
|
-
import { default as Sr } from "./
|
|
116
|
-
import { default as Br } from "./
|
|
117
|
-
import { default as Ir } from "./
|
|
118
|
-
import { default as br } from "./
|
|
119
|
-
import { default as Fr } from "./
|
|
120
|
-
import { default as
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import { default as Lr } from "./
|
|
124
|
-
import { default as Nr } from "./
|
|
125
|
-
import { default as Wr
|
|
126
|
-
import {
|
|
91
|
+
import { default as bt } from "./DetailedProductsInfinitiveSection.js";
|
|
92
|
+
import { default as Ft } from "./ProductsWithBannerSection.js";
|
|
93
|
+
import { default as wt } from "./SimpleProductsSection.js";
|
|
94
|
+
import { default as At } from "./UrgentSaleProductsSection.js";
|
|
95
|
+
import { default as vt } from "./BannerSectionCarousel.js";
|
|
96
|
+
import { default as Lt } from "./BannerSectionGrid.js";
|
|
97
|
+
import { default as Nt } from "./BannerSectionSimple.js";
|
|
98
|
+
import { default as Wt } from "./BannerSectionWithList.js";
|
|
99
|
+
import { default as yt } from "./BannerSectionWithListImage.js";
|
|
100
|
+
import { default as Rt } from "./GiftCardsSection.js";
|
|
101
|
+
import { default as Et } from "./BrandHitsSection.js";
|
|
102
|
+
import { default as Ut } from "./FieldOfInterestsMasonrySection.js";
|
|
103
|
+
import { default as zt } from "./FieldOfInterestsWithAvatarsCardsSection.js";
|
|
104
|
+
import { default as Jt } from "./FieldOfInterestsWithTagsCardsSection.js";
|
|
105
|
+
import { default as Yt } from "./BannerSectionBasic.js";
|
|
106
|
+
import { default as _t } from "./GeneralWithTagsCardsSection.js";
|
|
107
|
+
import { default as er } from "./ShopCardsSection.js";
|
|
108
|
+
import { default as tr } from "./QuizSection.js";
|
|
109
|
+
import { default as ar } from "./SalesCampaignsSection.js";
|
|
110
|
+
import { default as dr } from "./CalorieCalculatorSection.js";
|
|
111
|
+
import { default as lr } from "./BlogCategoryCardsSection.js";
|
|
112
|
+
import { default as ur } from "./BlogProductCardsSection.js";
|
|
113
|
+
import { default as nr } from "./BlogShopCardsSection.js";
|
|
114
|
+
import { default as ir } from "./BlogCardsSponsoredSection.js";
|
|
115
|
+
import { default as Sr } from "./BlogListSection.js";
|
|
116
|
+
import { default as Br } from "./AdBannerSection.js";
|
|
117
|
+
import { default as Ir } from "./QuattroCardsSection.js";
|
|
118
|
+
import { default as br } from "./FeedbackSection.js";
|
|
119
|
+
import { default as Fr } from "./HelpBannerSection.js";
|
|
120
|
+
import { default as wr } from "./ContactSection.js";
|
|
121
|
+
import { default as Ar } from "./FaqSection.js";
|
|
122
|
+
import { S as vr } from "./SearchSection-CsfURtvf.js";
|
|
123
|
+
import { default as Lr } from "./StatsSection.js";
|
|
124
|
+
import { default as Nr } from "./ToggleSection.js";
|
|
125
|
+
import { default as Wr } from "./BlogExploreSection.js";
|
|
126
|
+
import { default as yr, useTheme as Hr } from "./ThemeProvider.js";
|
|
127
|
+
import { c as Or } from "./CustomStyles-DVcu00ul.js";
|
|
127
128
|
export {
|
|
128
|
-
|
|
129
|
-
|
|
129
|
+
wo as Accordion,
|
|
130
|
+
vo as AccordionDetails,
|
|
130
131
|
Ao as AccordionSummary,
|
|
131
132
|
re as ActionsToolbar,
|
|
132
|
-
|
|
133
|
+
Br as AdBannerSection,
|
|
133
134
|
fe as Alert,
|
|
134
135
|
ge as Avatar,
|
|
135
136
|
M as Badge,
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
137
|
+
Yt as BannerSectionBasic,
|
|
138
|
+
vt as BannerSectionCarousel,
|
|
139
|
+
Lt as BannerSectionGrid,
|
|
140
|
+
Nt as BannerSectionSimple,
|
|
141
|
+
Wt as BannerSectionWithList,
|
|
142
|
+
yt as BannerSectionWithListImage,
|
|
143
|
+
ir as BlogCardsSponsoredSection,
|
|
144
|
+
lr as BlogCategoryCardsSection,
|
|
145
|
+
Wr as BlogExploreSection,
|
|
146
|
+
Sr as BlogListSection,
|
|
147
|
+
ur as BlogProductCardsSection,
|
|
148
|
+
nr as BlogShopCardsSection,
|
|
149
|
+
Et as BrandHitsSection,
|
|
149
150
|
Lo as Breadcrumbs,
|
|
150
151
|
Ce as Button,
|
|
151
152
|
Ze as ButtonGroup,
|
|
152
|
-
|
|
153
|
+
dr as CalorieCalculatorSection,
|
|
153
154
|
t as CheckBoxInput,
|
|
154
|
-
|
|
155
|
+
G as Chip,
|
|
155
156
|
a as ColorInput,
|
|
156
157
|
No as ConfirmationForm,
|
|
157
|
-
|
|
158
|
+
wr as ContactSection,
|
|
158
159
|
$e as Content,
|
|
159
160
|
K as DataView,
|
|
160
161
|
d as DateInput,
|
|
161
162
|
p as DecimalInput,
|
|
162
163
|
m as DecimalInputV2,
|
|
164
|
+
bt as DetailedProductsInfinitiveSection,
|
|
163
165
|
It as DetailedProductsSection,
|
|
164
166
|
V as DetailsView,
|
|
165
|
-
|
|
167
|
+
Ge as DoubleRangeSlider,
|
|
166
168
|
Ke as DragAndDropFile,
|
|
167
169
|
Ve as DragDropFiles,
|
|
168
170
|
Wo as Drawer,
|
|
@@ -171,11 +173,11 @@ export {
|
|
|
171
173
|
He as DropdownLookup,
|
|
172
174
|
yo as DropdownMenu,
|
|
173
175
|
k as EditableTable,
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
176
|
+
Ar as FaqSection,
|
|
177
|
+
br as FeedbackSection,
|
|
178
|
+
Ut as FieldOfInterestsMasonrySection,
|
|
179
|
+
zt as FieldOfInterestsWithAvatarsCardsSection,
|
|
180
|
+
Jt as FieldOfInterestsWithTagsCardsSection,
|
|
179
181
|
x as FileInput,
|
|
180
182
|
oo as FlexBox,
|
|
181
183
|
ro as FlexGrid,
|
|
@@ -183,12 +185,12 @@ export {
|
|
|
183
185
|
lo as Footer,
|
|
184
186
|
uo as FormField,
|
|
185
187
|
H as FormView,
|
|
186
|
-
|
|
187
|
-
|
|
188
|
+
_t as GeneralWithTagsCardsSection,
|
|
189
|
+
Rt as GiftCardsSection,
|
|
188
190
|
no as Grid,
|
|
189
191
|
io as GridItem,
|
|
190
192
|
So as Header,
|
|
191
|
-
|
|
193
|
+
Fr as HelpBannerSection,
|
|
192
194
|
De as Icon,
|
|
193
195
|
Te as IconButton,
|
|
194
196
|
O as Kanban,
|
|
@@ -197,7 +199,7 @@ export {
|
|
|
197
199
|
j as KanbanFooter,
|
|
198
200
|
q as KanbanHeader,
|
|
199
201
|
X as KanbanView,
|
|
200
|
-
|
|
202
|
+
Pe as Link,
|
|
201
203
|
Bt as MasonryGeneralCardsSection,
|
|
202
204
|
nt as MenuItem,
|
|
203
205
|
zo as Modal,
|
|
@@ -218,22 +220,22 @@ export {
|
|
|
218
220
|
dt as PopoverDescription,
|
|
219
221
|
et as PopoverHeading,
|
|
220
222
|
at as PopoverTrigger,
|
|
221
|
-
|
|
223
|
+
Ft as ProductsWithBannerSection,
|
|
222
224
|
xe as ProgressBar,
|
|
223
|
-
|
|
224
|
-
|
|
225
|
+
Ir as QuattroCardsSection,
|
|
226
|
+
tr as QuizSection,
|
|
225
227
|
qe as RadioGroup,
|
|
226
228
|
C as RadioInput,
|
|
227
229
|
D as RangeSlider,
|
|
228
|
-
|
|
230
|
+
ar as SalesCampaignsSection,
|
|
229
231
|
je as SearchBar,
|
|
230
|
-
|
|
232
|
+
vr as SearchSection,
|
|
231
233
|
Uo as Separator,
|
|
232
|
-
|
|
234
|
+
er as ShopCardsSection,
|
|
233
235
|
Io as Sidebar,
|
|
234
|
-
|
|
236
|
+
wt as SimpleProductsSection,
|
|
235
237
|
ce as Spinner,
|
|
236
|
-
|
|
238
|
+
Lr as StatsSection,
|
|
237
239
|
he as Surface,
|
|
238
240
|
lt as SwipeableDrawer,
|
|
239
241
|
Fo as TabItem,
|
|
@@ -241,16 +243,16 @@ export {
|
|
|
241
243
|
oe as TableView,
|
|
242
244
|
bo as Tabs,
|
|
243
245
|
T as TextAreaInput,
|
|
244
|
-
|
|
245
|
-
|
|
246
|
+
P as TextInput,
|
|
247
|
+
yr as ThemeProvider,
|
|
246
248
|
h as TimeInput,
|
|
247
249
|
Xe as Toggle,
|
|
248
|
-
|
|
250
|
+
Nr as ToggleSection,
|
|
249
251
|
ut as TreeMenu,
|
|
250
252
|
St as TreeMenuSeparator,
|
|
251
253
|
Me as UploadedFile,
|
|
252
|
-
|
|
253
|
-
|
|
254
|
+
At as UrgentSaleProductsSection,
|
|
255
|
+
Or as components,
|
|
254
256
|
s as registerLocale,
|
|
255
|
-
|
|
257
|
+
Hr as useTheme
|
|
256
258
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lanaco/lnc-react-ui",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.151",
|
|
4
4
|
"description": "React component library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -116,6 +116,7 @@
|
|
|
116
116
|
"./ThemeProvider": "./dist/ThemeProvider.js",
|
|
117
117
|
"./MasonryGeneralCardsSection": "./dist/MasonryGeneralCardsSection.js",
|
|
118
118
|
"./DetailedProductsSection": "./dist/DetailedProductsSection.js",
|
|
119
|
+
"./DetailedProductsInfinitiveSection": "./dist/DetailedProductsInfinitiveSection.js",
|
|
119
120
|
"./ProductsWithBannerSection": "./dist/ProductsWithBannerSection.js",
|
|
120
121
|
"./SimpleProductsSection": "./dist/SimpleProductsSection.js",
|
|
121
122
|
"./UrgentSaleProductsSection": "./dist/UrgentSaleProductsSection.js",
|
package/vite.config.js
CHANGED
|
@@ -149,6 +149,10 @@ export default defineConfig({
|
|
|
149
149
|
__dirname,
|
|
150
150
|
"src/Landing Sections/products-sections/detailed-products-section/DetailedProductsSection.jsx"
|
|
151
151
|
),
|
|
152
|
+
resolve(
|
|
153
|
+
__dirname,
|
|
154
|
+
"src/Landing Sections/products-sections/detailed-products-infinitive-section/DetailedProductsInfinitiveSection.jsx"
|
|
155
|
+
),
|
|
152
156
|
resolve(
|
|
153
157
|
__dirname,
|
|
154
158
|
"src/Landing Sections/products-sections/products-with-banner-section/ProductsWithBannerSection.jsx"
|