@dooherceg/material-react-table 3.2.15 → 3.2.16

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.esm.js CHANGED
@@ -4595,7 +4595,7 @@ const MRT_IconSingleValueEditor = ({ availableIcons, column, iconsList, onChange
4595
4595
  return null;
4596
4596
  return (jsxs(Stack, { direction: "row", gap: 1, alignItems: "center", children: [renderIconOption(option, iconsList), jsx(Typography, { variant: "body2", children: option.tooltip })] }));
4597
4597
  };
4598
- return (jsxs(FormControl, { fullWidth: true, size: "small", children: [jsx(InputLabel, { htmlFor: inputId, id: labelId, sx: { '&.Mui-focused': { color: 'text.primary' } }, children: columnLabel }), jsx(Select, { displayEmpty: true, id: inputId, label: columnLabel, labelId: labelId, MenuProps: { sx: { zIndex: 9999 } }, name: inputId, onChange: (event) => onChange(event.target.value), renderValue: renderSelectedValue, size: "small", sx: { '& .MuiSelect-Select': { height: 'initial' } }, SelectDisplayProps: {
4598
+ return (jsxs(FormControl, { fullWidth: true, size: "small", children: [jsx(InputLabel, { htmlFor: inputId, id: labelId, children: columnLabel }), jsx(Select, { id: inputId, label: columnLabel, labelId: labelId, MenuProps: { sx: { zIndex: 9999 } }, name: inputId, onChange: (event) => onChange(event.target.value), renderValue: renderSelectedValue, size: "small", sx: { '& .MuiSelect-Select': { height: 'initial' } }, SelectDisplayProps: {
4599
4599
  style: { display: 'flex', alignItems: 'center' },
4600
4600
  }, value: currentValue, children: availableIcons.map((icon) => (jsxs(MenuItem, { sx: {
4601
4601
  alignItems: 'center',
@@ -8589,7 +8589,7 @@ const MRT_TablePaper = (_a) => {
8589
8589
  //@ts-expect-error
8590
8590
  paperProps.ref.current = ref;
8591
8591
  }
8592
- }, style: Object.assign({}, paperProps === null || paperProps === void 0 ? void 0 : paperProps.style), sx: (theme) => (Object.assign({ backgroundImage: 'unset', borderRadius: 0, display: 'flex', flexDirection: 'column', height: '100%', overflow: 'hidden', transition: 'all 100ms ease-in-out' }, parseFromValuesOrFunc(paperProps === null || paperProps === void 0 ? void 0 : paperProps.sx, theme))), children: [jsxs(FormControl, { children: [jsx(InputLabel, { children: "Test" }), jsxs(Select, { children: [jsx(MenuItem, { children: "Test 1" }), jsx(MenuItem, { children: "Test 2" }), jsx(MenuItem, { children: "Test 3" })] })] }), jsx(MRT_QuickFiltersBar, { table: table }), jsx(MRT_ActiveFilters, { table: table }), enableTopToolbar &&
8592
+ }, style: Object.assign({}, paperProps === null || paperProps === void 0 ? void 0 : paperProps.style), sx: (theme) => (Object.assign({ backgroundImage: 'unset', borderRadius: 0, display: 'flex', flexDirection: 'column', height: '100%', overflow: 'hidden', transition: 'all 100ms ease-in-out' }, parseFromValuesOrFunc(paperProps === null || paperProps === void 0 ? void 0 : paperProps.sx, theme))), children: [jsx(MRT_QuickFiltersBar, { table: table }), jsx(MRT_ActiveFilters, { table: table }), enableTopToolbar &&
8593
8593
  ((_b = parseFromValuesOrFunc(renderTopToolbar, { table })) !== null && _b !== void 0 ? _b : (jsx(MRT_TopToolbar, { table: table }))), jsx(MRT_TableContainer, { table: table }), enableBottomToolbar &&
8594
8594
  ((_c = parseFromValuesOrFunc(renderBottomToolbar, { table })) !== null && _c !== void 0 ? _c : (jsx(MRT_BottomToolbar, { table: table })))] })));
8595
8595
  };