@trackunit/react-table 1.9.4 → 1.9.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/index.cjs.js +1 -1
- package/index.esm.js +1 -1
- package/package.json +9 -9
package/index.cjs.js
CHANGED
|
@@ -946,7 +946,7 @@ const Table = ({ rowHeight = 50, ...props }) => {
|
|
|
946
946
|
header.column.getToggleSortingHandler()?.(event);
|
|
947
947
|
}
|
|
948
948
|
}, [props]);
|
|
949
|
-
return (jsxRuntime.jsxs(reactComponents.Card, { className: tailwindMerge.twMerge("table-compact flex flex-col overflow-hidden", props.className), "data-testid": props["data-testid"], children: [props.headerLeftActions || props.headerRightActions ? (jsxRuntime.jsxs("div", { className: "z-default flex justify-between gap-2 p-2", children: [jsxRuntime.jsx("div", { className: "flex items-center gap-2", children: props.headerLeftActions }), jsxRuntime.jsx("div", { className: "flex items-center gap-2", children: props.headerRightActions })] })) : null, jsxRuntime.jsx("div", { className: "h-full overflow-x-auto overflow-y-scroll border-b border-
|
|
949
|
+
return (jsxRuntime.jsxs(reactComponents.Card, { className: tailwindMerge.twMerge("table-compact flex flex-col overflow-hidden", props.className), "data-testid": props["data-testid"], children: [props.headerLeftActions || props.headerRightActions ? (jsxRuntime.jsxs("div", { className: "z-default flex justify-between gap-2 p-2", children: [jsxRuntime.jsx("div", { className: "flex items-center gap-2", children: props.headerLeftActions }), jsxRuntime.jsx("div", { className: "flex items-center gap-2", children: props.headerRightActions })] })) : null, jsxRuntime.jsx("div", { className: tailwindMerge.twMerge("h-full overflow-x-auto overflow-y-scroll border-b border-neutral-200", props.headerLeftActions || props.headerRightActions ? "border-t" : ""), ref: tableScrollElementRef, children: jsxRuntime.jsxs(reactTableBaseComponents.TableRoot, { style: {
|
|
950
950
|
height: hasResults ? "auto" : "100%",
|
|
951
951
|
width: "100%",
|
|
952
952
|
position: "relative",
|
package/index.esm.js
CHANGED
|
@@ -945,7 +945,7 @@ const Table = ({ rowHeight = 50, ...props }) => {
|
|
|
945
945
|
header.column.getToggleSortingHandler()?.(event);
|
|
946
946
|
}
|
|
947
947
|
}, [props]);
|
|
948
|
-
return (jsxs(Card, { className: twMerge("table-compact flex flex-col overflow-hidden", props.className), "data-testid": props["data-testid"], children: [props.headerLeftActions || props.headerRightActions ? (jsxs("div", { className: "z-default flex justify-between gap-2 p-2", children: [jsx("div", { className: "flex items-center gap-2", children: props.headerLeftActions }), jsx("div", { className: "flex items-center gap-2", children: props.headerRightActions })] })) : null, jsx("div", { className: "h-full overflow-x-auto overflow-y-scroll border-b border-
|
|
948
|
+
return (jsxs(Card, { className: twMerge("table-compact flex flex-col overflow-hidden", props.className), "data-testid": props["data-testid"], children: [props.headerLeftActions || props.headerRightActions ? (jsxs("div", { className: "z-default flex justify-between gap-2 p-2", children: [jsx("div", { className: "flex items-center gap-2", children: props.headerLeftActions }), jsx("div", { className: "flex items-center gap-2", children: props.headerRightActions })] })) : null, jsx("div", { className: twMerge("h-full overflow-x-auto overflow-y-scroll border-b border-neutral-200", props.headerLeftActions || props.headerRightActions ? "border-t" : ""), ref: tableScrollElementRef, children: jsxs(TableRoot, { style: {
|
|
949
949
|
height: hasResults ? "auto" : "100%",
|
|
950
950
|
width: "100%",
|
|
951
951
|
position: "relative",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-table",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.6",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
"react-dnd-html5-backend": "16.0.1",
|
|
15
15
|
"@tanstack/react-router": "1.114.29",
|
|
16
16
|
"tailwind-merge": "^2.0.0",
|
|
17
|
-
"@trackunit/react-components": "1.12.
|
|
18
|
-
"@trackunit/shared-utils": "1.11.
|
|
19
|
-
"@trackunit/css-class-variance-utilities": "1.9.
|
|
20
|
-
"@trackunit/ui-icons": "1.9.
|
|
21
|
-
"@trackunit/react-table-base-components": "1.9.
|
|
22
|
-
"@trackunit/react-form-components": "1.10.
|
|
23
|
-
"@trackunit/i18n-library-translation": "1.9.
|
|
24
|
-
"@trackunit/iris-app-runtime-core-api": "1.9.
|
|
17
|
+
"@trackunit/react-components": "1.12.5",
|
|
18
|
+
"@trackunit/shared-utils": "1.11.4",
|
|
19
|
+
"@trackunit/css-class-variance-utilities": "1.9.4",
|
|
20
|
+
"@trackunit/ui-icons": "1.9.4",
|
|
21
|
+
"@trackunit/react-table-base-components": "1.9.5",
|
|
22
|
+
"@trackunit/react-form-components": "1.10.5",
|
|
23
|
+
"@trackunit/i18n-library-translation": "1.9.4",
|
|
24
|
+
"@trackunit/iris-app-runtime-core-api": "1.9.4",
|
|
25
25
|
"graphql": "^16.10.0"
|
|
26
26
|
},
|
|
27
27
|
"module": "./index.esm.js",
|