@opengeoweb/shared 2.9.0 → 2.13.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 +154 -356
- package/index.umd.js +156 -357
- package/lib/components/ConfirmationDialog/ConfirmationDialog.d.ts +2 -0
- package/lib/components/ConfirmationDialog/ConfirmationDialog.stories.d.ts +1 -0
- package/lib/components/ErrorBoundary/ErrorBoundary.stories.d.ts +2 -0
- package/lib/components/Providers/Providers.d.ts +8 -0
- package/lib/components/Providers/index.d.ts +1 -0
- package/package.json +3 -4
- package/lib/components/UserMenu/CheatSheet/Icons.d.ts +0 -7
|
@@ -6,12 +6,14 @@ export interface ConfirmationOptions {
|
|
|
6
6
|
confirmLabel?: string;
|
|
7
7
|
cancelLabel?: string;
|
|
8
8
|
content?: React.ReactNode;
|
|
9
|
+
disableAutoFocus?: boolean;
|
|
9
10
|
}
|
|
10
11
|
export declare type ConfirmationAction = 'CANCELLED' | 'CLOSED';
|
|
11
12
|
interface ConfirmationDialogProps extends ConfirmationOptions {
|
|
12
13
|
open: boolean;
|
|
13
14
|
onSubmit: () => void;
|
|
14
15
|
onClose: (reason: ConfirmationAction) => void;
|
|
16
|
+
isLoading?: boolean;
|
|
15
17
|
}
|
|
16
18
|
export declare const ConfirmationDialog: React.FC<ConfirmationDialogProps>;
|
|
17
19
|
export default ConfirmationDialog;
|
|
@@ -4,6 +4,7 @@ declare const _default: {
|
|
|
4
4
|
};
|
|
5
5
|
export default _default;
|
|
6
6
|
export declare const ConfirmationDialogCustom: () => React.ReactElement;
|
|
7
|
+
export declare const ConfirmationDialogLoading: () => React.ReactElement;
|
|
7
8
|
export declare const ConfirmationDialogLight: {
|
|
8
9
|
(): React.ReactElement;
|
|
9
10
|
storyName: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Providers';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/shared",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.13.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,13 +14,12 @@
|
|
|
14
14
|
"peerDependencies": {
|
|
15
15
|
"react": "^17.0.2",
|
|
16
16
|
"@mui/material": "^5.2.8",
|
|
17
|
-
"@opengeoweb/theme": "2.
|
|
17
|
+
"@opengeoweb/theme": "2.13.0",
|
|
18
18
|
"@mui/styles": "^5.2.3",
|
|
19
|
-
"@mui/icons-material": "^5.2.5",
|
|
20
19
|
"react-draggable": "^4.4.3",
|
|
21
20
|
"re-resizable": "^6.9.0",
|
|
22
21
|
"lodash": "^4.17.20",
|
|
23
|
-
"@opengeoweb/form-fields": "2.
|
|
22
|
+
"@opengeoweb/form-fields": "2.13.0",
|
|
24
23
|
"react-hook-form": "^6.12.1",
|
|
25
24
|
"moment": "^2.29.0",
|
|
26
25
|
"moment-timezone": "^0.5.31",
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const OptionIcon: React.FC;
|
|
3
|
-
export declare const CommandIcon: React.FC;
|
|
4
|
-
export declare const ArrowLeftIcon: React.FC;
|
|
5
|
-
export declare const ArrowRightIcon: React.FC;
|
|
6
|
-
export declare const ArrowDownIcon: React.FC;
|
|
7
|
-
export declare const ArrowUpIcon: React.FC;
|