@formepdf/react 0.31.0 → 0.32.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 CHANGED
@@ -1239,7 +1239,7 @@ function serializeTemplatePage(element) {
1239
1239
  const children = serializeTemplateChildren(childElements, 'Page');
1240
1240
  return {
1241
1241
  kind: { type: 'Page', config },
1242
- style: {},
1242
+ style: mapTemplateStyle(props.style),
1243
1243
  children,
1244
1244
  };
1245
1245
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formepdf/react",
3
- "version": "0.31.0",
3
+ "version": "0.32.0",
4
4
  "description": "JSX-to-JSON serializer for Forme PDF engine",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -18,7 +18,7 @@
18
18
  "test:watch": "vitest"
19
19
  },
20
20
  "dependencies": {
21
- "@formepdf/shared": "0.31.0"
21
+ "@formepdf/shared": "0.32.0"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "react": "^18 || ^19"