@mtes-mct/monitor-ui 24.19.0 → 24.19.1

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 CHANGED
@@ -1,3 +1,9 @@
1
+ ## [24.19.0](https://github.com/MTES-MCT/monitor-ui/compare/v24.18.2...v24.19.0) (2025-05-29)
2
+
3
+ ### Features
4
+
5
+ * **types:** change label for ControlUnitResourceType.PEDESTRIAN ([5882134](https://github.com/MTES-MCT/monitor-ui/commit/5882134fbf31c7d08edefb65ea10adc68f065a4d))
6
+
1
7
  ## [24.18.2](https://github.com/MTES-MCT/monitor-ui/compare/v24.18.1...v24.18.2) (2025-05-27)
2
8
 
3
9
  ### Bug Fixes
package/index.js CHANGED
@@ -75373,10 +75373,8 @@ var fpExports = requireFp();
75373
75373
  // Now that we have a list of prop paths, we want to generate a list of transformers
75374
75374
  // able for remove diacritics of a collection item, one transformer per collection item prop path.
75375
75375
  const collectionItemTransformers = collectionKeysAsPaths.map((collectionKeyAsPath)=>(collectionItem)=>{
75376
- const collectionItemPropValue = fpExports.get(collectionKeyAsPath, collectionItem);
75377
75376
  // This type check is a safeguard against unexpected values (a non-string value would otherwise throw an error)
75378
75377
  if (typeof fpExports.get(collectionKeyAsPath, collectionItem) !== 'string') {
75379
- console.warn(`"${collectionKeyAsPath}" is not a string (value: \`${collectionItemPropValue}\`).`);
75380
75378
  return collectionItem;
75381
75379
  }
75382
75380
  return fpExports.update(collectionKeyAsPath, diacritics.remove, collectionItem);
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.19.0",
4
+ "version": "24.19.1",
5
5
  "license": "AGPL-3.0",
6
6
  "type": "module",
7
7
  "engines": {
@@ -21,7 +21,7 @@
21
21
  "@sentry/react": "^7.0.0 || ^8.0.0",
22
22
  "@tanstack/react-table": "^8.0.0",
23
23
  "@tanstack/react-virtual": "^3.0.0",
24
- "cypress": "^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0",
24
+ "cypress": "^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0",
25
25
  "formik": "^2.0.0",
26
26
  "react": "^18.0.0",
27
27
  "react-router-dom": "^6.0.0",
@@ -1 +1 @@
1
- {"version":3,"file":"cleanCollectionDiacritics.d.ts","sourceRoot":"","sources":["../../src/utils/cleanCollectionDiacritics.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAErD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,yBAAyB,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,EACvE,UAAU,EAAE,CAAC,EAAE,EACf,IAAI,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,GAC9B,CAAC,EAAE,CAyBL"}
1
+ {"version":3,"file":"cleanCollectionDiacritics.d.ts","sourceRoot":"","sources":["../../src/utils/cleanCollectionDiacritics.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAErD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,yBAAyB,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,EACvE,UAAU,EAAE,CAAC,EAAE,EACf,IAAI,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,GAC9B,CAAC,EAAE,CAqBL"}