@trackunit/react-table 1.3.181 → 1.3.185
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 +4 -4
package/index.cjs.js
CHANGED
|
@@ -996,7 +996,7 @@ const Table = ({ rowHeight = 50, ...props }) => {
|
|
|
996
996
|
renderDropIndicator(header.id),
|
|
997
997
|
header.isPlaceholder ? null : (jsxRuntime.jsxs("div", { ...getDragHandleProps(header.id, header.isPlaceholder, pinned), className: tailwindMerge.twMerge(cvaColumnHeaderContainer({
|
|
998
998
|
sortable: canSort,
|
|
999
|
-
})),
|
|
999
|
+
})), children: [jsxRuntime.jsxs("div", { className: "flex flex-1 items-center truncate", onClick: event => handleColumnClick(event, header), children: [header.column.columnDef.header || header.column.columnDef.meta?.subHeader ? (jsxRuntime.jsxs("span", { className: "subtle min-w-0 text-xs", children: [jsxRuntime.jsx(TextWithTooltip, { tooltipLabel: tooltipLabel, weight: "bold", children: reactTable.flexRender(header.column.columnDef.header, header.getContext()) }), header.column.columnDef.meta?.subHeader
|
|
1000
1000
|
? header.column.columnDef.meta.subHeader
|
|
1001
1001
|
: null] })) : null, jsxRuntime.jsx(ColumnSorting, { canSort: canSort, sortingState: header.column.columnDef.meta?.sortByKey
|
|
1002
1002
|
? props.getColumn(header.column.columnDef.meta.sortByKey)?.getIsSorted()
|
package/index.esm.js
CHANGED
|
@@ -995,7 +995,7 @@ const Table = ({ rowHeight = 50, ...props }) => {
|
|
|
995
995
|
renderDropIndicator(header.id),
|
|
996
996
|
header.isPlaceholder ? null : (jsxs("div", { ...getDragHandleProps(header.id, header.isPlaceholder, pinned), className: twMerge(cvaColumnHeaderContainer({
|
|
997
997
|
sortable: canSort,
|
|
998
|
-
})),
|
|
998
|
+
})), children: [jsxs("div", { className: "flex flex-1 items-center truncate", onClick: event => handleColumnClick(event, header), children: [header.column.columnDef.header || header.column.columnDef.meta?.subHeader ? (jsxs("span", { className: "subtle min-w-0 text-xs", children: [jsx(TextWithTooltip, { tooltipLabel: tooltipLabel, weight: "bold", children: flexRender(header.column.columnDef.header, header.getContext()) }), header.column.columnDef.meta?.subHeader
|
|
999
999
|
? header.column.columnDef.meta.subHeader
|
|
1000
1000
|
: null] })) : null, jsx(ColumnSorting, { canSort: canSort, sortingState: header.column.columnDef.meta?.sortByKey
|
|
1001
1001
|
? props.getColumn(header.column.columnDef.meta.sortByKey)?.getIsSorted()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-table",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.185",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"@trackunit/shared-utils": "1.5.120",
|
|
20
20
|
"@trackunit/css-class-variance-utilities": "1.3.120",
|
|
21
21
|
"@trackunit/ui-icons": "1.3.121",
|
|
22
|
-
"@trackunit/react-table-base-components": "1.3.
|
|
22
|
+
"@trackunit/react-table-base-components": "1.3.164",
|
|
23
23
|
"@trackunit/react-table-pagination": "1.3.120",
|
|
24
|
-
"@trackunit/react-form-components": "1.3.
|
|
25
|
-
"@trackunit/i18n-library-translation": "1.3.
|
|
24
|
+
"@trackunit/react-form-components": "1.3.164",
|
|
25
|
+
"@trackunit/i18n-library-translation": "1.3.135",
|
|
26
26
|
"@trackunit/react-core-contexts-api": "1.4.126",
|
|
27
27
|
"@trackunit/react-test-setup": "1.0.10"
|
|
28
28
|
},
|