@open-pioneer/basemap-switcher 1.4.0 → 1.5.0-dev.20260910103330
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 +23 -13
- package/package.json +14 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @open-pioneer/basemap-switcher
|
|
2
2
|
|
|
3
|
+
## 1.5.0-dev.20260910103330
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- f790fda: Update to Chakra 3.37.0
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 09ec7c7: Updated dependencies
|
|
12
|
+
|
|
3
13
|
## 1.4.0
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
|
@@ -70,17 +80,17 @@
|
|
|
70
80
|
- 193068a: Deprecate the `mapId` property on React components.
|
|
71
81
|
Use the `MapModel` directly instead to pass a reference to the map.
|
|
72
82
|
|
|
73
|
-
|
|
83
|
+
Example:
|
|
74
84
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
85
|
+
```tsx
|
|
86
|
+
// Default map for entire component tree
|
|
87
|
+
<DefaultMapProvider map={mapModel}>
|
|
88
|
+
<Toc />
|
|
89
|
+
</DefaultMapProvider>
|
|
80
90
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
91
|
+
// Map for specific component
|
|
92
|
+
<Toc map={mapModel} />
|
|
93
|
+
```
|
|
84
94
|
|
|
85
95
|
### Patch Changes
|
|
86
96
|
|
|
@@ -103,9 +113,9 @@
|
|
|
103
113
|
### Minor Changes
|
|
104
114
|
|
|
105
115
|
- 2fa8020: Update trails core package dependencies.
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
116
|
+
- Also updates Chakra UI to the latest 2.x version and Chakra React Select to version 5.
|
|
117
|
+
- Removes any obsolete references to `@chakra-ui/system`.
|
|
118
|
+
This dependency seems to be no longer required and may lead to duplicate packages in your dependency tree.
|
|
109
119
|
|
|
110
120
|
### Patch Changes
|
|
111
121
|
|
|
@@ -124,7 +134,7 @@
|
|
|
124
134
|
- 583f1d6: The `mapId` or `map` properties are now optional on individual components.
|
|
125
135
|
You can use the `DefaultMapProvider` to configure an implicit default value.
|
|
126
136
|
|
|
127
|
-
|
|
137
|
+
Note that configuring _neither_ a default _nor_ an explicit `map` or `mapId` will trigger a runtime error.
|
|
128
138
|
|
|
129
139
|
- 583f1d6: All UI components in this project now accept the `mapId` (a `string`) _or_ the `map` (a `MapModel`) directly.
|
|
130
140
|
- 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.
|
|
4
|
+
"version": "1.5.0-dev.20260910103330",
|
|
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"
|
|
@@ -14,16 +14,20 @@
|
|
|
14
14
|
"directory": "src/packages/basemap-switcher"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@chakra-ui/react": "^3.
|
|
18
|
-
"@conterra/reactivity-core": "^0.8.
|
|
19
|
-
"@open-pioneer/chakra-snippets": "
|
|
20
|
-
"@open-pioneer/
|
|
21
|
-
"@open-pioneer/
|
|
22
|
-
"@open-pioneer/
|
|
23
|
-
"
|
|
17
|
+
"@chakra-ui/react": "^3.37.0",
|
|
18
|
+
"@conterra/reactivity-core": "^0.8.8",
|
|
19
|
+
"@open-pioneer/chakra-snippets": "4.8.0-dev.20260910101405",
|
|
20
|
+
"@open-pioneer/map": "1.5.0-dev.20260910103330",
|
|
21
|
+
"@open-pioneer/react-utils": "4.8.0-dev.20260910101405",
|
|
22
|
+
"@open-pioneer/reactivity": "4.8.0-dev.20260910101405",
|
|
23
|
+
"@open-pioneer/runtime": "4.8.0-dev.20260910101405",
|
|
24
|
+
"ol": "^10.10.0",
|
|
24
25
|
"react": "^19.2.8",
|
|
25
|
-
"react-icons": "^5.7.0"
|
|
26
|
-
|
|
26
|
+
"react-icons": "^5.7.0"
|
|
27
|
+
},
|
|
28
|
+
"publishConfig": {
|
|
29
|
+
"directory": "dist",
|
|
30
|
+
"linkDirectory": false
|
|
27
31
|
},
|
|
28
32
|
"exports": {
|
|
29
33
|
"./package.json": "./package.json",
|