@mtes-mct/monitor-ui 24.22.0 → 24.22.2

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,25 @@
1
+ ## [24.22.1](https://github.com/MTES-MCT/monitor-ui/compare/v24.22.0...v24.22.1) (2025-06-20)
2
+
3
+ ### Bug Fixes
4
+
5
+ * **elements:** fix key in FingerprintLoader ([07d0238](https://github.com/MTES-MCT/monitor-ui/commit/07d02383381618d35b4456a359347c616fc88221))
6
+
7
+ ## [24.22.0](https://github.com/MTES-MCT/monitor-ui/compare/v24.21.3...v24.22.0) (2025-06-20)
8
+
9
+ ### Features
10
+
11
+ * **elements:** add loaders FingerprintLoader and FulfillingBouncingCircleLoader ([297e9b5](https://github.com/MTES-MCT/monitor-ui/commit/297e9b55f6f1c625dff48b53847953362ed3ed36))
12
+
13
+ ### Bug Fixes
14
+
15
+ * **cypress:** fix typing ([b0b16e0](https://github.com/MTES-MCT/monitor-ui/commit/b0b16e0a949c63779cd123177dfb24209523bb24))
16
+
17
+ ### Buid System & Dependencies
18
+
19
+ * **dev-deps:** bump @types/node in /e2e/release/sample ([70e0215](https://github.com/MTES-MCT/monitor-ui/commit/70e02154700f650e8588d6d300475852fdcf8c92))
20
+ * **dev-deps:** bump cypress from 13.17.0 to 14.4.1 ([3381bfc](https://github.com/MTES-MCT/monitor-ui/commit/3381bfc4185d137f4317960c7485b1201cc24ad6))
21
+ * **dev-deps:** bump the all-non-major-dependencies group ([1acb8b7](https://github.com/MTES-MCT/monitor-ui/commit/1acb8b712190cdbeebeff7f7b87f7a2bebc17919))
22
+
1
23
  ## [24.21.3](https://github.com/MTES-MCT/monitor-ui/compare/v24.21.2...v24.21.3) (2025-06-11)
2
24
 
3
25
  ### 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,
@@ -54818,6 +54819,10 @@ const RingLoader = styled.div`
54818
54819
  overflow: hidden;
54819
54820
  position: relative;
54820
54821
 
54822
+ * {
54823
+ box-sizing: border-box;
54824
+ }
54825
+
54821
54826
  .spinner-ring {
54822
54827
  position: absolute;
54823
54828
  border-radius: 50%;
@@ -54914,6 +54919,10 @@ const BouncingCircle = styled.div`
54914
54919
  position: relative;
54915
54920
  animation: fulfilling-bouncing-circle-spinner-animation infinite ${(p)=>p.$animationDuration}ms ease;
54916
54921
 
54922
+ * {
54923
+ box-sizing: border-box;
54924
+ }
54925
+
54917
54926
  .orbit {
54918
54927
  height: ${(p)=>p.$size}px;
54919
54928
  width: ${(p)=>p.$size}px;
package/package.json CHANGED
@@ -1,16 +1,16 @@
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.2",
5
5
  "license": "AGPL-3.0",
6
6
  "type": "module",
7
7
  "engines": {
8
8
  "node": ">=20"
9
9
  },
10
10
  "dependencies": {
11
- "@babel/runtime": "7.27.1",
11
+ "@babel/runtime": "7.27.6",
12
12
  "@tanstack/react-table": "8.21.3",
13
- "@tanstack/react-virtual": "3.13.6",
13
+ "@tanstack/react-virtual": "3.13.10",
14
14
  "prop-types": "15.8.1",
15
15
  "tslib": "2.8.1"
16
16
  },