@mtes-mct/monitor-ui 24.22.0 → 24.22.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,19 @@
1
+ ## [24.22.0](https://github.com/MTES-MCT/monitor-ui/compare/v24.21.3...v24.22.0) (2025-06-20)
2
+
3
+ ### Features
4
+
5
+ * **elements:** add loaders FingerprintLoader and FulfillingBouncingCircleLoader ([297e9b5](https://github.com/MTES-MCT/monitor-ui/commit/297e9b55f6f1c625dff48b53847953362ed3ed36))
6
+
7
+ ### Bug Fixes
8
+
9
+ * **cypress:** fix typing ([b0b16e0](https://github.com/MTES-MCT/monitor-ui/commit/b0b16e0a949c63779cd123177dfb24209523bb24))
10
+
11
+ ### Buid System & Dependencies
12
+
13
+ * **dev-deps:** bump @types/node in /e2e/release/sample ([70e0215](https://github.com/MTES-MCT/monitor-ui/commit/70e02154700f650e8588d6d300475852fdcf8c92))
14
+ * **dev-deps:** bump cypress from 13.17.0 to 14.4.1 ([3381bfc](https://github.com/MTES-MCT/monitor-ui/commit/3381bfc4185d137f4317960c7485b1201cc24ad6))
15
+ * **dev-deps:** bump the all-non-major-dependencies group ([1acb8b7](https://github.com/MTES-MCT/monitor-ui/commit/1acb8b712190cdbeebeff7f7b87f7a2bebc17919))
16
+
1
17
  ## [24.21.3](https://github.com/MTES-MCT/monitor-ui/compare/v24.21.2...v24.21.3) (2025-06-11)
2
18
 
3
19
  ### Bug Fixes
@@ -1 +1 @@
1
- {"version":3,"file":"FingerprintLoader.d.ts","sourceRoot":"","sources":["../../../src/elements/Loader/FingerprintLoader.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAEhD,wBAAgB,iBAAiB,CAAC,EAChC,iBAAwB,EACxB,SAAc,EACd,KAAyB,EACzB,IAAU,EACV,GAAG,KAAK,EACT,EAAE,WAAW,2CAyBb"}
1
+ {"version":3,"file":"FingerprintLoader.d.ts","sourceRoot":"","sources":["../../../src/elements/Loader/FingerprintLoader.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAEhD,wBAAgB,iBAAiB,CAAC,EAChC,iBAAwB,EACxB,SAAc,EACd,KAAyB,EACzB,IAAU,EACV,GAAG,KAAK,EACT,EAAE,WAAW,2CA0Bb"}
package/index.js CHANGED
@@ -54794,11 +54794,12 @@ function FingerprintLoader({ animationDuration = 1500, className = '', color = T
54794
54794
  const outerRingSize = size - containerPadding * 2;
54795
54795
  const ringBase = outerRingSize / ringsNum;
54796
54796
  function generateRings(num) {
54797
+ // eslint-disable-next-line react/no-array-index-key
54797
54798
  return Array.from({
54798
54799
  length: num
54799
- }).map((value)=>/*#__PURE__*/ jsx("div", {
54800
+ }).map((_, index)=>/*#__PURE__*/ jsx("div", {
54800
54801
  className: "spinner-ring"
54801
- }, value));
54802
+ }, index));
54802
54803
  }
54803
54804
  return /*#__PURE__*/ jsx(RingLoader, {
54804
54805
  $animationDuration: animationDuration,
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.22.0",
4
+ "version": "24.22.1",
5
5
  "license": "AGPL-3.0",
6
6
  "type": "module",
7
7
  "engines": {