@mtes-mct/monitor-ui 24.18.2 → 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,22 @@
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
+
7
+ ## [24.18.2](https://github.com/MTES-MCT/monitor-ui/compare/v24.18.1...v24.18.2) (2025-05-27)
8
+
9
+ ### Bug Fixes
10
+
11
+ * **components:** set option label value width to 100% ([b0a2f36](https://github.com/MTES-MCT/monitor-ui/commit/b0a2f36bff3ec82b3291a2f6221dc845ca5c46b7))
12
+
13
+ ### Buid System & Dependencies
14
+
15
+ * **dev-deps:** bump @tsconfig/vite-react in /e2e/release/sample ([16a80b4](https://github.com/MTES-MCT/monitor-ui/commit/16a80b4e057ee6ced04197bafeea6d6ca6e70ebc))
16
+ * **dev-deps:** bump the all-non-major-dependencies group ([94ff1ef](https://github.com/MTES-MCT/monitor-ui/commit/94ff1efaa6de766f1df857d4b37e708caeaadea5))
17
+ * **dev-deps:** bump the all-non-major-dependencies group ([da28697](https://github.com/MTES-MCT/monitor-ui/commit/da286978952e1ace52ca84a3d6781fcf3c285ac1))
18
+ * **dev-deps:** bump the all-non-major-dependencies group ([bfae7c2](https://github.com/MTES-MCT/monitor-ui/commit/bfae7c2ddfb142672b306693ca3799f96f8fdf80))
19
+
1
20
  ## [24.18.1](https://github.com/MTES-MCT/monitor-ui/compare/v24.18.0...v24.18.1) (2025-05-06)
2
21
 
3
22
  ### Bug Fixes
package/index.js CHANGED
@@ -71754,7 +71754,7 @@ const Dot = styled.span`
71754
71754
  ["NO_RESOURCE"]: 'Aucun moyen',
71755
71755
  ["OTHER"]: 'Autre',
71756
71756
  ["PATROL_BOAT"]: 'Patrouilleur',
71757
- ["PEDESTRIAN"]: 'Piéton',
71757
+ ["PEDESTRIAN"]: 'Pédestre',
71758
71758
  ["PIROGUE"]: 'Pirogue',
71759
71759
  ["RIGID_HULL"]: 'Coque rigide',
71760
71760
  ["SEA_SCOOTER"]: 'Scooter de mer',
@@ -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.18.2",
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"}