@bsol-oss/react-datatable5 12.0.0-beta.93 → 12.0.0-beta.94
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.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3120,7 +3120,7 @@ const Table = ({ children, emptyComponent = EmptyResult, canResize = true, showL
|
|
|
3120
3120
|
if (!showLoading && table.getRowModel().rows.length <= 0) {
|
|
3121
3121
|
return emptyComponent;
|
|
3122
3122
|
}
|
|
3123
|
-
return (jsxRuntime.jsx(react.Box, { ref: containerRef, width: "100%", overflow: "auto", children: jsxRuntime.jsx(react.Table.Root, { stickyHeader: true, variant: 'outline', width: canResize ? table.getCenterTotalSize() : undefined, display: 'grid', alignContent: 'start',
|
|
3123
|
+
return (jsxRuntime.jsx(react.Box, { ref: containerRef, width: "100%", overflow: "auto", children: jsxRuntime.jsx(react.Table.Root, { stickyHeader: true, variant: 'outline', width: canResize ? table.getCenterTotalSize() : undefined, display: 'grid', alignContent: 'start', bg: { base: 'colorPalette.50', _dark: 'colorPalette.950' }, ...props, children: children }) }));
|
|
3124
3124
|
};
|
|
3125
3125
|
|
|
3126
3126
|
const Checkbox = React__namespace.forwardRef(function Checkbox(props, ref) {
|
package/dist/index.mjs
CHANGED
|
@@ -3100,7 +3100,7 @@ const Table = ({ children, emptyComponent = EmptyResult, canResize = true, showL
|
|
|
3100
3100
|
if (!showLoading && table.getRowModel().rows.length <= 0) {
|
|
3101
3101
|
return emptyComponent;
|
|
3102
3102
|
}
|
|
3103
|
-
return (jsx(Box, { ref: containerRef, width: "100%", overflow: "auto", children: jsx(Table$1.Root, { stickyHeader: true, variant: 'outline', width: canResize ? table.getCenterTotalSize() : undefined, display: 'grid', alignContent: 'start',
|
|
3103
|
+
return (jsx(Box, { ref: containerRef, width: "100%", overflow: "auto", children: jsx(Table$1.Root, { stickyHeader: true, variant: 'outline', width: canResize ? table.getCenterTotalSize() : undefined, display: 'grid', alignContent: 'start', bg: { base: 'colorPalette.50', _dark: 'colorPalette.950' }, ...props, children: children }) }));
|
|
3104
3104
|
};
|
|
3105
3105
|
|
|
3106
3106
|
const Checkbox = React.forwardRef(function Checkbox(props, ref) {
|