@campxdev/shared 2.1.1 → 2.1.2

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": "@campxdev/shared",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "main": "./exports.ts",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -1,5 +1,5 @@
1
- import { alpha, darken, lighten } from '@mui/material'
2
- import { ThemeOptions, createTheme } from '@mui/material/styles'
1
+ import { alpha, ButtonProps, darken, lighten } from '@mui/material'
2
+ import { createTheme } from '@mui/material/styles'
3
3
  import { customCssBaseline } from './customCssBaseline'
4
4
 
5
5
  const borderRadius = {
@@ -178,7 +178,7 @@ const themeOptions = {
178
178
  },
179
179
  MuiButton: {
180
180
  defaultProps: {
181
- variant: 'contained',
181
+ variant: 'contained' as ButtonProps['variant'],
182
182
  disableRipple: true,
183
183
  disableElevation: true,
184
184
  disableFocusRipple: true,