@opengeoweb/shared 2.7.0 → 2.10.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.
@@ -6,6 +6,7 @@ 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 {
@@ -1,5 +1,7 @@
1
1
  import * as React from 'react';
2
+ import './ErrorBoundary.css';
2
3
  export declare const ErrorBoundaryDemo: {
3
4
  (): React.ReactElement;
4
5
  storyName: string;
5
6
  };
7
+ export declare const ErrorBoundaryInsideBox: () => React.ReactElement;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { ThemeProviderProps } from '@opengeoweb/theme';
3
+ /**
4
+ * A Provider component which provides the GeoWeb theme
5
+ * @param children
6
+ * @returns
7
+ */
8
+ export declare const SharedThemeProvider: React.FC<ThemeProviderProps>;
@@ -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.7.0",
3
+ "version": "2.10.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,14 @@
14
14
  "peerDependencies": {
15
15
  "react": "^17.0.2",
16
16
  "@mui/material": "^5.2.8",
17
- "@opengeoweb/theme": "2.7.0",
17
+ "@opengeoweb/theme": "2.10.0",
18
18
  "@mui/styles": "^5.2.3",
19
19
  "@mui/icons-material": "^5.2.5",
20
+ "@opengeoweb/icons": "2.10.0",
20
21
  "react-draggable": "^4.4.3",
21
22
  "re-resizable": "^6.9.0",
22
23
  "lodash": "^4.17.20",
23
- "@opengeoweb/form-fields": "2.7.0",
24
+ "@opengeoweb/form-fields": "2.10.0",
24
25
  "react-hook-form": "^6.12.1",
25
26
  "moment": "^2.29.0",
26
27
  "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;