@rescui/ui-contexts 0.3.2 → 0.3.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.
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { ThemeProps } from './parts/theme-context';
3
- declare const ThemeProvider: React.FC<ThemeProps>;
3
+ declare const ThemeProvider: React.FC<Required<ThemeProps>>;
4
4
  export default ThemeProvider;
@@ -11,6 +11,6 @@ var ThemeProvider = function ThemeProvider(_ref) {
11
11
  };
12
12
 
13
13
  ThemeProvider.propTypes = {
14
- theme: PropTypes.oneOf(['light', 'dark'])
14
+ theme: PropTypes.oneOf(['light', 'dark']).isRequired
15
15
  };
16
16
  export { ThemeProvider as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rescui/ui-contexts",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "author": "JetBrains",
@@ -29,5 +29,5 @@
29
29
  "scripts": {
30
30
  "build": "rescui-scripts build"
31
31
  },
32
- "gitHead": "67f695b72d13fd8445542c48f096b65656fdd7d9"
32
+ "gitHead": "ea8597844c8528d1b5c841735e4a376d177c1c7d"
33
33
  }