@open-pioneer/overview-map 1.5.0-dev.20260917081843 → 1.5.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/CHANGELOG.md +15 -14
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
# @open-pioneer/overview-map
|
|
2
2
|
|
|
3
|
-
## 1.5.0
|
|
3
|
+
## 1.5.0
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
7
7
|
- f790fda: Update to Chakra 3.37.0
|
|
8
|
+
- a186f5d: Update core packages to 4.8.0.
|
|
8
9
|
|
|
9
10
|
### Patch Changes
|
|
10
11
|
|
|
@@ -74,17 +75,17 @@
|
|
|
74
75
|
- 193068a: Deprecate the `mapId` property on React components.
|
|
75
76
|
Use the `MapModel` directly instead to pass a reference to the map.
|
|
76
77
|
|
|
77
|
-
|
|
78
|
+
Example:
|
|
78
79
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
80
|
+
```tsx
|
|
81
|
+
// Default map for entire component tree
|
|
82
|
+
<DefaultMapProvider map={mapModel}>
|
|
83
|
+
<Toc />
|
|
84
|
+
</DefaultMapProvider>
|
|
84
85
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
// Map for specific component
|
|
87
|
+
<Toc map={mapModel} />
|
|
88
|
+
```
|
|
88
89
|
|
|
89
90
|
### Patch Changes
|
|
90
91
|
|
|
@@ -107,9 +108,9 @@
|
|
|
107
108
|
### Minor Changes
|
|
108
109
|
|
|
109
110
|
- 2fa8020: Update trails core package dependencies.
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
- Also updates Chakra UI to the latest 2.x version and Chakra React Select to version 5.
|
|
112
|
+
- Removes any obsolete references to `@chakra-ui/system`.
|
|
113
|
+
This dependency seems to be no longer required and may lead to duplicate packages in your dependency tree.
|
|
113
114
|
|
|
114
115
|
### Patch Changes
|
|
115
116
|
|
|
@@ -127,7 +128,7 @@
|
|
|
127
128
|
- 583f1d6: The `mapId` or `map` properties are now optional on individual components.
|
|
128
129
|
You can use the `DefaultMapProvider` to configure an implicit default value.
|
|
129
130
|
|
|
130
|
-
|
|
131
|
+
Note that configuring _neither_ a default _nor_ an explicit `map` or `mapId` will trigger a runtime error.
|
|
131
132
|
|
|
132
133
|
- 583f1d6: All UI components in this project now accept the `mapId` (a `string`) _or_ the `map` (a `MapModel`) directly.
|
|
133
134
|
- a8b3449: Switch to a new versioning strategy.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@open-pioneer/overview-map",
|
|
4
|
-
"version": "1.5.0
|
|
4
|
+
"version": "1.5.0",
|
|
5
5
|
"description": "This package offers a UI component with which an overview map can be integrated.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"open-pioneer-trails"
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@chakra-ui/react": "^3.37.0",
|
|
18
|
-
"@open-pioneer/core": "4.8.0
|
|
19
|
-
"@open-pioneer/map": "1.5.0
|
|
20
|
-
"@open-pioneer/react-utils": "4.8.0
|
|
21
|
-
"@open-pioneer/runtime": "4.8.0
|
|
18
|
+
"@open-pioneer/core": "^4.8.0",
|
|
19
|
+
"@open-pioneer/map": "1.5.0",
|
|
20
|
+
"@open-pioneer/react-utils": "^4.8.0",
|
|
21
|
+
"@open-pioneer/runtime": "^4.8.0",
|
|
22
22
|
"ol": "^10.10.0",
|
|
23
23
|
"react": "^19.3.0"
|
|
24
24
|
},
|