@open-pioneer/basemap-switcher 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 +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
# @open-pioneer/basemap-switcher
|
|
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
|
|
|
@@ -81,17 +82,17 @@
|
|
|
81
82
|
- 193068a: Deprecate the `mapId` property on React components.
|
|
82
83
|
Use the `MapModel` directly instead to pass a reference to the map.
|
|
83
84
|
|
|
84
|
-
|
|
85
|
+
Example:
|
|
85
86
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
87
|
+
```tsx
|
|
88
|
+
// Default map for entire component tree
|
|
89
|
+
<DefaultMapProvider map={mapModel}>
|
|
90
|
+
<Toc />
|
|
91
|
+
</DefaultMapProvider>
|
|
91
92
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
// Map for specific component
|
|
94
|
+
<Toc map={mapModel} />
|
|
95
|
+
```
|
|
95
96
|
|
|
96
97
|
### Patch Changes
|
|
97
98
|
|
|
@@ -114,9 +115,9 @@
|
|
|
114
115
|
### Minor Changes
|
|
115
116
|
|
|
116
117
|
- 2fa8020: Update trails core package dependencies.
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
- Also updates Chakra UI to the latest 2.x version and Chakra React Select to version 5.
|
|
119
|
+
- Removes any obsolete references to `@chakra-ui/system`.
|
|
120
|
+
This dependency seems to be no longer required and may lead to duplicate packages in your dependency tree.
|
|
120
121
|
|
|
121
122
|
### Patch Changes
|
|
122
123
|
|
|
@@ -135,7 +136,7 @@
|
|
|
135
136
|
- 583f1d6: The `mapId` or `map` properties are now optional on individual components.
|
|
136
137
|
You can use the `DefaultMapProvider` to configure an implicit default value.
|
|
137
138
|
|
|
138
|
-
|
|
139
|
+
Note that configuring _neither_ a default _nor_ an explicit `map` or `mapId` will trigger a runtime error.
|
|
139
140
|
|
|
140
141
|
- 583f1d6: All UI components in this project now accept the `mapId` (a `string`) _or_ the `map` (a `MapModel`) directly.
|
|
141
142
|
- 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/basemap-switcher",
|
|
4
|
-
"version": "1.5.0
|
|
4
|
+
"version": "1.5.0",
|
|
5
5
|
"description": "This package provides a UI component that allows a user to switch between different base maps.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"open-pioneer-trails"
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@chakra-ui/react": "^3.37.0",
|
|
18
18
|
"@conterra/reactivity-core": "^0.8.8",
|
|
19
|
-
"@open-pioneer/chakra-snippets": "4.8.0
|
|
20
|
-
"@open-pioneer/map": "1.5.0
|
|
21
|
-
"@open-pioneer/react-utils": "4.8.0
|
|
22
|
-
"@open-pioneer/reactivity": "4.8.0
|
|
23
|
-
"@open-pioneer/runtime": "4.8.0
|
|
19
|
+
"@open-pioneer/chakra-snippets": "^4.8.0",
|
|
20
|
+
"@open-pioneer/map": "1.5.0",
|
|
21
|
+
"@open-pioneer/react-utils": "^4.8.0",
|
|
22
|
+
"@open-pioneer/reactivity": "^4.8.0",
|
|
23
|
+
"@open-pioneer/runtime": "^4.8.0",
|
|
24
24
|
"ol": "^10.10.0",
|
|
25
25
|
"react": "^19.3.0",
|
|
26
26
|
"react-icons": "^5.7.0"
|