@3sc/common-component 0.0.169 → 0.0.170

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
@@ -40983,27 +40983,31 @@ function hC({ column: e, sort: t, handleMenuClick: n, isManageable: o }) {
40983
40983
  display: "flex",
40984
40984
  alignItems: "center",
40985
40985
  justifyContent: "center",
40986
- fontSize: "1.1rem"
40986
+ fontSize: "1.1rem",
40987
+ textAlign: "center",
40988
+ whiteSpace: "normal"
40987
40989
  },
40988
40990
  children: [
40989
40991
  s,
40990
- a && /* @__PURE__ */ y.jsx(
40991
- fC,
40992
- {
40993
- sortKey: e == null ? void 0 : e.key,
40994
- sortField: l,
40995
- sortDir: c,
40996
- handleSortClick: () => u({ column: e, sortDir: c, sortField: l })
40997
- }
40998
- ),
40999
- o && !r && /* @__PURE__ */ y.jsx(
41000
- Ao,
41001
- {
41002
- onClick: (d) => n(d, e),
41003
- sx: { padding: "0.5rem" },
41004
- children: /* @__PURE__ */ y.jsx(ye, { component: "img", src: it.Menu })
41005
- }
41006
- )
40992
+ /* @__PURE__ */ y.jsxs(ye, { sx: { display: "flex", alignItems: "center", gap: "0.5rem" }, children: [
40993
+ a && /* @__PURE__ */ y.jsx(
40994
+ fC,
40995
+ {
40996
+ sortKey: e == null ? void 0 : e.key,
40997
+ sortField: l,
40998
+ sortDir: c,
40999
+ handleSortClick: () => u({ column: e, sortDir: c, sortField: l })
41000
+ }
41001
+ ),
41002
+ o && !r && /* @__PURE__ */ y.jsx(
41003
+ Ao,
41004
+ {
41005
+ onClick: (d) => n(d, e),
41006
+ sx: { padding: "0.5rem" },
41007
+ children: /* @__PURE__ */ y.jsx(ye, { component: "img", src: it.Menu })
41008
+ }
41009
+ )
41010
+ ] })
41007
41011
  ]
41008
41012
  }
41009
41013
  );
@@ -41222,7 +41226,7 @@ function mC({
41222
41226
  /* @__PURE__ */ y.jsx(Lp, { children: t.map((O, N) => {
41223
41227
  const $ = O[R], j = E == null ? void 0 : E[$], L = (j == null ? void 0 : j.length) > 0;
41224
41228
  return /* @__PURE__ */ y.jsxs(wt.Fragment, { children: [
41225
- /* @__PURE__ */ y.jsx(jr, { children: c.map(
41229
+ /* @__PURE__ */ y.jsx(jr, { onClick: () => o == null ? void 0 : o.handleRowClick(O, N), children: c.map(
41226
41230
  (G, Y) => G != null && G.isHidden ? null : G != null && G.children ? G.children.map((H, q) => /* @__PURE__ */ y.jsxs(wt.Fragment, { children: [
41227
41231
  V(
41228
41232
  H,