@mtes-mct/monitor-ui 5.4.0 → 5.6.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 CHANGED
@@ -1,3 +1,22 @@
1
+ # [5.5.0](https://github.com/MTES-MCT/monitor-ui/compare/v5.4.0...v5.5.0) (2023-04-27)
2
+
3
+
4
+ ### Features
5
+
6
+ * **icons:** add mission action icon ([7c8dbf4](https://github.com/MTES-MCT/monitor-ui/commit/7c8dbf4d6a565e5e201aea2f80ae811a9c5e2238))
7
+
8
+ # [5.4.0](https://github.com/MTES-MCT/monitor-ui/compare/v5.3.6...v5.4.0) (2023-04-26)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **fields:** apply lint ([4b89b0b](https://github.com/MTES-MCT/monitor-ui/commit/4b89b0baa32fb97de4b35e01df82902df5ea89cb))
14
+
15
+
16
+ ### Features
17
+
18
+ * **fields:** add isCleanable prop to select picker ([2924521](https://github.com/MTES-MCT/monitor-ui/commit/2924521b06490774e248c7bfedd843c2c456a848))
19
+
1
20
  ## [5.3.6](https://github.com/MTES-MCT/monitor-ui/compare/v5.3.5...v5.3.6) (2023-04-20)
2
21
 
3
22
 
@@ -0,0 +1,2 @@
1
+ import type { IconProps } from '../types';
2
+ export declare function Expand({ color, size, ...nativeProps }: IconProps): JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { IconProps } from '../types';
2
+ export declare function MissionAction({ color, size, ...nativeProps }: IconProps): JSX.Element;
package/icons/index.d.ts CHANGED
@@ -18,6 +18,7 @@ import { Drapeau } from './Drapeau';
18
18
  import { Duplicate } from './Duplicate';
19
19
  import { Edit } from './Edit';
20
20
  import { EditBis } from './EditBis';
21
+ import { Expand } from './Expand';
21
22
  import { Favorite } from './Favorite';
22
23
  import { FilledArrow } from './FilledArrow';
23
24
  import { Filter } from './Filter';
@@ -39,6 +40,7 @@ import { MeasureBrokenLine } from './MeasureBrokenLine';
39
40
  import { MeasureCircle } from './MeasureCircle';
40
41
  import { MeasureLine } from './MeasureLine';
41
42
  import { Minus } from './Minus';
43
+ import { MissionAction } from './MissionAction';
42
44
  import { More } from './More';
43
45
  import { Note } from './Note';
44
46
  import { Observation } from './Observation';
@@ -64,4 +66,4 @@ import { Unlock } from './Unlock';
64
66
  import { Vessel } from './Vessel';
65
67
  import { ViewOnMap } from './ViewOnMap';
66
68
  import { Vms } from './Vms';
67
- export { ActivityFeed, Alert, Anchor, Archive, Attention, Calendar, Check, Chevron, Clock, Close, Confirm, Control, Delete, Display, DoubleChevron, Download, Drapeau, Duplicate, Edit, EditBis, Favorite, FilledArrow, Filter, FilterBis, Fishery, FishingEngine, FleetSegment, Focus, FocusVessel, FocusZones, Hide, Info, Infringement, Landmark, List, MapLayers, MeasureAngle, MeasureBrokenLine, MeasureCircle, MeasureLine, Minus, More, Note, Observation, Pin, Pinpoint, PinpointHide, Plane, Plus, Reject, Save, Search, SelectCircle, SelectPolygon, SelectRectangle, SelectZone, ShowErsMessages, ShowXml, SortingArrows, Summary, Tag, Target, Unlock, Vessel, ViewOnMap, Vms };
69
+ export { ActivityFeed, Alert, Anchor, Archive, Attention, Calendar, Check, Chevron, Clock, Close, Confirm, Control, Delete, Display, DoubleChevron, Download, Drapeau, Duplicate, Edit, EditBis, Expand, Favorite, FilledArrow, Filter, FilterBis, Fishery, FishingEngine, FleetSegment, Focus, FocusVessel, FocusZones, Hide, Info, Infringement, Landmark, List, MapLayers, MeasureAngle, MeasureBrokenLine, MeasureCircle, MeasureLine, Minus, MissionAction, More, Note, Observation, Pin, Pinpoint, PinpointHide, Plane, Plus, Reject, Save, Search, SelectCircle, SelectPolygon, SelectRectangle, SelectZone, ShowErsMessages, ShowXml, SortingArrows, Summary, Tag, Target, Unlock, Vessel, ViewOnMap, Vms };
package/index.js CHANGED
@@ -2551,6 +2551,10 @@ function EditBis({ color, size, ...nativeProps }) {
2551
2551
  return (jsx(IconBox, { "$color": color, "$size": size, children: jsx("svg", { height: "20", viewBox: "0 0 20 20", width: "20", ...nativeProps, children: jsxs("g", { transform: "translate(-80)", children: [jsx("path", { d: "M86,11.5V14h2.5l7.372-7.372-2.5-2.5ZM97.805,4.7a.664.664,0,0,0,0-.94l-1.56-1.56a.664.664,0,0,0-.94,0l-1.219,1.22,2.5,2.5Z", fill: "currentColor" }), jsx("path", { d: "M95,9v7H84V5h7V3H82V18H97V9Z", fill: "currentColor" }), jsx("rect", { fill: "none", height: "20", transform: "translate(80)", width: "20" })] }) }) }));
2552
2552
  }
2553
2553
 
2554
+ function Expand({ color, size, ...nativeProps }) {
2555
+ return (jsx(IconBox, { "$color": color, "$size": size, children: jsx("svg", { height: "20.076", viewBox: "0 0 20.068 20.076", width: "20.068", ...nativeProps, children: jsx("path", { d: "M12114.779,15768.074v-1.512h5.719l-6.488-6.49,1.061-1.061,6.5,6.482v-5.713h1.5v8.293Zm-10.271-17.5v5.719H12103v-8.3h8.293v1.512h-5.719l6.488,6.49-1.068,1.066Z", fill: "currentColor", transform: "translate(-12103.002 -15747.998)" }) }) }));
2556
+ }
2557
+
2554
2558
  function Favorite({ color, size, ...nativeProps }) {
2555
2559
  return (jsx(IconBox, { "$color": color, "$size": size, children: jsx("svg", { height: "20", viewBox: "0 0 20 20", width: "20", ...nativeProps, children: jsxs("g", { transform: "translate(-300 -208)", children: [jsx("path", { d: "M370,5.015l1.763,3.568,3.936.571-2.848,2.773.673,3.919L370,13.995l-3.524,1.851.673-3.919L364.3,9.154l3.936-.571L370,5.015M370,.5l-3.09,6.254-6.91,1,5,4.869L363.82,19.5,370,16.254l6.18,3.246L375,12.626l5-4.869-6.91-1L370,.5Z", fill: "currentColor", transform: "translate(-60 208)" }), jsx("rect", { fill: "none", height: "20", transform: "translate(300 208)", width: "20" })] }) }) }));
2556
2560
  }
@@ -2635,6 +2639,10 @@ function Minus({ color, size, ...nativeProps }) {
2635
2639
  return (jsx(IconBox, { "$color": color, "$size": size, children: jsxs("svg", { height: "20", viewBox: "0 0 20 20", width: "20", ...nativeProps, children: [jsx("rect", { fill: "currentColor", height: "14", transform: "translate(3 11) rotate(-90)", width: "2" }), jsx("rect", { fill: "none", height: "20", width: "20" })] }) }));
2636
2640
  }
2637
2641
 
2642
+ function MissionAction({ color, size, ...nativeProps }) {
2643
+ return (jsx(IconBox, { "$color": color, "$size": size, children: jsx("svg", { height: "24.798", viewBox: "0 0 20.289 24.798", width: "20.289", ...nativeProps, children: jsx("path", { d: "M18.781,2.254h3.382a1.127,1.127,0,0,1,1.127,1.127V23.671A1.127,1.127,0,0,1,22.162,24.8H4.127A1.127,1.127,0,0,1,3,23.671V3.382A1.127,1.127,0,0,1,4.127,2.254H7.509V0H9.763V2.254h6.763V0h2.254ZM7.509,9.017v2.254H18.781V9.017Zm0,4.509v2.254H18.781V13.526Z", fill: "currentColor", transform: "translate(-3)" }) }) }));
2644
+ }
2645
+
2638
2646
  function More({ color, size, ...nativeProps }) {
2639
2647
  return (jsx(IconBox, { "$color": color, "$size": size, children: jsx("svg", { height: "20", viewBox: "0 0 20 20", width: "20", ...nativeProps, children: jsxs("g", { transform: "translate(240 -41)", children: [jsxs("g", { children: [jsx("circle", { cx: "2", cy: "2", fill: "currentColor", r: "2", transform: "translate(-232 49)" }), jsx("circle", { cx: "2", cy: "2", fill: "currentColor", r: "2", transform: "translate(-239 49)" }), jsx("circle", { cx: "2", cy: "2", fill: "currentColor", r: "2", transform: "translate(-225 49)" })] }), jsx("rect", { fill: "none", height: "20", transform: "translate(-240 41)", width: "20" })] }) }) }));
2640
2648
  }
@@ -2757,6 +2765,7 @@ var index = /*#__PURE__*/Object.freeze({
2757
2765
  Duplicate: Duplicate,
2758
2766
  Edit: Edit,
2759
2767
  EditBis: EditBis,
2768
+ Expand: Expand,
2760
2769
  Favorite: Favorite,
2761
2770
  FilledArrow: FilledArrow,
2762
2771
  Filter: Filter,
@@ -2778,6 +2787,7 @@ var index = /*#__PURE__*/Object.freeze({
2778
2787
  MeasureCircle: MeasureCircle,
2779
2788
  MeasureLine: MeasureLine,
2780
2789
  Minus: Minus,
2790
+ MissionAction: MissionAction,
2781
2791
  More: More,
2782
2792
  Note: Note,
2783
2793
  Observation: Observation,