@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 +8 -5
- package/dist/taco.cjs.map +1 -1
- package/dist/taco.js +8 -5
- package/dist/taco.js.map +1 -1
- package/package.json +2 -2
package/dist/taco.js
CHANGED
@@ -29955,7 +29955,7 @@ const Header$6 = React.forwardRef(function MenuHeader(props, ref) {
|
|
29955
29955
|
},
|
29956
29956
|
props.className
|
29957
29957
|
);
|
29958
|
-
return /* @__PURE__ */ React.createElement($d08ef79370b62062$export$b04be29aa201d4f5, { ...props, className, ref });
|
29958
|
+
return /* @__PURE__ */ React.createElement($d08ef79370b62062$export$b04be29aa201d4f5, { "data-taco": "menu-item-header", ...props, className, ref });
|
29959
29959
|
});
|
29960
29960
|
const SubMenu = React.forwardRef(function MenuSubMenu(props, ref) {
|
29961
29961
|
const internalRef = useMergedRef(ref);
|
@@ -37921,7 +37921,7 @@ function useTableRenderer(renderers, table, tableRef, length, defaultRowActiveIn
|
|
37921
37921
|
row = rows[virtualRow.index];
|
37922
37922
|
}
|
37923
37923
|
if (!(row == null ? void 0 : row.original)) {
|
37924
|
-
const skeletonKey = `skeleton-${virtualRow.index}
|
37924
|
+
const skeletonKey = `skeleton-${virtualRow.index}`;
|
37925
37925
|
return /* @__PURE__ */ React__default.createElement(
|
37926
37926
|
SkeletonRow,
|
37927
37927
|
{
|
@@ -38945,6 +38945,7 @@ const HeaderContent = ({ children, tooltip, isInternalColumnHeader }) => {
|
|
38945
38945
|
return /* @__PURE__ */ React__default.createElement(Tooltip$3, { title: String(tooltip ?? children), placement: "top" }, /* @__PURE__ */ React__default.createElement("span", { className: "truncate" }, children));
|
38946
38946
|
};
|
38947
38947
|
function Header$1(props) {
|
38948
|
+
var _a;
|
38948
38949
|
const { header, scrollToIndex } = props;
|
38949
38950
|
if (header.column.getIsGrouped()) {
|
38950
38951
|
return null;
|
@@ -38987,6 +38988,7 @@ function Header$1(props) {
|
|
38987
38988
|
isPinned,
|
38988
38989
|
isPlaceholder: header.isPlaceholder,
|
38989
38990
|
offset: header.column.getStart(isPinned),
|
38991
|
+
parentId: (_a = header.column.parent) == null ? void 0 : _a.id,
|
38990
38992
|
scrollToIndex,
|
38991
38993
|
setRowActiveIndex: tableMeta.rowActive.setRowActiveIndex,
|
38992
38994
|
setColumnSizing: table.setColumnSizing,
|
@@ -39006,8 +39008,8 @@ function Header$1(props) {
|
|
39006
39008
|
}
|
39007
39009
|
if (canGoto) {
|
39008
39010
|
memoedProps.onGoto = (query) => {
|
39009
|
-
var
|
39010
|
-
return (_b = (
|
39011
|
+
var _a2, _b;
|
39012
|
+
return (_b = (_a2 = tableMeta.rowGoto).handleGoto) == null ? void 0 : _b.call(_a2, header.id, query, sorting, filters, search);
|
39011
39013
|
};
|
39012
39014
|
}
|
39013
39015
|
if (canHide) {
|
@@ -39105,7 +39107,8 @@ const MemoedHeader = React__default.memo(function MemoedHeader2(props) {
|
|
39105
39107
|
"data-cell-align": isGroup2 ? "center" : align,
|
39106
39108
|
"data-cell-id": id2,
|
39107
39109
|
"data-cell-pinned": isPinned ? isPinned : void 0,
|
39108
|
-
"data-taco": isGroup2 ? "grouped-column-header" : "column-header",
|
39110
|
+
"data-taco": isGroup2 ? isPlaceholder ? "grouped-column-header-placeholder" : "grouped-column-header" : "column-header",
|
39111
|
+
"data-parent-group-id": props.parentId ? props.parentId : void 0,
|
39109
39112
|
"data-rows-expanded": isExpanded ? isExpanded : void 0,
|
39110
39113
|
style,
|
39111
39114
|
ref: setRef
|