@opengeoweb/shared 13.0.0 → 13.1.1

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
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  import React__default, { useRef, Component, useState } from 'react';
5
5
  import Draggable from 'react-draggable';
6
6
  import { Resizable } from 're-resizable';
7
- import { Resize, Options, Close, ChevronLeft, Exclamation, Success, Info, ChevronRight, GeoWebLogo, HamburgerMenu, Admin, useThemeContext, ThemeTypes, KeyOption, ArrowLeft, ArrowRight, KeyCommand, ArrowUp, ArrowDown, ChevronDown, Search, Clear, Cached } from '@opengeoweb/theme';
7
+ import { Resize, Options, Close, ChevronLeft, Exclamation, Success, Info, ChevronRight, GeoWebLogo, HamburgerMenu, Admin, useThemeContext, ThemeTypes, ArrowLeft, ArrowRight, KeyOption, KeyCommand, ArrowUp, ArrowDown, ChevronDown, Search, Clear, Cached } from '@opengeoweb/theme';
8
8
  import 'i18next';
9
9
  import { initReactI18next, useTranslation } from 'react-i18next';
10
10
  import { throttle, merge, escapeRegExp, debounce } from 'lodash';
@@ -2473,6 +2473,12 @@ var MenuItemTheme = function MenuItemTheme(_ref) {
2473
2473
  checked: (namedTheme == null ? void 0 : namedTheme.name) === ThemeTypes.XMAS2024_THEME
2474
2474
  }),
2475
2475
  label: t('shared-xmas') + " 2024"
2476
+ }), jsx(FormControlLabel, {
2477
+ value: ThemeTypes.EUMETNET_THEME,
2478
+ control: jsx(Radio, {
2479
+ checked: (namedTheme == null ? void 0 : namedTheme.name) === ThemeTypes.EUMETNET_THEME
2480
+ }),
2481
+ label: "EUMETNET"
2476
2482
  })]
2477
2483
  })]
2478
2484
  })
@@ -3185,7 +3191,7 @@ var ShortcutList = function ShortcutList(_ref) {
3185
3191
  children: "+"
3186
3192
  }), jsx(ShortCutSegment, {
3187
3193
  type: "icon",
3188
- children: jsx(KeyOption, {})
3194
+ children: "Shift"
3189
3195
  }), jsx(ShortCutSegment, {
3190
3196
  type: "connect",
3191
3197
  children: "+"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/shared",
3
- "version": "13.0.0",
3
+ "version": "13.1.1",
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": "13.0.0",
11
+ "@opengeoweb/theme": "13.1.1",
12
12
  "react-draggable": "^4.4.6",
13
13
  "re-resizable": "^6.9.11",
14
14
  "lodash": "^4.17.21",
@@ -1,8 +1,4 @@
1
1
  import { ThemeTypes } from '@opengeoweb/theme';
2
- interface ConfigAppMenuLink {
3
- title: string;
4
- url: string;
5
- }
6
2
  export interface ConfigType {
7
3
  GW_AUTH_LOGIN_URL?: string;
8
4
  GW_AUTH_LOGOUT_URL?: string;
@@ -46,7 +42,7 @@ export interface ConfigType {
46
42
  GW_HIDE_SIGMET_MENU?: boolean;
47
43
  GW_HIDE_AIRMET_MENU?: boolean;
48
44
  GW_LANGUAGE?: string;
49
- GW_EXTERNAL_APPLICATIONS_MENU_LINKS?: ConfigAppMenuLink[];
45
+ GW_EXTERNAL_APPLICATIONS_MENU_LINKS?: string;
50
46
  }
51
47
  export interface SoundingsCollection {
52
48
  name: string;
@@ -160,4 +156,3 @@ export interface EDRInstance {
160
156
  };
161
157
  };
162
158
  }
163
- export {};