material-react-table 0.26.5 → 0.26.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/dist/material-react-table.cjs.development.js +2 -2
- package/dist/material-react-table.cjs.development.js.map +1 -1
- package/dist/material-react-table.cjs.production.min.js +1 -1
- package/dist/material-react-table.cjs.production.min.js.map +1 -1
- package/dist/material-react-table.esm.js +2 -2
- package/dist/material-react-table.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/toolbar/MRT_ToolbarBottom.tsx +1 -4
- package/src/toolbar/MRT_ToolbarTop.tsx +1 -3
|
@@ -1940,7 +1940,7 @@ var MRT_ToolbarTop = function MRT_ToolbarTop(_ref2) {
|
|
|
1940
1940
|
var toolbarProps = muiTableToolbarTopProps instanceof Function ? muiTableToolbarTopProps({
|
|
1941
1941
|
table: table
|
|
1942
1942
|
}) : muiTableToolbarTopProps;
|
|
1943
|
-
var stackAlertBanner = isMobile ||
|
|
1943
|
+
var stackAlertBanner = isMobile || !!renderToolbarTopCustomActions || showGlobalFilter;
|
|
1944
1944
|
return React.createElement(Toolbar, Object.assign({
|
|
1945
1945
|
id: "mrt-" + tableId + "-toolbar-top",
|
|
1946
1946
|
variant: "dense"
|
|
@@ -2003,7 +2003,7 @@ var MRT_ToolbarBottom = function MRT_ToolbarBottom(_ref) {
|
|
|
2003
2003
|
var toolbarProps = muiTableToolbarBottomProps instanceof Function ? muiTableToolbarBottomProps({
|
|
2004
2004
|
table: table
|
|
2005
2005
|
}) : muiTableToolbarBottomProps;
|
|
2006
|
-
var stackAlertBanner = isMobile ||
|
|
2006
|
+
var stackAlertBanner = isMobile || !!renderToolbarBottomCustomActions;
|
|
2007
2007
|
return React.createElement(Toolbar, Object.assign({
|
|
2008
2008
|
id: "mrt-" + tableId + "-toolbar-bottom",
|
|
2009
2009
|
variant: "dense"
|