schummar-table 0.40.5 → 0.40.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/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +16 -16
- package/dist/index.d.ts +16 -16
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/mui4Theme.d.cts +1 -1
- package/dist/mui4Theme.d.ts +1 -1
- package/dist/mui5Theme.d.cts +1 -1
- package/dist/mui5Theme.d.ts +1 -1
- package/dist/{types-3d4ARU6a.d.ts → types-DcnzwYBU.d.ts} +55 -62
- package/dist/{types-CYMVvUGJ.d.cts → types-xTAreHv_.d.cts} +55 -62
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1807,8 +1807,8 @@ function AutoFocusTextField(props) {
|
|
|
1807
1807
|
|
|
1808
1808
|
// src/hooks/useFilter.ts
|
|
1809
1809
|
var import_immer3 = require("immer");
|
|
1810
|
-
var import_react16 = require("react");
|
|
1811
1810
|
var import_nanoid = require("nanoid");
|
|
1811
|
+
var import_react16 = require("react");
|
|
1812
1812
|
|
|
1813
1813
|
// src/misc/debounce.ts
|
|
1814
1814
|
function debounce(function_, ms) {
|
|
@@ -1872,7 +1872,9 @@ function useFilter(impl) {
|
|
|
1872
1872
|
});
|
|
1873
1873
|
};
|
|
1874
1874
|
}, [table, columnId, impl]);
|
|
1875
|
-
const value = table.useState(
|
|
1875
|
+
const value = table.useState(
|
|
1876
|
+
(state) => state.filterValues.get(columnId)
|
|
1877
|
+
);
|
|
1876
1878
|
const [dirtyValue, setDirtyValue] = (0, import_react16.useState)();
|
|
1877
1879
|
const implRef = (0, import_react16.useRef)(impl);
|
|
1878
1880
|
(0, import_react16.useLayoutEffect)(() => {
|