@opengeoweb/theme 12.2.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
@@ -1733,7 +1733,7 @@ var SharedPresetsMyUser = function SharedPresetsMyUser(props) {
1733
1733
  var Sources = function Sources(props) {
1734
1734
  return jsx(SvgIcon, Object.assign({}, props, {
1735
1735
  children: jsx("path", {
1736
- d: "M3.5,0 C5.43299662,0 7,1.56700338 7,3.5 C7,5.08520367 5.94615223,6.42426801 4.5008388,6.85481091 L4.5,11.231418 C4.9386375,10.2370893 5.84497917,9.739925 7.219025,9.739925 L8.69045725,9.73927119 C11.297992,9.73524173 11.988143,9.70639607 12.46361,9.5 C13.3007234,9.13661637 13.4763138,8.41117968 13.4975953,7.85224756 C12.0528745,7.42303094 11,6.08447148 11,4.5 C11,2.56700338 12.5670034,1 14.5,1 C16.4329966,1 18,2.56700338 18,4.5 C18,6.08630196 16.9446914,7.42612341 15.4978341,7.85570449 C15.4693183,9.14382137 15.0067051,10.4695516 13.777566,11.051384 C11.6854755,12.041708 8.22721569,11.7314176 7.219025,11.7314176 C6.1385357,11.7314176 5.3988607,12.2992145 5,13.4348082 L5.03208229,13.3522576 C6.19723523,13.9204249 7,15.1164646 7,16.5 C7,18.4329966 5.43299662,20 3.5,20 C1.56700338,20 0,18.4329966 0,16.5 C0,14.9144302 1.05433459,13.5751135 2.50016263,13.1448909 L2.50016263,6.85510906 C1.05433459,6.4248865 0,5.08556977 0,3.5 C0,1.56700338 1.56700338,0 3.5,0 Z M3.5,15 C2.67157288,15 2,15.6715729 2,16.5 C2,17.3284271 2.67157288,18 3.5,18 C4.32842712,18 5,17.3284271 5,16.5 C5,15.6715729 4.32842712,15 3.5,15 Z M14.5,3 C13.6715729,3 13,3.67157288 13,4.5 C13,5.32842712 13.6715729,6 14.5,6 C15.3284271,6 16,5.32842712 16,4.5 C16,3.67157288 15.3284271,3 14.5,3 Z M3.5,2 C2.67157288,2 2,2.67157288 2,3.5 C2,4.32842712 2.67157288,5 3.5,5 C4.32842712,5 5,4.32842712 5,3.5 C5,2.67157288 4.32842712,2 3.5,2 Z"
1736
+ d: "M6.5 2a3.5 3.5 0 0 1 1 6.855v4.376c.439-.994 1.345-1.491 2.719-1.491h1.471c2.608-.005 3.298-.034 3.774-.24.837-.363 1.012-1.089 1.034-1.648a3.5 3.5 0 1 1 2 .003c-.029 1.289-.491 2.615-1.72 3.196-2.093.99-5.55.68-6.559.68-1.08 0-1.82.568-2.219 1.704l.032-.083a3.5 3.5 0 1 1-2.532-.207v-6.29A3.502 3.502 0 0 1 6.5 2zm0 15a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zm11-12a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zm-11-1a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3z"
1737
1737
  })
1738
1738
  }));
1739
1739
  };
@@ -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.2.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": {
@@ -8,10 +8,10 @@
8
8
  "url": "git@gitlab.com:opengeoweb/opengeoweb.git"
9
9
  },
10
10
  "dependencies": {
11
- "@mui/system": "^6.1.1",
12
- "@mui/x-date-pickers": "^7.17.0",
13
- "i18next": "^23.11.5",
14
- "@mui/material": "^6.1.1",
11
+ "@mui/system": "^7.0.1",
12
+ "@mui/x-date-pickers": "^8.1.0",
13
+ "i18next": "^25.0.1",
14
+ "@mui/material": "^7.0.1",
15
15
  "react-i18next": "^15.1.1",
16
16
  "lodash": "^4.17.21"
17
17
  },
@@ -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'];