react-admin-base-bootstrap 0.9.16 → 0.9.18

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/bun.lockb CHANGED
Binary file
@@ -121,7 +121,7 @@ export default function CRUD(props) {
121
121
  const reload = useCallback(function () {
122
122
  return __awaiter(this, void 0, void 0, function* () {
123
123
  if (ref.current) {
124
- ref.current({});
124
+ ref.current(params => (Object.assign({}, params)));
125
125
  }
126
126
  });
127
127
  }, [ref]);
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  export declare function useIsMobile(): boolean;
3
2
  export declare function useMenuState(): [boolean, import("react").DispatchWithoutAction];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-admin-base-bootstrap",
3
- "version": "0.9.16",
3
+ "version": "0.9.18",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -31,28 +31,28 @@
31
31
  "react-router-dom": "^6.21.3"
32
32
  },
33
33
  "dependencies": {
34
- "@emotion/react": "^11.11.3",
35
- "@fortawesome/fontawesome-free": "^6.5.1",
36
- "bootstrap": "^5.3.2",
34
+ "@emotion/react": "^11.13.3",
35
+ "@fortawesome/fontawesome-free": "^6.6.0",
36
+ "bootstrap": "^5.3.3",
37
37
  "file-dialog": "^0.0.8",
38
38
  "modal-cropper": "^1.2.3",
39
39
  "nprogress": "^0.2.0",
40
40
  "prettysize": "^2.0.0",
41
- "react-admin-base": "^0.9.1",
41
+ "react-admin-base": "^0.9.3",
42
42
  "react-dnd": "^16.0.1",
43
43
  "react-dnd-html5-backend": "^16.0.1",
44
44
  "react-password-strength-bar": "^0.4.1",
45
- "react-responsive": "^9.0.2",
46
- "react-select": "^5.8.0",
47
- "reactstrap": "^9.2.2",
48
- "sweetalert2": "^11.10.5",
45
+ "react-responsive": "^10.0.0",
46
+ "react-select": "^5.8.2",
47
+ "reactstrap": "^9.2.3",
48
+ "sweetalert2": "^11.14.4",
49
49
  "@dnd-kit/core": "^6.1.0",
50
50
  "@dnd-kit/modifiers": "^7.0.0",
51
51
  "@dnd-kit/sortable": "^8.0.0",
52
52
  "@dnd-kit/utilities": "^3.2.2"
53
53
  },
54
54
  "devDependencies": {
55
- "nodemon": "^3.0.3",
56
- "typescript": "^5.3.3"
55
+ "nodemon": "^3.1.7",
56
+ "typescript": "^5.6.3"
57
57
  }
58
58
  }
@@ -145,7 +145,7 @@ export default function CRUD(props: CRUDProps) {
145
145
 
146
146
  const reload = useCallback(async function() {
147
147
  if (ref.current) {
148
- ref.current({});
148
+ ref.current(params => ({ ...params }));
149
149
  }
150
150
  }, [ref]);
151
151