@iobroker/adapter-react-v5 0.0.4 → 0.1.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.
@@ -357,14 +357,14 @@ var styles = function styles(theme) {
357
357
  userSelect: 'none',
358
358
  width: '100%',
359
359
  '&:hover': {
360
- background: "".concat(theme.palette.type === 'dark' ? theme.palette.primary.dark : theme.palette.primary.light, " !important"),
360
+ background: "".concat(theme.palette.mode === 'dark' ? theme.palette.primary.dark : theme.palette.primary.light, " !important"),
361
361
  color: _Utils["default"].invertColor(theme.palette.primary.main, true)
362
362
  },
363
363
  whiteSpace: 'nowrap',
364
364
  flexWrap: 'nowrap'
365
365
  },
366
366
  tableRowLines: {
367
- borderBottom: "1px solid ".concat(theme.palette.type === 'dark' ? '#8888882e' : '#8888882e')
367
+ borderBottom: "1px solid ".concat(theme.palette.mode === 'dark' ? '#8888882e' : '#8888882e')
368
368
  },
369
369
  tableRowNoDragging: {
370
370
  cursor: 'pointer'
@@ -472,7 +472,7 @@ var styles = function styles(theme) {
472
472
  fontSize: 12,
473
473
  opacity: 0.7,
474
474
  '&:hover': {
475
- color: theme.palette.type === 'dark' ? '#009900' : '#007700'
475
+ color: theme.palette.mode === 'dark' ? '#009900' : '#007700'
476
476
  }
477
477
  },
478
478
  cellIdAliasReadWriteDiv: {
@@ -596,7 +596,7 @@ var styles = function styles(theme) {
596
596
  color: '#008000'
597
597
  },
598
598
  '100%': {
599
- color: theme.palette.type === 'dark' ? '#fff' : '#000'
599
+ color: theme.palette.mode === 'dark' ? '#fff' : '#000'
600
600
  }
601
601
  },
602
602
  cellValueTextState: {
@@ -797,7 +797,7 @@ var styles = function styles(theme) {
797
797
  backgroundColor: theme.palette.background["default"]
798
798
  },
799
799
  iconDeviceConnected: {
800
- color: theme.palette.type === 'dark' ? COLOR_NAME_CONNECTED_DARK : COLOR_NAME_CONNECTED_LIGHT,
800
+ color: theme.palette.mode === 'dark' ? COLOR_NAME_CONNECTED_DARK : COLOR_NAME_CONNECTED_LIGHT,
801
801
  opacity: 0.8,
802
802
  position: 'absolute',
803
803
  top: 4,
@@ -805,7 +805,7 @@ var styles = function styles(theme) {
805
805
  width: 20
806
806
  },
807
807
  iconDeviceDisconnected: {
808
- color: theme.palette.type === 'dark' ? COLOR_NAME_DISCONNECTED_DARK : COLOR_NAME_DISCONNECTED_LIGHT,
808
+ color: theme.palette.mode === 'dark' ? COLOR_NAME_DISCONNECTED_DARK : COLOR_NAME_DISCONNECTED_LIGHT,
809
809
  opacity: 0.8,
810
810
  position: 'absolute',
811
811
  top: 4,
@@ -813,7 +813,7 @@ var styles = function styles(theme) {
813
813
  width: 20
814
814
  },
815
815
  iconDeviceError: {
816
- color: theme.palette.type === 'dark' ? COLOR_NAME_ERROR_DARK : COLOR_NAME_ERROR_LIGHT,
816
+ color: theme.palette.mode === 'dark' ? COLOR_NAME_ERROR_DARK : COLOR_NAME_ERROR_LIGHT,
817
817
  opacity: 0.8,
818
818
  position: 'absolute',
819
819
  top: 4,