@lanaco/lnc-react-ui 4.0.68 → 4.0.69
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.
|
@@ -207,4 +207,4 @@
|
|
|
207
207
|
gap: 1rem;
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
`,z=l.forwardRef(({title:t,subtitle:i,options:a=[],limitTags:p=7,limitTagsForMobile:w=2,limit:c=3,limitForMobile:b=3,items:n=[],onSelectTag:h=()=>{},onSelectCard:_=()=>{},isLoading:y},v)=>{var f,u;const x=e=>{h==null||h(e==null?void 0:e.uuid)},g=e=>{_==null||_(e==null?void 0:e.uuid)};return r.jsxs(q,{ref:v,limitTags:p,limitTagsForMobile:w,limitCards:c,limitCardsForMobile:b,children:[r.jsxs("div",{className:"wrapper__heading",children:[t&&r.jsx("div",{className:"wrapper__title",children:t}),i&&r.jsx("div",{className:"wrapper__subtitle",children:i})]}),r.jsx("div",{className:"wrapper__cards",children:n&&(n==null?void 0:n.length)>0?n==null?void 0:n.map((e,s)=>r.jsx(G,{image:e==null?void 0:e.
|
|
210
|
+
`,z=l.forwardRef(({title:t,subtitle:i,options:a=[],limitTags:p=7,limitTagsForMobile:w=2,limit:c=3,limitForMobile:b=3,items:n=[],onSelectTag:h=()=>{},onSelectCard:_=()=>{},isLoading:y},v)=>{var f,u;const x=e=>{h==null||h(e==null?void 0:e.uuid)},g=e=>{_==null||_(e==null?void 0:e.uuid)};return r.jsxs(q,{ref:v,limitTags:p,limitTagsForMobile:w,limitCards:c,limitCardsForMobile:b,children:[r.jsxs("div",{className:"wrapper__heading",children:[t&&r.jsx("div",{className:"wrapper__title",children:t}),i&&r.jsx("div",{className:"wrapper__subtitle",children:i})]}),r.jsx("div",{className:"wrapper__cards",children:n&&(n==null?void 0:n.length)>0?n==null?void 0:n.map((e,s)=>r.jsx(G,{image:e==null?void 0:e.imageUrl,imageComponent:e==null?void 0:e.imageComponent,title:e==null?void 0:e.title,onSelectCard:()=>g==null?void 0:g(e==null?void 0:e.uuid)},`general-with-tags-card__${s+1}`)):(f=Array.from("123"))==null?void 0:f.map((e,s)=>r.jsx(R,{},`general-with-tags-card-skeleton__${s+1}`))}),(a==null?void 0:a.length)>0&&r.jsx("div",{className:"wrapper__tags",children:a==null?void 0:a.map((e,s)=>r.jsx(W,{icon:e==null?void 0:e.icon,text:e==null?void 0:e.text,onSelectCard:()=>x==null?void 0:x(e)},`general-with-tags-card-tag__${s+1}`))}),y===!0&&!((a==null?void 0:a.length)>0)&&r.jsx("div",{className:"wrapper__tags",children:(u=Array.from("123"))==null?void 0:u.map((e,s)=>r.jsx(E,{},`general-with-tags-card-tag-skeleton__${s+1}`))})]})});module.exports=z;
|
|
@@ -229,7 +229,7 @@ const j = s.div`
|
|
|
229
229
|
gap: 1rem;
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
|
-
`,
|
|
232
|
+
`, X = o(
|
|
233
233
|
({
|
|
234
234
|
title: r,
|
|
235
235
|
subtitle: i,
|
|
@@ -267,7 +267,7 @@ const j = s.div`
|
|
|
267
267
|
/* @__PURE__ */ a("div", { className: "wrapper__cards", children: n && (n == null ? void 0 : n.length) > 0 ? n == null ? void 0 : n.map((e, l) => /* @__PURE__ */ a(
|
|
268
268
|
A,
|
|
269
269
|
{
|
|
270
|
-
image: e == null ? void 0 : e.
|
|
270
|
+
image: e == null ? void 0 : e.imageUrl,
|
|
271
271
|
imageComponent: e == null ? void 0 : e.imageComponent,
|
|
272
272
|
title: e == null ? void 0 : e.title,
|
|
273
273
|
onSelectCard: () => _ == null ? void 0 : _(e == null ? void 0 : e.uuid)
|
|
@@ -298,5 +298,5 @@ const j = s.div`
|
|
|
298
298
|
}
|
|
299
299
|
);
|
|
300
300
|
export {
|
|
301
|
-
|
|
301
|
+
X as default
|
|
302
302
|
};
|