@opengeoweb/shared 3.0.0 → 4.1.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/index.esm.js +169 -217
- package/index.umd.js +173 -235
- package/lib/components/AppHeader/AppHeader.stories.d.ts +12 -0
- package/lib/components/Avatar/Avatar.stories.d.ts +18 -2
- package/lib/components/ErrorBoundary/ErrorBoundary.stories.d.ts +0 -1
- package/lib/components/ManagerButton/ManagerButton.d.ts +1 -7
- package/lib/components/ToolContainer/ToolContainer.stories.d.ts +18 -2
- package/lib/components/ToolContainer/ToolHeader.stories.d.ts +18 -5
- package/lib/components/UserMenu/CheatSheet/CheatSheet.stories.d.ts +18 -2
- package/package.json +3 -4
|
@@ -6,8 +6,20 @@ export default _default;
|
|
|
6
6
|
export declare const AppHeaderDark: {
|
|
7
7
|
(): React.ReactElement;
|
|
8
8
|
storyName: string;
|
|
9
|
+
parameters: {
|
|
10
|
+
zeplinLink: {
|
|
11
|
+
name: string;
|
|
12
|
+
link: string;
|
|
13
|
+
}[];
|
|
14
|
+
};
|
|
9
15
|
};
|
|
10
16
|
export declare const AppHeaderLight: {
|
|
11
17
|
(): React.ReactElement;
|
|
12
18
|
storyName: string;
|
|
19
|
+
parameters: {
|
|
20
|
+
zeplinLink: {
|
|
21
|
+
name: string;
|
|
22
|
+
link: string;
|
|
23
|
+
}[];
|
|
24
|
+
};
|
|
13
25
|
};
|
|
@@ -5,9 +5,25 @@ declare const _default: {
|
|
|
5
5
|
export default _default;
|
|
6
6
|
export declare const AvatarLight: {
|
|
7
7
|
(): React.ReactElement;
|
|
8
|
-
|
|
8
|
+
story: {
|
|
9
|
+
name: string;
|
|
10
|
+
parameters: {
|
|
11
|
+
zeplinLink: {
|
|
12
|
+
name: string;
|
|
13
|
+
link: string;
|
|
14
|
+
}[];
|
|
15
|
+
};
|
|
16
|
+
};
|
|
9
17
|
};
|
|
10
18
|
export declare const AvatarDark: {
|
|
11
19
|
(): React.ReactElement;
|
|
12
|
-
|
|
20
|
+
story: {
|
|
21
|
+
name: string;
|
|
22
|
+
parameters: {
|
|
23
|
+
zeplinLink: {
|
|
24
|
+
name: string;
|
|
25
|
+
link: string;
|
|
26
|
+
}[];
|
|
27
|
+
};
|
|
28
|
+
};
|
|
13
29
|
};
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IconButtonProps } from '@mui/material';
|
|
3
|
-
export interface
|
|
4
|
-
isActive?: boolean;
|
|
5
|
-
isEnabled?: boolean;
|
|
6
|
-
isAccessible?: boolean;
|
|
7
|
-
}
|
|
8
|
-
interface ManagerButtonProps extends IconButtonProps {
|
|
3
|
+
export interface ManagerButtonProps extends IconButtonProps {
|
|
9
4
|
tooltipTitle: string;
|
|
10
5
|
onClick?: (event: React.MouseEvent) => void;
|
|
11
6
|
isActive?: boolean;
|
|
@@ -15,4 +10,3 @@ interface ManagerButtonProps extends IconButtonProps {
|
|
|
15
10
|
isAccessible?: boolean;
|
|
16
11
|
}
|
|
17
12
|
export declare const ManagerButton: React.FC<ManagerButtonProps>;
|
|
18
|
-
export {};
|
|
@@ -8,5 +8,21 @@ interface ToolContainerDemoProps {
|
|
|
8
8
|
isSnapShot?: boolean;
|
|
9
9
|
}
|
|
10
10
|
export declare const ToolContainerDemo: React.FC<ToolContainerDemoProps>;
|
|
11
|
-
export declare const ThemeLight:
|
|
12
|
-
|
|
11
|
+
export declare const ThemeLight: {
|
|
12
|
+
(): React.ReactElement;
|
|
13
|
+
parameters: {
|
|
14
|
+
zeplinLink: {
|
|
15
|
+
name: string;
|
|
16
|
+
link: string;
|
|
17
|
+
}[];
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export declare const ThemeDark: {
|
|
21
|
+
(): React.ReactElement;
|
|
22
|
+
parameters: {
|
|
23
|
+
zeplinLink: {
|
|
24
|
+
name: string;
|
|
25
|
+
link: string;
|
|
26
|
+
}[];
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -3,8 +3,21 @@ declare const _default: {
|
|
|
3
3
|
title: string;
|
|
4
4
|
};
|
|
5
5
|
export default _default;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
export declare const ThemeLight: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
parameters: {
|
|
9
|
+
zeplinLink: {
|
|
10
|
+
name: string;
|
|
11
|
+
link: string;
|
|
12
|
+
}[];
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export declare const ThemeDark: {
|
|
16
|
+
(): React.ReactElement;
|
|
17
|
+
parameters: {
|
|
18
|
+
zeplinLink: {
|
|
19
|
+
name: string;
|
|
20
|
+
link: string;
|
|
21
|
+
}[];
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -3,8 +3,24 @@ declare const _default: {
|
|
|
3
3
|
title: string;
|
|
4
4
|
};
|
|
5
5
|
export default _default;
|
|
6
|
-
export declare const ThemeLight:
|
|
7
|
-
|
|
6
|
+
export declare const ThemeLight: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
parameters: {
|
|
9
|
+
zeplinLink: {
|
|
10
|
+
name: string;
|
|
11
|
+
link: string;
|
|
12
|
+
}[];
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export declare const ThemeDark: {
|
|
16
|
+
(): React.ReactElement;
|
|
17
|
+
parameters: {
|
|
18
|
+
zeplinLink: {
|
|
19
|
+
name: string;
|
|
20
|
+
link: string;
|
|
21
|
+
}[];
|
|
22
|
+
};
|
|
23
|
+
};
|
|
8
24
|
export declare const ThemeLightSnapShot: {
|
|
9
25
|
(): React.ReactElement;
|
|
10
26
|
storyName: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/shared",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"description": "GeoWeb shared library with shared components and utils for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -14,12 +14,11 @@
|
|
|
14
14
|
"peerDependencies": {
|
|
15
15
|
"react": "^17.0.2",
|
|
16
16
|
"@mui/material": "^5.2.8",
|
|
17
|
-
"@opengeoweb/theme": "
|
|
18
|
-
"@mui/styles": "^5.2.3",
|
|
17
|
+
"@opengeoweb/theme": "4.1.0",
|
|
19
18
|
"react-draggable": "^4.4.3",
|
|
20
19
|
"re-resizable": "^6.9.0",
|
|
21
20
|
"lodash": "^4.17.20",
|
|
22
|
-
"@opengeoweb/form-fields": "
|
|
21
|
+
"@opengeoweb/form-fields": "4.1.0",
|
|
23
22
|
"react-hook-form": "^6.12.1",
|
|
24
23
|
"moment": "^2.29.0",
|
|
25
24
|
"moment-timezone": "^0.5.31",
|