schummar-table 0.50.4 → 0.50.6

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.js CHANGED
@@ -2787,10 +2787,10 @@ function calc(props, cache) {
2787
2787
  ...column,
2788
2788
  value
2789
2789
  }));
2790
- else if (props.columns !== void 0) inputColumns = props.columns.map((column) => ({
2790
+ else if (props.columns !== void 0) inputColumns = props.columns.map((column) => column && {
2791
2791
  ...column,
2792
2792
  dependecies: void 0
2793
- }));
2793
+ });
2794
2794
  const globalDefaults = props.defaultColumnProps;
2795
2795
  const mapColumn = ({ id: _id, header, exportHeader, footer, value, renderCell, exportCell, sortBy, disableSort, hidden, classes, styles, filter, width, displaySize }, index) => {
2796
2796
  const id$1 = _id ?? index;
@@ -3743,16 +3743,12 @@ const Row = memo(function Row$1({ itemId, rowIndex }) {
3743
3743
  ]);
3744
3744
  useLayoutEffect(() => table.getState().props.debugRender?.("render row", itemId));
3745
3745
  if (!item) return null;
3746
- return /* @__PURE__ */ jsx(ClassNames, { children: ({ css: css$1 }) => /* @__PURE__ */ jsx(Fragment$1, { children: wrapRow({
3747
- className: css$1([
3748
- subgrid ? {
3749
- gridColumn: `1 / -1`,
3750
- display: "grid",
3751
- gridTemplateColumns: "subgrid"
3752
- } : { display: "contents" },
3753
- rowClassName,
3754
- rowStyles
3755
- ]),
3746
+ return /* @__PURE__ */ jsx(ClassNames, { children: ({ css: css$1, cx: cx$1 }) => /* @__PURE__ */ jsx(Fragment$1, { children: wrapRow({
3747
+ className: cx$1(css$1([subgrid ? {
3748
+ gridColumn: `1 / -1`,
3749
+ display: "grid",
3750
+ gridTemplateColumns: "subgrid"
3751
+ } : { display: "contents" }, rowStyles]), rowClassName),
3756
3752
  children: /* @__PURE__ */ jsxs(Fragment$1, { children: [
3757
3753
  /* @__PURE__ */ jsx("div", {
3758
3754
  className: cellClassName,