@sustaina/shared-ui 1.8.0 → 1.8.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/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -276,6 +276,7 @@ declare module "@tanstack/react-table" {
|
|
|
276
276
|
cellProps?: React.ComponentProps<"td">;
|
|
277
277
|
filterCellProps?: React.ComponentProps<"td">;
|
|
278
278
|
useColumnSizing?: boolean;
|
|
279
|
+
columnSeparatorProps?: ColumnSeparatorProps;
|
|
279
280
|
renderColumnFilter?: (props: DataTableColumnFilterProps<TData>) => ReactNode;
|
|
280
281
|
}
|
|
281
282
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -276,6 +276,7 @@ declare module "@tanstack/react-table" {
|
|
|
276
276
|
cellProps?: React.ComponentProps<"td">;
|
|
277
277
|
filterCellProps?: React.ComponentProps<"td">;
|
|
278
278
|
useColumnSizing?: boolean;
|
|
279
|
+
columnSeparatorProps?: ColumnSeparatorProps;
|
|
279
280
|
renderColumnFilter?: (props: DataTableColumnFilterProps<TData>) => ReactNode;
|
|
280
281
|
}
|
|
281
282
|
}
|
package/dist/index.js
CHANGED
|
@@ -1197,8 +1197,9 @@ var DataTable = ({
|
|
|
1197
1197
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1198
1198
|
ColumnSeparator_default,
|
|
1199
1199
|
{
|
|
1200
|
-
|
|
1201
|
-
...
|
|
1200
|
+
...components?.columnSeparatorProps?.headerCell,
|
|
1201
|
+
...header.column.columnDef?.meta?.columnSeparatorProps,
|
|
1202
|
+
show: header.column.columnDef?.meta?.columnSeparatorProps?.show ?? components?.columnSeparatorProps?.headerCell?.show ?? showSeparator
|
|
1202
1203
|
}
|
|
1203
1204
|
),
|
|
1204
1205
|
/* @__PURE__ */ jsxRuntime.jsx(ColumnResizer_default, { header, ...components?.columnResizerProps })
|