@3sc/common-component 0.0.386 → 0.0.387

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
@@ -45362,7 +45362,7 @@ $w.propTypes = {
45362
45362
  handleLinkClick: s.func
45363
45363
  };
45364
45364
  const Fw = ({ breadcrumbProps: e, switchProps: t, filterComponentProps: n, metaDataProps: r }) => {
45365
- var i, a, l, c, u, d;
45365
+ var i, a, l, c, u, d, f;
45366
45366
  const o = Nt();
45367
45367
  return /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
45368
45368
  /* @__PURE__ */ g.jsxs(
@@ -45450,7 +45450,8 @@ const Fw = ({ breadcrumbProps: e, switchProps: t, filterComponentProps: n, metaD
45450
45450
  position: "relative",
45451
45451
  alignItems: "center",
45452
45452
  display: "flex",
45453
- overflow: "hidden"
45453
+ overflow: "hidden",
45454
+ width: (u = n == null ? void 0 : n.filterContainerProps) != null && u.isSideDrawerOpen ? "75%" : "100%"
45454
45455
  },
45455
45456
  children: /* @__PURE__ */ g.jsxs(
45456
45457
  pt,
@@ -45504,7 +45505,7 @@ const Fw = ({ breadcrumbProps: e, switchProps: t, filterComponentProps: n, metaD
45504
45505
  sx: {
45505
45506
  overflow: "visible"
45506
45507
  },
45507
- children: (u = n == null ? void 0 : n.filterItems) == null ? void 0 : u.map((f, p) => /* @__PURE__ */ g.jsx(g.Fragment, { children: /* @__PURE__ */ g.jsxs(
45508
+ children: (d = n == null ? void 0 : n.filterItems) == null ? void 0 : d.map((p, h) => /* @__PURE__ */ g.jsx(g.Fragment, { children: /* @__PURE__ */ g.jsxs(
45508
45509
  Ce,
45509
45510
  {
45510
45511
  sx: {
@@ -45528,7 +45529,7 @@ const Fw = ({ breadcrumbProps: e, switchProps: t, filterComponentProps: n, metaD
45528
45529
  right: "-0.6rem",
45529
45530
  cursor: "pointer"
45530
45531
  },
45531
- onClick: () => n == null ? void 0 : n.onFilterChipClose(f)
45532
+ onClick: () => n == null ? void 0 : n.onFilterChipClose(p)
45532
45533
  }
45533
45534
  ),
45534
45535
  /* @__PURE__ */ g.jsx(
@@ -45538,12 +45539,12 @@ const Fw = ({ breadcrumbProps: e, switchProps: t, filterComponentProps: n, metaD
45538
45539
  fontSize: "1rem",
45539
45540
  color: o.palette.primary.notifyTextColor
45540
45541
  },
45541
- children: f == null ? void 0 : f.filterLabel
45542
+ children: p == null ? void 0 : p.filterLabel
45542
45543
  }
45543
45544
  )
45544
45545
  ]
45545
45546
  },
45546
- p
45547
+ h
45547
45548
  ) }))
45548
45549
  }
45549
45550
  )
@@ -45560,7 +45561,7 @@ const Fw = ({ breadcrumbProps: e, switchProps: t, filterComponentProps: n, metaD
45560
45561
  color: o.palette.brandColor.red,
45561
45562
  cursor: "pointer"
45562
45563
  },
45563
- onClick: (d = n == null ? void 0 : n.filterContainerProps) == null ? void 0 : d.onClearClick,
45564
+ onClick: (f = n == null ? void 0 : n.filterContainerProps) == null ? void 0 : f.onClearClick,
45564
45565
  children: "Clear"
45565
45566
  }
45566
45567
  )