@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 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 = !0,
39600
- showBackgroundImage: o = !0,
39601
- showSubData: r = !0,
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
- t && /* @__PURE__ */ p.jsx(
39629
- Ne,
39630
- {
39631
- sx: {
39632
- gap: "0.5rem",
39633
- paddingBottom: "0.5rem",
39634
- alignItems: "flex-start"
39635
- },
39636
- children: /* @__PURE__ */ p.jsx(
39637
- XM,
39638
- {
39639
- type: (e == null ? void 0 : e.chipType) || "custom",
39640
- customProps: e == null ? void 0 : e.customChipProps,
39641
- textSx: {
39642
- textAlign: "center",
39643
- fontFamily: "Inter,sans-serif",
39644
- fontSize: "0.75rem",
39645
- fontStyle: "normal",
39646
- fontWeight: 600,
39647
- lineHeight: "1.25rem",
39648
- letterSpacing: "-0.015rem"
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
- r && (e == null ? void 0 : e.subData) && /* @__PURE__ */ p.jsx(
39655
- Ne,
39656
- {
39657
- direction: "row",
39658
- spacing: 2,
39659
- sx: { width: "100%", justifyContent: "space-between" },
39660
- children: e.subData.map((a) => /* @__PURE__ */ p.jsxs(Dt, { textAlign: "center", children: [
39661
- /* @__PURE__ */ p.jsx(rt, { variant: "lRegular", children: a.label }),
39662
- /* @__PURE__ */ p.jsx(rt, { variant: "xlSemibold", children: a.value })
39663
- ] }, a.label))
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
  )