@open-pioneer/scale-setter 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/scale-setter
|
|
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
|
|
|
@@ -79,17 +80,17 @@
|
|
|
79
80
|
- 193068a: Deprecate the `mapId` property on React components.
|
|
80
81
|
Use the `MapModel` directly instead to pass a reference to the map.
|
|
81
82
|
|
|
82
|
-
|
|
83
|
+
Example:
|
|
83
84
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
85
|
+
```tsx
|
|
86
|
+
// Default map for entire component tree
|
|
87
|
+
<DefaultMapProvider map={mapModel}>
|
|
88
|
+
<Toc />
|
|
89
|
+
</DefaultMapProvider>
|
|
89
90
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
// Map for specific component
|
|
92
|
+
<Toc map={mapModel} />
|
|
93
|
+
```
|
|
93
94
|
|
|
94
95
|
### Patch Changes
|
|
95
96
|
|
|
@@ -108,9 +109,9 @@
|
|
|
108
109
|
### Minor Changes
|
|
109
110
|
|
|
110
111
|
- 2fa8020: Update trails core package dependencies.
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
112
|
+
- Also updates Chakra UI to the latest 2.x version and Chakra React Select to version 5.
|
|
113
|
+
- Removes any obsolete references to `@chakra-ui/system`.
|
|
114
|
+
This dependency seems to be no longer required and may lead to duplicate packages in your dependency tree.
|
|
114
115
|
|
|
115
116
|
### Patch Changes
|
|
116
117
|
|
|
@@ -129,7 +130,7 @@
|
|
|
129
130
|
- 583f1d6: The `mapId` or `map` properties are now optional on individual components.
|
|
130
131
|
You can use the `DefaultMapProvider` to configure an implicit default value.
|
|
131
132
|
|
|
132
|
-
|
|
133
|
+
Note that configuring _neither_ a default _nor_ an explicit `map` or `mapId` will trigger a runtime error.
|
|
133
134
|
|
|
134
135
|
- 583f1d6: All UI components in this project now accept the `mapId` (a `string`) _or_ the `map` (a `MapModel`) directly.
|
|
135
136
|
- 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/scale-setter",
|
|
4
|
-
"version": "1.5.0
|
|
4
|
+
"version": "1.5.0",
|
|
5
5
|
"description": "This package provides a UI component to change the scale of the map.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"open-pioneer-trails"
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@chakra-ui/react": "^3.37.0",
|
|
18
18
|
"@conterra/reactivity-core": "^0.8.8",
|
|
19
|
-
"@open-pioneer/map": "1.5.0
|
|
20
|
-
"@open-pioneer/react-utils": "4.8.0
|
|
21
|
-
"@open-pioneer/reactivity": "4.8.0
|
|
22
|
-
"@open-pioneer/runtime": "4.8.0
|
|
19
|
+
"@open-pioneer/map": "1.5.0",
|
|
20
|
+
"@open-pioneer/react-utils": "^4.8.0",
|
|
21
|
+
"@open-pioneer/reactivity": "^4.8.0",
|
|
22
|
+
"@open-pioneer/runtime": "^4.8.0",
|
|
23
23
|
"ol": "^10.10.0",
|
|
24
24
|
"react": "^19.3.0",
|
|
25
25
|
"react-icons": "^5.7.0"
|