@availity/theme-provider 0.1.2 → 0.2.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [0.2.0](https://github.com/Availity/element/compare/@availity/theme-provider@0.1.2...@availity/theme-provider@0.2.0) (2023-03-01)
6
+
7
+
8
+ ### Features
9
+
10
+ * **theme:** update theme for button ([164f831](https://github.com/Availity/element/commit/164f83114c732da85f53bcf772f22b5436f2e9ff))
11
+
5
12
  ## [0.1.2](https://github.com/Availity/element/compare/@availity/theme-provider@0.1.1...@availity/theme-provider@0.1.2) (2023-02-22)
6
13
 
7
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@availity/theme-provider",
3
- "version": "0.1.2",
3
+ "version": "0.2.0",
4
4
  "description": "Theme provider for the Element design system",
5
5
  "browser": "./dist/index.js",
6
6
  "main": "./dist/index.js",
@@ -15,7 +15,7 @@
15
15
  "publish:canary": "yarn npm publish --access public --tag canary"
16
16
  },
17
17
  "dependencies": {
18
- "@availity/theme": "0.1.2",
18
+ "@availity/theme": "0.2.0",
19
19
  "@emotion/react": "^11.10.5",
20
20
  "@emotion/styled": "^11.10.5",
21
21
  "@mui/material": "^5.11.6",
@@ -1,6 +1,6 @@
1
1
  import { lightTheme } from '@availity/theme';
2
2
  import { ThemeProvider as MuiThemeProvider, createTheme } from '@mui/material/styles';
3
- import type { Theme } from '@mui/material/styles';
3
+ import type { Theme, ThemeOptions } from '@mui/material/styles';
4
4
  import CssBaseline from '@mui/material/CssBaseline';
5
5
  import { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFns';
6
6
  import { LocalizationProvider } from '@mui/x-date-pickers';
@@ -8,7 +8,7 @@ import { LocalizationProvider } from '@mui/x-date-pickers';
8
8
  // TODO: how do we add icon support?
9
9
  // import '../styles/material-icons.css'
10
10
 
11
- const defaultTheme = createTheme(lightTheme);
11
+ const defaultTheme = createTheme(lightTheme as ThemeOptions);
12
12
 
13
13
  export interface ThemeProviderProps {
14
14
  children: React.ReactNode;