Commit Graph

156 Commits

Author SHA1 Message Date
Kyohei Fukuda
ba50905193 [codex] Improve JSX authoring starters (#1503)
* feat(playground): improve jsx authoring starters

* refactor(playground): store authoring starters as template assets

* fix(playground): address authoring starter review
2026-05-11 15:20:03 +09:00
Kyohei Fukuda
449110e295 [codex] update demo and playground navigation (#1502)
* chore: update demo and playground navigation

* test: update playground navigation snapshots
2026-05-11 14:37:36 +09:00
Kyohei Fukuda
786c5b93a8 feat(playground): unify template workspace (#1495) 2026-05-09 17:16:18 +09:00
Kyohei Fukuda
fe1f275ea6 [codex] Add JSX Document static layout API (#1491)
* feat(jsx): add Document static layout API

* fix(jsx): tighten Document static API followups
2026-05-09 09:55:53 +09:00
Kyohei Fukuda
e8143a6a0f [codex] Add playground presets and JSX Form preview (#1488)
* feat(playground): add presets and jsx form preview

* fix(jsx): normalize table width weights

* refactor(jsx): rename table column weights prop

* fix(playground): handle invalid jsx templates

* fix(playground): improve mobile preview sizing

* docs(jsx): clarify table column weights

* fix(playground): refine jsx preview followups

* test(jsx): narrow table column weights assertion

* fix(playground): ignore removed form input values
2026-05-08 16:11:13 +09:00
Kyohei Fukuda
95e8de77a8 [codex] Add JSX playground and Monaco editors (#1487)
* feat(playground): add jsx playground with monaco editors

* fix(playground): harden jsx playground runtime

* fix(playground): enable tsx highlighting in jsx editor

* fix(playground): harden jsx worker evaluator
2026-05-07 18:04:45 +09:00
Kyohei Fukuda
906e1ca3f0 [codex] Add md2pdf playground lab (#1486)
* feat(playground): add md2pdf lab

* feat(playground): show md2pdf timings

* feat(playground): add md2pdf docs notice

* chore(playground): remove template feedback button

* fix(playground): keep designer nav buttons on one line

* docs(website): document md2pdf converter

* docs(website): clarify md2pdf basePdf type

* fix(playground): link md2pdf docs section

* docs(converter): mark md2pdf as (beta) in English and Japanese documentation

* test(converter): avoid brittle img2pdf byte comparison

* fix(playground): address md2pdf review notes
2026-05-07 16:23:11 +09:00
Kyohei Fukuda
0fb9ce75aa [codex] Improve md2pdf default styles (#1485)
* fix(converter): improve md2pdf default styles

* feat(schemas): add text box padding and borders

* fix(ui): avoid default text box style churn

* docs(schemas): clarify text box rendering

* fix(ui): restore text vertical alignment

* test(generator): update inline markdown snapshot
2026-05-07 15:12:06 +09:00
Kyohei Fukuda
de89113e6f [codex] Edit split multivariable text chunks (#1472)
* fix(schemas): edit split MVT form chunks

* fix(uiRender): set height to 100% for styled text container

* fix(snapshots): set height to 100% for text elements in Designer and Preview snapshots
2026-05-06 12:49:09 +09:00
Kyohei Fukuda
b769fd2356 [codex] Document dynamic layout constraints (#1471)
* docs: update JSX md2pdf roadmap

* docs: document dynamic layout constraints

* docs: reference dynamic layout docs PR
2026-05-06 12:11:21 +09:00
hand-dot
c8ffadd499 feat(docs): update supported features to include list support and inline Markdown details 2026-05-03 13:45:54 +09:00
hand-dot
a174c686c5 Refactor CLI documentation for clarity and completeness
- Updated descriptions for command-line interface and its intended use cases.
- Enhanced command sections with clearer examples and options.
- Improved Japanese translation for consistency and accuracy.
- Added structured output details and exit codes for better user understanding.
- Expanded sections on PDF generation, validation, and diagnostics.
2026-04-03 16:28:12 +09:00
hand-dot
76e3a75148 fix: address review followups 2026-04-02 18:14:27 +09:00
hand-dot
00f8b40ee2 feat(cli): normalize doctor counts and validate canonical dates 2026-03-28 15:29:58 +09:00
hand-dot
ac6c0e7518 feat(cli): add barcode input hint rules 2026-03-28 14:48:29 +09:00
hand-dot
2a52ae3906 feat(cli): hint asset input content kinds 2026-03-28 14:43:23 +09:00
hand-dot
dc129c6a96 feat(cli): add table input contract hints 2026-03-28 14:34:29 +09:00
hand-dot
0dd0b4ed4f feat(cli): add date format metadata to input hints 2026-03-28 14:17:07 +09:00
hand-dot
c8a2b613ee feat(cli): add radio group input contract hints 2026-03-28 14:05:49 +09:00
hand-dot
cf92db3cef feat(cli): add enum input hints for select and checkbox 2026-03-28 13:57:02 +09:00
hand-dot
959fbf0c2d refactor(cli): normalize payload parity across commands 2026-03-28 10:19:53 +09:00
hand-dot
8ffc8c9dc7 feat(cli): extend verbose parity across commands 2026-03-27 21:44:41 +09:00
hand-dot
67d3ee9487 feat(cli): add verbose parity and input hints 2026-03-27 21:26:33 +09:00
hand-dot
e9bb09a3e6 Promote signature and harden example jobs 2026-03-23 17:55:55 +09:00
hand-dot
c759a120d7 feat: update test script to run workspace tests and refactor schema imports
- Changed the test script in package.json to run workspace tests using a new script.
- Updated imports in generator and helper files to point to specific schema paths.
- Added new builtins and tables exports in schemas package.json and created corresponding files.
- Enhanced error handling in multiVariableText propPanel for JSON parsing.
- Refactored UI components to use React 18 and updated dependencies accordingly.
- Improved snapshot tests to ensure cleaner output by removing empty text nodes.
- Updated documentation to reflect changes in package usage and requirements.
2026-03-21 16:10:48 +09:00
hand-dot
6b06c606f7 Clean up playground deps and update converter docs 2026-03-20 23:16:12 +09:00
hand-dot
0d0f89f12b Prepare ESM migration groundwork 2026-03-20 14:49:50 +09:00
hand-dot
060be0024a docs: fix outdated pdfme-playground link in custom-schemas (fixes #1372)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 09:26:34 +09:00
Tyler Barker
9d3cec85f0 Make Designer class initial state configurable (#1003)
* Ignore XML repomix output

* Extend UIOptions schema

* Enable init and update of pageCursor, sidebarOpen, and zoomLevel through options

* Rollback options-configurable pageCursor for now

* Remove onPageCursorChange mistakenly kept in useEffect dependencies

* Add UI options section to documentation for controlling zoom level and sidebar state

---------

Co-authored-by: hand-dot <kyouhei.fukuda0729@gmail.com>
2025-05-26 22:51:10 +09:00
Mikko Piuhola
34e9f49569 Document rectangle radius on website (#962) 2025-05-01 11:43:58 +09:00
Kyohei Fukuda
ae628ade13 Update docs 2025-04-28 10:55:58 +09:00
devin-ai-integration[bot]
37dd7bdc2e docs: update converter.md to reflect img2pdf size and margin options (#824)
* docs: update converter.md to reflect img2pdf size and margin options from PR #823

Co-Authored-By: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>

* Minor fix

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>
Co-authored-by: Kyohei Fukuda <kyoheif@wix.com>
2025-03-08 18:16:32 +09:00
hand-dot
e5c837ced7 Remove optimizer documentation and sidebar reference for deprecated feature 2025-03-08 17:48:27 +09:00
hand-dot
9202df7ad8 Update manipulator documentation to reflect changes in PDF manipulation functions 2025-03-08 17:27:10 +09:00
Kyohei Fukuda
17430d4ec7 Add support for PDF417 barcode type in schemas and documentation (#822) 2025-03-07 09:42:37 +09:00
devin-ai-integration[bot]
a45c82d6a8 docs: add community contribution section with lightweight QR code plugin (#815)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>
2025-03-06 10:52:10 +09:00
Kyohei Fukuda
c1b006ddbd Add img2pdf to converter package (#725)
* init

* fix: rename img2pdf function to imgs2pdf for clarity

* feat: rename imgs2pdf to img2pdf and simplify API

Co-Authored-By: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>

* chore: update package-lock.json

Co-Authored-By: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>

* docs: improve converter documentation

Co-Authored-By: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>

* docs: improve converter documentation following manipulator style

Co-Authored-By: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>

* feat: export img2pdf from index.browser.ts

* fix: improve img2pdf function to return correct PDF buffer

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2025-02-20 12:25:50 +09:00
devin-ai-integration[bot]
b8ac72a061 docs: comprehensive documentation for @pdfme/manipulator package (#719)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>
2025-02-16 14:45:45 +09:00
Kyohei Fukuda
4f4f57d136 Edit static schemas (#705)
* organize files

* TMP

* TMP

* Enhance static schema editing functionality and improve user feedback

* Refactor toast notifications for improved user experience and feedback
2025-02-14 09:49:45 +09:00
Kyohei Fukuda
b97ab98334 Update website (#701)
* TMP

* Remove unused components and styles; add new images for UI

* Minor fix

* TMP
2025-02-11 19:22:59 +09:00
Kyohei Fukuda
e45d472d8a Update getting-started documentation to clarify basePdf usage and provide example format 2025-02-09 18:30:19 +09:00
Peter Ward
8530beb9b4 133 Allow custom max zoom in UI (#698) 2025-02-08 20:36:08 +09:00
Kyohei Fukuda
153524dc68 Update README and supported features documentation; add custom feature request section and improve wording for clarity 2025-02-05 09:59:44 +09:00
Kyohei Fukuda
863ebe5817 Add template contribution guide (#687)
* TMP

* docs: Enhance template contribution guide with detailed steps and community encouragement
2025-01-27 11:12:48 +09:00
hand-dot
b25fc098c0 docs: update README and development guide to enhance contributor visibility and support options 2025-01-25 22:05:33 +09:00
Kyohei Fukuda
82d8019b13 Add converter package (#681)
* TMP

* TMP

* TMP

* Update README.md to provide library description and documentation link

* TMP

* TMP

* TMP

* TMP

* Update package dependencies by adding @pdfme/converter and removing pdfjs-dist

* Remove pdfjs-dist mock and update tests to reflect changes in dependencies

* minor fix and add document for website

* Add documentation for manipulator and optimizer, and organize converter in sidebar

* Refactor package dependencies by removing @pdfme/converter from peerDependencies and reinstating optionalDependencies for canvas in converter package
2025-01-24 11:09:29 +09:00
Kyohei Fukuda
beeb598448 Update website and Playground (#667)
* Update docusaurus and remove remove blog

* Refactor DemoAppFooter component and remove unused dependencies

* Remove @mui/icons-material

* Refactor codebase by removing unused components and dependencies, and update package scripts

* add tailwindcss to playground

* Update playground

* add utm param to website and playground
2025-01-03 20:06:42 +09:00
Kyohei Fukuda
564d6f2ae1 Update Readme and docs (#645) 2024-11-24 17:58:12 +09:00
Kyohei Fukuda
2037c383a0 Add radio checkbox schemas (#631)
* TMP

* add checkbox

* add radioGroup

* Minor fix

* add color and update doc
2024-11-15 17:09:30 +09:00
Kyohei Fukuda
2ef3f126a7 Enable placement of headers and footers in fixed positions & Use template engine (#620)
* Impl replacePlaceholders

* fix build

* Update replacePlaceholders

* optimize images

* Add doc

* update schema doc

* Fix bug

* add tests

* add security tests for replacePlaceholders to prevent access to prohibited properties and methods

* optimize parseData and evaluatePlaceholders with caching for improved performance

* remove ejs

* add license information for @types/estree and acorn in package-lock.json

* Fix ci

* write doc

* Update website/docs/headers-and-footers.md

Co-authored-by: Peter Ward <pete@pennyblack.io>

* Update playground/src/helper.ts

Co-authored-by: Peter Ward <pete@pennyblack.io>

---------

Co-authored-by: Peter Ward <pete@pennyblack.io>
2024-11-11 19:19:19 +09:00