@economic/taco 2.67.1-footer-fix.3 → 2.67.2
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 +9 -6
- package/dist/taco.cjs.map +1 -1
- package/dist/taco.js +9 -6
- package/dist/taco.js.map +1 -1
- package/package.json +2 -2
package/dist/taco.js
CHANGED
@@ -16952,10 +16952,10 @@ const Navbar = React.memo(({ onMonthChange, value = /* @__PURE__ */ new Date() }
|
|
16952
16952
|
onMonthChange(new Date(year.value, month.value));
|
16953
16953
|
};
|
16954
16954
|
const onNextClick = () => {
|
16955
|
-
onMonthChange(new Date(value.getFullYear(), value.getMonth() + 1
|
16955
|
+
onMonthChange(new Date(value.getFullYear(), value.getMonth() + 1));
|
16956
16956
|
};
|
16957
16957
|
const onPreviousClick = () => {
|
16958
|
-
onMonthChange(new Date(value.getFullYear(), value.getMonth() - 1
|
16958
|
+
onMonthChange(new Date(value.getFullYear(), value.getMonth() - 1));
|
16959
16959
|
};
|
16960
16960
|
return /* @__PURE__ */ React.createElement("div", { className: "mb-3 flex items-center justify-between" }, /* @__PURE__ */ React.createElement("form", { className: "inline-flex space-x-1" }, /* @__PURE__ */ React.createElement("select", { className: "h-8 px-2", name: "month", onChange: handleChange, value: value.getMonth() }, months.map((month, i2) => /* @__PURE__ */ React.createElement("option", { key: month, value: i2 }, month))), /* @__PURE__ */ React.createElement("select", { className: "h-8 px-2", name: "year", onChange: handleChange, value: value.getFullYear() }, years.map((year) => /* @__PURE__ */ React.createElement("option", { key: year, value: year }, String(year))))), /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(Tooltip$3, { title: actions.previousMonth }, /* @__PURE__ */ React.createElement(
|
16961
16961
|
IconButton,
|
@@ -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);
|
@@ -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
|