Commit Graph

20 Commits

Author SHA1 Message Date
Kyohei Fukuda
ab92aa926e [codex] Add md2pdf MVP (#1483)
* feat(converter): add md2pdf MVP

* fix(converter): address md2pdf MVP review

* fix(converter): let dynamic layout paginate md2pdf output

* docs(plan): clarify md2pdf follow-up work

* docs(plan): remove current status section

* docs(converter): document CJK fonts for md2pdf

* fix(converter): cover md2pdf horizontal rules
2026-05-07 14:07:55 +09:00
Kyohei Fukuda
1bd2ec9bd8 [codex] Add dynamic height for text schemas (#1467)
* feat(generator): expand text schema height dynamically

* fix(schemas): restore overflow select binding

* feat(schemas): split expanded text by line

* fix(ui): merge edits from split text chunks

* fix(schemas): avoid regex splitting split text edits

* fix(schemas): harden split text dynamic layout
2026-05-06 10:41:45 +09:00
Kyohei Fukuda
03f616f0c5 [codex] Add @pdfme/jsx package (#1466)
* feat(jsx): add pdfme jsx package

* refactor(jsx): derive text props from schema types

* fix(jsx): tighten mvp layout constraints

* feat(jsx): measure text height with schema helpers

* docs: update jsx md2pdf roadmap
2026-05-05 17:48:19 +09:00
Kyohei Fukuda
bed77e5713 [codex] add list schema implementation plan (#1460)
* docs: add list schema implementation plan

* feat(schemas): add list schema

* fix(schemas): improve list form editing

* fix(schemas): localize list editing labels

* fix(schemas): align table control buttons

* fix(schemas): keep list designer editing during actions

* fix(tsconfig): resolve list schema subpath

* fix(schemas): keep list action clicks isolated

* fix(schemas): support empty list state

* fix(schemas): allow editing list items in designer

* fix(schemas): keep list designer editing on enter

* fix(schemas): ignore IME enter in list editor

* fix(schemas): make enter insert list item line breaks

* test(generator): add list plugin to playground snapshots

* refactor(schemas): render list items with text ui

* fix(schemas): adapt list prop panel fields by style

* fix(schemas): simplify list options and nested numbering

* Reorder import statements in generate-templates-thumbnail

* Reorder List plugin in getPlugins function

* fix(ui): reflow schemas after dynamic list resize

* chore: remove obsolete list plan

* fix(ui): reflow form list height changes

* fix(ui): keep designer height changes local

* fix(schemas): commit list item line breaks immediately

* fix(schemas): restore list focus after line break rerender

* fix(schemas): keep form list focused after enter

* test(generator): update dynamic list snapshots

* fix(schemas): store list content as json arrays

* fix(schemas): address list review cleanup

* test(ui): update designer snapshot

* chore: trim list pr noise

* fix(schemas): align list markers in ui
2026-05-03 13:34:51 +09:00
hand-dot
11c18c310d fix(release): align TypeScript 6 publish config 2026-04-03 18:17:13 +09:00
hand-dot
1e38ff416d fix(release): unblock 6.0.4 publish 2026-04-03 18:10:18 +09:00
Kyohei Fukuda
51f63b747f fix(deps): unblock dependabot updates (#1419)
* fix(deps): unblock dependabot updates

* test(ui): refresh antd 6 snapshots
2026-04-03 15:25:43 +09:00
hand-dot
b5f4f31997 Add @pdfme/cli package 2026-03-21 17:42:42 +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
400fe64dbd Migrate converter schemas and generator builds to Vite 2026-03-20 18:44:57 +09:00
hand-dot
58a8c712cb Add TypeScript project references 2026-03-20 15:10:39 +09:00
devin-ai-integration[bot]
1a58874c32 Update TypeScript to version 5.8.2 (#802)
* Update TypeScript to version 5.8.2 and fix type compatibility issues

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

* Update package-lock.json for TypeScript 5.8.2

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

* Fix TypeScript errors in generator package

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

* Update moduleResolution to esnext in all tsconfig.esm.json files and fix type errors in generator package

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

* Update moduleResolution to bundler in all tsconfig.esm.json files

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

---------

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-04 18:15:28 +09:00
hand-dot
b1af5c2c8f Revert "Offscreen Canvas rendering for web workers (#704)"
This reverts commit c76f3cae5e.
2025-03-01 17:11:13 +09:00
Thomas Schühly
c76f3cae5e Offscreen Canvas rendering for web workers (#704)
* Offscreen Canvas rendering

* fix build issues
2025-03-01 16:23:54 +09:00
Kyohei Fukuda
8d824db3f5 Fix TS2835 (#762)
* tmp

* chore: update TypeScript configuration to use ESNext module and resolution

* fix: update remaining imports with .js extensions and tsconfig files with nodenext

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

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2025-02-28 20:49:17 +09:00
Yasuyuki Komatsubara
f95d798a18 use Intl.Segmenter for line breaking and support alignment (#686)
* use Intl.Segmenter for line breaking and support  alignment

* fix no justify for single line texts

* remove locale from text schema

* remove unused locale related codes and minor bug fixes

* Update generator snapshot

* prevent overflow if text is longer than box width

* take into account character spacing when splitting lines

* update some assert pdfs

* Fix  bugs on text segmentation in edge cases

* use const, add containsJapanese

---------

Co-authored-by: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>
Co-authored-by: Kyohei Fukuda <kyoheif@wix.com>
2025-02-09 22:13:54 +09:00
Kyohei Fukuda
e794eabd91 Preparing to release V5 (#600) 2024-09-25 10:39:52 +09:00
Kyohei Fukuda
c1e24761d2 [WIP] Enhancing the development experience (#327)
* TMP

* TMP

* Fix failing test

* Update ESLint configuration

* Update ESLint configuration
2023-11-22 00:09:00 +09:00
Kyohei Fukuda
2a231c67ce Change build tool from webpack to vite to improve slow pdfme/ui build times (#314)
* TMP

* Minor fix

* remove incremental build option

* stop using npm-run-all to test
2023-11-08 17:39:21 +09:00
Kyohei Fukuda
20ae05e87e [TMP] Remove umd, Add cjs, esm. 2023-01-03 12:32:59 +09:00