@opengeoweb/shared 12.6.0 → 12.7.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
CHANGED
|
@@ -2366,10 +2366,15 @@ var styles$5 = {
|
|
|
2366
2366
|
var Avatar = function Avatar(_ref) {
|
|
2367
2367
|
var children = _ref.children,
|
|
2368
2368
|
_ref$size = _ref.size,
|
|
2369
|
-
size = _ref$size === void 0 ? 'large' : _ref$size
|
|
2369
|
+
size = _ref$size === void 0 ? 'large' : _ref$size,
|
|
2370
|
+
_ref$author = _ref.author,
|
|
2371
|
+
author = _ref$author === void 0 ? false : _ref$author;
|
|
2372
|
+
var theme = useTheme();
|
|
2370
2373
|
return jsx(Avatar$1, {
|
|
2371
2374
|
"data-testid": "avatar",
|
|
2372
|
-
sx: Object.assign({}, styles$5[size]
|
|
2375
|
+
sx: Object.assign({}, styles$5[size], {
|
|
2376
|
+
bgcolor: author ? theme.palette.geowebColors.buttons.icon.disabled.color : undefined
|
|
2377
|
+
}),
|
|
2373
2378
|
children: children
|
|
2374
2379
|
});
|
|
2375
2380
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/shared",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.7.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": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"url": "git@gitlab.com:opengeoweb/opengeoweb.git"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@opengeoweb/theme": "12.
|
|
11
|
+
"@opengeoweb/theme": "12.7.0",
|
|
12
12
|
"react-draggable": "^4.4.6",
|
|
13
13
|
"re-resizable": "^6.9.11",
|
|
14
14
|
"lodash": "^4.17.21",
|
package/src/lib/types/types.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export interface ConfigType {
|
|
|
11
11
|
GW_INITIAL_PRESETS_FILENAME?: string;
|
|
12
12
|
GW_CAP_CONFIGURATION_FILENAME?: string;
|
|
13
13
|
GW_TIMESERIES_CONFIGURATION_FILENAME?: string;
|
|
14
|
+
GW_DATAEXPLORER_CONFIGURATION_FILENAME?: string;
|
|
14
15
|
GW_DEFAULT_THEME?: ThemeTypes;
|
|
15
16
|
GW_INITIAL_WORKSPACE_PRESET?: string;
|
|
16
17
|
GW_SW_BASE_URL?: string;
|
|
@@ -24,6 +25,7 @@ export interface ConfigType {
|
|
|
24
25
|
GW_SPACEWEATHER_WORKSPACE_ID?: string;
|
|
25
26
|
GW_TECHNICAL_RELEASE_NOTES_URL?: string;
|
|
26
27
|
GW_VERSION_PROGRESS_NOTES_URL?: string;
|
|
28
|
+
GW_BE_RELEASE_URL?: string;
|
|
27
29
|
GW_LOCATION_BASE_URL?: string;
|
|
28
30
|
GW_FEATURE_APP_TITLE?: string;
|
|
29
31
|
GW_FEATURE_FORCE_AUTHENTICATION?: boolean;
|
|
@@ -53,14 +55,13 @@ export interface TimeSeriesService {
|
|
|
53
55
|
name: string;
|
|
54
56
|
scope?: SystemScope;
|
|
55
57
|
}
|
|
56
|
-
export type ServiceInterface = 'EDR'
|
|
58
|
+
export type ServiceInterface = 'EDR';
|
|
57
59
|
export type SystemScope = 'user' | 'system';
|
|
58
60
|
export declare const SystemScope: {
|
|
59
61
|
readonly user: SystemScope;
|
|
60
62
|
readonly system: SystemScope;
|
|
61
63
|
};
|
|
62
64
|
export interface PlotPreset {
|
|
63
|
-
connectedMap?: string;
|
|
64
65
|
mapId: string;
|
|
65
66
|
plots: Plot[];
|
|
66
67
|
parameters: PlotParameter[];
|