@opengeoweb/taf 2.7.0 → 2.8.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.
@@ -0,0 +1,16 @@
1
+ import * as React from 'react';
2
+ import { UseFormOptions } from 'react-hook-form';
3
+ import { Theme } from '@mui/material';
4
+ export interface TafThemeApiProviderProps {
5
+ createApiFunc?: any;
6
+ children: React.ReactNode;
7
+ theme?: Theme;
8
+ }
9
+ export declare const TafThemeApiProvider: React.FC<TafThemeApiProviderProps>;
10
+ interface TafThemeFormProviderProps {
11
+ children: React.ReactNode;
12
+ options?: UseFormOptions;
13
+ theme?: Theme;
14
+ }
15
+ export declare const TafThemeFormProvider: React.FC<TafThemeFormProviderProps>;
16
+ export {};
@@ -0,0 +1 @@
1
+ export * from './Providers';
@@ -3,11 +3,11 @@ declare const _default: {
3
3
  title: string;
4
4
  };
5
5
  export default _default;
6
- export declare const TafLayoutLightTheme: {
6
+ export declare const LocationTabsLightTheme: {
7
7
  (): React.ReactElement;
8
8
  storyName: string;
9
9
  };
10
- export declare const TafLayoutDarkTheme: {
10
+ export declare const LocationTabsDarkTheme: {
11
11
  (): React.ReactElement;
12
12
  storyName: string;
13
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/taf",
3
- "version": "2.7.0",
3
+ "version": "2.8.0",
4
4
  "description": "GeoWeb TAF library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -14,16 +14,16 @@
14
14
  "peerDependencies": {
15
15
  "react": "^17.0.2",
16
16
  "@mui/material": "^5.2.8",
17
- "@opengeoweb/api": "2.7.0",
17
+ "@opengeoweb/api": "2.8.0",
18
18
  "axios": "^0.25.0",
19
- "@opengeoweb/shared": "2.7.0",
20
- "@opengeoweb/theme": "2.7.0",
19
+ "@opengeoweb/shared": "2.8.0",
20
+ "@opengeoweb/theme": "2.8.0",
21
21
  "@mui/styles": "^5.2.3",
22
22
  "@mui/icons-material": "^5.2.5",
23
23
  "react-draggable": "^4.4.3",
24
24
  "re-resizable": "^6.9.0",
25
25
  "lodash": "^4.17.20",
26
- "@opengeoweb/form-fields": "2.7.0",
26
+ "@opengeoweb/form-fields": "2.8.0",
27
27
  "react-hook-form": "^6.12.1",
28
28
  "moment": "^2.29.0",
29
29
  "moment-timezone": "^0.5.31",
@@ -1,25 +0,0 @@
1
- import * as React from 'react';
2
- import { UseFormOptions } from 'react-hook-form';
3
- import { Theme } from '@mui/material';
4
- interface WrapperProps {
5
- children: React.ReactNode;
6
- theme?: Theme;
7
- }
8
- export interface TestWrapperProps extends WrapperProps {
9
- createApiFunc?: () => void;
10
- }
11
- export declare const TestWrapper: React.FC<TestWrapperProps>;
12
- interface ApiTestWrapperProps extends WrapperProps {
13
- postTaf?: unknown;
14
- getTafList?: unknown;
15
- getTAC?: unknown;
16
- }
17
- export declare const ApiTestWrapper: React.FC<ApiTestWrapperProps>;
18
- interface TestFormWrapperProps {
19
- children: React.ReactNode;
20
- options?: UseFormOptions;
21
- theme?: Theme;
22
- }
23
- export declare const TestFormWrapper: React.FC<TestFormWrapperProps>;
24
- export declare const StoryWrapper: React.FC<WrapperProps>;
25
- export {};