@economic/taco 2.67.1-footer-fix.2 → 2.67.1

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/taco.cjs CHANGED
@@ -29973,7 +29973,7 @@ const Header$6 = React__namespace.forwardRef(function MenuHeader(props, ref) {
29973
29973
  },
29974
29974
  props.className
29975
29975
  );
29976
- return /* @__PURE__ */ React__namespace.createElement($d08ef79370b62062$export$b04be29aa201d4f5, { ...props, className, ref });
29976
+ return /* @__PURE__ */ React__namespace.createElement($d08ef79370b62062$export$b04be29aa201d4f5, { "data-taco": "menu-item-header", ...props, className, ref });
29977
29977
  });
29978
29978
  const SubMenu = React__namespace.forwardRef(function MenuSubMenu(props, ref) {
29979
29979
  const internalRef = useMergedRef(ref);
@@ -37939,7 +37939,7 @@ function useTableRenderer(renderers, table, tableRef, length, defaultRowActiveIn
37939
37939
  row = rows[virtualRow.index];
37940
37940
  }
37941
37941
  if (!(row == null ? void 0 : row.original)) {
37942
- const skeletonKey = `skeleton-${virtualRow.index}-${JSON.stringify(table.getState().sorting).slice(0, 8)}`;
37942
+ const skeletonKey = `skeleton-${virtualRow.index}`;
37943
37943
  return /* @__PURE__ */ React.createElement(
37944
37944
  SkeletonRow,
37945
37945
  {
@@ -38963,6 +38963,7 @@ const HeaderContent = ({ children, tooltip, isInternalColumnHeader }) => {
38963
38963
  return /* @__PURE__ */ React.createElement(Tooltip$3, { title: String(tooltip ?? children), placement: "top" }, /* @__PURE__ */ React.createElement("span", { className: "truncate" }, children));
38964
38964
  };
38965
38965
  function Header$1(props) {
38966
+ var _a;
38966
38967
  const { header, scrollToIndex } = props;
38967
38968
  if (header.column.getIsGrouped()) {
38968
38969
  return null;
@@ -39005,6 +39006,7 @@ function Header$1(props) {
39005
39006
  isPinned,
39006
39007
  isPlaceholder: header.isPlaceholder,
39007
39008
  offset: header.column.getStart(isPinned),
39009
+ parentId: (_a = header.column.parent) == null ? void 0 : _a.id,
39008
39010
  scrollToIndex,
39009
39011
  setRowActiveIndex: tableMeta.rowActive.setRowActiveIndex,
39010
39012
  setColumnSizing: table.setColumnSizing,
@@ -39024,8 +39026,8 @@ function Header$1(props) {
39024
39026
  }
39025
39027
  if (canGoto) {
39026
39028
  memoedProps.onGoto = (query) => {
39027
- var _a, _b;
39028
- return (_b = (_a = tableMeta.rowGoto).handleGoto) == null ? void 0 : _b.call(_a, header.id, query, sorting, filters, search);
39029
+ var _a2, _b;
39030
+ return (_b = (_a2 = tableMeta.rowGoto).handleGoto) == null ? void 0 : _b.call(_a2, header.id, query, sorting, filters, search);
39029
39031
  };
39030
39032
  }
39031
39033
  if (canHide) {
@@ -39123,7 +39125,8 @@ const MemoedHeader = React.memo(function MemoedHeader2(props) {
39123
39125
  "data-cell-align": isGroup2 ? "center" : align,
39124
39126
  "data-cell-id": id2,
39125
39127
  "data-cell-pinned": isPinned ? isPinned : void 0,
39126
- "data-taco": isGroup2 ? "grouped-column-header" : "column-header",
39128
+ "data-taco": isGroup2 ? isPlaceholder ? "grouped-column-header-placeholder" : "grouped-column-header" : "column-header",
39129
+ "data-parent-group-id": props.parentId ? props.parentId : void 0,
39127
39130
  "data-rows-expanded": isExpanded ? isExpanded : void 0,
39128
39131
  style,
39129
39132
  ref: setRef