@opengeoweb/shared 9.30.0 → 9.32.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/shared",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.32.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,14 +14,13 @@
|
|
|
14
14
|
"lodash": "^4.17.21",
|
|
15
15
|
"@redux-eggs/core": "^2.2.0",
|
|
16
16
|
"react-redux": "^8.1.3",
|
|
17
|
-
"axios": "1.
|
|
17
|
+
"axios": "^1.7.7",
|
|
18
18
|
"date-fns": "^3.3.0",
|
|
19
|
-
"redux-mock-store": "^1.5.4",
|
|
20
19
|
"@reduxjs/toolkit": "^1.9.7",
|
|
21
|
-
"react-i18next": "^
|
|
20
|
+
"react-i18next": "^15.1.1",
|
|
22
21
|
"i18next": "^23.11.5",
|
|
23
|
-
"@
|
|
24
|
-
"@
|
|
22
|
+
"@sentry/react": "^8.34.0",
|
|
23
|
+
"@mui/material": "^6.1.1"
|
|
25
24
|
},
|
|
26
25
|
"peerDependencies": {
|
|
27
26
|
"react": "18",
|
|
@@ -30,5 +29,6 @@
|
|
|
30
29
|
},
|
|
31
30
|
"module": "./index.esm.js",
|
|
32
31
|
"type": "module",
|
|
33
|
-
"main": "./index.esm.js"
|
|
32
|
+
"main": "./index.esm.js",
|
|
33
|
+
"types": "./index.esm.d.ts"
|
|
34
34
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material';
|
|
2
|
+
import React, { ReactNode } from 'react';
|
|
3
|
+
interface Props {
|
|
4
|
+
optionId: string;
|
|
5
|
+
checked: boolean;
|
|
6
|
+
onClick: (checked: boolean, only?: boolean) => void;
|
|
7
|
+
labelStyle?: SxProps<Theme>;
|
|
8
|
+
label: ReactNode;
|
|
9
|
+
}
|
|
10
|
+
export declare const FilterOption: React.FC<Props>;
|
|
11
|
+
export {};
|
|
@@ -3,6 +3,7 @@ export { DEFAULT_FILTER_HEIGHT } from './Filter';
|
|
|
3
3
|
export type { ListFilter } from './FilterList';
|
|
4
4
|
export { FilterListItem, FilterLabel } from './FilterListItem';
|
|
5
5
|
export type { Filter as FilterListItemFilter, FilterListItemProps, } from './FilterListItem';
|
|
6
|
+
export { FilterOption } from './FilterOption';
|
|
6
7
|
export { default as FilterChip } from './FilterChip';
|
|
7
8
|
export type { FilterChipProps } from './FilterChip';
|
|
8
9
|
export { DEBOUNCE_TIMEOUT } from './SearchField';
|
package/src/lib/types/types.d.ts
CHANGED
|
@@ -25,8 +25,6 @@ export interface ConfigType {
|
|
|
25
25
|
GW_FEATURE_APP_TITLE?: string;
|
|
26
26
|
GW_FEATURE_FORCE_AUTHENTICATION?: boolean;
|
|
27
27
|
GW_FEATURE_MODULE_SPACE_WEATHER?: boolean;
|
|
28
|
-
GW_FEATURE_MODULE_SIGMET_CONFIGURATION?: string;
|
|
29
|
-
GW_FEATURE_MODULE_AIRMET_CONFIGURATION?: string;
|
|
30
28
|
GW_FEATURE_MENU_FEEDBACK?: boolean;
|
|
31
29
|
GW_FEATURE_MENU_INFO?: boolean;
|
|
32
30
|
GW_FEATURE_MENU_VERSION?: boolean;
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import { MockStoreEnhanced } from 'redux-mock-store';
|
|
2
1
|
import { ConfigureStoreOptions, ToolkitStore } from '@reduxjs/toolkit/dist/configureStore';
|
|
3
|
-
interface MockStoreWithEggs extends MockStoreEnhanced {
|
|
4
|
-
addEggs?: () => void;
|
|
5
|
-
}
|
|
6
2
|
interface ToolkitStoreWithEggs extends ToolkitStore {
|
|
7
3
|
addEggs?: () => void;
|
|
8
4
|
}
|
|
9
|
-
export declare const createMockStoreWithEggs: (mockState: unknown) => MockStoreWithEggs;
|
|
10
5
|
export declare const createToolkitMockStoreWithEggs: (storeConfig: ConfigureStoreOptions) => ToolkitStoreWithEggs;
|
|
11
6
|
export {};
|