@opengeoweb/data-explorer 19.6.1 → 20.0.0-nightly-20260918

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/README.md CHANGED
@@ -83,13 +83,11 @@ Properties in the discovery catalogue datasets can be used for filtering through
83
83
 
84
84
  ### areaFilterTileURL
85
85
 
86
- Area filter uses OpenStreetMap tiles (https://tile.openstreetmap.org/). The tile server URL can be configured with this property.
86
+ The Area filter uses the same hosted `WorldMap_Light_Grey_Canvas` tiles as the default map. The tile server URL can be configured with this property.
87
87
 
88
88
  ### areaFilterTileLicense
89
89
 
90
- OpenStreetMap tile API requires showing an attribution text (https://operations.osmfoundation.org/policies/tiles/).
91
-
92
- The text is displayed in the bottom left corner of the map.
90
+ The attribution text for the configured tile server is displayed in the bottom left corner of the map.
93
91
 
94
92
  ## Running unit tests
95
93
 
package/dist/README.md CHANGED
@@ -83,13 +83,11 @@ Properties in the discovery catalogue datasets can be used for filtering through
83
83
 
84
84
  ### areaFilterTileURL
85
85
 
86
- Area filter uses OpenStreetMap tiles (https://tile.openstreetmap.org/). The tile server URL can be configured with this property.
86
+ The Area filter uses the same hosted `WorldMap_Light_Grey_Canvas` tiles as the default map. The tile server URL can be configured with this property.
87
87
 
88
88
  ### areaFilterTileLicense
89
89
 
90
- OpenStreetMap tile API requires showing an attribution text (https://operations.osmfoundation.org/policies/tiles/).
91
-
92
- The text is displayed in the bottom left corner of the map.
90
+ The attribution text for the configured tile server is displayed in the bottom left corner of the map.
93
91
 
94
92
  ## Running unit tests
95
93
 
package/dist/index.esm.js CHANGED
@@ -2629,6 +2629,7 @@ const AreaFilter = ({
2629
2629
  width: '100%'
2630
2630
  },
2631
2631
  children: jsxs(OpenLayersMapView, Object.assign({}, props, {
2632
+ mapMousePositionBottom: tileLicense ? '26px' : '6px',
2632
2633
  children: [jsx(MapControls, {
2633
2634
  style: {
2634
2635
  top: 0
@@ -2642,7 +2643,7 @@ const AreaFilter = ({
2642
2643
  features: [feature]
2643
2644
  },
2644
2645
  style: genericOpenLayersFeatureStyle
2645
- }), jsx(OpenLayersLayer, Object.assign({}, baseLayer)), jsx(Box, {
2646
+ }), !!tileURL && jsx(OpenLayersLayer, Object.assign({}, baseLayer)), !!tileLicense && jsx(Box, {
2646
2647
  "data-testid": "area-filter-tile-license",
2647
2648
  sx: {
2648
2649
  zIndex: 10,
@@ -6316,7 +6317,7 @@ const getQueryableWithValues = (config, filteringDatasets, t, currentFilter) =>
6316
6317
  }
6317
6318
  });
6318
6319
  }
6319
- queryable.values.sort((valueA, valueB) => {
6320
+ queryable.values = queryable.values.slice().sort((valueA, valueB) => {
6320
6321
  if (typeof valueA.value === 'string' && typeof valueB.value === 'string') {
6321
6322
  return t(valueA.value).localeCompare(t(valueB.value));
6322
6323
  }
@@ -9,6 +9,7 @@ export declare const testPresets: {
9
9
  id: string;
10
10
  label: string;
11
11
  }[];
12
+ areaFilterTileURL: string;
12
13
  areaFilterTileLicense: string;
13
14
  };
14
15
  export declare const fakeDatasets: DiscoveryMetadataItems;
package/package.json CHANGED
@@ -1,49 +1,53 @@
1
1
  {
2
- "name": "@opengeoweb/data-explorer",
3
- "version": "19.6.1",
4
- "main": "./dist/index.esm.js",
5
- "module": "./dist/index.esm.js",
6
- "types": "./dist/index.d.ts",
7
- "exports": {
8
- "./package.json": "./package.json",
9
- ".": {
10
- "@opengeoweb/source": "./src/index.ts",
11
- "types": "./dist/index.d.ts",
12
- "import": "./dist/index.esm.js",
13
- "default": "./dist/index.esm.js"
14
- }
15
- },
16
- "dependencies": {
17
- "@mui/material": "^9.0.1",
18
- "@opengeoweb/api": "*",
19
- "@opengeoweb/core": "*",
20
- "@opengeoweb/shared": "*",
21
- "@opengeoweb/snackbar": "*",
22
- "@opengeoweb/store": "*",
23
- "@opengeoweb/theme": "*",
24
- "@opengeoweb/webmap": "*",
25
- "@opengeoweb/webmap-react": "*",
26
- "@reduxjs/toolkit": "^2.6.1",
27
- "@tanstack/query-core": "^5.69.2",
28
- "@tanstack/react-query": "^5.85.5",
29
- "@turf/turf": "^7.2.0",
30
- "@types/geojson": "^7946.0.14",
31
- "i18next": "^25.0.1",
32
- "lodash": "^4.18.1",
33
- "ol": "^10.4.0",
34
- "react-i18next": "^15.1.1",
35
- "react-redux": "^9.2.0"
36
- },
37
- "devDependencies": {
38
- "eslint-plugin-storybook": "10.3.3"
39
- },
40
- "peerDependencies": {
41
- "react": "19"
42
- },
43
- "files": [
44
- "dist",
45
- "!dist/package.json",
46
- "README.md",
47
- "package.json"
48
- ]
49
- }
2
+ "name": "@opengeoweb/data-explorer",
3
+ "version": "20.0.0-nightly-20260918",
4
+ "repository": {
5
+ "type": "git",
6
+ "url": "git@gitlab.com:opengeoweb/opengeoweb.git"
7
+ },
8
+ "main": "./dist/index.esm.js",
9
+ "module": "./dist/index.esm.js",
10
+ "types": "./dist/index.d.ts",
11
+ "exports": {
12
+ "./package.json": "./package.json",
13
+ ".": {
14
+ "@opengeoweb/source": "./src/index.ts",
15
+ "types": "./dist/index.d.ts",
16
+ "import": "./dist/index.esm.js",
17
+ "default": "./dist/index.esm.js"
18
+ }
19
+ },
20
+ "dependencies": {
21
+ "@mui/material": "^9.0.1",
22
+ "@opengeoweb/api": "20.0.0-nightly-20260918",
23
+ "@opengeoweb/core": "20.0.0-nightly-20260918",
24
+ "@opengeoweb/shared": "20.0.0-nightly-20260918",
25
+ "@opengeoweb/snackbar": "20.0.0-nightly-20260918",
26
+ "@opengeoweb/store": "20.0.0-nightly-20260918",
27
+ "@opengeoweb/theme": "20.0.0-nightly-20260918",
28
+ "@opengeoweb/webmap": "20.0.0-nightly-20260918",
29
+ "@opengeoweb/webmap-react": "20.0.0-nightly-20260918",
30
+ "@reduxjs/toolkit": "^2.6.1",
31
+ "@tanstack/query-core": "^5.69.2",
32
+ "@tanstack/react-query": "^5.85.5",
33
+ "@turf/turf": "^7.2.0",
34
+ "@types/geojson": "^7946.0.14",
35
+ "i18next": "^25.0.1",
36
+ "lodash": "^4.18.1",
37
+ "ol": "^10.4.0",
38
+ "react-i18next": "^15.1.1",
39
+ "react-redux": "^9.2.0"
40
+ },
41
+ "devDependencies": {
42
+ "eslint-plugin-storybook": "10.3.3"
43
+ },
44
+ "peerDependencies": {
45
+ "react": "19"
46
+ },
47
+ "files": [
48
+ "dist",
49
+ "!dist/package.json",
50
+ "README.md",
51
+ "package.json"
52
+ ]
53
+ }