@opengeoweb/theme 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/README.md CHANGED
@@ -97,7 +97,7 @@ export const Wrapper: React.FC = () => (
97
97
  2. Use the style/color in your component. The theme palette can be found as `geowebColor` property inside the `theme.palette` of the MUI Theme
98
98
 
99
99
  ```javascript
100
- const useStyles = makeStyles((theme) => ({
100
+ const useStyles = makeStyles((theme: Theme) => ({
101
101
  button: {
102
102
  border: theme.palette.geowebColors.buttons.flatMouseOver.border,
103
103
  '&:hover': {
@@ -321,7 +321,7 @@ Contains demo stories with MUI components. Every story is build with the `StoryW
321
321
  - The **Elevation** shows all elevations we currently have. These can be used for defining `box-shadow` for elements. If you want to use the elevation in code:
322
322
 
323
323
  ```javascript
324
- const useStyles = makeStyles((theme) => ({
324
+ const useStyles = makeStyles((theme: Theme) => ({
325
325
  header: {
326
326
  boxShadow: theme.shadows[1], // elevation_01
327
327
  },
@@ -1,6 +1,5 @@
1
1
  import * as React from 'react';
2
2
  interface BackdropDemoProps {
3
- disableTransition?: boolean;
4
3
  isOpen?: boolean;
5
4
  }
6
5
  export declare const BackdropDemo: React.FC<BackdropDemoProps>;
@@ -1,7 +1,3 @@
1
1
  import * as React from 'react';
2
- interface TooltipDemoProps {
3
- disableTransition?: boolean;
4
- }
5
- export declare const TooltipDemo: React.FC<TooltipDemoProps>;
2
+ export declare const TooltipDemo: React.FC;
6
3
  export declare const Tooltips: React.FC;
7
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/theme",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "GeoWeb Theme library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {