@opengeoweb/theme 6.0.1 → 6.0.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,20 +1,19 @@
1
1
  {
2
2
  "name": "@opengeoweb/theme",
3
- "version": "6.0.1",
3
+ "version": "6.0.2",
4
4
  "description": "GeoWeb Theme library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git@gitlab.com:opengeoweb/opengeoweb.git"
9
9
  },
10
- "module": "./index.js",
11
- "main": "./index.js",
10
+ "module": "./index.esm.js",
12
11
  "type": "module",
13
- "types": "./src/index.d.ts",
12
+ "main": "./index.esm.js",
14
13
  "dependencies": {},
15
14
  "peerDependencies": {
16
15
  "@mui/material": "5.12.0",
17
- "@mui/system": "5.12.0",
16
+ "@mui/system": "5.14.5",
18
17
  "@mui/x-date-pickers": "6.2.1",
19
18
  "react": "18.2.0"
20
19
  }
@@ -9,7 +9,7 @@ export declare enum ThemeTypes {
9
9
  DARK_THEME = "darkTheme",
10
10
  LIGHT_THEME = "lightTheme"
11
11
  }
12
- export declare type ButtonVariant = 'primary' | 'secondary' | 'tertiary' | 'flat' | 'tool' | 'boxed' | 'icon';
12
+ export type ButtonVariant = 'primary' | 'secondary' | 'tertiary' | 'flat' | 'tool' | 'boxed' | 'icon';
13
13
  export interface ButtonStyle {
14
14
  default: CSSProperties;
15
15
  mouseOver: CSSProperties;
@@ -18,7 +18,7 @@ export interface ButtonStyle {
18
18
  disabled: CSSProperties;
19
19
  focus: CSSProperties;
20
20
  }
21
- export declare type GeowebColorPalette = {
21
+ export type GeowebColorPalette = {
22
22
  background: {
23
23
  surface: CSSProperties['color'];
24
24
  surfaceApp: CSSProperties['color'];
@@ -186,7 +186,7 @@ export declare type GeowebColorPalette = {
186
186
  actionHover: CSSProperties;
187
187
  };
188
188
  };
189
- export declare type Elevations = {
189
+ export type Elevations = {
190
190
  [id: string]: string;
191
191
  };
192
192
  declare module '@mui/material/styles' {
@@ -7,7 +7,7 @@ export declare const breakpoints: {
7
7
  desktopHD: number;
8
8
  desktopHDWide: number;
9
9
  };
10
- declare type CreateThemeProps = {
10
+ type CreateThemeProps = {
11
11
  paletteType?: PaletteMode;
12
12
  geowebColors?: GeowebColorPalette;
13
13
  elevations?: Elevations;