@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/index.esm.d.ts +1 -0
- package/{index.js → index.esm.js} +209 -238
- package/package.json +4 -5
- package/src/lib/types.d.ts +3 -3
- package/src/lib/utils/createTheme.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/theme",
|
|
3
|
-
"version": "6.0.
|
|
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
|
-
"
|
|
12
|
+
"main": "./index.esm.js",
|
|
14
13
|
"dependencies": {},
|
|
15
14
|
"peerDependencies": {
|
|
16
15
|
"@mui/material": "5.12.0",
|
|
17
|
-
"@mui/system": "5.
|
|
16
|
+
"@mui/system": "5.14.5",
|
|
18
17
|
"@mui/x-date-pickers": "6.2.1",
|
|
19
18
|
"react": "18.2.0"
|
|
20
19
|
}
|
package/src/lib/types.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export declare enum ThemeTypes {
|
|
|
9
9
|
DARK_THEME = "darkTheme",
|
|
10
10
|
LIGHT_THEME = "lightTheme"
|
|
11
11
|
}
|
|
12
|
-
export
|
|
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
|
|
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
|
|
189
|
+
export type Elevations = {
|
|
190
190
|
[id: string]: string;
|
|
191
191
|
};
|
|
192
192
|
declare module '@mui/material/styles' {
|