@opengeoweb/theme 2.1.0 → 2.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/theme",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "GeoWeb Theme library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
package/theme.esm.js CHANGED
@@ -333,6 +333,57 @@ var createTheme = function createTheme(paletteType, geowebColors, shadows) {
333
333
  letterSpacing: '0.25px',
334
334
  color: '#051039'
335
335
  }
336
+ },
337
+ MuiFilledInput: {
338
+ root: {
339
+ backgroundColor: geowebColors.textInputField["default"].rgba,
340
+ '&.Mui-focused': {
341
+ backgroundColor: geowebColors.textInputField.active.rgba
342
+ },
343
+ '&.Mui-disabled': {
344
+ backgroundColor: geowebColors.textInputField.disabled.rgba
345
+ }
346
+ },
347
+ underline: {
348
+ '&:after': {
349
+ borderBottom: 'transparent'
350
+ },
351
+ '&.Mui-disabled:before': {
352
+ borderBottomStyle: 'solid'
353
+ }
354
+ }
355
+ },
356
+ MuiFormLabel: {
357
+ root: {
358
+ color: geowebColors.captions.captionStatus.color,
359
+ opacity: geowebColors.captions.captionStatus.opacity,
360
+ '&.Mui-focused': {
361
+ color: geowebColors.captions.captionInformation.color,
362
+ opacity: geowebColors.captions.captionInformation.opacity
363
+ },
364
+ '&.Mui-error': {
365
+ color: geowebColors.captions.captionError.color,
366
+ opacity: geowebColors.captions.captionError.opacity
367
+ },
368
+ '&.Mui-disabled': {
369
+ color: geowebColors.captions.captionDisabled.color,
370
+ opacity: geowebColors.captions.captionDisabled.opacity
371
+ }
372
+ }
373
+ },
374
+ MuiFormHelperText: {
375
+ root: {
376
+ color: geowebColors.captions.captionStatus.color,
377
+ opacity: geowebColors.captions.captionStatus.opacity,
378
+ '&.Mui-error': {
379
+ color: geowebColors.captions.captionError.color,
380
+ opacity: geowebColors.captions.captionError.opacity
381
+ },
382
+ '&.Mui-disabled': {
383
+ color: geowebColors.captions.captionDisabled.color,
384
+ opacity: geowebColors.captions.captionDisabled.opacity
385
+ }
386
+ }
336
387
  }
337
388
  }
338
389
  });
package/theme.umd.js CHANGED
@@ -345,6 +345,57 @@
345
345
  letterSpacing: '0.25px',
346
346
  color: '#051039'
347
347
  }
348
+ },
349
+ MuiFilledInput: {
350
+ root: {
351
+ backgroundColor: geowebColors.textInputField["default"].rgba,
352
+ '&.Mui-focused': {
353
+ backgroundColor: geowebColors.textInputField.active.rgba
354
+ },
355
+ '&.Mui-disabled': {
356
+ backgroundColor: geowebColors.textInputField.disabled.rgba
357
+ }
358
+ },
359
+ underline: {
360
+ '&:after': {
361
+ borderBottom: 'transparent'
362
+ },
363
+ '&.Mui-disabled:before': {
364
+ borderBottomStyle: 'solid'
365
+ }
366
+ }
367
+ },
368
+ MuiFormLabel: {
369
+ root: {
370
+ color: geowebColors.captions.captionStatus.color,
371
+ opacity: geowebColors.captions.captionStatus.opacity,
372
+ '&.Mui-focused': {
373
+ color: geowebColors.captions.captionInformation.color,
374
+ opacity: geowebColors.captions.captionInformation.opacity
375
+ },
376
+ '&.Mui-error': {
377
+ color: geowebColors.captions.captionError.color,
378
+ opacity: geowebColors.captions.captionError.opacity
379
+ },
380
+ '&.Mui-disabled': {
381
+ color: geowebColors.captions.captionDisabled.color,
382
+ opacity: geowebColors.captions.captionDisabled.opacity
383
+ }
384
+ }
385
+ },
386
+ MuiFormHelperText: {
387
+ root: {
388
+ color: geowebColors.captions.captionStatus.color,
389
+ opacity: geowebColors.captions.captionStatus.opacity,
390
+ '&.Mui-error': {
391
+ color: geowebColors.captions.captionError.color,
392
+ opacity: geowebColors.captions.captionError.opacity
393
+ },
394
+ '&.Mui-disabled': {
395
+ color: geowebColors.captions.captionDisabled.color,
396
+ opacity: geowebColors.captions.captionDisabled.opacity
397
+ }
398
+ }
348
399
  }
349
400
  }
350
401
  });