@mtes-mct/monitor-ui 7.3.1 → 7.4.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 +14 -0
- package/icons/PinFilled.d.ts +2 -0
- package/icons/index.d.ts +2 -1
- package/index.js +7 -0
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/theme.d.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [7.4.0](https://github.com/MTES-MCT/monitor-ui/compare/v7.3.1...v7.4.0) (2023-06-15)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **icons:** add PinFilled icon ([dfef008](https://github.com/MTES-MCT/monitor-ui/commit/dfef008403136f2bc3dfeab66a1ea42aa9b8ff70))
|
|
7
|
+
|
|
8
|
+
## [7.3.1](https://github.com/MTES-MCT/monitor-ui/compare/v7.3.0...v7.3.1) (2023-06-13)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **components:** fix style ([fa5ddb6](https://github.com/MTES-MCT/monitor-ui/commit/fa5ddb6a351cba430d1a2f2452ac66e756e3722b))
|
|
14
|
+
|
|
1
15
|
# [7.3.0](https://github.com/MTES-MCT/monitor-ui/compare/v7.2.1...v7.3.0) (2023-06-09)
|
|
2
16
|
|
|
3
17
|
|
package/icons/index.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ import { More } from './More';
|
|
|
45
45
|
import { Note } from './Note';
|
|
46
46
|
import { Observation } from './Observation';
|
|
47
47
|
import { Pin } from './Pin';
|
|
48
|
+
import { PinFilled } from './PinFilled';
|
|
48
49
|
import { Pinpoint } from './Pinpoint';
|
|
49
50
|
import { PinpointHide } from './PinpointHide';
|
|
50
51
|
import { Plane } from './Plane';
|
|
@@ -68,4 +69,4 @@ import { Unlock } from './Unlock';
|
|
|
68
69
|
import { Vessel } from './Vessel';
|
|
69
70
|
import { ViewOnMap } from './ViewOnMap';
|
|
70
71
|
import { Vms } from './Vms';
|
|
71
|
-
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, Report, Save, Search, SelectCircle, SelectPolygon, SelectRectangle, SelectZone, Semaphore, ShowErsMessages, ShowXml, SortingArrows, Summary, Tag, Target, Unlock, Vessel, ViewOnMap, Vms };
|
|
72
|
+
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, PinFilled, Pinpoint, PinpointHide, Plane, Plus, Reject, Report, Save, Search, SelectCircle, SelectPolygon, SelectRectangle, SelectZone, Semaphore, ShowErsMessages, ShowXml, SortingArrows, Summary, Tag, Target, Unlock, Vessel, ViewOnMap, Vms };
|
package/index.js
CHANGED
|
@@ -264,6 +264,8 @@ const THEME = {
|
|
|
264
264
|
goldenPoppy: '#FAC11A',
|
|
265
265
|
maximumRed: '#E1000F',
|
|
266
266
|
/** CONTEXTUAL COLORS */
|
|
267
|
+
// Mission status
|
|
268
|
+
yellowGreen: '#8CC800',
|
|
267
269
|
// Risk Factor
|
|
268
270
|
cadetGray: '#8E9A9F',
|
|
269
271
|
grullo: '#B89B8C',
|
|
@@ -3108,6 +3110,10 @@ function Pin({ color, size, ...nativeProps }) {
|
|
|
3108
3110
|
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)", children: [jsx("path", { d: "M250.94,2l-1.412,1.412.706.707L246.7,7.65h-2.824l-1.412,1.413,3.518,3.52-3.985,4L243.413,18l3.985-4,3.54,3.542,1.413-1.412V13.3l3.531-3.531.706.706L258,9.064Zm0,9.888v2.825l-5.648-5.651h2.824l3.531-3.531,2.824,2.825Z", fill: "currentColor" }), jsx("rect", { fill: "none", height: "20", transform: "translate(240)", width: "20" })] }) }) }));
|
|
3109
3111
|
}
|
|
3110
3112
|
|
|
3113
|
+
function PinFilled({ color, size, ...nativeProps }) {
|
|
3114
|
+
return (jsx(IconBox, { "$color": color, "$size": size, children: jsx("svg", { height: "20", viewBox: "0 0 20 20", width: "20", ...nativeProps, children: jsx("path", { d: "M 10.94 2 L 9.528 3.412 L 10.234 4.119 L 6.7 7.65 L 3.876 7.65 L 2.464 9.063 L 5.982 12.583 L 1.997 16.583 L 3.413 18 L 7.398 14 L 10.938 17.542 L 12.351 16.13 L 12.351 13.3 L 15.882 9.769 L 16.588 10.475 L 18 9.064 L 10.94 2 Z", fill: "currentColor" }) }) }));
|
|
3115
|
+
}
|
|
3116
|
+
|
|
3111
3117
|
function Pinpoint({ color, size, ...nativeProps }) {
|
|
3112
3118
|
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(-160)", children: [jsx("path", { d: "M164,8c0,5,6,10,6,10", fill: "currentColor" }), jsx("path", { d: "M170,2a5.961,5.961,0,0,0-5.944,6.777c.016.135.038.27.062.4l.011.055C164.964,13.792,170,18,170,18s5.036-4.208,5.871-8.763l.011-.055c.024-.135.046-.27.062-.4A5.961,5.961,0,0,0,170,2Zm0,9a3,3,0,1,1,3-3A3,3,0,0,1,170,11Z", fill: "currentColor" }), jsx("rect", { fill: "none", height: "20", transform: "translate(160)", width: "20" })] }) }) }));
|
|
3113
3119
|
}
|
|
@@ -3249,6 +3255,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
3249
3255
|
Note: Note,
|
|
3250
3256
|
Observation: Observation,
|
|
3251
3257
|
Pin: Pin,
|
|
3258
|
+
PinFilled: PinFilled,
|
|
3252
3259
|
Pinpoint: Pinpoint,
|
|
3253
3260
|
PinpointHide: PinpointHide,
|
|
3254
3261
|
Plane: Plane,
|