@mtes-mct/monitor-ui 3.6.0 → 3.7.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/index.js +106 -14
- package/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [3.7.0](https://github.com/MTES-MCT/monitor-ui/compare/v3.6.0...v3.7.0) (2023-03-17)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **elements:** add classname .Field to Field ([a1dfc98](https://github.com/MTES-MCT/monitor-ui/commit/a1dfc985f87b32b2797a00f46ffef4dba4a16101))
|
|
7
|
+
|
|
8
|
+
# [3.6.0](https://github.com/MTES-MCT/monitor-ui/compare/v3.5.0...v3.6.0) (2023-03-16)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **css:** css for errors ([e0b5d51](https://github.com/MTES-MCT/monitor-ui/commit/e0b5d51281214db916103311dbe70ab871299d09))
|
|
14
|
+
|
|
1
15
|
# [3.5.0](https://github.com/MTES-MCT/monitor-ui/compare/v3.4.0...v3.5.0) (2023-03-01)
|
|
2
16
|
|
|
3
17
|
|
package/index.js
CHANGED
|
@@ -2752,7 +2752,80 @@ const StyledIconButton = styled(IconButton) `
|
|
|
2752
2752
|
}
|
|
2753
2753
|
`;
|
|
2754
2754
|
|
|
2755
|
-
|
|
2755
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
2756
|
+
|
|
2757
|
+
function getDefaultExportFromCjs (x) {
|
|
2758
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
2759
|
+
}
|
|
2760
|
+
|
|
2761
|
+
var classnamesExports = {};
|
|
2762
|
+
var classnames = {
|
|
2763
|
+
get exports(){ return classnamesExports; },
|
|
2764
|
+
set exports(v){ classnamesExports = v; },
|
|
2765
|
+
};
|
|
2766
|
+
|
|
2767
|
+
/*!
|
|
2768
|
+
Copyright (c) 2018 Jed Watson.
|
|
2769
|
+
Licensed under the MIT License (MIT), see
|
|
2770
|
+
http://jedwatson.github.io/classnames
|
|
2771
|
+
*/
|
|
2772
|
+
|
|
2773
|
+
(function (module) {
|
|
2774
|
+
/* global define */
|
|
2775
|
+
|
|
2776
|
+
(function () {
|
|
2777
|
+
|
|
2778
|
+
var hasOwn = {}.hasOwnProperty;
|
|
2779
|
+
|
|
2780
|
+
function classNames() {
|
|
2781
|
+
var classes = [];
|
|
2782
|
+
|
|
2783
|
+
for (var i = 0; i < arguments.length; i++) {
|
|
2784
|
+
var arg = arguments[i];
|
|
2785
|
+
if (!arg) continue;
|
|
2786
|
+
|
|
2787
|
+
var argType = typeof arg;
|
|
2788
|
+
|
|
2789
|
+
if (argType === 'string' || argType === 'number') {
|
|
2790
|
+
classes.push(arg);
|
|
2791
|
+
} else if (Array.isArray(arg)) {
|
|
2792
|
+
if (arg.length) {
|
|
2793
|
+
var inner = classNames.apply(null, arg);
|
|
2794
|
+
if (inner) {
|
|
2795
|
+
classes.push(inner);
|
|
2796
|
+
}
|
|
2797
|
+
}
|
|
2798
|
+
} else if (argType === 'object') {
|
|
2799
|
+
if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
|
|
2800
|
+
classes.push(arg.toString());
|
|
2801
|
+
continue;
|
|
2802
|
+
}
|
|
2803
|
+
|
|
2804
|
+
for (var key in arg) {
|
|
2805
|
+
if (hasOwn.call(arg, key) && arg[key]) {
|
|
2806
|
+
classes.push(key);
|
|
2807
|
+
}
|
|
2808
|
+
}
|
|
2809
|
+
}
|
|
2810
|
+
}
|
|
2811
|
+
|
|
2812
|
+
return classes.join(' ');
|
|
2813
|
+
}
|
|
2814
|
+
|
|
2815
|
+
if (module.exports) {
|
|
2816
|
+
classNames.default = classNames;
|
|
2817
|
+
module.exports = classNames;
|
|
2818
|
+
} else {
|
|
2819
|
+
window.classNames = classNames;
|
|
2820
|
+
}
|
|
2821
|
+
}());
|
|
2822
|
+
} (classnames));
|
|
2823
|
+
|
|
2824
|
+
var classNames = classnamesExports;
|
|
2825
|
+
|
|
2826
|
+
const Field$2 = styled.div.attrs(props => ({
|
|
2827
|
+
className: classNames('Field', props.className)
|
|
2828
|
+
})) `
|
|
2756
2829
|
align-items: flex-start;
|
|
2757
2830
|
display: flex;
|
|
2758
2831
|
flex-direction: column;
|
|
@@ -3434,12 +3507,6 @@ disabled, onChange, onDisable) {
|
|
|
3434
3507
|
}, [disabled, onChange, onDisable]);
|
|
3435
3508
|
}
|
|
3436
3509
|
|
|
3437
|
-
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
3438
|
-
|
|
3439
|
-
function getDefaultExportFromCjs (x) {
|
|
3440
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
3441
|
-
}
|
|
3442
|
-
|
|
3443
3510
|
/**
|
|
3444
3511
|
* lodash (Custom Build) <https://lodash.com/>
|
|
3445
3512
|
* Build: `lodash modularize exports="npm" -o ./`
|
|
@@ -5491,34 +5558,59 @@ const Box$4 = styled.div `
|
|
|
5491
5558
|
> .rs-picker-toggle {
|
|
5492
5559
|
background-color: ${p => (p.$isLight ? p.theme.color.white : p.theme.color.gainsboro)} !important;
|
|
5493
5560
|
border: 0;
|
|
5561
|
+
bottom: 0;
|
|
5494
5562
|
cursor: inherit;
|
|
5495
5563
|
font-size: 13px;
|
|
5564
|
+
height: 30px;
|
|
5496
5565
|
line-height: 1.3846;
|
|
5497
|
-
padding: 5px 40px
|
|
5566
|
+
padding: 5px 40px 0 8px !important;
|
|
5567
|
+
top: 0;
|
|
5498
5568
|
|
|
5499
5569
|
> .rs-stack {
|
|
5500
5570
|
> .rs-stack-item {
|
|
5501
5571
|
> .rs-picker-toggle-placeholder {
|
|
5502
5572
|
font-size: 13px;
|
|
5503
|
-
line-height: 1
|
|
5573
|
+
line-height: 1;
|
|
5574
|
+
vertical-align: 1px;
|
|
5504
5575
|
}
|
|
5505
5576
|
|
|
5506
|
-
|
|
5507
|
-
|
|
5577
|
+
.rs-picker-toggle-caret {
|
|
5578
|
+
right: 10px;
|
|
5579
|
+
}
|
|
5580
|
+
.rs-picker-toggle-clean,
|
|
5581
|
+
.rs-picker-toggle-caret {
|
|
5582
|
+
padding: 0;
|
|
5583
|
+
top: 5px;
|
|
5508
5584
|
}
|
|
5509
5585
|
}
|
|
5510
5586
|
}
|
|
5511
5587
|
}
|
|
5512
5588
|
|
|
5513
5589
|
> .rs-picker-tag-wrapper {
|
|
5590
|
+
min-height: 30px;
|
|
5591
|
+
padding: 0 !important;
|
|
5592
|
+
|
|
5514
5593
|
> .rs-tag {
|
|
5515
5594
|
background-color: ${p => (p.$isLight ? p.theme.color.gainsboro : p.theme.color.white)};
|
|
5595
|
+
font-size: 11px;
|
|
5596
|
+
line-height: 1.3636; // = 15px
|
|
5597
|
+
|
|
5598
|
+
> .rs-tag-icon-close {
|
|
5599
|
+
bottom: 0;
|
|
5600
|
+
padding: 3px 6px;
|
|
5601
|
+
|
|
5602
|
+
> svg {
|
|
5603
|
+
height: 10px;
|
|
5604
|
+
width: 10px;
|
|
5605
|
+
}
|
|
5606
|
+
}
|
|
5516
5607
|
}
|
|
5517
|
-
|
|
5518
|
-
|
|
5608
|
+
|
|
5609
|
+
> .rs-picker-search {
|
|
5610
|
+
> .rs-picker-search-input {
|
|
5519
5611
|
padding: 0 8px !important;
|
|
5520
5612
|
|
|
5521
|
-
input {
|
|
5613
|
+
> input {
|
|
5522
5614
|
font-size: 13px;
|
|
5523
5615
|
line-height: 1.3846;
|
|
5524
5616
|
}
|