@zesty-io/material 0.6.2 → 0.6.3

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 +21 -4
  2. package/package.json +1 -1
package/es/theme/index.js CHANGED
@@ -17,9 +17,20 @@ theme = createTheme(theme, {
17
17
  MuiTab: {
18
18
  styleOverrides: {
19
19
  root: {
20
- padding: '14px',
20
+ padding: '8px',
21
+ margin: '8px',
22
+ borderRadius: '8px',
21
23
  minHeight: 'unset',
24
+ minWidth: 'unset',
22
25
  textTransform: 'none',
26
+ '&:hover': {
27
+ backgroundColor: theme.palette.grey[100],
28
+ },
29
+ '&.Mui-selected': {
30
+ '&:hover': {
31
+ backgroundColor: theme.palette.deepOrange[50],
32
+ },
33
+ },
23
34
  },
24
35
  },
25
36
  },
@@ -95,6 +106,9 @@ theme = createTheme(theme, {
95
106
  '&.Mui-disabled .MuiOutlinedInput-notchedOutline': {
96
107
  borderColor: theme.palette.border,
97
108
  },
109
+ '&:hover .MuiOutlinedInput-notchedOutline': {
110
+ borderColor: theme.palette.border,
111
+ },
98
112
  },
99
113
  input: {
100
114
  padding: "10px 0px",
@@ -347,20 +361,23 @@ theme = createTheme(theme, {
347
361
  root: {
348
362
  color: theme.palette.info.dark,
349
363
  textDecorationColor: theme.palette.info.main,
350
- '&:hover': {
364
+ "&:hover": {
351
365
  textDecorationColor: theme.palette.info.dark,
352
366
  },
353
367
  },
354
368
  },
369
+ defaultProps: {
370
+ underline: "hover",
371
+ },
355
372
  },
356
373
  MuiTooltip: {
357
374
  styleOverrides: {
358
375
  popper: {
359
- maxWidth: '240px',
376
+ maxWidth: "240px",
360
377
  },
361
378
  tooltip: {
362
379
  ...theme.typography.body3,
363
- }
380
+ },
364
381
  },
365
382
  },
366
383
  MuiTreeItem: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zesty-io/material",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "Contains custom components which are in addition to the @mui design-system",
5
5
  "author": "Zesty.io",
6
6
  "license": "MIT",