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