@mtes-mct/monitor-ui 24.31.2 → 24.31.3
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/CHANGELOG.md +13 -0
- package/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
## [24.31.2](https://github.com/MTES-MCT/monitor-ui/compare/v24.31.1...v24.31.2) (2025-09-03)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **fields:** delete customSearch ref and use customSearch property ([08271a7](https://github.com/MTES-MCT/monitor-ui/commit/08271a722dc7de51617cbd7da029e3e699a26d0f))
|
|
6
|
+
|
|
7
|
+
### Buid System & Dependencies
|
|
8
|
+
|
|
9
|
+
* **dev-deps:** bump @vitejs/plugin-react in /e2e/release/sample ([fbbe29d](https://github.com/MTES-MCT/monitor-ui/commit/fbbe29ddefa60b224b08dc9e39d4b9b9baca0856))
|
|
10
|
+
* **dev-deps:** bump cypress in /e2e/release/sample ([4b7691a](https://github.com/MTES-MCT/monitor-ui/commit/4b7691a4aa3fc75288620b256ca00061c77fdb97))
|
|
11
|
+
* **dev-deps:** bump the all-non-major-dependencies group ([15c9e87](https://github.com/MTES-MCT/monitor-ui/commit/15c9e87c4183050687f93a9f18f1b180a858595f))
|
|
12
|
+
* **dev-deps:** bump the all-non-major-dependencies group ([21267c4](https://github.com/MTES-MCT/monitor-ui/commit/21267c4a0dfdea501c70b8ba6848d27337c0fa0a))
|
|
13
|
+
|
|
1
14
|
## [24.31.1](https://github.com/MTES-MCT/monitor-ui/compare/v24.31.0...v24.31.1) (2025-08-18)
|
|
2
15
|
|
|
3
16
|
### Bug Fixes
|
package/index.js
CHANGED
|
@@ -44694,7 +44694,7 @@ function Search({ className, customSearch = undefined, customSearchMinQueryLengt
|
|
|
44694
44694
|
]);
|
|
44695
44695
|
// When we use a custom search, we use `controlledRsuiteData` to provide the matching options (data),
|
|
44696
44696
|
// that's why we send this "always true" filter to disable Rsuite SelectPicker internal search filtering
|
|
44697
|
-
const filterBy = customSearch ? ()=>true : undefined;
|
|
44697
|
+
const filterBy = customSearch && currentQueryRef.current.length > 0 ? ()=>true : undefined;
|
|
44698
44698
|
const handleChange = useCallback((nextQuery)=>{
|
|
44699
44699
|
setTimeout(()=>{
|
|
44700
44700
|
if (mustSkipNextChange.current) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mtes-mct/monitor-ui",
|
|
3
3
|
"description": "Common React components, hooks, utilities and CSS stylesheets for MonitorFish, MonitorEnv and RapportNav.",
|
|
4
|
-
"version": "24.31.
|
|
4
|
+
"version": "24.31.3",
|
|
5
5
|
"license": "AGPL-3.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"engines": {
|