@mtes-mct/monitor-ui 3.6.0 → 3.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 +7 -0
- package/index.js +74 -7
- package/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [3.6.0](https://github.com/MTES-MCT/monitor-ui/compare/v3.5.0...v3.6.0) (2023-03-16)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **css:** css for errors ([e0b5d51](https://github.com/MTES-MCT/monitor-ui/commit/e0b5d51281214db916103311dbe70ab871299d09))
|
|
7
|
+
|
|
1
8
|
# [3.5.0](https://github.com/MTES-MCT/monitor-ui/compare/v3.4.0...v3.5.0) (2023-03-01)
|
|
2
9
|
|
|
3
10
|
|
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 ./`
|