@kashifd/jwero-components 0.7.41 → 0.7.42

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
@@ -58585,6 +58585,7 @@ const hz = ({ name: e, data: t, labels: r }) => {
58585
58585
  return /* @__PURE__ */ v.jsxs(
58586
58586
  Ve,
58587
58587
  {
58588
+ className: "no-scrollbar",
58588
58589
  sx: {
58589
58590
  backgroundColor: w.colors.white,
58590
58591
  minWidth: "200px",
@@ -58607,48 +58608,55 @@ const hz = ({ name: e, data: t, labels: r }) => {
58607
58608
  children: /* @__PURE__ */ v.jsx(vt, { variant: "xxxlSemibold", ...r, children: e })
58608
58609
  }
58609
58610
  ),
58610
- /* @__PURE__ */ v.jsx(Ve, { sx: { gap: "1rem", height: "100%", overflowY: "auto", ...c }, children: Gr.isArrayWithValues(s) && s.map((S, O) => /* @__PURE__ */ v.jsx(
58611
- Mr,
58611
+ /* @__PURE__ */ v.jsx(
58612
+ Ve,
58612
58613
  {
58613
- title: S.access ? "" : `You don't have permission to edit ${S.label.toLowerCase() || ""}`,
58614
- children: /* @__PURE__ */ v.jsxs(
58615
- Ve,
58614
+ className: "no-scrollbar",
58615
+ sx: { gap: "1rem", height: "100%", overflowY: "auto", ...c },
58616
+ children: Gr.isArrayWithValues(s) && s.map((S, O) => /* @__PURE__ */ v.jsx(
58617
+ Mr,
58616
58618
  {
58617
- onClick: () => {
58618
- b && b(S.value, S.access, S == null ? void 0 : S.navigate);
58619
- },
58620
- direction: "row",
58621
- alignItems: "center",
58622
- justifyContent: "space-between",
58623
- sx: {
58624
- borderRadius: "0.5rem",
58625
- padding: "0.75rem",
58626
- backgroundColor: S.value === t ? w.colors.light_blue : w.palette.background.paper,
58627
- color: S.value === t ? w.colors.secondary : w.colors.text_secondary,
58628
- cursor: S.access ? "pointer" : "not-allowed",
58629
- "&:hover": {
58630
- backgroundColor: S.value === t ? w.colors.light_blue : w.colors.light_grey
58631
- },
58632
- ...m
58633
- },
58634
- children: [
58635
- /* @__PURE__ */ v.jsx(vt, { variant: "xlMedium", ...a, children: S.label }),
58636
- (S == null ? void 0 : S.count) && /* @__PURE__ */ v.jsx(
58637
- af,
58638
- {
58639
- type: "single",
58640
- count: S == null ? void 0 : S.count,
58641
- sx: {
58642
- backgroundColor: w.colors.secondary
58643
- }
58644
- }
58645
- )
58646
- ]
58647
- }
58648
- )
58649
- },
58650
- `${S.value}_${O}`
58651
- )) })
58619
+ title: S.access ? "" : `You don't have permission to edit ${S.label.toLowerCase() || ""}`,
58620
+ children: /* @__PURE__ */ v.jsxs(
58621
+ Ve,
58622
+ {
58623
+ onClick: () => {
58624
+ b && b(S.value, S.access, S == null ? void 0 : S.navigate);
58625
+ },
58626
+ direction: "row",
58627
+ alignItems: "center",
58628
+ justifyContent: "space-between",
58629
+ sx: {
58630
+ borderRadius: "0.5rem",
58631
+ padding: "0.75rem",
58632
+ backgroundColor: S.value === t ? w.colors.light_blue : w.palette.background.paper,
58633
+ color: S.value === t ? w.colors.secondary : w.colors.text_secondary,
58634
+ cursor: S.access ? "pointer" : "not-allowed",
58635
+ "&:hover": {
58636
+ backgroundColor: S.value === t ? w.colors.light_blue : w.colors.light_grey
58637
+ },
58638
+ ...m
58639
+ },
58640
+ children: [
58641
+ /* @__PURE__ */ v.jsx(vt, { variant: "xlMedium", ...a, children: S.label }),
58642
+ (S == null ? void 0 : S.count) && /* @__PURE__ */ v.jsx(
58643
+ af,
58644
+ {
58645
+ type: "single",
58646
+ count: S == null ? void 0 : S.count,
58647
+ sx: {
58648
+ backgroundColor: w.colors.secondary
58649
+ }
58650
+ }
58651
+ )
58652
+ ]
58653
+ }
58654
+ )
58655
+ },
58656
+ `${S.value}_${O}`
58657
+ ))
58658
+ }
58659
+ )
58652
58660
  ]
58653
58661
  }
58654
58662
  );