@zesty-io/material 0.4.0 → 0.5.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.
Files changed (2) hide show
  1. package/es/theme/index.js +18 -1
  2. package/package.json +1 -1
package/es/theme/index.js CHANGED
@@ -41,6 +41,14 @@ theme = createTheme(theme, {
41
41
  },
42
42
  },
43
43
  MuiButton: {
44
+ variants: [
45
+ {
46
+ props: { size: 'xsmall' },
47
+ style: {
48
+ padding: "2px 10px",
49
+ },
50
+ },
51
+ ],
44
52
  styleOverrides: {
45
53
  root: {
46
54
  textTransform: 'none',
@@ -199,7 +207,16 @@ theme = createTheme(theme, {
199
207
  styleOverrides: {
200
208
  root: {
201
209
  borderRadius: '4px',
202
- }
210
+ },
211
+ colorDefault: {
212
+ backgroundColor: theme.palette.grey[100],
213
+ ':hover': {
214
+ backgroundColor: theme.palette.grey[200],
215
+ },
216
+ ':focus': {
217
+ backgroundColor: theme.palette.grey[300],
218
+ }
219
+ },
203
220
  }
204
221
  },
205
222
  MuiAlert: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zesty-io/material",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "Contains custom components which are in addition to the @mui design-system",
5
5
  "author": "Zesty.io",
6
6
  "license": "MIT",