@kashifd/jwero-components 0.5.28 → 0.5.29
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/index.es.js +45 -42
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +12 -12
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -39596,11 +39596,12 @@ const iI = /* @__PURE__ */ Gn(sI), hd = U(Dt)(({}) => ({
|
|
|
39596
39596
|
] });
|
|
39597
39597
|
}, jI = ({
|
|
39598
39598
|
info: e,
|
|
39599
|
-
showStatusChip: t = !
|
|
39600
|
-
showBackgroundImage: o = !
|
|
39601
|
-
showSubData: r = !
|
|
39599
|
+
showStatusChip: t = !1,
|
|
39600
|
+
showBackgroundImage: o = !1,
|
|
39601
|
+
showSubData: r = !1,
|
|
39602
39602
|
labelProps: s,
|
|
39603
|
-
dataProps: i
|
|
39603
|
+
dataProps: i,
|
|
39604
|
+
boxSx: a
|
|
39604
39605
|
}) => /* @__PURE__ */ p.jsx(
|
|
39605
39606
|
Dt,
|
|
39606
39607
|
{
|
|
@@ -39611,7 +39612,8 @@ const iI = /* @__PURE__ */ Gn(sI), hd = U(Dt)(({}) => ({
|
|
|
39611
39612
|
backgroundColor: "#fff",
|
|
39612
39613
|
borderRadius: "1rem",
|
|
39613
39614
|
backgroundImage: o && (e != null && e.backgroundImage) ? `url(${e.backgroundImage})` : "",
|
|
39614
|
-
backgroundSize: "cover"
|
|
39615
|
+
backgroundSize: "cover",
|
|
39616
|
+
...a
|
|
39615
39617
|
},
|
|
39616
39618
|
children: /* @__PURE__ */ p.jsxs(Ne, { sx: { gap: "1rem" }, children: [
|
|
39617
39619
|
/* @__PURE__ */ p.jsx(rt, { variant: "xlMedium", ...s, children: e == null ? void 0 : e.label }),
|
|
@@ -39625,44 +39627,45 @@ const iI = /* @__PURE__ */ Gn(sI), hd = U(Dt)(({}) => ({
|
|
|
39625
39627
|
},
|
|
39626
39628
|
children: [
|
|
39627
39629
|
/* @__PURE__ */ p.jsx(rt, { variant: "xxlSemibold", ...i, children: e == null ? void 0 : e.total_number }),
|
|
39628
|
-
|
|
39629
|
-
|
|
39630
|
-
|
|
39631
|
-
|
|
39632
|
-
|
|
39633
|
-
|
|
39634
|
-
|
|
39635
|
-
|
|
39636
|
-
|
|
39637
|
-
|
|
39638
|
-
|
|
39639
|
-
|
|
39640
|
-
|
|
39641
|
-
|
|
39642
|
-
|
|
39643
|
-
|
|
39644
|
-
|
|
39645
|
-
|
|
39646
|
-
|
|
39647
|
-
|
|
39648
|
-
|
|
39630
|
+
/* @__PURE__ */ p.jsxs(Ne, { sx: { gap: "0.75rem" }, children: [
|
|
39631
|
+
t && /* @__PURE__ */ p.jsx(
|
|
39632
|
+
Ne,
|
|
39633
|
+
{
|
|
39634
|
+
sx: {
|
|
39635
|
+
gap: "0.5rem",
|
|
39636
|
+
alignItems: "flex-start"
|
|
39637
|
+
},
|
|
39638
|
+
children: /* @__PURE__ */ p.jsx(
|
|
39639
|
+
XM,
|
|
39640
|
+
{
|
|
39641
|
+
type: (e == null ? void 0 : e.chipType) || "custom",
|
|
39642
|
+
customProps: e == null ? void 0 : e.customChipProps,
|
|
39643
|
+
textSx: {
|
|
39644
|
+
textAlign: "center",
|
|
39645
|
+
fontFamily: "Inter,sans-serif",
|
|
39646
|
+
fontSize: "0.75rem",
|
|
39647
|
+
fontStyle: "normal",
|
|
39648
|
+
fontWeight: 600,
|
|
39649
|
+
lineHeight: "1.25rem",
|
|
39650
|
+
letterSpacing: "-0.015rem"
|
|
39651
|
+
}
|
|
39649
39652
|
}
|
|
39650
|
-
|
|
39651
|
-
|
|
39652
|
-
|
|
39653
|
-
|
|
39654
|
-
|
|
39655
|
-
|
|
39656
|
-
|
|
39657
|
-
|
|
39658
|
-
|
|
39659
|
-
|
|
39660
|
-
|
|
39661
|
-
|
|
39662
|
-
|
|
39663
|
-
|
|
39664
|
-
|
|
39665
|
-
)
|
|
39653
|
+
)
|
|
39654
|
+
}
|
|
39655
|
+
),
|
|
39656
|
+
r && (e == null ? void 0 : e.subData) && /* @__PURE__ */ p.jsx(
|
|
39657
|
+
Ne,
|
|
39658
|
+
{
|
|
39659
|
+
direction: "row",
|
|
39660
|
+
spacing: 2,
|
|
39661
|
+
sx: { width: "100%", justifyContent: "space-between" },
|
|
39662
|
+
children: e.subData.map((l) => /* @__PURE__ */ p.jsxs(Dt, { textAlign: "center", children: [
|
|
39663
|
+
/* @__PURE__ */ p.jsx(rt, { variant: "lRegular", children: l.label }),
|
|
39664
|
+
/* @__PURE__ */ p.jsx(rt, { variant: "xlSemibold", children: l.value })
|
|
39665
|
+
] }, l.label))
|
|
39666
|
+
}
|
|
39667
|
+
)
|
|
39668
|
+
] })
|
|
39666
39669
|
]
|
|
39667
39670
|
}
|
|
39668
39671
|
)
|