@opengeoweb/warnings 8.4.0 → 8.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/index.esm.js +11 -5
- package/package.json +9 -9
package/index.esm.js
CHANGED
|
@@ -24089,15 +24089,18 @@ var probablityOptions = [100, 90, 80, 70, 60, 50, 40, 30, 20, 10, 0];
|
|
|
24089
24089
|
var levelOptions = [{
|
|
24090
24090
|
title: 'Moderate',
|
|
24091
24091
|
key: 'moderate',
|
|
24092
|
-
color: '#FAE21E'
|
|
24092
|
+
color: '#FAE21E',
|
|
24093
|
+
textColor: '#051039'
|
|
24093
24094
|
}, {
|
|
24094
24095
|
title: 'Severe',
|
|
24095
24096
|
key: 'severe',
|
|
24096
|
-
color: '#E27000'
|
|
24097
|
+
color: '#E27000',
|
|
24098
|
+
textColor: '#051039'
|
|
24097
24099
|
}, {
|
|
24098
24100
|
title: 'Extreme',
|
|
24099
24101
|
key: 'extreme',
|
|
24100
|
-
color: '#D62A20'
|
|
24102
|
+
color: '#D62A20',
|
|
24103
|
+
textColor: '#ffffff'
|
|
24101
24104
|
}];
|
|
24102
24105
|
var warningPhenomena = [{
|
|
24103
24106
|
title: 'Coastal event',
|
|
@@ -24293,6 +24296,7 @@ var Form = function Form(_ref5) {
|
|
|
24293
24296
|
rules: {},
|
|
24294
24297
|
sx: {
|
|
24295
24298
|
'& .MuiSelect-select.MuiSelect-filled': {
|
|
24299
|
+
color: (levelDetails === null || levelDetails === void 0 ? void 0 : levelDetails.textColor) || 'none',
|
|
24296
24300
|
backgroundColor: (levelDetails === null || levelDetails === void 0 ? void 0 : levelDetails.color) || 'none',
|
|
24297
24301
|
backgroundClip: 'content-box'
|
|
24298
24302
|
}
|
|
@@ -24303,20 +24307,22 @@ var Form = function Form(_ref5) {
|
|
|
24303
24307
|
key: level.key,
|
|
24304
24308
|
sx: {
|
|
24305
24309
|
'&.MuiMenuItem-root ': {
|
|
24310
|
+
color: level.textColor,
|
|
24306
24311
|
background: level.color,
|
|
24307
24312
|
backgroundClip: 'content-box',
|
|
24313
|
+
padding: '12px 8px',
|
|
24308
24314
|
'&:hover': {
|
|
24309
24315
|
backgroundColor: "".concat(level.color),
|
|
24310
24316
|
backgroundClip: 'content-box',
|
|
24311
24317
|
boxShadow: function boxShadow(theme) {
|
|
24312
|
-
return "inset -
|
|
24318
|
+
return "inset -8px -12px ".concat(theme.palette.geowebColors.cards.cardContainerMouseOver, ", inset 8px 12px ").concat(theme.palette.geowebColors.cards.cardContainerMouseOver);
|
|
24313
24319
|
}
|
|
24314
24320
|
},
|
|
24315
24321
|
'&.Mui-selected': {
|
|
24316
24322
|
backgroundColor: "".concat(level.color),
|
|
24317
24323
|
'&:hover': {
|
|
24318
24324
|
boxShadow: function boxShadow(theme) {
|
|
24319
|
-
return "inset 4px 0px 0px 0px ".concat(theme.palette.geowebColors.typographyAndIcons.iconLinkActive, ", inset -
|
|
24325
|
+
return "inset 4px 0px 0px 0px ".concat(theme.palette.geowebColors.typographyAndIcons.iconLinkActive, ", inset -8px -12px ").concat(theme.palette.geowebColors.cards.cardContainerMouseOver, ", inset 8px 12px ").concat(theme.palette.geowebColors.cards.cardContainerMouseOver);
|
|
24320
24326
|
}
|
|
24321
24327
|
}
|
|
24322
24328
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/warnings",
|
|
3
|
-
"version": "8.4.
|
|
3
|
+
"version": "8.4.1",
|
|
4
4
|
"description": "GeoWeb warinings library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@mui/material": "5.12.0",
|
|
12
|
-
"@opengeoweb/api": "8.4.
|
|
13
|
-
"@opengeoweb/core": "8.4.
|
|
14
|
-
"@opengeoweb/form-fields": "8.4.
|
|
15
|
-
"@opengeoweb/shared": "8.4.
|
|
16
|
-
"@opengeoweb/store": "8.4.
|
|
17
|
-
"@opengeoweb/theme": "8.4.
|
|
18
|
-
"@opengeoweb/webmap": "8.4.
|
|
19
|
-
"@opengeoweb/webmap-react": "8.4.
|
|
12
|
+
"@opengeoweb/api": "8.4.1",
|
|
13
|
+
"@opengeoweb/core": "8.4.1",
|
|
14
|
+
"@opengeoweb/form-fields": "8.4.1",
|
|
15
|
+
"@opengeoweb/shared": "8.4.1",
|
|
16
|
+
"@opengeoweb/store": "8.4.1",
|
|
17
|
+
"@opengeoweb/theme": "8.4.1",
|
|
18
|
+
"@opengeoweb/webmap": "8.4.1",
|
|
19
|
+
"@opengeoweb/webmap-react": "8.4.1",
|
|
20
20
|
"@redux-eggs/redux-toolkit": "2.2.0",
|
|
21
21
|
"@redux-eggs/saga-extension": "2.2.0",
|
|
22
22
|
"@reduxjs/toolkit": "1.9.7",
|