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
|
@@ -1947,7 +1947,7 @@ var MRT_ToolbarTop = function MRT_ToolbarTop(_ref2) {
|
|
|
1947
1947
|
var toolbarProps = muiTableToolbarTopProps instanceof Function ? muiTableToolbarTopProps({
|
|
1948
1948
|
table: table
|
|
1949
1949
|
}) : muiTableToolbarTopProps;
|
|
1950
|
-
var stackAlertBanner = isMobile ||
|
|
1950
|
+
var stackAlertBanner = isMobile || !!renderToolbarTopCustomActions || showGlobalFilter;
|
|
1951
1951
|
return React__default.createElement(material.Toolbar, Object.assign({
|
|
1952
1952
|
id: "mrt-" + tableId + "-toolbar-top",
|
|
1953
1953
|
variant: "dense"
|
|
@@ -2010,7 +2010,7 @@ var MRT_ToolbarBottom = function MRT_ToolbarBottom(_ref) {
|
|
|
2010
2010
|
var toolbarProps = muiTableToolbarBottomProps instanceof Function ? muiTableToolbarBottomProps({
|
|
2011
2011
|
table: table
|
|
2012
2012
|
}) : muiTableToolbarBottomProps;
|
|
2013
|
-
var stackAlertBanner = isMobile ||
|
|
2013
|
+
var stackAlertBanner = isMobile || !!renderToolbarBottomCustomActions;
|
|
2014
2014
|
return React__default.createElement(material.Toolbar, Object.assign({
|
|
2015
2015
|
id: "mrt-" + tableId + "-toolbar-bottom",
|
|
2016
2016
|
variant: "dense"
|