@formepdf/preact 0.31.0 → 0.33.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/dist/serialize.js +2 -1
- package/package.json +3 -3
package/dist/serialize.js
CHANGED
|
@@ -1243,7 +1243,8 @@ function serializeTemplatePage(element) {
|
|
|
1243
1243
|
const children = serializeTemplateChildren(childElements, 'Page');
|
|
1244
1244
|
return {
|
|
1245
1245
|
kind: { type: 'Page', config },
|
|
1246
|
-
style
|
|
1246
|
+
// The Page's style, as serialize() keeps it (#247; the React fix is #249).
|
|
1247
|
+
style: mapTemplateStyle(props.style),
|
|
1247
1248
|
children,
|
|
1248
1249
|
};
|
|
1249
1250
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formepdf/preact",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.0",
|
|
4
4
|
"description": "Preact-native adapter for Forme PDF engine. Same components, same props as @formepdf/react, without the React runtime.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
"test:watch": "vitest"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@formepdf/shared": "0.
|
|
21
|
+
"@formepdf/shared": "0.33.0"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"preact": "^10.19.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@formepdf/react": "0.
|
|
27
|
+
"@formepdf/react": "0.33.0",
|
|
28
28
|
"@types/react": "^19.0.0",
|
|
29
29
|
"preact": "^10.19.0",
|
|
30
30
|
"react": "^19.0.0",
|