@opengeoweb/theme 12.3.0 → 12.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 CHANGED
@@ -2599,6 +2599,11 @@ var colors$3 = {
2599
2599
  color: '#FFFFFF'
2600
2600
  }
2601
2601
  },
2602
+ soundings: {
2603
+ tooltip: {
2604
+ background: '#ffffff'
2605
+ }
2606
+ },
2602
2607
  customSlider: {
2603
2608
  rail: '#488BFD',
2604
2609
  railDisabled: '#CCCCCC',
@@ -3217,8 +3222,57 @@ var createTheme = function createTheme(_ref) {
3217
3222
  borderColor: geowebColors.captions.captionError.color
3218
3223
  }
3219
3224
  },
3220
- // can be improved in MUI6 or after this PR is merged https://github.com/mui/material-ui/pull/32822#issuecomment-1275927288
3221
- '&.MuiInputBase-readOnly': {
3225
+ '&.Mui-readOnly': {
3226
+ background: 'transparent',
3227
+ color: geowebColors.typographyAndIcons.text,
3228
+ ' .MuiInputBase-readOnly': {
3229
+ WebkitTextFillColor: 'inherit'
3230
+ },
3231
+ '&:before': {
3232
+ border: 'transparent'
3233
+ }
3234
+ }
3235
+ },
3236
+ underline: {
3237
+ '&:before': {
3238
+ borderColor: geowebColors.greys.accessible
3239
+ },
3240
+ '&:after': {
3241
+ borderWidth: '2px'
3242
+ },
3243
+ '&.Mui-disabled:before': {
3244
+ borderBottomStyle: 'solid'
3245
+ }
3246
+ }
3247
+ }
3248
+ },
3249
+ MuiPickersFilledInput: {
3250
+ styleOverrides: {
3251
+ root: {
3252
+ backgroundColor: geowebColors.textInputField["default"].rgba,
3253
+ '&.Mui-focused': {
3254
+ backgroundColor: geowebColors.textInputField["default"].rgba,
3255
+ '&:after': {
3256
+ borderColor: geowebColors.captions.captionInformation.rgba
3257
+ }
3258
+ },
3259
+ '&:hover': {
3260
+ backgroundColor: geowebColors.textInputField.mouseOver.rgba
3261
+ },
3262
+ '&.Mui-disabled': {
3263
+ backgroundColor: geowebColors.textInputField.disabled.rgba,
3264
+ color: geowebColors.typographyAndIcons.inactiveText
3265
+ },
3266
+ '&.Mui-error': {
3267
+ backgroundColor: geowebColors.textInputField.error.rgba,
3268
+ '&:hover': {
3269
+ backgroundColor: geowebColors.textInputField.errorMouseOver.rgba
3270
+ },
3271
+ '&:after': {
3272
+ borderColor: geowebColors.captions.captionError.color
3273
+ }
3274
+ },
3275
+ '&.Mui-readOnly': {
3222
3276
  background: 'transparent',
3223
3277
  color: geowebColors.typographyAndIcons.text,
3224
3278
  ' .MuiInputBase-readOnly': {
@@ -3367,10 +3421,10 @@ var createTheme = function createTheme(_ref) {
3367
3421
  }
3368
3422
  }
3369
3423
  },
3370
- MuiPickersPopper: {
3424
+ MuiPickerPopper: {
3371
3425
  styleOverrides: {
3372
3426
  root: {
3373
- '& .MuiPickersPopper-paper': {
3427
+ '& .MuiPickerPopper-paper': {
3374
3428
  backgroundColor: geowebColors.background.surface
3375
3429
  }
3376
3430
  }
@@ -3931,6 +3985,11 @@ var colors$2 = {
3931
3985
  color: '#FFFFFF'
3932
3986
  }
3933
3987
  },
3988
+ soundings: {
3989
+ tooltip: {
3990
+ background: '#000000'
3991
+ }
3992
+ },
3934
3993
  customSlider: {
3935
3994
  rail: '#488BFD',
3936
3995
  railDisabled: '#5E5E5E',
@@ -5337,6 +5396,11 @@ var colors = {
5337
5396
  color: '#FFFFFF'
5338
5397
  }
5339
5398
  },
5399
+ soundings: {
5400
+ tooltip: {
5401
+ background: '#ffffff'
5402
+ }
5403
+ },
5340
5404
  customSlider: {
5341
5405
  rail: '#488BFD',
5342
5406
  railDisabled: '#CCCCCC',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/theme",
3
- "version": "12.3.0",
3
+ "version": "12.4.1",
4
4
  "description": "GeoWeb Theme library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -9,8 +9,8 @@
9
9
  },
10
10
  "dependencies": {
11
11
  "@mui/system": "^7.0.1",
12
- "@mui/x-date-pickers": "^7.17.0",
13
- "i18next": "^23.11.5",
12
+ "@mui/x-date-pickers": "^8.1.0",
13
+ "i18next": "^25.0.1",
14
14
  "@mui/material": "^7.0.1",
15
15
  "react-i18next": "^15.1.1",
16
16
  "lodash": "^4.17.21"
@@ -134,6 +134,9 @@ export interface GeowebColorPalette {
134
134
  timelineBackgroundObserved: CSSProperties;
135
135
  timelineBackgroundObservedAlternative: CSSProperties;
136
136
  };
137
+ soundings: {
138
+ tooltip: CSSProperties;
139
+ };
137
140
  customSlider: {
138
141
  rail: CSSProperties['color'];
139
142
  railDisabled: CSSProperties['color'];