componenteszw-package 1.0.16 → 1.0.17
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/Card.d.ts +2 -0
- package/dist/index.js +21 -3
- package/package.json +1 -1
package/dist/Card.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1626,11 +1626,29 @@ var Oe = ({ title: e, subtitle: n, iconFile: r, loading: i = !1, state: a = "def
|
|
|
1626
1626
|
})]
|
|
1627
1627
|
})]
|
|
1628
1628
|
});
|
|
1629
|
-
}, ke = ({ children: e, onClick: t }) => /* @__PURE__ */ l("div", {
|
|
1629
|
+
}, ke = ({ children: e, onClick: t, className: n = "", contentClassName: r = "" }) => /* @__PURE__ */ l("div", {
|
|
1630
1630
|
onClick: t,
|
|
1631
|
-
className:
|
|
1631
|
+
className: `
|
|
1632
|
+
w-full
|
|
1633
|
+
bg-white
|
|
1634
|
+
rounded-2xl
|
|
1635
|
+
border border-gray-200
|
|
1636
|
+
shadow-sm
|
|
1637
|
+
hover:shadow-md
|
|
1638
|
+
transition-all duration-200
|
|
1639
|
+
overflow-hidden
|
|
1640
|
+
${n}
|
|
1641
|
+
`,
|
|
1632
1642
|
children: /* @__PURE__ */ l("div", {
|
|
1633
|
-
className:
|
|
1643
|
+
className: `
|
|
1644
|
+
min-h-[72px]
|
|
1645
|
+
px-6
|
|
1646
|
+
py-4
|
|
1647
|
+
flex
|
|
1648
|
+
items-center
|
|
1649
|
+
justify-between
|
|
1650
|
+
${r}
|
|
1651
|
+
`,
|
|
1634
1652
|
children: e || /* @__PURE__ */ u(c, { children: [
|
|
1635
1653
|
/* @__PURE__ */ l("div", { className: "flex-1 h-5 rounded-md bg-gray-100" }),
|
|
1636
1654
|
/* @__PURE__ */ l("div", { className: "w-24 h-5 rounded-md bg-gray-100 ml-6" }),
|