@opengeoweb/shared 12.6.0 → 12.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.
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.6.0",
3
+ "version": "12.8.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.6.0",
11
+ "@opengeoweb/theme": "12.8.0",
12
12
  "react-draggable": "^4.4.6",
13
13
  "re-resizable": "^6.9.11",
14
14
  "lodash": "^4.17.21",
@@ -27,5 +27,5 @@
27
27
  "module": "./index.esm.js",
28
28
  "type": "module",
29
29
  "main": "./index.esm.js",
30
- "types": "./index.esm.d.ts"
30
+ "types": "./index.d.ts"
31
31
  }
@@ -2,6 +2,7 @@ import * as React from 'react';
2
2
  export interface AvatarProps {
3
3
  children: React.ReactNode;
4
4
  size?: 'small' | 'large';
5
+ author?: boolean;
5
6
  }
6
7
  declare const Avatar: React.FC<AvatarProps>;
7
8
  export default Avatar;
@@ -10,7 +10,7 @@ export interface ConfigType {
10
10
  GW_APP_URL?: string;
11
11
  GW_INITIAL_PRESETS_FILENAME?: string;
12
12
  GW_CAP_CONFIGURATION_FILENAME?: string;
13
- GW_TIMESERIES_CONFIGURATION_FILENAME?: string;
13
+ GW_DATAEXPLORER_CONFIGURATION_FILENAME?: string;
14
14
  GW_DEFAULT_THEME?: ThemeTypes;
15
15
  GW_INITIAL_WORKSPACE_PRESET?: string;
16
16
  GW_SW_BASE_URL?: string;
@@ -24,6 +24,7 @@ export interface ConfigType {
24
24
  GW_SPACEWEATHER_WORKSPACE_ID?: string;
25
25
  GW_TECHNICAL_RELEASE_NOTES_URL?: string;
26
26
  GW_VERSION_PROGRESS_NOTES_URL?: string;
27
+ GW_BE_RELEASE_URL?: string;
27
28
  GW_LOCATION_BASE_URL?: string;
28
29
  GW_FEATURE_APP_TITLE?: string;
29
30
  GW_FEATURE_FORCE_AUTHENTICATION?: boolean;
@@ -53,14 +54,13 @@ export interface TimeSeriesService {
53
54
  name: string;
54
55
  scope?: SystemScope;
55
56
  }
56
- export type ServiceInterface = 'EDR' | 'OGC';
57
+ export type ServiceInterface = 'EDR';
57
58
  export type SystemScope = 'user' | 'system';
58
59
  export declare const SystemScope: {
59
60
  readonly user: SystemScope;
60
61
  readonly system: SystemScope;
61
62
  };
62
63
  export interface PlotPreset {
63
- connectedMap?: string;
64
64
  mapId: string;
65
65
  plots: Plot[];
66
66
  parameters: PlotParameter[];
@@ -114,17 +114,17 @@ export interface EDRInstance {
114
114
  extent?: {
115
115
  temporal?: {
116
116
  interval: string[][];
117
- crs: string;
117
+ trs: string;
118
118
  values: string[];
119
119
  };
120
120
  spatial: {
121
121
  crs: string;
122
122
  bbox: [number, number, number, number];
123
123
  };
124
+ vertical?: {
125
+ interval: string[][];
126
+ vrs: string;
127
+ values: string[];
128
+ };
124
129
  };
125
130
  }
126
- export interface TimeSeriesPresetLocation {
127
- lat: number;
128
- lon: number;
129
- name: string;
130
- }
File without changes