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