@zesty-io/material 0.6.0 → 0.6.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.
Files changed (2) hide show
  1. package/es/theme/index.js +29 -2
  2. package/package.json +1 -1
package/es/theme/index.js CHANGED
@@ -91,6 +91,10 @@ theme = createTheme(theme, {
91
91
  root: {
92
92
  padding: "0px 8px",
93
93
  borderRadius: "8px",
94
+ backgroundColor: theme.palette.common.white,
95
+ '&.Mui-disabled .MuiOutlinedInput-notchedOutline': {
96
+ borderColor: theme.palette.border,
97
+ },
94
98
  },
95
99
  input: {
96
100
  padding: "10px 0px",
@@ -104,8 +108,7 @@ theme = createTheme(theme, {
104
108
  },
105
109
  },
106
110
  notchedOutline: {
107
- // Important to override all pseudo classes
108
- borderColor: `${theme.palette.border} !important`,
111
+ borderColor: theme.palette.border,
109
112
  },
110
113
  },
111
114
  },
@@ -247,6 +250,18 @@ theme = createTheme(theme, {
247
250
  color: theme.palette.common.black,
248
251
  },
249
252
  },
253
+ standardInfo: {
254
+ backgroundColor: alpha(theme.palette.info.main, 0.1),
255
+ " .MuiAlert-icon": {
256
+ color: theme.palette.info.main,
257
+ },
258
+ },
259
+ standardError: {
260
+ backgroundColor: alpha(theme.palette.error.main, 0.1),
261
+ " .MuiAlert-icon": {
262
+ color: theme.palette.error.main,
263
+ },
264
+ },
250
265
  },
251
266
  },
252
267
  MuiDataGrid: {
@@ -260,6 +275,18 @@ theme = createTheme(theme, {
260
275
  },
261
276
  columnHeaders: {
262
277
  borderColor: theme.palette.border,
278
+ backgroundColor: theme.palette.grey[50],
279
+ },
280
+ columnHeader: {
281
+ '&:focus': {
282
+ outline: 'unset',
283
+ },
284
+ },
285
+ columnHeaderTitle: {
286
+ fontWeight: 600,
287
+ },
288
+ columnSeparator: {
289
+ visibility: "hidden",
263
290
  },
264
291
  },
265
292
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zesty-io/material",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "Contains custom components which are in addition to the @mui design-system",
5
5
  "author": "Zesty.io",
6
6
  "license": "MIT",