@open-pioneer/printing 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 +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
# @open-pioneer/printing
|
|
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
|
|
|
@@ -82,17 +83,17 @@
|
|
|
82
83
|
- 193068a: Deprecate the `mapId` property on React components.
|
|
83
84
|
Use the `MapModel` directly instead to pass a reference to the map.
|
|
84
85
|
|
|
85
|
-
|
|
86
|
+
Example:
|
|
86
87
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
88
|
+
```tsx
|
|
89
|
+
// Default map for entire component tree
|
|
90
|
+
<DefaultMapProvider map={mapModel}>
|
|
91
|
+
<Toc />
|
|
92
|
+
</DefaultMapProvider>
|
|
92
93
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
// Map for specific component
|
|
95
|
+
<Toc map={mapModel} />
|
|
96
|
+
```
|
|
96
97
|
|
|
97
98
|
### Patch Changes
|
|
98
99
|
|
|
@@ -112,9 +113,9 @@
|
|
|
112
113
|
### Minor Changes
|
|
113
114
|
|
|
114
115
|
- 2fa8020: Update trails core package dependencies.
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
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.
|
|
118
119
|
|
|
119
120
|
### Patch Changes
|
|
120
121
|
|
|
@@ -132,7 +133,7 @@
|
|
|
132
133
|
- 583f1d6: The `mapId` or `map` properties are now optional on individual components.
|
|
133
134
|
You can use the `DefaultMapProvider` to configure an implicit default value.
|
|
134
135
|
|
|
135
|
-
|
|
136
|
+
Note that configuring _neither_ a default _nor_ an explicit `map` or `mapId` will trigger a runtime error.
|
|
136
137
|
|
|
137
138
|
- 583f1d6: All UI components in this project now accept the `mapId` (a `string`) _or_ the `map` (a `MapModel`) directly.
|
|
138
139
|
- 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/printing",
|
|
4
|
-
"version": "1.5.0
|
|
4
|
+
"version": "1.5.0",
|
|
5
5
|
"description": "This package provides a UI component to export the current map view as a printable file.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"open-pioneer-trails"
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@chakra-ui/react": "^3.37.0",
|
|
18
|
-
"@open-pioneer/chakra-snippets": "4.8.0
|
|
19
|
-
"@open-pioneer/core": "4.8.0
|
|
20
|
-
"@open-pioneer/map": "1.5.0
|
|
21
|
-
"@open-pioneer/notifier": "4.8.0
|
|
22
|
-
"@open-pioneer/react-utils": "4.8.0
|
|
23
|
-
"@open-pioneer/runtime": "4.8.0
|
|
18
|
+
"@open-pioneer/chakra-snippets": "^4.8.0",
|
|
19
|
+
"@open-pioneer/core": "^4.8.0",
|
|
20
|
+
"@open-pioneer/map": "1.5.0",
|
|
21
|
+
"@open-pioneer/notifier": "^4.8.0",
|
|
22
|
+
"@open-pioneer/react-utils": "^4.8.0",
|
|
23
|
+
"@open-pioneer/runtime": "^4.8.0",
|
|
24
24
|
"html2canvas": "^1.4.1",
|
|
25
25
|
"jspdf": "^4.2.1",
|
|
26
26
|
"ol": "^10.10.0",
|