@mtes-mct/monitor-ui 24.4.0 → 24.5.0
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 +21 -0
- package/icons/SelectPolygon.d.ts.map +1 -1
- package/icons/SelectRectangle.d.ts.map +1 -1
- package/index.js +78 -210
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
## [24.4.0](https://github.com/MTES-MCT/monitor-ui/compare/v24.3.1...v24.4.0) (2024-10-29)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **icons:** add vigilanceAreas icon ([d1976a5](https://github.com/MTES-MCT/monitor-ui/commit/d1976a56a9ed7e0c91c87c333a7eb4522cd689b5))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Reverts
|
|
10
|
+
|
|
11
|
+
* Revert "build(deps): update yarn.lock" ([e357f23](https://github.com/MTES-MCT/monitor-ui/commit/e357f2376e055edb98c98211a896bb2fffce5d8f))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Buid System & Dependencies
|
|
15
|
+
|
|
16
|
+
* **deps:** bump @babel/runtime in the non-major-dependencies group ([5062609](https://github.com/MTES-MCT/monitor-ui/commit/50626095b1b496b77c69d0738b8b34dbbb468ff0))
|
|
17
|
+
* **deps:** update yarn.lock ([acab8f3](https://github.com/MTES-MCT/monitor-ui/commit/acab8f337b25e1028408909879116c66f5f4b0a3))
|
|
18
|
+
* **dev-deps:** bump the all-non-major-dependencies group ([a782d08](https://github.com/MTES-MCT/monitor-ui/commit/a782d08c19659e9b4e6742f1ceae1b78ace9df9b))
|
|
19
|
+
* **dev-deps:** bump the non-major-dev-dependencies group with 15 updates ([b19357f](https://github.com/MTES-MCT/monitor-ui/commit/b19357f1b483d533488beccca8ec72bb29eb7b46))
|
|
20
|
+
* **dev-deps:** bump vite-tsconfig-paths from 4.3.2 to 5.0.1 ([a7fe2c2](https://github.com/MTES-MCT/monitor-ui/commit/a7fe2c2fad7f21af812757f0b21eb2b4a89ef0fd))
|
|
21
|
+
|
|
1
22
|
## [24.3.1](https://github.com/MTES-MCT/monitor-ui/compare/v24.3.0...v24.3.1) (2024-10-24)
|
|
2
23
|
|
|
3
24
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectPolygon.d.ts","sourceRoot":"","sources":["../../src/icons/SelectPolygon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAErD,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,WAAW,EAAE,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"SelectPolygon.d.ts","sourceRoot":"","sources":["../../src/icons/SelectPolygon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAErD,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,WAAW,EAAE,EAAE,SAAS,2CAiB9E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectRectangle.d.ts","sourceRoot":"","sources":["../../src/icons/SelectRectangle.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAErD,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,WAAW,EAAE,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"SelectRectangle.d.ts","sourceRoot":"","sources":["../../src/icons/SelectRectangle.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAErD,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,WAAW,EAAE,EAAE,SAAS,2CAsBhF"}
|
package/index.js
CHANGED
|
@@ -20708,74 +20708,45 @@ function SelectPolygon({ color, size, title, ...nativeProps }) {
|
|
|
20708
20708
|
$color: color,
|
|
20709
20709
|
$size: size,
|
|
20710
20710
|
title: title,
|
|
20711
|
-
children: /*#__PURE__*/
|
|
20711
|
+
children: /*#__PURE__*/ jsxs("svg", {
|
|
20712
20712
|
height: "20",
|
|
20713
20713
|
viewBox: "0 0 20 20",
|
|
20714
20714
|
width: "20",
|
|
20715
20715
|
...nativeProps,
|
|
20716
|
-
children:
|
|
20717
|
-
|
|
20718
|
-
|
|
20719
|
-
|
|
20716
|
+
children: [
|
|
20717
|
+
/*#__PURE__*/ jsx("rect", {
|
|
20718
|
+
fill: "none",
|
|
20719
|
+
height: "20",
|
|
20720
|
+
width: "20"
|
|
20721
|
+
}),
|
|
20722
|
+
/*#__PURE__*/ jsx("g", {
|
|
20723
|
+
transform: "translate(-0.1 -0.081)",
|
|
20724
|
+
children: /*#__PURE__*/ jsxs("g", {
|
|
20720
20725
|
children: [
|
|
20721
20726
|
/*#__PURE__*/ jsx("path", {
|
|
20722
|
-
d: "
|
|
20727
|
+
d: "M13.989,5.345,12.036,2.576l-3.354.479L8.4,1.075,12.964.424l2.66,3.767Z",
|
|
20723
20728
|
fill: "currentColor"
|
|
20724
20729
|
}),
|
|
20725
|
-
/*#__PURE__*/ jsx("rect", {
|
|
20726
|
-
fill: "currentColor",
|
|
20727
|
-
height: "2",
|
|
20728
|
-
transform: "translate(-117.788 48.28) rotate(-69.601)",
|
|
20729
|
-
width: "2.539"
|
|
20730
|
-
}),
|
|
20731
20730
|
/*#__PURE__*/ jsx("path", {
|
|
20732
|
-
d: "
|
|
20731
|
+
d: "M3,7H1V2.133l4.818-.688L6.1,3.425,3,3.867Z",
|
|
20733
20732
|
fill: "currentColor"
|
|
20734
20733
|
}),
|
|
20735
|
-
/*#__PURE__*/ jsx("rect", {
|
|
20736
|
-
fill: "currentColor",
|
|
20737
|
-
height: "2.664",
|
|
20738
|
-
transform: "matrix(0.695, -0.719, 0.719, 0.695, -116.207, 55.124)",
|
|
20739
|
-
width: "2"
|
|
20740
|
-
}),
|
|
20741
20734
|
/*#__PURE__*/ jsx("path", {
|
|
20742
|
-
d: "
|
|
20735
|
+
d: "M5.237,16.554,1,14.646V10H3v3.354l3.058,1.376Z",
|
|
20743
20736
|
fill: "currentColor"
|
|
20744
20737
|
}),
|
|
20745
20738
|
/*#__PURE__*/ jsx("path", {
|
|
20746
|
-
d: "
|
|
20739
|
+
d: "M12.312,19.737l-4.37-1.967.82-1.824,2.925,1.316,1.948-2.548,1.588,1.215Z",
|
|
20747
20740
|
fill: "currentColor"
|
|
20748
20741
|
}),
|
|
20749
20742
|
/*#__PURE__*/ jsx("path", {
|
|
20750
|
-
d: "
|
|
20751
|
-
fill: "currentColor"
|
|
20752
|
-
}),
|
|
20753
|
-
/*#__PURE__*/ jsx("rect", {
|
|
20754
|
-
fill: "currentColor",
|
|
20755
|
-
height: "2.862",
|
|
20756
|
-
transform: "translate(-104.11 46.717) rotate(-9.96)",
|
|
20757
|
-
width: "2.001"
|
|
20758
|
-
}),
|
|
20759
|
-
/*#__PURE__*/ jsx("path", {
|
|
20760
|
-
d: "M-104.308,45.589l-.287-1.635h-1.66v-2h3.34l.578,3.289Z",
|
|
20743
|
+
d: "M16.864,13.785,15.276,12.57l1.982-2.594L15.376,7.31l1.635-1.154,2.73,3.868Z",
|
|
20761
20744
|
fill: "currentColor"
|
|
20762
|
-
}),
|
|
20763
|
-
/*#__PURE__*/ jsx("rect", {
|
|
20764
|
-
fill: "currentColor",
|
|
20765
|
-
height: "2",
|
|
20766
|
-
transform: "translate(-110.911 41.954)",
|
|
20767
|
-
width: "3.326"
|
|
20768
20745
|
})
|
|
20769
20746
|
]
|
|
20770
|
-
}),
|
|
20771
|
-
/*#__PURE__*/ jsx("rect", {
|
|
20772
|
-
fill: "none",
|
|
20773
|
-
height: "20",
|
|
20774
|
-
transform: "translate(-120 41)",
|
|
20775
|
-
width: "20"
|
|
20776
20747
|
})
|
|
20777
|
-
|
|
20778
|
-
|
|
20748
|
+
})
|
|
20749
|
+
]
|
|
20779
20750
|
})
|
|
20780
20751
|
});
|
|
20781
20752
|
}
|
|
@@ -20785,174 +20756,71 @@ function SelectRectangle({ color, size, title, ...nativeProps }) {
|
|
|
20785
20756
|
$color: color,
|
|
20786
20757
|
$size: size,
|
|
20787
20758
|
title: title,
|
|
20788
|
-
children: /*#__PURE__*/
|
|
20759
|
+
children: /*#__PURE__*/ jsxs("svg", {
|
|
20789
20760
|
height: "20",
|
|
20790
20761
|
viewBox: "0 0 20 20",
|
|
20791
20762
|
width: "20",
|
|
20792
20763
|
...nativeProps,
|
|
20793
|
-
children:
|
|
20794
|
-
|
|
20795
|
-
|
|
20796
|
-
|
|
20797
|
-
|
|
20798
|
-
|
|
20799
|
-
|
|
20800
|
-
|
|
20801
|
-
|
|
20802
|
-
|
|
20803
|
-
|
|
20804
|
-
|
|
20805
|
-
|
|
20806
|
-
|
|
20807
|
-
|
|
20808
|
-
|
|
20809
|
-
|
|
20810
|
-
|
|
20811
|
-
|
|
20812
|
-
|
|
20813
|
-
|
|
20814
|
-
|
|
20815
|
-
|
|
20816
|
-
|
|
20817
|
-
|
|
20818
|
-
|
|
20819
|
-
|
|
20820
|
-
|
|
20821
|
-
|
|
20822
|
-
|
|
20823
|
-
|
|
20824
|
-
|
|
20825
|
-
|
|
20826
|
-
|
|
20827
|
-
|
|
20828
|
-
|
|
20829
|
-
|
|
20830
|
-
|
|
20831
|
-
|
|
20832
|
-
|
|
20833
|
-
|
|
20834
|
-
|
|
20835
|
-
|
|
20836
|
-
|
|
20837
|
-
|
|
20838
|
-
|
|
20839
|
-
|
|
20840
|
-
|
|
20841
|
-
|
|
20842
|
-
|
|
20843
|
-
|
|
20844
|
-
|
|
20845
|
-
|
|
20846
|
-
|
|
20847
|
-
|
|
20848
|
-
|
|
20849
|
-
|
|
20850
|
-
|
|
20851
|
-
|
|
20852
|
-
|
|
20853
|
-
x: "1",
|
|
20854
|
-
y: "1"
|
|
20855
|
-
})
|
|
20856
|
-
]
|
|
20857
|
-
}),
|
|
20858
|
-
/*#__PURE__*/ jsxs("g", {
|
|
20859
|
-
fill: "none",
|
|
20860
|
-
stroke: "currentColor",
|
|
20861
|
-
strokeMiterlimit: "10",
|
|
20862
|
-
strokeWidth: "2",
|
|
20863
|
-
transform: "translate(-143 49)",
|
|
20864
|
-
children: [
|
|
20865
|
-
/*#__PURE__*/ jsx("rect", {
|
|
20866
|
-
height: "4",
|
|
20867
|
-
stroke: "none",
|
|
20868
|
-
width: "2"
|
|
20869
|
-
}),
|
|
20870
|
-
/*#__PURE__*/ jsx("rect", {
|
|
20871
|
-
fill: "none",
|
|
20872
|
-
height: "2",
|
|
20873
|
-
x: "1",
|
|
20874
|
-
y: "1"
|
|
20875
|
-
})
|
|
20876
|
-
]
|
|
20877
|
-
}),
|
|
20878
|
-
/*#__PURE__*/ jsxs("g", {
|
|
20879
|
-
children: [
|
|
20880
|
-
/*#__PURE__*/ jsxs("g", {
|
|
20881
|
-
fill: "none",
|
|
20882
|
-
strokeMiterlimit: "10",
|
|
20883
|
-
children: [
|
|
20884
|
-
/*#__PURE__*/ jsx("path", {
|
|
20885
|
-
d: "M-159,42v5h2V44h3V42Z",
|
|
20886
|
-
stroke: "none"
|
|
20887
|
-
}),
|
|
20888
|
-
/*#__PURE__*/ jsx("path", {
|
|
20889
|
-
d: "M -159 42 L -154 42 L -154 44 L -157 44 L -157 47 L -159 47 L -159 42 Z",
|
|
20890
|
-
fill: "currentColor",
|
|
20891
|
-
stroke: "none"
|
|
20892
|
-
})
|
|
20893
|
-
]
|
|
20894
|
-
}),
|
|
20895
|
-
/*#__PURE__*/ jsxs("g", {
|
|
20896
|
-
fill: "none",
|
|
20897
|
-
strokeMiterlimit: "10",
|
|
20898
|
-
children: [
|
|
20899
|
-
/*#__PURE__*/ jsx("path", {
|
|
20900
|
-
d: "M-146,42v2h3v3h2V42Z",
|
|
20901
|
-
stroke: "none"
|
|
20902
|
-
}),
|
|
20903
|
-
/*#__PURE__*/ jsx("path", {
|
|
20904
|
-
d: "M -146 42 L -141 42 L -141 47 L -143 47 L -143 44 L -146 44 L -146 42 Z",
|
|
20905
|
-
fill: "currentColor",
|
|
20906
|
-
stroke: "none"
|
|
20907
|
-
})
|
|
20908
|
-
]
|
|
20909
|
-
})
|
|
20910
|
-
]
|
|
20911
|
-
}),
|
|
20912
|
-
/*#__PURE__*/ jsxs("g", {
|
|
20913
|
-
children: [
|
|
20914
|
-
/*#__PURE__*/ jsxs("g", {
|
|
20915
|
-
fill: "none",
|
|
20916
|
-
strokeMiterlimit: "10",
|
|
20917
|
-
children: [
|
|
20918
|
-
/*#__PURE__*/ jsx("path", {
|
|
20919
|
-
d: "M-157,55h-2v5h5V58h-3Z",
|
|
20920
|
-
stroke: "none"
|
|
20921
|
-
}),
|
|
20922
|
-
/*#__PURE__*/ jsx("path", {
|
|
20923
|
-
d: "M -159 55 L -157 55 L -157 58 L -154 58 L -154 60 L -159 60 L -159 55 Z",
|
|
20924
|
-
fill: "currentColor",
|
|
20925
|
-
stroke: "none"
|
|
20926
|
-
})
|
|
20927
|
-
]
|
|
20928
|
-
}),
|
|
20929
|
-
/*#__PURE__*/ jsxs("g", {
|
|
20930
|
-
fill: "none",
|
|
20931
|
-
strokeMiterlimit: "10",
|
|
20932
|
-
children: [
|
|
20933
|
-
/*#__PURE__*/ jsx("path", {
|
|
20934
|
-
d: "M-143,55v3h-3v2h5V55Z",
|
|
20935
|
-
stroke: "none"
|
|
20936
|
-
}),
|
|
20937
|
-
/*#__PURE__*/ jsx("path", {
|
|
20938
|
-
d: "M -143 55 L -141 55 L -141 60 L -146 60 L -146 58 L -143 58 L -143 55 Z",
|
|
20939
|
-
fill: "currentColor",
|
|
20940
|
-
stroke: "none"
|
|
20941
|
-
})
|
|
20942
|
-
]
|
|
20943
|
-
})
|
|
20944
|
-
]
|
|
20945
|
-
})
|
|
20946
|
-
]
|
|
20947
|
-
}),
|
|
20948
|
-
/*#__PURE__*/ jsx("rect", {
|
|
20949
|
-
fill: "none",
|
|
20950
|
-
height: "20",
|
|
20951
|
-
transform: "translate(-160 41)",
|
|
20952
|
-
width: "20"
|
|
20953
|
-
})
|
|
20954
|
-
]
|
|
20955
|
-
})
|
|
20764
|
+
children: [
|
|
20765
|
+
/*#__PURE__*/ jsxs("g", {
|
|
20766
|
+
transform: "translate(160 -41)",
|
|
20767
|
+
children: [
|
|
20768
|
+
/*#__PURE__*/ jsx("rect", {
|
|
20769
|
+
fill: "currentColor",
|
|
20770
|
+
height: "4",
|
|
20771
|
+
transform: "translate(-152 44) rotate(-90)",
|
|
20772
|
+
width: "2"
|
|
20773
|
+
}),
|
|
20774
|
+
/*#__PURE__*/ jsx("rect", {
|
|
20775
|
+
fill: "currentColor",
|
|
20776
|
+
height: "4",
|
|
20777
|
+
transform: "translate(-152 60) rotate(-90)",
|
|
20778
|
+
width: "2"
|
|
20779
|
+
}),
|
|
20780
|
+
/*#__PURE__*/ jsx("rect", {
|
|
20781
|
+
fill: "currentColor",
|
|
20782
|
+
height: "4",
|
|
20783
|
+
transform: "translate(-159 49)",
|
|
20784
|
+
width: "2"
|
|
20785
|
+
}),
|
|
20786
|
+
/*#__PURE__*/ jsx("rect", {
|
|
20787
|
+
fill: "currentColor",
|
|
20788
|
+
height: "4",
|
|
20789
|
+
transform: "translate(-143 49)",
|
|
20790
|
+
width: "2"
|
|
20791
|
+
}),
|
|
20792
|
+
/*#__PURE__*/ jsxs("g", {
|
|
20793
|
+
children: [
|
|
20794
|
+
/*#__PURE__*/ jsx("path", {
|
|
20795
|
+
d: "M-159,42v5h2V44h3V42Z",
|
|
20796
|
+
fill: "currentColor"
|
|
20797
|
+
}),
|
|
20798
|
+
/*#__PURE__*/ jsx("path", {
|
|
20799
|
+
d: "M-146,42v2h3v3h2V42Z",
|
|
20800
|
+
fill: "currentColor"
|
|
20801
|
+
})
|
|
20802
|
+
]
|
|
20803
|
+
}),
|
|
20804
|
+
/*#__PURE__*/ jsxs("g", {
|
|
20805
|
+
children: [
|
|
20806
|
+
/*#__PURE__*/ jsx("path", {
|
|
20807
|
+
d: "M-157,55h-2v5h5V58h-3Z",
|
|
20808
|
+
fill: "currentColor"
|
|
20809
|
+
}),
|
|
20810
|
+
/*#__PURE__*/ jsx("path", {
|
|
20811
|
+
d: "M-143,55v3h-3v2h5V55Z",
|
|
20812
|
+
fill: "currentColor"
|
|
20813
|
+
})
|
|
20814
|
+
]
|
|
20815
|
+
})
|
|
20816
|
+
]
|
|
20817
|
+
}),
|
|
20818
|
+
/*#__PURE__*/ jsx("rect", {
|
|
20819
|
+
fill: "none",
|
|
20820
|
+
height: "20",
|
|
20821
|
+
width: "20"
|
|
20822
|
+
})
|
|
20823
|
+
]
|
|
20956
20824
|
})
|
|
20957
20825
|
});
|
|
20958
20826
|
}
|
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.
|
|
4
|
+
"version": "24.5.0",
|
|
5
5
|
"license": "AGPL-3.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"engines": {
|