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