@mtes-mct/monitor-ui 8.6.0 → 8.7.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 +14 -0
- package/index.js +26 -8
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/{MapMenuModal → MapMenuDialog}/index.d.ts +1 -1
- package/src/elements/Table/SimpleTable.d.ts +1 -1
- package/src/elements/Table/TableWithSelectableRows/index.d.ts +1 -1
- package/src/icons/Reset.d.ts +2 -0
- package/src/icons/SortSelectedDown.d.ts +2 -0
- package/src/icons/SortSelectedUp.d.ts +2 -0
- package/src/icons/SortingChevrons.d.ts +2 -0
- package/src/icons/index.d.ts +5 -1
- package/src/index.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [8.6.1](https://github.com/MTES-MCT/monitor-ui/compare/v8.6.0...v8.6.1) (2023-08-21)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **components:** fix style and rename MapMenuModal in MapMenuDialog ([680b320](https://github.com/MTES-MCT/monitor-ui/commit/680b32091858f05151e0d627d3b85c96757af465))
|
|
7
|
+
|
|
8
|
+
# [8.6.0](https://github.com/MTES-MCT/monitor-ui/compare/v8.5.0...v8.6.0) (2023-08-21)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **types:** add Filter public type ([bac46f9](https://github.com/MTES-MCT/monitor-ui/commit/bac46f90fa20802e0b2745b7deca4a4c52cca589))
|
|
14
|
+
|
|
1
15
|
# [8.5.0](https://github.com/MTES-MCT/monitor-ui/compare/v8.4.0...v8.5.0) (2023-08-20)
|
|
2
16
|
|
|
3
17
|
|
package/index.js
CHANGED
|
@@ -3099,7 +3099,7 @@ function Anchor({ color, size, ...nativeProps }) {
|
|
|
3099
3099
|
}
|
|
3100
3100
|
|
|
3101
3101
|
function Archive({ color, size, ...nativeProps }) {
|
|
3102
|
-
return (jsx(IconBox, { "$color": color, "$size": size, children:
|
|
3102
|
+
return (jsx(IconBox, { "$color": color, "$size": size, children: jsxs("svg", { height: "20", viewBox: "0 0 20 20", width: "20", ...nativeProps, children: [jsx("path", { d: "M138,2H122V8h1V18h14V8h1ZM124,4h12V6H124Zm11,12H125V8h10Z", fill: "currentColor", transform: "translate(-120)" }), jsx("rect", { fill: "currentColor", height: "2", transform: "translate(8 10)", width: "4" }), jsx("rect", { fill: "none", height: "20", width: "20" })] }) }));
|
|
3103
3103
|
}
|
|
3104
3104
|
|
|
3105
3105
|
function Attention({ color, size, ...nativeProps }) {
|
|
@@ -3302,6 +3302,10 @@ function Report({ color, size, ...nativeProps }) {
|
|
|
3302
3302
|
return (jsx(IconBox, { "$color": color, "$size": size, children: jsxs("svg", { height: "20", viewBox: "0 0 20 20", width: "20", ...nativeProps, children: [jsx("rect", { fill: "none", height: "20", width: "20" }), jsx("path", { d: "M-143,6.6-155,1V19h2V11.453Z", fill: "currentColor", transform: "translate(160)" })] }) }));
|
|
3303
3303
|
}
|
|
3304
3304
|
|
|
3305
|
+
function Reset({ color, size, ...nativeProps }) {
|
|
3306
|
+
return (jsx(IconBox, { "$color": color, "$size": size, children: jsxs("svg", { height: "20", viewBox: "0 0 20 20", width: "20", ...nativeProps, children: [jsx("path", { d: "M0,0H20V20H0Z", fill: "none" }), jsxs("g", { children: [jsx("path", { d: "M17.37,15.155A8.992,8.992,0,0,0,4.124,3.192l1,1.793,0,.01A6.993,6.993,0,0,1,17,10H14.495l1.75,3.142-.012.028.017-.019.92,1.653.2.361Z", fill: "currentColor" }), jsx("path", { d: "M14.888,15A6.994,6.994,0,0,1,3,10H5.505L3.756,6.856l.01-.023-.015.014-.373-.67L2.634,4.838h0l0-.006v.011A8.992,8.992,0,0,0,15.877,16.806l-1-1.792Z", fill: "currentColor" })] })] }) }));
|
|
3307
|
+
}
|
|
3308
|
+
|
|
3305
3309
|
function Save({ color, size, ...nativeProps }) {
|
|
3306
3310
|
return (jsx(IconBox, { "$color": color, "$size": size, children: jsxs("svg", { height: "20", viewBox: "0 0 20 20", width: "20", ...nativeProps, children: [jsx("path", { d: "M14.444,2H2V18H18V5.556ZM10,16.222a2.667,2.667,0,1,1,2.667-2.667h0a2.663,2.663,0,0,1-2.659,2.667Zm2.667-8.889H3.778V3.778h8.889Z", fill: "currentColor" }), jsx("rect", { fill: "none", height: "20", width: "20" })] }) }));
|
|
3307
3311
|
}
|
|
@@ -3342,6 +3346,18 @@ function SortingArrows({ color, size, ...nativeProps }) {
|
|
|
3342
3346
|
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(-40)", children: [jsxs("g", { children: [jsxs("g", { fill: "none", strokeMiterlimit: "10", children: [jsx("path", { d: "M57.536,11.636,55,14.172V2H53V14.172l-2.536-2.536L49.05,13.05,54,18l4.95-4.95Z", stroke: "none" }), jsx("path", { d: "M 54 18 L 49.05022811889648 13.05023002624512 L 50.46448135375977 11.6360502243042 L 53 14.17156982421875 L 53 2 L 55 2 L 55 14.17156982421875 L 57.53551864624023 11.6360502243042 L 58.94977188110352 13.05023002624512 L 54 18 Z", fill: "currentColor", stroke: "none" })] }), jsxs("g", { fill: "none", strokeMiterlimit: "10", children: [jsx("path", { d: "M50.95,6.95,46,2,41.05,6.95l1.414,1.414L45,5.828V18h2V5.828l2.536,2.536Z", stroke: "none" }), jsx("path", { d: "M 46 2 L 50.94977188110352 6.949709892272949 L 49.53551864624023 8.363949775695801 L 47 5.828370094299316 L 47 18 L 45 18 L 45 5.828370094299316 L 42.46448135375977 8.363949775695801 L 41.05022811889648 6.949709892272949 L 46 2 Z", fill: "currentColor", stroke: "none" })] })] }), jsx("rect", { fill: "none", height: "20", transform: "translate(40)", width: "20" })] }) }) }));
|
|
3343
3347
|
}
|
|
3344
3348
|
|
|
3349
|
+
function SortingChevrons({ color, size, ...nativeProps }) {
|
|
3350
|
+
return (jsx(IconBox, { "$color": color, "$size": size, children: jsxs("svg", { height: "20", viewBox: "0 0 20 20", width: "20", ...nativeProps, children: [jsx("path", { d: "M-184.5-110.5-190-105l-5.5-5.5", fill: "none", stroke: "currentColor", strokeMiterlimit: "10", strokeWidth: "2", transform: "translate(200 123)" }), jsx("path", { d: "M-195.5-115.5l5.5-5.5,5.5,5.5", fill: "none", stroke: "currentColor", strokeMiterlimit: "10", strokeWidth: "2", transform: "translate(200 123)" }), jsx("rect", { fill: "none", height: "20", width: "20" }), jsx("path", { d: "M-200-123h20v20h-20Z", fill: "none", transform: "translate(200 123)" })] }) }));
|
|
3351
|
+
}
|
|
3352
|
+
|
|
3353
|
+
function SortSelectedDown({ color, size, ...nativeProps }) {
|
|
3354
|
+
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(20 20) rotate(180)", children: [jsx("rect", { fill: "none", height: "20", width: "20" }), jsxs("g", { transform: "translate(0)", children: [jsx("path", { d: "M4.5,7.5,10,2l5.5,5.5", fill: "none", stroke: "currentColor", strokeMiterlimit: "10", strokeWidth: "2" }), jsx("line", { fill: "none", stroke: "currentColor", strokeMiterlimit: "10", strokeWidth: "2", transform: "translate(9.999 2)", y2: "17" })] })] }) }) }));
|
|
3355
|
+
}
|
|
3356
|
+
|
|
3357
|
+
function SortSelectedUp({ color, size, ...nativeProps }) {
|
|
3358
|
+
return (jsx(IconBox, { "$color": color, "$size": size, children: jsxs("svg", { height: "20", viewBox: "0 0 20 20", width: "20", ...nativeProps, children: [jsx("rect", { fill: "none", height: "20", width: "20" }), jsxs("g", { transform: "translate(0)", children: [jsx("path", { d: "M4.5,7.5,10,2l5.5,5.5", fill: "none", stroke: "currentColor", strokeMiterlimit: "10", strokeWidth: "2" }), jsx("line", { fill: "none", stroke: "currentColor", strokeMiterlimit: "10", strokeWidth: "2", transform: "translate(9.999 2)", y2: "17" })] })] }) }));
|
|
3359
|
+
}
|
|
3360
|
+
|
|
3345
3361
|
function Summary({ color, size, ...nativeProps }) {
|
|
3346
3362
|
return (jsx(IconBox, { "$color": color, "$size": size, children: jsxs("svg", { height: "20", viewBox: "0 0 20 20", width: "20", ...nativeProps, children: [jsx("defs", { children: jsx("clipPath", { children: jsx("use", {}) }) }), jsx("g", { children: jsx("rect", { fill: "none", height: "20", width: "20" }) }), jsxs("g", { children: [jsx("rect", { fill: "currentColor", height: "1.5", transform: "translate(6 6)", width: "8" }), jsx("rect", { fill: "currentColor", height: "1.5", transform: "translate(6 9.25)", width: "8" }), jsx("rect", { fill: "currentColor", height: "1.5", transform: "translate(6 12.5)", width: "8" }), jsx("path", { d: "M16.5,3.5v13H3.5V3.5h13M18,2H2V18H18V2Z", fill: "currentColor" })] })] }) }));
|
|
3347
3363
|
}
|
|
@@ -3426,6 +3442,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
3426
3442
|
Plus: Plus,
|
|
3427
3443
|
Reject: Reject,
|
|
3428
3444
|
Report: Report,
|
|
3445
|
+
Reset: Reset,
|
|
3429
3446
|
Save: Save,
|
|
3430
3447
|
Search: Search$1,
|
|
3431
3448
|
SelectCircle: SelectCircle,
|
|
@@ -3435,7 +3452,10 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
3435
3452
|
Semaphore: Semaphore,
|
|
3436
3453
|
ShowErsMessages: ShowErsMessages,
|
|
3437
3454
|
ShowXml: ShowXml,
|
|
3455
|
+
SortSelectedDown: SortSelectedDown,
|
|
3456
|
+
SortSelectedUp: SortSelectedUp,
|
|
3438
3457
|
SortingArrows: SortingArrows,
|
|
3458
|
+
SortingChevrons: SortingChevrons,
|
|
3439
3459
|
Summary: Summary,
|
|
3440
3460
|
Tag: Tag$1,
|
|
3441
3461
|
Target: Target,
|
|
@@ -3527,15 +3547,15 @@ const Container = styled.div `
|
|
|
3527
3547
|
margin-right: 6px;
|
|
3528
3548
|
background-color: ${p => p.theme.color.white};
|
|
3529
3549
|
box-shadow: 0px 3px 6px ${p => p.theme.color.slateGray};
|
|
3530
|
-
|
|
3550
|
+
display: flex;
|
|
3551
|
+
flex-direction: column;
|
|
3531
3552
|
`;
|
|
3532
3553
|
const Header = styled.div `
|
|
3533
3554
|
height: 40px;
|
|
3534
3555
|
background-color: ${p => p.theme.color.charcoal};
|
|
3535
3556
|
display: flex;
|
|
3536
3557
|
justify-content: space-between;
|
|
3537
|
-
padding
|
|
3538
|
-
padding-left: 10px;
|
|
3558
|
+
padding: 9px 4px 9px 10px;
|
|
3539
3559
|
align-items: center;
|
|
3540
3560
|
`;
|
|
3541
3561
|
const Title = styled.span `
|
|
@@ -3560,12 +3580,10 @@ const Footer = styled.div `
|
|
|
3560
3580
|
flex-direction: column;
|
|
3561
3581
|
gap: 8px;
|
|
3562
3582
|
padding: 12px;
|
|
3563
|
-
position: absolute;
|
|
3564
|
-
bottom: 0;
|
|
3565
3583
|
width: 100%;
|
|
3566
3584
|
z-index: 10;
|
|
3567
3585
|
`;
|
|
3568
|
-
const
|
|
3586
|
+
const MapMenuDialog = {
|
|
3569
3587
|
Body,
|
|
3570
3588
|
CloseButton,
|
|
3571
3589
|
Container,
|
|
@@ -36717,5 +36735,5 @@ function undefine(value) {
|
|
|
36717
36735
|
return value;
|
|
36718
36736
|
}
|
|
36719
36737
|
|
|
36720
|
-
export { Accent, Button$1 as Button, Checkbox, CoordinatesFormat, CoordinatesInput, CustomSearch, DatePicker, DateRangePicker, Dialog, Dropdown, Field$2 as Field, FieldError, Fieldset, FormikCheckbox, FormikCoordinatesInput, FormikDatePicker, FormikDateRangePicker, FormikEffect, FormikMultiCheckbox, FormikMultiRadio, FormikMultiSelect, FormikNumberInput, FormikSearch, FormikSelect, FormikTextInput, FormikTextarea, GlobalStyle, index as Icon, IconButton, Label, Legend,
|
|
36738
|
+
export { Accent, Button$1 as Button, Checkbox, CoordinatesFormat, CoordinatesInput, CustomSearch, DatePicker, DateRangePicker, Dialog, Dropdown, Field$2 as Field, FieldError, Fieldset, FormikCheckbox, FormikCoordinatesInput, FormikDatePicker, FormikDateRangePicker, FormikEffect, FormikMultiCheckbox, FormikMultiRadio, FormikMultiSelect, FormikNumberInput, FormikSearch, FormikSelect, FormikTextInput, FormikTextarea, GlobalStyle, index as Icon, IconButton, Label, Legend, MapMenuDialog, MultiCheckbox, MultiRadio, MultiSelect, MultiZoneEditor, NewWindow, NewWindowContext, NotificationEvent, Notifier, NumberInput, OPENLAYERS_PROJECTION, OnlyFontGlobalStyle, Search, Select, SideMenu, SimpleTable, SingleTag, Size, THEME, TableWithSelectableRows, Tag, TagBullet, TagGroup, TextInput, Textarea, ThemeProvider, WSG84_PROJECTION, coordinatesAreDistinct, customDayjs, getCoordinates, getLocalizedDayjs, getOptionsFromIdAndName, getOptionsFromLabelledEnum, getPseudoRandomString, getUtcizedDayjs, isArray, isDefined, isNumeric, isObject, logSoftError, nullify, stopMouseEventPropagation, undefine, useClickOutsideEffect, useFieldControl, useForceUpdate, useKey, useNewWindow, usePrevious };
|
|
36721
36739
|
//# sourceMappingURL=index.js.map
|