Skip to content

Update document rendering and pagination parity - #57

Merged
lucasbesen merged 1 commit into
mainfrom
feat/document-builder-parity
Sep 22, 2026
Merged

lucasbesen merged 1 commit into
mainfrom
feat/document-builder-parity

Conversation

@lucasbesen

@lucasbesen lucasbesen commented Sep 22, 2026 •

Copy link
Copy Markdown
Member

Summary

Aligns React Elements with the latest Document Builder rendering and pagination behavior.

Changes

  • Update @unlayer/exporters and @unlayer/types to 1.497.0
  • Add a document-only <PageBreak /> component with Design JSON support
  • Add typed document size and orientation properties
  • Support repeating table headers and footers across document pages
  • Update schema-version expectations, snapshots, and documentation

Test Plan

  • pnpm build passes
  • pnpm test passes
  • Tested in Storybook (if UI change)
  • Added/updated tests for new behavior

Notes

Chromium E2E and Storybook visual checks pass. The local CSP probe encounters the repository's documented React CommonJS/ESM interoperability issue.


📖 Storybook Preview: https://unlayer.github.io/elements/pr/57/

@lucasbesen lucasbesen self-assigned this Sep 22, 2026
@lucasbesen
lucasbesen force-pushed the feat/document-builder-parity branch from bebb495 to f11a5ed Compare September 22, 2026 11:27
@codecov

codecov Bot commented Sep 22, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.36842% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 95.54%. Comparing base (9aaa145) to head (f11a5ed).

Files with missing lines Patch % Lines
packages/react/src/components/PageBreak.tsx 96.87% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #57      +/-   ##
==========================================
+ Coverage   95.50%   95.54%   +0.03%     
==========================================
  Files          31       32       +1     
  Lines        1937     1975      +38     
  Branches      382      390       +8     
==========================================
+ Hits         1850     1887      +37     
- Misses         86       87       +1     
  Partials        1        1              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@lucasbesen
lucasbesen merged commit aa3f0ba into main Sep 22, 2026
4 checks passed
@lucasbesen
lucasbesen deleted the feat/document-builder-parity branch September 22, 2026 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants