@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.js CHANGED
@@ -4597,7 +4597,7 @@ const MRT_IconSingleValueEditor = ({ availableIcons, column, iconsList, onChange
4597
4597
  return null;
4598
4598
  return (jsxRuntime.jsxs(Stack, { direction: "row", gap: 1, alignItems: "center", children: [renderIconOption(option, iconsList), jsxRuntime.jsx(Typography, { variant: "body2", children: option.tooltip })] }));
4599
4599
  };
4600
- return (jsxRuntime.jsxs(FormControl, { fullWidth: true, size: "small", children: [jsxRuntime.jsx(InputLabel, { htmlFor: inputId, id: labelId, sx: { '&.Mui-focused': { color: 'text.primary' } }, children: columnLabel }), jsxRuntime.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: {
4600
+ return (jsxRuntime.jsxs(FormControl, { fullWidth: true, size: "small", children: [jsxRuntime.jsx(InputLabel, { htmlFor: inputId, id: labelId, children: columnLabel }), jsxRuntime.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: {
4601
4601
  style: { display: 'flex', alignItems: 'center' },
4602
4602
  }, value: currentValue, children: availableIcons.map((icon) => (jsxRuntime.jsxs(MenuItem, { sx: {
4603
4603
  alignItems: 'center',
@@ -8591,7 +8591,7 @@ const MRT_TablePaper = (_a) => {
8591
8591
  //@ts-expect-error
8592
8592
  paperProps.ref.current = ref;
8593
8593
  }
8594
- }, 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: [jsxRuntime.jsxs(FormControl, { children: [jsxRuntime.jsx(InputLabel, { children: "Test" }), jsxRuntime.jsxs(Select, { children: [jsxRuntime.jsx(MenuItem, { children: "Test 1" }), jsxRuntime.jsx(MenuItem, { children: "Test 2" }), jsxRuntime.jsx(MenuItem, { children: "Test 3" })] })] }), jsxRuntime.jsx(MRT_QuickFiltersBar, { table: table }), jsxRuntime.jsx(MRT_ActiveFilters, { table: table }), enableTopToolbar &&
8594
+ }, 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: [jsxRuntime.jsx(MRT_QuickFiltersBar, { table: table }), jsxRuntime.jsx(MRT_ActiveFilters, { table: table }), enableTopToolbar &&
8595
8595
  ((_b = parseFromValuesOrFunc(renderTopToolbar, { table })) !== null && _b !== void 0 ? _b : (jsxRuntime.jsx(MRT_TopToolbar, { table: table }))), jsxRuntime.jsx(MRT_TableContainer, { table: table }), enableBottomToolbar &&
8596
8596
  ((_c = parseFromValuesOrFunc(renderBottomToolbar, { table })) !== null && _c !== void 0 ? _c : (jsxRuntime.jsx(MRT_BottomToolbar, { table: table })))] })));
8597
8597
  };