@lanaco/lnc-react-ui 4.0.29 → 4.0.31
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/BannerSectionBasic.cjs +56 -0
- package/dist/BannerSectionBasic.js +112 -0
- package/dist/Dropdown.cjs +1 -1
- package/dist/Dropdown.js +40 -40
- package/dist/MultiSelectDropdown.cjs +1 -1
- package/dist/MultiSelectDropdown.js +2 -2
- package/dist/ShopCardsSection.cjs +234 -0
- package/dist/ShopCardsSection.js +359 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +37 -33
- package/package.json +4 -2
- package/vite.config.js +8 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),x=require("react"),i=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),r=require("./consts-dNz9tpt4.cjs"),f=require("./Button.cjs"),b=i.newStyled.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
border-radius: 0.75rem;
|
|
4
|
+
background-color: ${e=>e.bgcolor||"transparent"};
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
max-height: ${e=>e.height||"22.5rem"};
|
|
7
|
+
min-height: ${e=>e.height||"22.5rem"};
|
|
8
|
+
|
|
9
|
+
& button {
|
|
10
|
+
width: fit-content;
|
|
11
|
+
background-color: var(--gray-100, #14161a);
|
|
12
|
+
color: black;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@media (max-width: ${r.MOBILE_SIZE_PX+"px"}) {
|
|
16
|
+
gap: 1.5rem;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
min-height: unset;
|
|
19
|
+
max-height: unset;
|
|
20
|
+
|
|
21
|
+
& button {
|
|
22
|
+
width: fit-content;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
`,p=i.newStyled.div`
|
|
26
|
+
padding: ${e=>e.smallPadding===!0?"2rem":"4rem 5rem"};
|
|
27
|
+
display: flex;
|
|
28
|
+
gap: 2rem;
|
|
29
|
+
flex-direction: ${e=>e.isHorizontalContent===!0?"row":"column"};
|
|
30
|
+
flex: 1;
|
|
31
|
+
align-items: center;
|
|
32
|
+
|
|
33
|
+
${e=>e.isHorizontalContent===!0&&"justify-content: space-between;"}
|
|
34
|
+
|
|
35
|
+
@media (max-width: ${r.MOBILE_SIZE_PX+"px"}) {
|
|
36
|
+
padding: 0;
|
|
37
|
+
flex-direction: column;
|
|
38
|
+
}
|
|
39
|
+
`,w=i.newStyled.div`
|
|
40
|
+
display: flex;
|
|
41
|
+
flex-direction: column;
|
|
42
|
+
gap: 0.25rem;
|
|
43
|
+
text-align: center;
|
|
44
|
+
|
|
45
|
+
& .header-title {
|
|
46
|
+
font-size: 1.75rem;
|
|
47
|
+
font-weight: 600;
|
|
48
|
+
color: black;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
& .header-subtitle {
|
|
52
|
+
color: var(--gray-950, #14161a);
|
|
53
|
+
font-size: 1rem;
|
|
54
|
+
font-weight: 500;
|
|
55
|
+
}
|
|
56
|
+
`,y=x.forwardRef((e,v)=>{const{title:n,subtitle:o,buttonText:a,onClick:l,height:s,imageWidth:d,imageHeightMob:c,smallPadding:m=!1,isHorizontalContent:h=!1,backgroundColor:u,hasBorder:g=!1}=e;return t.jsx(b,{bgcolor:u,height:s,imgW:d,imgHMob:c,hasBorder:g,children:t.jsxs(p,{isHorizontalContent:h,smallPadding:m,children:[t.jsxs(w,{children:[t.jsx("div",{className:"header-title",children:n}),t.jsx("div",{className:"header-subitle",children:o})]}),t.jsx(f,{size:"medium",color:"neutral",type:"button",borderRadius:"curved",onClick:l,children:a})]})})});module.exports=y;
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { jsx as t, jsxs as r } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as p } from "react";
|
|
3
|
+
import { n as i } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
4
|
+
import { M as o } from "./consts-DNVz1x1I.js";
|
|
5
|
+
import b from "./Button.js";
|
|
6
|
+
const x = i.div`
|
|
7
|
+
display: flex;
|
|
8
|
+
border-radius: 0.75rem;
|
|
9
|
+
background-color: ${(e) => e.bgcolor || "transparent"};
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
max-height: ${(e) => e.height || "22.5rem"};
|
|
12
|
+
min-height: ${(e) => e.height || "22.5rem"};
|
|
13
|
+
|
|
14
|
+
& button {
|
|
15
|
+
width: fit-content;
|
|
16
|
+
background-color: var(--gray-100, #14161a);
|
|
17
|
+
color: black;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@media (max-width: ${o + "px"}) {
|
|
21
|
+
gap: 1.5rem;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
min-height: unset;
|
|
24
|
+
max-height: unset;
|
|
25
|
+
|
|
26
|
+
& button {
|
|
27
|
+
width: fit-content;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
`, w = i.div`
|
|
31
|
+
padding: ${(e) => e.smallPadding === !0 ? "2rem" : "4rem 5rem"};
|
|
32
|
+
display: flex;
|
|
33
|
+
gap: 2rem;
|
|
34
|
+
flex-direction: ${(e) => e.isHorizontalContent === !0 ? "row" : "column"};
|
|
35
|
+
flex: 1;
|
|
36
|
+
align-items: center;
|
|
37
|
+
|
|
38
|
+
${(e) => e.isHorizontalContent === !0 && "justify-content: space-between;"}
|
|
39
|
+
|
|
40
|
+
@media (max-width: ${o + "px"}) {
|
|
41
|
+
padding: 0;
|
|
42
|
+
flex-direction: column;
|
|
43
|
+
}
|
|
44
|
+
`, v = i.div`
|
|
45
|
+
display: flex;
|
|
46
|
+
flex-direction: column;
|
|
47
|
+
gap: 0.25rem;
|
|
48
|
+
text-align: center;
|
|
49
|
+
|
|
50
|
+
& .header-title {
|
|
51
|
+
font-size: 1.75rem;
|
|
52
|
+
font-weight: 600;
|
|
53
|
+
color: black;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
& .header-subtitle {
|
|
57
|
+
color: var(--gray-950, #14161a);
|
|
58
|
+
font-size: 1rem;
|
|
59
|
+
font-weight: 500;
|
|
60
|
+
}
|
|
61
|
+
`, B = p((e, y) => {
|
|
62
|
+
const {
|
|
63
|
+
title: n,
|
|
64
|
+
subtitle: a,
|
|
65
|
+
buttonText: l,
|
|
66
|
+
onClick: d,
|
|
67
|
+
height: c,
|
|
68
|
+
imageWidth: m,
|
|
69
|
+
imageHeightMob: s,
|
|
70
|
+
smallPadding: h = !1,
|
|
71
|
+
isHorizontalContent: g = !1,
|
|
72
|
+
backgroundColor: f,
|
|
73
|
+
hasBorder: u = !1
|
|
74
|
+
} = e;
|
|
75
|
+
return /* @__PURE__ */ t(
|
|
76
|
+
x,
|
|
77
|
+
{
|
|
78
|
+
bgcolor: f,
|
|
79
|
+
height: c,
|
|
80
|
+
imgW: m,
|
|
81
|
+
imgHMob: s,
|
|
82
|
+
hasBorder: u,
|
|
83
|
+
children: /* @__PURE__ */ r(
|
|
84
|
+
w,
|
|
85
|
+
{
|
|
86
|
+
isHorizontalContent: g,
|
|
87
|
+
smallPadding: h,
|
|
88
|
+
children: [
|
|
89
|
+
/* @__PURE__ */ r(v, { children: [
|
|
90
|
+
/* @__PURE__ */ t("div", { className: "header-title", children: n }),
|
|
91
|
+
/* @__PURE__ */ t("div", { className: "header-subitle", children: a })
|
|
92
|
+
] }),
|
|
93
|
+
/* @__PURE__ */ t(
|
|
94
|
+
b,
|
|
95
|
+
{
|
|
96
|
+
size: "medium",
|
|
97
|
+
color: "neutral",
|
|
98
|
+
type: "button",
|
|
99
|
+
borderRadius: "curved",
|
|
100
|
+
onClick: d,
|
|
101
|
+
children: l
|
|
102
|
+
}
|
|
103
|
+
)
|
|
104
|
+
]
|
|
105
|
+
}
|
|
106
|
+
)
|
|
107
|
+
}
|
|
108
|
+
);
|
|
109
|
+
});
|
|
110
|
+
export {
|
|
111
|
+
B as default
|
|
112
|
+
};
|
package/dist/Dropdown.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const g=require("react/jsx-runtime"),e=require("./index-BPVoEhTF.cjs"),n=require("react"),t=require("./CustomStyles-CBON9fD-.cjs"),l=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs");require("./index-Ct1N7fF4.cjs");const O=require("./index-DaiUAQVF.cjs");function S(o){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const r in o)if(r!=="default"){const p=Object.getOwnPropertyDescriptor(o,r);Object.defineProperty(s,r,p.get?p:{enumerable:!0,get:()=>o[r]})}}return s.default=o,Object.freeze(s)}const M=S(n);var h=n.forwardRef(function(o,s){var r=t.useStateManager(o);return M.createElement(t.Select,l._extends({ref:s},r))}),j=h;const a=n.forwardRef((o,s)=>{const{styles:r,debounceTime:p=0,name:C,isSearchable:u=!0,isClearable:c=!0,size:i="small",color:y="primary",className:T="",style:P={},...b}=o,m=l.useTheme();return n.useCallback(O.debounce((f,d)=>{onInputChange==null||onInputChange(f,d)},p)),g.jsx(j,{ref:s,styles:r||t.customStyles,size:i,color:y,theme:m,isSearchable:u,isClearable:c,className:T,style:P,...b})});a.propTypes={options:e.PropTypes.array,styles:e.PropTypes.object,debounceTime:e.PropTypes.number,name:e.PropTypes.string,value:e.PropTypes.any,tabIndex:e.PropTypes.number,isSearchable:e.PropTypes.bool,isClearable:e.PropTypes.bool,isLoading:e.PropTypes.bool,isRtl:e.PropTypes.bool,isDisabled:e.PropTypes.bool,readOnly:e.PropTypes.bool,closeMenuOnSelect:e.PropTypes.bool,closeMenuOnScroll:e.PropTypes.oneOfType([e.PropTypes.bool,e.PropTypes.func]),escapeClearsValue:e.PropTypes.bool,filterOption:e.PropTypes.func,formatGroupLabel:e.PropTypes.func,formatOptionLabel:e.PropTypes.func,getOptionLabel:e.PropTypes.func,getOptionValue:e.PropTypes.func,hideSelectedOptions:e.PropTypes.bool,id:e.PropTypes.string,inputId:e.PropTypes.string,isOptionDisabled:e.PropTypes.func,isOptionSelected:e.PropTypes.func,loadingMessage:e.PropTypes.func,minMenuHeight:e.PropTypes.number,maxMenuHeight:e.PropTypes.number,menuPlacement:e.PropTypes.oneOf(["bottom","auto","top"]),menuPosition:e.PropTypes.oneOf(["absolute","fixed"]),menuShouldBlockScroll:e.PropTypes.bool,menuShouldScrollIntoView:e.PropTypes.bool,openMenuOnFocus:e.PropTypes.bool,openMenuOnClick:e.PropTypes.bool,autoFocus:e.PropTypes.bool,placeholder:e.PropTypes.any,noOptionsMessage:e.PropTypes.string,menuIsOpen:e.PropTypes.bool,components:e.PropTypes.object,defaultValue:e.PropTypes.any,defaultInputValue:e.PropTypes.string,defaultMenuIsOpen:e.PropTypes.bool,delimiter:e.PropTypes.string,onChange:e.PropTypes.func,onInputChange:e.PropTypes.func,onMenuOpen:e.PropTypes.func,onMenuClose:e.PropTypes.func,onFocus:e.PropTypes.func,onBlur:e.PropTypes.func,className:e.PropTypes.string,style:e.PropTypes.object,color:e.PropTypes.oneOf(["primary","secondary","success","warning","danger","information","neutral","gray"]),size:e.PropTypes.oneOf(["small","medium","large"])};exports.components=t.components;exports.default=a;
|
package/dist/Dropdown.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as g } from "react/jsx-runtime";
|
|
2
2
|
import { P as e } from "./index-S5Cd7WrG.js";
|
|
3
|
-
import * as
|
|
4
|
-
import { forwardRef as
|
|
5
|
-
import { u as
|
|
6
|
-
import { c as
|
|
3
|
+
import * as O from "react";
|
|
4
|
+
import { forwardRef as a, useCallback as S } from "react";
|
|
5
|
+
import { u as y, S as M, a as h } from "./CustomStyles-DuADCM-0.js";
|
|
6
|
+
import { c as H } from "./CustomStyles-DuADCM-0.js";
|
|
7
7
|
import { _ as C, u as I } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
|
|
8
8
|
import "./index--Kmch3aI.js";
|
|
9
|
-
import { d as
|
|
10
|
-
var
|
|
11
|
-
var o =
|
|
12
|
-
return /* @__PURE__ */
|
|
9
|
+
import { d as x } from "./index-CNBqQrtK.js";
|
|
10
|
+
var T = /* @__PURE__ */ a(function(n, t) {
|
|
11
|
+
var o = y(n);
|
|
12
|
+
return /* @__PURE__ */ O.createElement(M, C({
|
|
13
13
|
ref: t
|
|
14
14
|
}, o));
|
|
15
|
-
}),
|
|
16
|
-
const
|
|
15
|
+
}), P = T;
|
|
16
|
+
const V = a((n, t) => {
|
|
17
17
|
const {
|
|
18
18
|
// options,
|
|
19
19
|
styles: o,
|
|
20
|
-
debounceTime:
|
|
21
|
-
name:
|
|
20
|
+
debounceTime: l = 0,
|
|
21
|
+
name: j,
|
|
22
22
|
// hideSelectedOptions,
|
|
23
23
|
// id,
|
|
24
24
|
// inputId,
|
|
25
25
|
// value,
|
|
26
26
|
// readOnly,
|
|
27
27
|
// tabIndex,
|
|
28
|
-
isSearchable:
|
|
29
|
-
isClearable:
|
|
28
|
+
isSearchable: s = !0,
|
|
29
|
+
isClearable: r = !0,
|
|
30
30
|
// isLoading,
|
|
31
31
|
// isRtl,
|
|
32
32
|
// isDisabled,
|
|
@@ -59,39 +59,39 @@ const j = l((n, t) => {
|
|
|
59
59
|
// defaultMenuIsOpen,
|
|
60
60
|
// delimiter,
|
|
61
61
|
// onChange,
|
|
62
|
-
onInputChange
|
|
62
|
+
// onInputChange,
|
|
63
63
|
// onMenuOpen,
|
|
64
64
|
// onMenuClose,
|
|
65
65
|
// onBlur,
|
|
66
66
|
// onFocus,
|
|
67
|
-
size:
|
|
68
|
-
color:
|
|
69
|
-
className:
|
|
70
|
-
style:
|
|
67
|
+
size: u = "small",
|
|
68
|
+
color: i = "primary",
|
|
69
|
+
className: c = "",
|
|
70
|
+
style: m = {},
|
|
71
71
|
// children,
|
|
72
|
-
...
|
|
73
|
-
} = n,
|
|
74
|
-
return
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
},
|
|
78
|
-
), /* @__PURE__ */
|
|
79
|
-
|
|
72
|
+
...p
|
|
73
|
+
} = n, b = I();
|
|
74
|
+
return S(
|
|
75
|
+
x((f, d) => {
|
|
76
|
+
onInputChange == null || onInputChange(f, d);
|
|
77
|
+
}, l)
|
|
78
|
+
), /* @__PURE__ */ g(
|
|
79
|
+
P,
|
|
80
80
|
{
|
|
81
81
|
ref: t,
|
|
82
|
-
styles: o ||
|
|
83
|
-
size:
|
|
84
|
-
color:
|
|
85
|
-
theme:
|
|
86
|
-
isSearchable:
|
|
87
|
-
isClearable:
|
|
88
|
-
className:
|
|
89
|
-
style:
|
|
90
|
-
...
|
|
82
|
+
styles: o || h,
|
|
83
|
+
size: u,
|
|
84
|
+
color: i,
|
|
85
|
+
theme: b,
|
|
86
|
+
isSearchable: s,
|
|
87
|
+
isClearable: r,
|
|
88
|
+
className: c,
|
|
89
|
+
style: m,
|
|
90
|
+
...p
|
|
91
91
|
}
|
|
92
92
|
);
|
|
93
93
|
});
|
|
94
|
-
|
|
94
|
+
V.propTypes = {
|
|
95
95
|
options: e.array,
|
|
96
96
|
styles: e.object,
|
|
97
97
|
debounceTime: e.number,
|
|
@@ -261,6 +261,6 @@ j.propTypes = {
|
|
|
261
261
|
size: e.oneOf(["small", "medium", "large"])
|
|
262
262
|
};
|
|
263
263
|
export {
|
|
264
|
-
|
|
265
|
-
|
|
264
|
+
H as components,
|
|
265
|
+
V as default
|
|
266
266
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const g=require("react/jsx-runtime"),e=require("./index-BPVoEhTF.cjs"),s=require("react"),O=require("./CustomStyles-CBON9fD-.cjs"),h=require("./index-DaiUAQVF.cjs"),M=require("./Dropdown.cjs"),S=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),r=s.forwardRef((n,t)=>{const{styles:p,debounceTime:l=0,isSearchable:u=!0,isClearable:y=!0,onInputChange:o,size:i="small",color:c="primary",className:a="",style:T={},...P}=n,b=S.useTheme(),m=s.useCallback(h.debounce((d,f)=>{o==null||o(d,f)},l));return g.jsx(M.default,{isMulti:!0,ref:t,styles:p||O.customStyles,size:i,color:c,theme:b,isSearchable:u,isClearable:y,
|
|
1
|
+
"use strict";const g=require("react/jsx-runtime"),e=require("./index-BPVoEhTF.cjs"),s=require("react"),O=require("./CustomStyles-CBON9fD-.cjs"),h=require("./index-DaiUAQVF.cjs"),M=require("./Dropdown.cjs"),S=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),r=s.forwardRef((n,t)=>{const{styles:p,debounceTime:l=0,isSearchable:u=!0,isClearable:y=!0,onInputChange:o,size:i="small",color:c="primary",className:a="",style:T={},...P}=n,b=S.useTheme(),m=s.useCallback(h.debounce((d,f)=>{o==null||o(d,f)},l));return g.jsx(M.default,{isMulti:!0,ref:t,styles:p||O.customStyles,size:i,color:c,theme:b,isSearchable:u,isClearable:y,className:a,style:T,...P,onInputChange:m})});r.propTypes={options:e.PropTypes.array,styles:e.PropTypes.object,debounceTime:e.PropTypes.number,name:e.PropTypes.string,value:e.PropTypes.any,tabIndex:e.PropTypes.number,isSearchable:e.PropTypes.bool,isClearable:e.PropTypes.bool,isLoading:e.PropTypes.bool,isRtl:e.PropTypes.bool,isDisabled:e.PropTypes.bool,readOnly:e.PropTypes.bool,closeMenuOnSelect:e.PropTypes.bool,closeMenuOnScroll:e.PropTypes.oneOfType([e.PropTypes.bool,e.PropTypes.func]),escapeClearsValue:e.PropTypes.bool,filterOption:e.PropTypes.func,formatGroupLabel:e.PropTypes.func,formatOptionLabel:e.PropTypes.func,getOptionLabel:e.PropTypes.func,getOptionValue:e.PropTypes.func,hideSelectedOptions:e.PropTypes.bool,id:e.PropTypes.string,inputId:e.PropTypes.string,isOptionDisabled:e.PropTypes.func,isOptionSelected:e.PropTypes.func,loadingMessage:e.PropTypes.func,minMenuHeight:e.PropTypes.number,maxMenuHeight:e.PropTypes.number,menuPlacement:e.PropTypes.oneOf(["bottom","auto","top"]),menuPosition:e.PropTypes.oneOf(["absolute","fixed"]),menuShouldBlockScroll:e.PropTypes.bool,menuShouldScrollIntoView:e.PropTypes.bool,openMenuOnFocus:e.PropTypes.bool,openMenuOnClick:e.PropTypes.bool,autoFocus:e.PropTypes.bool,placeholder:e.PropTypes.any,noOptionsMessage:e.PropTypes.string,menuIsOpen:e.PropTypes.bool,components:e.PropTypes.object,defaultValue:e.PropTypes.string,defaultInputValue:e.PropTypes.string,defaultMenuIsOpen:e.PropTypes.bool,delimiter:e.PropTypes.string,onChange:e.PropTypes.func,onInputChange:e.PropTypes.func,onMenuOpen:e.PropTypes.func,onMenuClose:e.PropTypes.func,onFocus:e.PropTypes.func,onBlur:e.PropTypes.func,onKeyDown:e.PropTypes.func,className:e.PropTypes.string,style:e.PropTypes.object,color:e.PropTypes.oneOf(["primary","secondary","success","warning","danger","information","neutral","gray"]),size:e.PropTypes.oneOf(["small","medium","large"])};module.exports=r;
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
"use strict";const i=require("react/jsx-runtime"),_=require("react"),w=require("./Button.cjs"),v=require("./Icon.cjs"),m=require("./utils-CE6bljYe.cjs"),h=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),u=require("./consts-dNz9tpt4.cjs"),j=h.newStyled.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: center;
|
|
5
|
+
border-radius: 1.25rem;
|
|
6
|
+
border: 1px solid var(--neutral-9508, rgba(20, 22, 26, 0.08));
|
|
7
|
+
background: var(--Lanaco-Gray-white, #fff);
|
|
8
|
+
|
|
9
|
+
/* drop-shadow-sm */
|
|
10
|
+
box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
|
|
11
|
+
|
|
12
|
+
& .wrapper__content {
|
|
13
|
+
display: flex;
|
|
14
|
+
padding: 1.25rem;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
align-items: center;
|
|
17
|
+
gap: 0.75rem;
|
|
18
|
+
align-self: strech;
|
|
19
|
+
|
|
20
|
+
& .wrapper__image {
|
|
21
|
+
object-fit: cover;
|
|
22
|
+
aspect-ratio: 1 / 1;
|
|
23
|
+
max-height: 4rem;
|
|
24
|
+
border-radius: 999px;
|
|
25
|
+
|
|
26
|
+
&:hover {
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
& .wrapper__info {
|
|
33
|
+
display: flex;
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
align-items: center;
|
|
36
|
+
gap: 0.375rem;
|
|
37
|
+
|
|
38
|
+
& .wrapper__title {
|
|
39
|
+
color: var(--gray-950, #14161a);
|
|
40
|
+
font-size: 1rem;
|
|
41
|
+
font-style: normal;
|
|
42
|
+
font-weight: 500;
|
|
43
|
+
line-height: 1.5rem;
|
|
44
|
+
letter-spacing: -0.0112rem;
|
|
45
|
+
${m.truncateTextInRows(2)}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
& .wrapper__subtitle {
|
|
49
|
+
color: var(--gray-600, #676e79);
|
|
50
|
+
text-align: center;
|
|
51
|
+
font-size: 0.875rem;
|
|
52
|
+
font-style: normal;
|
|
53
|
+
font-weight: 400;
|
|
54
|
+
line-height: 1.25rem;
|
|
55
|
+
letter-spacing: -0.0056rem;
|
|
56
|
+
${m.truncateTextInRows(2)}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
& .wrapper__badges {
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
& .wrapper__rating {
|
|
63
|
+
display: flex;
|
|
64
|
+
align-items: center;
|
|
65
|
+
gap: 0.25rem;
|
|
66
|
+
|
|
67
|
+
& .wrapper__star {
|
|
68
|
+
color: var(--gray-950, #14161a);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
& .wrapper__review-count {
|
|
72
|
+
color: var(--gray-600, #676e79);
|
|
73
|
+
font-size: 0.75rem;
|
|
74
|
+
font-style: normal;
|
|
75
|
+
font-weight: 400;
|
|
76
|
+
line-height: 1rem;
|
|
77
|
+
letter-spacing: 0.01px;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
& .wrapper__products {
|
|
83
|
+
display: flex;
|
|
84
|
+
align-items: flex-start;
|
|
85
|
+
column-gap: 1px;
|
|
86
|
+
width: 100%;
|
|
87
|
+
|
|
88
|
+
& .wrapper__product {
|
|
89
|
+
overflow: hidden;
|
|
90
|
+
cursor: pointer;
|
|
91
|
+
width: 100%;
|
|
92
|
+
max-height: 5.75rem;
|
|
93
|
+
|
|
94
|
+
&:first-child {
|
|
95
|
+
border-radius: 0 0 0 1.25rem;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&:last-child {
|
|
99
|
+
border-radius: 0 0 1.25rem 0;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
& .product__image {
|
|
103
|
+
width: 100%;
|
|
104
|
+
aspect-ratio: 1 / 1;
|
|
105
|
+
height: calc(100% / 3);
|
|
106
|
+
max-height: 5.75rem;
|
|
107
|
+
object-fit: cover;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
`,y=h.newStyled.div`
|
|
112
|
+
display: flex;
|
|
113
|
+
flex-direction: column;
|
|
114
|
+
align-items: center;
|
|
115
|
+
flex: 1 0 0;
|
|
116
|
+
border-radius: 1.25rem;
|
|
117
|
+
border: 1px solid var(--neutral-9508, rgba(20, 22, 26, 0.08));
|
|
118
|
+
background: var(--Lanaco-Gray-white, #fff);
|
|
119
|
+
width: 100%;
|
|
120
|
+
|
|
121
|
+
/* drop-shadow-sm */
|
|
122
|
+
box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
|
|
123
|
+
|
|
124
|
+
& .wrapper__content {
|
|
125
|
+
display: flex;
|
|
126
|
+
padding: 1.25rem;
|
|
127
|
+
flex-direction: column;
|
|
128
|
+
align-items: center;
|
|
129
|
+
gap: 0.75rem;
|
|
130
|
+
align-self: strech;
|
|
131
|
+
width: 100%;
|
|
132
|
+
|
|
133
|
+
& .wrapper__image {
|
|
134
|
+
width: 4rem;
|
|
135
|
+
height: 4rem;
|
|
136
|
+
border-radius: 999px;
|
|
137
|
+
background-color: ${m.linearGradientAnimation("-90deg")};
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
& .wrapper__info {
|
|
142
|
+
display: flex;
|
|
143
|
+
flex-direction: column;
|
|
144
|
+
align-items: center;
|
|
145
|
+
gap: 0.375rem;
|
|
146
|
+
width: 100%;
|
|
147
|
+
|
|
148
|
+
& .wrapper__info-item {
|
|
149
|
+
background-color: ${m.linearGradientAnimation("-90deg")};
|
|
150
|
+
height: 1rem;
|
|
151
|
+
width: 100%;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
`,b=_.forwardRef(({image:a,imageComponent:p,title:t,subtitle:g,badges:x,rating:o,reviewCount:n,products:s,onSelectCard:d=()=>{}},f)=>i.jsxs(j,{onClick:d,children:[i.jsxs("div",{className:"wrapper__content",children:[m.isDefined(p)?p:i.jsx("img",{src:a,className:"wrapper__image"}),i.jsxs("div",{className:"wrapper__info",children:[i.jsx("div",{className:"wrapper__title",children:t}),i.jsx("div",{className:"wrapper__subtitle",children:g}),x&&i.jsx("div",{className:"wrapper__badges"}),o&&n&&i.jsxs("div",{className:"wrapper__rating",children:[i.jsx("div",{className:"wrapper_stars",children:[...Array(5).keys()].map((r,l)=>i.jsx(v,{icon:r<o?" mng-lnc-star--filled":" mng-lnc-star",className:"wrapper__star"},`shop-card-rating-star__${l+1}`))}),i.jsxs("div",{className:"wrapper__review-count",children:["(",n==null?void 0:n.toLocaleString(),")"]})]})]})]}),i.jsx("div",{className:"wrapper__products",children:s&&(s==null?void 0:s.map((r,l)=>i.jsx(_.Fragment,{children:i.jsx("div",{className:"wrapper__product",onClick:()=>{var e;return(e=r==null?void 0:r.onSelectProduct)==null?void 0:e.call(r,r==null?void 0:r.uuid)},children:m.isDefined(r==null?void 0:r.imageComponent)?r==null?void 0:r.imageComponent:i.jsx("img",{src:r==null?void 0:r.image,className:"product__image"})})},l)))})]})),N=_.forwardRef(({},a)=>i.jsx(y,{children:i.jsxs("div",{className:"wrapper__content",children:[i.jsx("div",{className:"wrapper__image"}),i.jsxs("div",{className:"wrapper__info",children:[i.jsx("div",{className:"wrapper__info-item"}),i.jsx("div",{className:"wrapper__info-item"}),i.jsx("div",{className:"wrapper__info-item"}),i.jsx("div",{className:"wrapper__info-item"})]})]})})),k=h.newStyled.div`
|
|
155
|
+
display: flex;
|
|
156
|
+
flex-direction: column;
|
|
157
|
+
align-items: flex-start;
|
|
158
|
+
gap: 1.5rem;
|
|
159
|
+
|
|
160
|
+
& .wrapper__heading {
|
|
161
|
+
display: flex;
|
|
162
|
+
flex-direction: column;
|
|
163
|
+
gap: 1rem;
|
|
164
|
+
width: 100%;
|
|
165
|
+
|
|
166
|
+
& .wrapper__title {
|
|
167
|
+
display: flex;
|
|
168
|
+
justify-content: space-between;
|
|
169
|
+
|
|
170
|
+
& .title__text {
|
|
171
|
+
color: var(--gray-950, #14161a);
|
|
172
|
+
text-align: center;
|
|
173
|
+
font-size: 1.5rem;
|
|
174
|
+
font-style: normal;
|
|
175
|
+
font-weight: 600;
|
|
176
|
+
line-height: 2rem;
|
|
177
|
+
letter-spacing: -0.47px;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
& .title__action {
|
|
181
|
+
color: var(--gray-950, #14161a);
|
|
182
|
+
background: var(--neutral-9504, rgba(20, 22, 26, 0.04));
|
|
183
|
+
|
|
184
|
+
&:hover {
|
|
185
|
+
background: var(--neutral-9504, rgba(20, 22, 26, 0.12));
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
&:focus {
|
|
189
|
+
outline: none;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
& .wrapper__subtitle {
|
|
195
|
+
color: var(---gray-600, #676e79);
|
|
196
|
+
font-size: 0.875rem;
|
|
197
|
+
font-style: normal;
|
|
198
|
+
font-weight: 400;
|
|
199
|
+
line-height: 1.25rem;
|
|
200
|
+
letter-spacing: 0.25px;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
& .wrapper__cards {
|
|
205
|
+
display: grid;
|
|
206
|
+
grid-template-columns: ${a=>`repeat(${a==null?void 0:a.limitCards}, minmax(0, 1fr))`};
|
|
207
|
+
gap: 1.25rem;
|
|
208
|
+
justify-items: center;
|
|
209
|
+
align-items: center;
|
|
210
|
+
width: 100%;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
@media (max-width: ${u.MOBILE_SIZE_PX+"px"}) {
|
|
214
|
+
& .wrapper__heading {
|
|
215
|
+
& .wrapper__title {
|
|
216
|
+
& .title__action {
|
|
217
|
+
display: none;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
& .wrapper__cards {
|
|
223
|
+
grid-template-columns: ${a=>`repeat(${a==null?void 0:a.limitCardsForMobile}, minmax(0, 1fr))`};
|
|
224
|
+
gap: 1rem;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
@media (max-width: 400px) {
|
|
229
|
+
& .wrapper__cards {
|
|
230
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
231
|
+
gap: 1rem;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
`,$=_.forwardRef(({title:a,subtitle:p,cards:t,limitCards:g=4,limitCardsForMobile:x=2,actionText:o,onSelectCard:n=()=>{},onShowMore:s},d)=>{var l;const f=()=>{s==null||s()},r=e=>{n==null||n(e==null?void 0:e.uuid)};return i.jsxs(k,{limitCards:g,limitCardsForMobile:x,children:[i.jsxs("div",{className:"wrapper__heading",children:[i.jsxs("div",{className:"wrapper__title",children:[a&&i.jsx("div",{className:"title__text",children:a}),o&&s&&i.jsx(w,{text:o,borderRadius:"curved",btnType:"tinted",className:"title__action",onClick:f})]}),p&&i.jsx("div",{className:"wrapper__subtitle",children:p})]}),i.jsx("div",{className:"wrapper__cards",children:t&&(t==null?void 0:t.length)>0?t==null?void 0:t.map((e,c)=>i.jsx(b,{uuid:e==null?void 0:e.uuid,title:e==null?void 0:e.title,subtitle:e==null?void 0:e.subtitle,image:e==null?void 0:e.image,rating:e==null?void 0:e.rating,reviewCount:e==null?void 0:e.reviewCount,products:e==null?void 0:e.products,imageComponent:e==null?void 0:e.imageComponent,onSelectCard:()=>r==null?void 0:r(e)},`shop-card__${c+1}`)):(l=Array.from("1234"))==null?void 0:l.map((e,c)=>i.jsx(N,{},`shop-card-skeleton__${c+1}`))})]})});module.exports=$;
|
|
@@ -0,0 +1,359 @@
|
|
|
1
|
+
import { jsxs as t, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as h, Fragment as y } from "react";
|
|
3
|
+
import u from "./Button.js";
|
|
4
|
+
import N from "./Icon.js";
|
|
5
|
+
import { t as x, m as v, l as b } from "./utils-DtEdJZWa.js";
|
|
6
|
+
import { n as c } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
7
|
+
import { M as k } from "./consts-DNVz1x1I.js";
|
|
8
|
+
const $ = c.div`
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
align-items: center;
|
|
12
|
+
border-radius: 1.25rem;
|
|
13
|
+
border: 1px solid var(--neutral-9508, rgba(20, 22, 26, 0.08));
|
|
14
|
+
background: var(--Lanaco-Gray-white, #fff);
|
|
15
|
+
|
|
16
|
+
/* drop-shadow-sm */
|
|
17
|
+
box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
|
|
18
|
+
|
|
19
|
+
& .wrapper__content {
|
|
20
|
+
display: flex;
|
|
21
|
+
padding: 1.25rem;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
align-items: center;
|
|
24
|
+
gap: 0.75rem;
|
|
25
|
+
align-self: strech;
|
|
26
|
+
|
|
27
|
+
& .wrapper__image {
|
|
28
|
+
object-fit: cover;
|
|
29
|
+
aspect-ratio: 1 / 1;
|
|
30
|
+
max-height: 4rem;
|
|
31
|
+
border-radius: 999px;
|
|
32
|
+
|
|
33
|
+
&:hover {
|
|
34
|
+
cursor: pointer;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
& .wrapper__info {
|
|
40
|
+
display: flex;
|
|
41
|
+
flex-direction: column;
|
|
42
|
+
align-items: center;
|
|
43
|
+
gap: 0.375rem;
|
|
44
|
+
|
|
45
|
+
& .wrapper__title {
|
|
46
|
+
color: var(--gray-950, #14161a);
|
|
47
|
+
font-size: 1rem;
|
|
48
|
+
font-style: normal;
|
|
49
|
+
font-weight: 500;
|
|
50
|
+
line-height: 1.5rem;
|
|
51
|
+
letter-spacing: -0.0112rem;
|
|
52
|
+
${x(2)}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
& .wrapper__subtitle {
|
|
56
|
+
color: var(--gray-600, #676e79);
|
|
57
|
+
text-align: center;
|
|
58
|
+
font-size: 0.875rem;
|
|
59
|
+
font-style: normal;
|
|
60
|
+
font-weight: 400;
|
|
61
|
+
line-height: 1.25rem;
|
|
62
|
+
letter-spacing: -0.0056rem;
|
|
63
|
+
${x(2)}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
& .wrapper__badges {
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
& .wrapper__rating {
|
|
70
|
+
display: flex;
|
|
71
|
+
align-items: center;
|
|
72
|
+
gap: 0.25rem;
|
|
73
|
+
|
|
74
|
+
& .wrapper__star {
|
|
75
|
+
color: var(--gray-950, #14161a);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
& .wrapper__review-count {
|
|
79
|
+
color: var(--gray-600, #676e79);
|
|
80
|
+
font-size: 0.75rem;
|
|
81
|
+
font-style: normal;
|
|
82
|
+
font-weight: 400;
|
|
83
|
+
line-height: 1rem;
|
|
84
|
+
letter-spacing: 0.01px;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
& .wrapper__products {
|
|
90
|
+
display: flex;
|
|
91
|
+
align-items: flex-start;
|
|
92
|
+
column-gap: 1px;
|
|
93
|
+
width: 100%;
|
|
94
|
+
|
|
95
|
+
& .wrapper__product {
|
|
96
|
+
overflow: hidden;
|
|
97
|
+
cursor: pointer;
|
|
98
|
+
width: 100%;
|
|
99
|
+
max-height: 5.75rem;
|
|
100
|
+
|
|
101
|
+
&:first-child {
|
|
102
|
+
border-radius: 0 0 0 1.25rem;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&:last-child {
|
|
106
|
+
border-radius: 0 0 1.25rem 0;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
& .product__image {
|
|
110
|
+
width: 100%;
|
|
111
|
+
aspect-ratio: 1 / 1;
|
|
112
|
+
height: calc(100% / 3);
|
|
113
|
+
max-height: 5.75rem;
|
|
114
|
+
object-fit: cover;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
`, j = c.div`
|
|
119
|
+
display: flex;
|
|
120
|
+
flex-direction: column;
|
|
121
|
+
align-items: center;
|
|
122
|
+
flex: 1 0 0;
|
|
123
|
+
border-radius: 1.25rem;
|
|
124
|
+
border: 1px solid var(--neutral-9508, rgba(20, 22, 26, 0.08));
|
|
125
|
+
background: var(--Lanaco-Gray-white, #fff);
|
|
126
|
+
width: 100%;
|
|
127
|
+
|
|
128
|
+
/* drop-shadow-sm */
|
|
129
|
+
box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
|
|
130
|
+
|
|
131
|
+
& .wrapper__content {
|
|
132
|
+
display: flex;
|
|
133
|
+
padding: 1.25rem;
|
|
134
|
+
flex-direction: column;
|
|
135
|
+
align-items: center;
|
|
136
|
+
gap: 0.75rem;
|
|
137
|
+
align-self: strech;
|
|
138
|
+
width: 100%;
|
|
139
|
+
|
|
140
|
+
& .wrapper__image {
|
|
141
|
+
width: 4rem;
|
|
142
|
+
height: 4rem;
|
|
143
|
+
border-radius: 999px;
|
|
144
|
+
background-color: ${v("-90deg")};
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
& .wrapper__info {
|
|
149
|
+
display: flex;
|
|
150
|
+
flex-direction: column;
|
|
151
|
+
align-items: center;
|
|
152
|
+
gap: 0.375rem;
|
|
153
|
+
width: 100%;
|
|
154
|
+
|
|
155
|
+
& .wrapper__info-item {
|
|
156
|
+
background-color: ${v("-90deg")};
|
|
157
|
+
height: 1rem;
|
|
158
|
+
width: 100%;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
`, z = h(
|
|
162
|
+
({
|
|
163
|
+
image: a,
|
|
164
|
+
imageComponent: p,
|
|
165
|
+
title: n,
|
|
166
|
+
subtitle: _,
|
|
167
|
+
badges: g,
|
|
168
|
+
rating: o,
|
|
169
|
+
reviewCount: s,
|
|
170
|
+
products: l,
|
|
171
|
+
onSelectCard: d = () => {
|
|
172
|
+
}
|
|
173
|
+
}, w) => /* @__PURE__ */ t($, { onClick: d, children: [
|
|
174
|
+
/* @__PURE__ */ t("div", { className: "wrapper__content", children: [
|
|
175
|
+
b(p) ? p : /* @__PURE__ */ r("img", { src: a, className: "wrapper__image" }),
|
|
176
|
+
/* @__PURE__ */ t("div", { className: "wrapper__info", children: [
|
|
177
|
+
/* @__PURE__ */ r("div", { className: "wrapper__title", children: n }),
|
|
178
|
+
/* @__PURE__ */ r("div", { className: "wrapper__subtitle", children: _ }),
|
|
179
|
+
g && /* @__PURE__ */ r("div", { className: "wrapper__badges" }),
|
|
180
|
+
o && s && /* @__PURE__ */ t("div", { className: "wrapper__rating", children: [
|
|
181
|
+
/* @__PURE__ */ r("div", { className: "wrapper_stars", children: [...Array(5).keys()].map((i, m) => /* @__PURE__ */ r(
|
|
182
|
+
N,
|
|
183
|
+
{
|
|
184
|
+
icon: i < o ? " mng-lnc-star--filled" : " mng-lnc-star",
|
|
185
|
+
className: "wrapper__star"
|
|
186
|
+
},
|
|
187
|
+
`shop-card-rating-star__${m + 1}`
|
|
188
|
+
)) }),
|
|
189
|
+
/* @__PURE__ */ t("div", { className: "wrapper__review-count", children: [
|
|
190
|
+
"(",
|
|
191
|
+
s == null ? void 0 : s.toLocaleString(),
|
|
192
|
+
")"
|
|
193
|
+
] })
|
|
194
|
+
] })
|
|
195
|
+
] })
|
|
196
|
+
] }),
|
|
197
|
+
/* @__PURE__ */ r("div", { className: "wrapper__products", children: l && (l == null ? void 0 : l.map((i, m) => /* @__PURE__ */ r(y, { children: /* @__PURE__ */ r(
|
|
198
|
+
"div",
|
|
199
|
+
{
|
|
200
|
+
className: "wrapper__product",
|
|
201
|
+
onClick: () => {
|
|
202
|
+
var e;
|
|
203
|
+
return (e = i == null ? void 0 : i.onSelectProduct) == null ? void 0 : e.call(i, i == null ? void 0 : i.uuid);
|
|
204
|
+
},
|
|
205
|
+
children: b(i == null ? void 0 : i.imageComponent) ? i == null ? void 0 : i.imageComponent : /* @__PURE__ */ r("img", { src: i == null ? void 0 : i.image, className: "product__image" })
|
|
206
|
+
}
|
|
207
|
+
) }, m))) })
|
|
208
|
+
] })
|
|
209
|
+
), C = h(({}, a) => /* @__PURE__ */ r(j, { children: /* @__PURE__ */ t("div", { className: "wrapper__content", children: [
|
|
210
|
+
/* @__PURE__ */ r("div", { className: "wrapper__image" }),
|
|
211
|
+
/* @__PURE__ */ t("div", { className: "wrapper__info", children: [
|
|
212
|
+
/* @__PURE__ */ r("div", { className: "wrapper__info-item" }),
|
|
213
|
+
/* @__PURE__ */ r("div", { className: "wrapper__info-item" }),
|
|
214
|
+
/* @__PURE__ */ r("div", { className: "wrapper__info-item" }),
|
|
215
|
+
/* @__PURE__ */ r("div", { className: "wrapper__info-item" })
|
|
216
|
+
] })
|
|
217
|
+
] }) })), I = c.div`
|
|
218
|
+
display: flex;
|
|
219
|
+
flex-direction: column;
|
|
220
|
+
align-items: flex-start;
|
|
221
|
+
gap: 1.5rem;
|
|
222
|
+
|
|
223
|
+
& .wrapper__heading {
|
|
224
|
+
display: flex;
|
|
225
|
+
flex-direction: column;
|
|
226
|
+
gap: 1rem;
|
|
227
|
+
width: 100%;
|
|
228
|
+
|
|
229
|
+
& .wrapper__title {
|
|
230
|
+
display: flex;
|
|
231
|
+
justify-content: space-between;
|
|
232
|
+
|
|
233
|
+
& .title__text {
|
|
234
|
+
color: var(--gray-950, #14161a);
|
|
235
|
+
text-align: center;
|
|
236
|
+
font-size: 1.5rem;
|
|
237
|
+
font-style: normal;
|
|
238
|
+
font-weight: 600;
|
|
239
|
+
line-height: 2rem;
|
|
240
|
+
letter-spacing: -0.47px;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
& .title__action {
|
|
244
|
+
color: var(--gray-950, #14161a);
|
|
245
|
+
background: var(--neutral-9504, rgba(20, 22, 26, 0.04));
|
|
246
|
+
|
|
247
|
+
&:hover {
|
|
248
|
+
background: var(--neutral-9504, rgba(20, 22, 26, 0.12));
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
&:focus {
|
|
252
|
+
outline: none;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
& .wrapper__subtitle {
|
|
258
|
+
color: var(---gray-600, #676e79);
|
|
259
|
+
font-size: 0.875rem;
|
|
260
|
+
font-style: normal;
|
|
261
|
+
font-weight: 400;
|
|
262
|
+
line-height: 1.25rem;
|
|
263
|
+
letter-spacing: 0.25px;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
& .wrapper__cards {
|
|
268
|
+
display: grid;
|
|
269
|
+
grid-template-columns: ${(a) => `repeat(${a == null ? void 0 : a.limitCards}, minmax(0, 1fr))`};
|
|
270
|
+
gap: 1.25rem;
|
|
271
|
+
justify-items: center;
|
|
272
|
+
align-items: center;
|
|
273
|
+
width: 100%;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
@media (max-width: ${k + "px"}) {
|
|
277
|
+
& .wrapper__heading {
|
|
278
|
+
& .wrapper__title {
|
|
279
|
+
& .title__action {
|
|
280
|
+
display: none;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
& .wrapper__cards {
|
|
286
|
+
grid-template-columns: ${(a) => `repeat(${a == null ? void 0 : a.limitCardsForMobile}, minmax(0, 1fr))`};
|
|
287
|
+
gap: 1rem;
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
@media (max-width: 400px) {
|
|
292
|
+
& .wrapper__cards {
|
|
293
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
294
|
+
gap: 1rem;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
`, F = h(
|
|
298
|
+
({
|
|
299
|
+
title: a,
|
|
300
|
+
subtitle: p,
|
|
301
|
+
cards: n,
|
|
302
|
+
limitCards: _ = 4,
|
|
303
|
+
limitCardsForMobile: g = 2,
|
|
304
|
+
actionText: o,
|
|
305
|
+
onSelectCard: s = () => {
|
|
306
|
+
},
|
|
307
|
+
onShowMore: l
|
|
308
|
+
}, d) => {
|
|
309
|
+
var m;
|
|
310
|
+
const w = () => {
|
|
311
|
+
l == null || l();
|
|
312
|
+
}, i = (e) => {
|
|
313
|
+
s == null || s(e == null ? void 0 : e.uuid);
|
|
314
|
+
};
|
|
315
|
+
return /* @__PURE__ */ t(
|
|
316
|
+
I,
|
|
317
|
+
{
|
|
318
|
+
limitCards: _,
|
|
319
|
+
limitCardsForMobile: g,
|
|
320
|
+
children: [
|
|
321
|
+
/* @__PURE__ */ t("div", { className: "wrapper__heading", children: [
|
|
322
|
+
/* @__PURE__ */ t("div", { className: "wrapper__title", children: [
|
|
323
|
+
a && /* @__PURE__ */ r("div", { className: "title__text", children: a }),
|
|
324
|
+
o && l && /* @__PURE__ */ r(
|
|
325
|
+
u,
|
|
326
|
+
{
|
|
327
|
+
text: o,
|
|
328
|
+
borderRadius: "curved",
|
|
329
|
+
btnType: "tinted",
|
|
330
|
+
className: "title__action",
|
|
331
|
+
onClick: w
|
|
332
|
+
}
|
|
333
|
+
)
|
|
334
|
+
] }),
|
|
335
|
+
p && /* @__PURE__ */ r("div", { className: "wrapper__subtitle", children: p })
|
|
336
|
+
] }),
|
|
337
|
+
/* @__PURE__ */ r("div", { className: "wrapper__cards", children: n && (n == null ? void 0 : n.length) > 0 ? n == null ? void 0 : n.map((e, f) => /* @__PURE__ */ r(
|
|
338
|
+
z,
|
|
339
|
+
{
|
|
340
|
+
uuid: e == null ? void 0 : e.uuid,
|
|
341
|
+
title: e == null ? void 0 : e.title,
|
|
342
|
+
subtitle: e == null ? void 0 : e.subtitle,
|
|
343
|
+
image: e == null ? void 0 : e.image,
|
|
344
|
+
rating: e == null ? void 0 : e.rating,
|
|
345
|
+
reviewCount: e == null ? void 0 : e.reviewCount,
|
|
346
|
+
products: e == null ? void 0 : e.products,
|
|
347
|
+
imageComponent: e == null ? void 0 : e.imageComponent,
|
|
348
|
+
onSelectCard: () => i == null ? void 0 : i(e)
|
|
349
|
+
},
|
|
350
|
+
`shop-card__${f + 1}`
|
|
351
|
+
)) : (m = Array.from("1234")) == null ? void 0 : m.map((e, f) => /* @__PURE__ */ r(C, {}, `shop-card-skeleton__${f + 1}`)) })
|
|
352
|
+
]
|
|
353
|
+
}
|
|
354
|
+
);
|
|
355
|
+
}
|
|
356
|
+
);
|
|
357
|
+
export {
|
|
358
|
+
F as default
|
|
359
|
+
};
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./CheckBoxInput.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./CheckBoxInput.cjs"),n=require("./ColorInput.cjs"),e=require("./DateInput.cjs"),t=require("./DecimalInput.cjs"),i=require("./DecimalInputV2.cjs"),c=require("./FileInput.cjs"),s=require("./NumberInput.cjs"),a=require("./PasswordInput.cjs"),u=require("./RadioInput.cjs"),d=require("./RangeSlider.cjs"),q=require("./TextAreaInput.cjs"),l=require("./TextInput.cjs"),p=require("./TimeInput.cjs"),S=require("./Badge.cjs"),m=require("./Chip.cjs"),I=require("./DataView.cjs"),D=require("./DetailsView.cjs"),b=require("./EditableTable.cjs"),g=require("./FormView.cjs"),B=require("./Kanban.cjs"),T=require("./KanbanCard-CofqdTrO.cjs"),w=require("./KanbanHeader.cjs"),C=require("./KanbanFooter.cjs"),F=require("./KanbanView.cjs"),P=require("./KanbanActionsToolbar.cjs"),f=require("./Table.cjs"),M=require("./TableView.cjs"),h=require("./ActionsToolbar.cjs"),A=require("./Alert.cjs"),v=require("./Notification.cjs"),G=require("./NotificationContainer.cjs"),x=require("./NotificationMessage.cjs"),L=require("./ProgressBar.cjs"),K=require("./Spinner.cjs"),N=require("./Avatar.cjs"),V=require("./Button.cjs"),y=require("./Icon.cjs"),W=require("./IconButton.cjs"),k=require("./Link.cjs"),H=require("./Surface.cjs"),R=require("./UploadedFile.cjs"),O=require("./DoubleRangeSlider.cjs"),U=require("./DragAndDropFile.cjs"),E=require("./DragDropFiles.cjs"),j=require("./Dropdown.cjs"),z=require("./DropdownLookup.cjs"),J=require("./MultiSelectDropdown.cjs"),Q=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"),ne=require("./Footer.cjs"),te=require("./FormField.cjs"),ie=require("./Grid.cjs"),ce=require("./GridItem.cjs"),se=require("./Header.cjs"),ae=require("./PageLayout.cjs"),ue=require("./Sidebar.cjs"),de=require("./Tabs.cjs"),qe=require("./TabItem.cjs"),le=require("./Accordion.cjs"),pe=require("./AccordionSummary.cjs"),Se=require("./AccordionDetails.cjs"),me=require("./Breadcrumbs.cjs"),Ie=require("./ConfirmationForm.cjs"),De=require("./Drawer.cjs"),be=require("./DropdownMenu.cjs"),ge=require("./DropdownItem.cjs"),Be=require("./NestedDropdownItem.cjs"),Te=require("./Separator.cjs"),we=require("./Modal.cjs"),Ce=require("./Pagination.cjs"),Fe=require("./Popover.cjs"),Pe=require("./PopoverClose.cjs"),fe=require("./PopoverHeading.cjs"),Me=require("./PopoverContent.cjs"),he=require("./PopoverTrigger.cjs"),Ae=require("./PopoverDescription.cjs"),ve=require("./SwipeableDrawer.cjs"),Ge=require("./TreeMenu.cjs"),xe=require("./MenuItem.cjs"),Le=require("./NestedMenuItem.cjs"),Ke=require("./TreeMenuSeparator.cjs"),Ne=require("./MasonryGeneralCardsSection.cjs"),Ve=require("./DetailedProductsSection.cjs"),ye=require("./ProductsWithBannerSection.cjs"),We=require("./SimpleProductsSection.cjs"),ke=require("./UrgentSaleProductsSection.cjs"),He=require("./BannerSectionCarousel.cjs"),Re=require("./BannerSectionGrid.cjs"),Oe=require("./BannerSectionSimple.cjs"),Ue=require("./BannerSectionWithList.cjs"),Ee=require("./BannerSectionWithListImage.cjs"),je=require("./GiftCardsSection.cjs"),ze=require("./BrandHitsSection.cjs"),Je=require("./FieldOfInterestsMasonrySection.cjs"),Qe=require("./FieldOfInterestsWithAvatarsCardsSection.cjs"),Xe=require("./FieldOfInterestsWithTagsCardsSection.cjs"),Ye=require("./BannerSectionBasic.cjs"),Ze=require("./ShopCardsSection.cjs"),r=require("./ThemeProvider.cjs"),_e=require("./CustomStyles-CBON9fD-.cjs");exports.CheckBoxInput=o;exports.ColorInput=n;exports.DateInput=e.default;exports.registerLocale=e.registerLocale;exports.DecimalInput=t;exports.DecimalInputV2=i;exports.FileInput=c;exports.NumberInput=s;exports.PasswordInput=a;exports.RadioInput=u;exports.RangeSlider=d;exports.TextAreaInput=q;exports.TextInput=l;exports.TimeInput=p;exports.Badge=S;exports.Chip=m;exports.DataView=I;exports.DetailsView=D;exports.EditableTable=b;exports.FormView=g;exports.Kanban=B;exports.KanbanCard=T.KanbanCard;exports.KanbanHeader=w;exports.KanbanFooter=C;exports.KanbanView=F;exports.KanbanActionsToolbar=P;exports.Table=f.default;exports.TableView=M;exports.ActionsToolbar=h;exports.Alert=A;exports.Notification=v;exports.NotificationContainer=G;exports.NotificationMessage=x;exports.ProgressBar=L;exports.Spinner=K;exports.Avatar=N;exports.Button=V;exports.Icon=y;exports.IconButton=W;exports.Link=k;exports.Surface=H;exports.UploadedFile=R;exports.DoubleRangeSlider=O;exports.DragAndDropFile=U;exports.DragDropFiles=E;exports.Dropdown=j.default;exports.DropdownLookup=z;exports.MultiSelectDropdown=J;exports.MultiSelectDropdownLookup=Q;exports.RadioGroup=X;exports.SearchBar=Y;exports.Toggle=Z;exports.ButtonGroup=_;exports.Content=$;exports.FlexBox=ee;exports.FlexGrid=re;exports.FlexGridItem=oe;exports.Footer=ne;exports.FormField=te;exports.Grid=ie;exports.GridItem=ce;exports.Header=se;exports.PageLayout=ae;exports.Sidebar=ue;exports.Tabs=de;exports.TabItem=qe;exports.Accordion=le;exports.AccordionSummary=pe;exports.AccordionDetails=Se.default;exports.Breadcrumbs=me;exports.ConfirmationForm=Ie;exports.Drawer=De;exports.DropdownMenu=be;exports.DropdownItem=ge;exports.NestedDropdownItem=Be;exports.Separator=Te;exports.Modal=we;exports.Pagination=Ce;exports.Popover=Fe;exports.PopoverClose=Pe;exports.PopoverHeading=fe;exports.PopoverContent=Me;exports.PopoverTrigger=he;exports.PopoverDescription=Ae;exports.SwipeableDrawer=ve;exports.TreeMenu=Ge;exports.MenuItem=xe;exports.NestedMenuItem=Le;exports.TreeMenuSeparator=Ke;exports.MasonryGeneralCardsSection=Ne;exports.DetailedProductsSection=Ve;exports.ProductsWithBannerSection=ye;exports.SimpleProductsSection=We;exports.UrgentSaleProductsSection=ke;exports.BannerSectionCarousel=He;exports.BannerSectionGrid=Re;exports.BannerSectionSimple=Oe;exports.BannerSectionWithList=Ue;exports.BannerSectionWithListImage=Ee;exports.GiftCardsSection=je;exports.BrandHitsSection=ze;exports.FieldOfInterestsMasonrySection=Je;exports.FieldOfInterestsWithAvatarsCardsSection=Qe;exports.FieldOfInterestsWithTagsCardsSection=Xe;exports.BannerSectionBasic=Ye;exports.ShopCardsSection=Ze;exports.ThemeProvider=r.default;exports.useTheme=r.useTheme;exports.components=_e.components;
|
package/dist/index.js
CHANGED
|
@@ -7,10 +7,10 @@ import { default as n } from "./FileInput.js";
|
|
|
7
7
|
import { default as c } from "./NumberInput.js";
|
|
8
8
|
import { default as I } from "./PasswordInput.js";
|
|
9
9
|
import { default as b } from "./RadioInput.js";
|
|
10
|
-
import { default as
|
|
11
|
-
import { default as
|
|
12
|
-
import { default as
|
|
13
|
-
import { default as
|
|
10
|
+
import { default as B } from "./RangeSlider.js";
|
|
11
|
+
import { default as w } from "./TextAreaInput.js";
|
|
12
|
+
import { default as C } from "./TextInput.js";
|
|
13
|
+
import { default as h } from "./TimeInput.js";
|
|
14
14
|
import { default as A } from "./Badge.js";
|
|
15
15
|
import { default as G } from "./Chip.js";
|
|
16
16
|
import { default as L } from "./DataView.js";
|
|
@@ -34,10 +34,10 @@ import { default as ne } from "./ProgressBar.js";
|
|
|
34
34
|
import { default as ce } from "./Spinner.js";
|
|
35
35
|
import { default as Ie } from "./Avatar.js";
|
|
36
36
|
import { default as be } from "./Button.js";
|
|
37
|
-
import { default as
|
|
38
|
-
import { default as
|
|
39
|
-
import { default as
|
|
40
|
-
import { default as
|
|
37
|
+
import { default as Be } from "./Icon.js";
|
|
38
|
+
import { default as we } from "./IconButton.js";
|
|
39
|
+
import { default as Ce } from "./Link.js";
|
|
40
|
+
import { default as he } from "./Surface.js";
|
|
41
41
|
import { default as Ae } from "./UploadedFile.js";
|
|
42
42
|
import { default as Ge } from "./DoubleRangeSlider.js";
|
|
43
43
|
import { default as Le } from "./DragAndDropFile.js";
|
|
@@ -61,10 +61,10 @@ import { default as io } from "./GridItem.js";
|
|
|
61
61
|
import { default as So } from "./Header.js";
|
|
62
62
|
import { default as Do } from "./PageLayout.js";
|
|
63
63
|
import { default as go } from "./Sidebar.js";
|
|
64
|
-
import { default as
|
|
64
|
+
import { default as To } from "./Tabs.js";
|
|
65
65
|
import { default as Fo } from "./TabItem.js";
|
|
66
|
-
import { default as
|
|
67
|
-
import { default as
|
|
66
|
+
import { default as Po } from "./Accordion.js";
|
|
67
|
+
import { default as Mo } from "./AccordionSummary.js";
|
|
68
68
|
import { default as vo } from "./AccordionDetails.js";
|
|
69
69
|
import { default as Ko } from "./Breadcrumbs.js";
|
|
70
70
|
import { default as No } from "./ConfirmationForm.js";
|
|
@@ -88,10 +88,10 @@ import { default as ir } from "./NestedMenuItem.js";
|
|
|
88
88
|
import { default as Sr } from "./TreeMenuSeparator.js";
|
|
89
89
|
import { default as Dr } from "./MasonryGeneralCardsSection.js";
|
|
90
90
|
import { default as gr } from "./DetailedProductsSection.js";
|
|
91
|
-
import { default as
|
|
91
|
+
import { default as Tr } from "./ProductsWithBannerSection.js";
|
|
92
92
|
import { default as Fr } from "./SimpleProductsSection.js";
|
|
93
|
-
import { default as
|
|
94
|
-
import { default as
|
|
93
|
+
import { default as Pr } from "./UrgentSaleProductsSection.js";
|
|
94
|
+
import { default as Mr } from "./BannerSectionCarousel.js";
|
|
95
95
|
import { default as vr } from "./BannerSectionGrid.js";
|
|
96
96
|
import { default as Kr } from "./BannerSectionSimple.js";
|
|
97
97
|
import { default as Nr } from "./BannerSectionWithList.js";
|
|
@@ -101,17 +101,20 @@ import { default as Rr } from "./BrandHitsSection.js";
|
|
|
101
101
|
import { default as Ur } from "./FieldOfInterestsMasonrySection.js";
|
|
102
102
|
import { default as jr } from "./FieldOfInterestsWithAvatarsCardsSection.js";
|
|
103
103
|
import { default as zr } from "./FieldOfInterestsWithTagsCardsSection.js";
|
|
104
|
-
import { default as Qr
|
|
105
|
-
import {
|
|
104
|
+
import { default as Qr } from "./BannerSectionBasic.js";
|
|
105
|
+
import { default as Yr } from "./ShopCardsSection.js";
|
|
106
|
+
import { default as _r, useTheme as $r } from "./ThemeProvider.js";
|
|
107
|
+
import { c as ot } from "./CustomStyles-DuADCM-0.js";
|
|
106
108
|
export {
|
|
107
|
-
|
|
109
|
+
Po as Accordion,
|
|
108
110
|
vo as AccordionDetails,
|
|
109
|
-
|
|
111
|
+
Mo as AccordionSummary,
|
|
110
112
|
te as ActionsToolbar,
|
|
111
113
|
fe as Alert,
|
|
112
114
|
Ie as Avatar,
|
|
113
115
|
A as Badge,
|
|
114
|
-
|
|
116
|
+
Qr as BannerSectionBasic,
|
|
117
|
+
Mr as BannerSectionCarousel,
|
|
115
118
|
vr as BannerSectionGrid,
|
|
116
119
|
Kr as BannerSectionSimple,
|
|
117
120
|
Nr as BannerSectionWithList,
|
|
@@ -154,15 +157,15 @@ export {
|
|
|
154
157
|
xo as Grid,
|
|
155
158
|
io as GridItem,
|
|
156
159
|
So as Header,
|
|
157
|
-
|
|
158
|
-
|
|
160
|
+
Be as Icon,
|
|
161
|
+
we as IconButton,
|
|
159
162
|
O as Kanban,
|
|
160
163
|
Z as KanbanActionsToolbar,
|
|
161
164
|
E as KanbanCard,
|
|
162
165
|
J as KanbanFooter,
|
|
163
166
|
q as KanbanHeader,
|
|
164
167
|
X as KanbanView,
|
|
165
|
-
|
|
168
|
+
Ce as Link,
|
|
166
169
|
Dr as MasonryGeneralCardsSection,
|
|
167
170
|
xr as MenuItem,
|
|
168
171
|
zo as Modal,
|
|
@@ -183,32 +186,33 @@ export {
|
|
|
183
186
|
dr as PopoverDescription,
|
|
184
187
|
er as PopoverHeading,
|
|
185
188
|
ar as PopoverTrigger,
|
|
186
|
-
|
|
189
|
+
Tr as ProductsWithBannerSection,
|
|
187
190
|
ne as ProgressBar,
|
|
188
191
|
qe as RadioGroup,
|
|
189
192
|
b as RadioInput,
|
|
190
|
-
|
|
193
|
+
B as RangeSlider,
|
|
191
194
|
Je as SearchBar,
|
|
192
195
|
jo as Separator,
|
|
196
|
+
Yr as ShopCardsSection,
|
|
193
197
|
go as Sidebar,
|
|
194
198
|
Fr as SimpleProductsSection,
|
|
195
199
|
ce as Spinner,
|
|
196
|
-
|
|
200
|
+
he as Surface,
|
|
197
201
|
pr as SwipeableDrawer,
|
|
198
202
|
Fo as TabItem,
|
|
199
203
|
$ as Table,
|
|
200
204
|
oe as TableView,
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
205
|
+
To as Tabs,
|
|
206
|
+
w as TextAreaInput,
|
|
207
|
+
C as TextInput,
|
|
208
|
+
_r as ThemeProvider,
|
|
209
|
+
h as TimeInput,
|
|
206
210
|
Xe as Toggle,
|
|
207
211
|
ur as TreeMenu,
|
|
208
212
|
Sr as TreeMenuSeparator,
|
|
209
213
|
Ae as UploadedFile,
|
|
210
|
-
|
|
211
|
-
|
|
214
|
+
Pr as UrgentSaleProductsSection,
|
|
215
|
+
ot as components,
|
|
212
216
|
s as registerLocale,
|
|
213
|
-
|
|
217
|
+
$r as useTheme
|
|
214
218
|
};
|
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.31",
|
|
4
4
|
"description": "React component library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -119,6 +119,7 @@
|
|
|
119
119
|
"./ProductsWithBannerSection": "./dist/ProductsWithBannerSection.js",
|
|
120
120
|
"./SimpleProductsSection": "./dist/SimpleProductsSection.js",
|
|
121
121
|
"./UrgentSaleProductsSection": "./dist/UrgentSaleProductsSection.js",
|
|
122
|
+
"./BannerSectionBasic": "./dist/BannerSectionBasic.js",
|
|
122
123
|
"./BannerSectionCarousel": "./dist/BannerSectionCarousel.js",
|
|
123
124
|
"./BannerSectionGrid": "./dist/BannerSectionGrid.js",
|
|
124
125
|
"./BannerSectionSimple": "./dist/BannerSectionSimple.js",
|
|
@@ -128,7 +129,8 @@
|
|
|
128
129
|
"./BrandHitsSection": "./dist/BrandHitsSection.js",
|
|
129
130
|
"./FieldOfInterestsMasonrySection": "./dist/FieldOfInterestsMasonrySection.js",
|
|
130
131
|
"./FieldOfInterestsWithAvatarsCardsSection": "./dist/FieldOfInterestsWithAvatarsCardsSection.js",
|
|
131
|
-
"./FieldOfInterestsWithTagsCardsSection": "./dist/FieldOfInterestsWithTagsCardsSection.js"
|
|
132
|
+
"./FieldOfInterestsWithTagsCardsSection": "./dist/FieldOfInterestsWithTagsCardsSection.js",
|
|
133
|
+
"./ShopCardsSection": "./dist/ShopCardsSection.jsx"
|
|
132
134
|
},
|
|
133
135
|
"dependencies": {
|
|
134
136
|
"@dnd-kit/core": "^6.0.5",
|
package/vite.config.js
CHANGED
|
@@ -161,6 +161,10 @@ export default defineConfig({
|
|
|
161
161
|
__dirname,
|
|
162
162
|
"src/Landing Sections/products-sections/urgent-sale-products-section/UrgentSaleProductsSection.jsx"
|
|
163
163
|
),
|
|
164
|
+
resolve(
|
|
165
|
+
__dirname,
|
|
166
|
+
"src/Landing Sections/banners-sections/banner-section-basic/BannerSectionBasic.jsx"
|
|
167
|
+
),
|
|
164
168
|
resolve(
|
|
165
169
|
__dirname,
|
|
166
170
|
"src/Landing Sections/banners-sections/banner-section-carousel/BannerSectionCarousel.jsx"
|
|
@@ -201,6 +205,10 @@ export default defineConfig({
|
|
|
201
205
|
__dirname,
|
|
202
206
|
"src/Landing Sections/field-of-interests-sections/field-of-interests-with-tags-cards-section/FieldOfInterestsWithTagsCardsSection.jsx"
|
|
203
207
|
),
|
|
208
|
+
resolve(
|
|
209
|
+
__dirname,
|
|
210
|
+
"src/Landing Sections/shop-sections/shop-cards-section/ShopCardsSection.jsx"
|
|
211
|
+
),
|
|
204
212
|
],
|
|
205
213
|
name: "@lanaco/lnc-react-ui",
|
|
206
214
|
fileName: (format, name) => {
|