Commit Graph

120 Commits

Author SHA1 Message Date
Kyohei Fukuda
ed0ee1cd6b fix(ui): prevent infinite loading spinner and mobile crashes in Designer (#1549)
On narrow viewports (< ~445px) the open right sidebar consumed more width
than the screen provides, producing a negative base scale that locked the
Designer on the loading spinner forever. The sidebar now auto-closes when
it would not leave usable canvas width, the canvas width is clamped to a
non-negative value, and the base scale is kept strictly positive.

Real-PDF templates also crashed mobile Safari because page backgrounds were
rendered at the maxZoom scale (5x with the playground's maxZoom: 500),
creating canvases above iOS Safari's ~16.7M pixel limit. pdf2img now accepts
a maxCanvasPixels option that clamps the render scale per page, and the UI
caps background rendering at 4096x4096 pixels. arrayBufferToBase64 also
encodes in 32KB chunks instead of byte-by-byte concatenation to reduce peak
memory while encoding multi-megabyte background images.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-10 16:07:32 +09:00
hand-dot
db6ebcb276 fix(ui): select active page by visible area 2026-06-09 18:56:56 +09:00
hand-dot
b178c6f557 feat(ui): improve zoom controls and gestures 2026-06-09 18:44:19 +09:00
Kyohei Fukuda
e3ae4cd6f7 feat(ui): bulk update same-type selected schemas (#1531) 2026-05-24 18:18:11 +09:00
Kyohei Fukuda
ffb15d0194 Add Designer selection API (#1528) 2026-05-22 17:38:50 +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
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
Kyohei Fukuda
ff363fda63 chore(deps): major version bumps for v5 (Tailwind 4, TS 6 in playground, Sentry 10, react-router 7, etc.) (#1455)
* chore(deps): major version bumps for v5

Consolidates 10 unique major-version Dependabot PRs into one.

Bumps:
- color 4 -> 5 (packages/pdf-lib)
- signature_pad 4 -> 5 (packages/schemas, playground)
- vite-plugin-css-injected-by-js 4 -> 5 (packages/ui)
- jsdom 26 -> 29 (root)
- @sentry/react 9 -> 10 (playground)
- react-router-dom 6 -> 7 (playground)
- tailwindcss 3 -> 4 (playground) -- migrated to @tailwindcss/postcss plugin and @import "tailwindcss" syntax
- typescript 5 -> 6 (playground; root already on 6)

Snapshot updates:
- jsdom 29 normalises CSS slightly (border: medium, background-position: center center, etc.) -- updated UI snapshots
- color 5 produces a 0.34% pixel diff in barcodes-1.png -- regenerated image snapshot

Note: React 19 (#1437, #1438, #1445, #1446, #1447, #1449) deferred to a follow-up. The form-render -> rc-color-picker peer chain pins react@16.x, which forces a dual-instance install incompatible with @dnd-kit/core's hooks dispatcher in tests. Will revisit once form-render is replaced or removed.

Supersedes: #1439, #1440, #1441, #1442, #1443, #1444, #1448, #1450, #1451, #1452, #1453

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* test(generator): relax integration-segmenter perf threshold 2.5s -> 3s

CIで2.8秒前後で稳定的にflakyになっており、main上でも落ちている。
許容範囲を広げて誤検知を抑える。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* test(generator): relax integration-other perf threshold 1.5s -> 2.5s

CIで1.9秒前後で落ちる。誤検知を抑えるため許容範囲を拡大。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* test(generator): bump fontSubset test timeout 10s -> 30s

CIで10sタイムアウトしている (フォントsubset無効化での生成が重い)。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-27 15:52:21 +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
76e3a75148 fix: address review followups 2026-04-02 18:14:27 +09:00
hand-dot
ca2b24a9b9 fix(ui): guard designer paste selection 2026-04-02 17:43:51 +09:00
hand-dot
69005894cc fix(ui,cli): address review regressions 2026-04-02 17:33:58 +09:00
hand-dot
c1299b42c7 fix(repo): address build and ui review feedback 2026-04-02 16:48:36 +09:00
hand-dot
7fae525445 Fix CI build order and async UI waits 2026-03-21 18:22:54 +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
fc60395cac fix for playground test 2026-03-20 21:55:19 +09:00
hand-dot
f60a10c002 Migrate ui tests to Vitest 2026-03-20 16:14:29 +09:00
hand-dot
6a05aaf95b fix: update UI snapshots for jest-environment-jsdom 30
Update 3 snapshots in packages/ui to reflect CSS serialization changes
in jsdom 26 (bundled with jest-environment-jsdom 30): top: auto
additions, flex shorthand expansion, quote style changes, and hex-to-rgb
color conversions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 12:29:34 +09:00
RobH
a5c71bbb9a feat: add page change listener API (#1251)
* feat: add page change listener API

- Add onPageChange() method to Designer class for listening to page changes
- Add getTotalPages() method to get total page count
- Update onPageCursorChange callback to pass totalPages from schemasList.length
- Ensures accurate page count when pages are added/removed

* feat: add page change listener to Form and Viewer

- Add onPageChange() method to Form and Viewer classes
- Add getPageCursor() and getTotalPages() methods to Form and Viewer
- Update Preview component to accept and call onPageChange callback
- Fix Designer test to use proper callback signature

---------

Co-authored-by: Rob H-Y <Rob-HY@users.noreply.github.com>
2025-12-05 09:27:30 +09:00
Peter Ward
75b17ac05d refactor(ui): tidy designer right sidebar layout (#1247)
- introduce shared sidebar frame/header/body/footer wrappers with consistent padding
- adjust ListView and DetailView to use new structure so scrollbars reach edge
- tighten hooks in DetailView (memoized i18n helper, correct deps) and tidy sidebar container styling
2025-11-29 16:12:52 +09:00
hand-dot
36c63f688d fix(snapshots): update Designer and Preview snapshots with new classNames for UI components 2025-11-27 15:21:08 +09:00
hand-dot
2459891127 Fix CI 2025-11-08 14:20:06 +09:00
dependabot[bot]
bd11dd3053 build(deps): bump antd from 5.26.3 to 5.27.4 (#1215)
* build(deps): bump antd from 5.26.3 to 5.27.4

Bumps [antd](https://github.com/ant-design/ant-design) from 5.26.3 to 5.27.4.
- [Release notes](https://github.com/ant-design/ant-design/releases)
- [Changelog](https://github.com/ant-design/ant-design/blob/master/CHANGELOG.en-US.md)
- [Commits](https://github.com/ant-design/ant-design/compare/5.26.3...5.27.4)

---
updated-dependencies:
- dependency-name: antd
  dependency-version: 5.27.4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update snapshots for antd 5.27.4 CSS class changes

Co-Authored-By: Kyohei Fukuda <kyoheif@wix.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Kyohei Fukuda <kyoheif@wix.com>
Co-authored-by: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>
2025-11-08 14:07:11 +09:00
hand-dot
4de814b4cd fix: Add DOMPurify for SVG sanitization in PluginIcon component and implement security tests 2025-09-10 20:17:42 +09:00
dependabot[bot]
753b8ce921 Bump antd from 5.26.2 to 5.26.3 (#1110)
* Bump antd from 5.26.2 to 5.26.3

Bumps [antd](https://github.com/ant-design/ant-design) from 5.26.2 to 5.26.3.
- [Release notes](https://github.com/ant-design/ant-design/releases)
- [Changelog](https://github.com/ant-design/ant-design/blob/master/CHANGELOG.en-US.md)
- [Commits](https://github.com/ant-design/ant-design/compare/5.26.2...5.26.3)

---
updated-dependencies:
- dependency-name: antd
  dependency-version: 5.26.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update snapshots to reflect changes in button class names for Designer and Preview components

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kyohei Fukuda <kyoheif@wix.com>
2025-07-02 15:27:07 +09:00
dependabot[bot]
721485fbe7 Bump hotkeys-js from 3.13.10 to 3.13.14 (#1094)
* Bump hotkeys-js from 3.13.10 to 3.13.14

---
updated-dependencies:
- dependency-name: hotkeys-js
  dependency-version: 3.13.14
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix

* Update UI snapshots for hotkeys-js 3.13.14

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>
Co-authored-by: Kyohei Fukuda <kyoheif@wix.com>
2025-06-26 20:04:57 +09:00
dependabot[bot]
6bbf78cb36 Bump antd from 5.25.0 to 5.25.4 (#1049)
* Bump antd from 5.25.0 to 5.25.4

Bumps [antd](https://github.com/ant-design/ant-design) from 5.25.0 to 5.25.4.
- [Release notes](https://github.com/ant-design/ant-design/releases)
- [Changelog](https://github.com/ant-design/ant-design/blob/master/CHANGELOG.en-US.md)
- [Commits](https://github.com/ant-design/ant-design/compare/5.25.0...5.25.4)

---
updated-dependencies:
- dependency-name: antd
  dependency-version: 5.25.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update UI snapshots for antd 5.25.4 upgrade

- Update CSS class names from css-dev-only-do-not-override-18afz5u to css-dev-only-do-not-override-mc1tut
- Fixes snapshot test failures in CI for Designer and Preview components

Co-Authored-By: Kyohei Fukuda <kyoheif@wix.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Kyohei Fukuda <kyoheif@wix.com>
2025-06-02 09:29:21 +09:00
Peter Ward
8230cfb547 Default fontName to fallback font for all newly created schemas in UI (#1015)
* 953 default fontName to fallback font for all newly created schemas in UI

* f
2025-05-19 09:12:42 +09:00
Peter Ward
f137dab01c improve DX with pluginRepository and make plugin checking more robust (#1007)
* add pluginRepository and make plugin checking more robust

* Apply suggestions from code review

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* f

* f

---------

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-05-16 13:54:20 +09:00
Kyohei Fukuda
ff951cbbd9 Update ui snapshot 2025-05-09 11:50:54 +09:00
dependabot[bot]
a8f88f0dfe Bump antd from 5.24.6 to 5.24.9 (#969)
* Bump antd from 5.24.6 to 5.24.9

Bumps [antd](https://github.com/ant-design/ant-design) from 5.24.6 to 5.24.9.
- [Release notes](https://github.com/ant-design/ant-design/releases)
- [Changelog](https://github.com/ant-design/ant-design/blob/master/CHANGELOG.en-US.md)
- [Commits](https://github.com/ant-design/ant-design/compare/5.24.6...5.24.9)

---
updated-dependencies:
- dependency-name: antd
  dependency-version: 5.24.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update snapshot

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kyohei Fukuda <kyoheif@wix.com>
2025-05-09 10:50:05 +09:00
dependabot[bot]
f79841a0ce Bump antd from 5.24.5 to 5.24.6 (#920)
* Bump antd from 5.24.5 to 5.24.6

Bumps [antd](https://github.com/ant-design/ant-design) from 5.24.5 to 5.24.6.
- [Release notes](https://github.com/ant-design/ant-design/releases)
- [Changelog](https://github.com/ant-design/ant-design/blob/master/CHANGELOG.en-US.md)
- [Commits](https://github.com/ant-design/ant-design/compare/5.24.5...5.24.6)

---
updated-dependencies:
- dependency-name: antd
  dependency-version: 5.24.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update snapshots to reflect changes in button class names

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kyohei Fukuda <kyoheif@wix.com>
2025-04-08 09:44:57 +09:00
Kyohei Fukuda
e76feb1759 Add radius property to shape schema and update translations (#882)
* Add radius property to shape schema and update translations

* Update snapshots to reflect changes in button class names for consistency
2025-03-27 15:03:13 +09:00
dependabot[bot]
89a4478418 Bump antd from 5.24.3 to 5.24.4 (#862)
* Bump antd from 5.24.3 to 5.24.4

Bumps [antd](https://github.com/ant-design/ant-design) from 5.24.3 to 5.24.4.
- [Release notes](https://github.com/ant-design/ant-design/releases)
- [Changelog](https://github.com/ant-design/ant-design/blob/master/CHANGELOG.en-US.md)
- [Commits](https://github.com/ant-design/ant-design/compare/5.24.3...5.24.4)

---
updated-dependencies:
- dependency-name: antd
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update snapshots to reflect changes in button class names for Designer and Preview components

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kyohei Fukuda <kyoheif@wix.com>
2025-03-18 09:51:53 +09:00
hand-dot
72989cd9bf Add CustomPdf type and update related components for improved PDF handling 2025-03-16 15:49:30 +09:00
Kyohei Fukuda
ae99f4b12a Update snapshots for Designer and Preview components to reflect class name changes 2025-03-11 09:16:44 +09:00
dependabot[bot]
b56e3b46de Bump react-moveable from 0.30.3 to 0.56.0 in /packages/ui (#798)
* Bump react-moveable from 0.30.3 to 0.56.0 in /packages/ui

Bumps [react-moveable](https://github.com/daybrush/moveable) from 0.30.3 to 0.56.0.
- [Release notes](https://github.com/daybrush/moveable/releases)
- [Changelog](https://github.com/daybrush/moveable/blob/master/CHANGELOG.md)
- [Commits](https://github.com/daybrush/moveable/commits/react-moveable@0.56.0)

---
updated-dependencies:
- dependency-name: react-moveable
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update Designer component snapshot for react-moveable 0.56.0

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

* Update Designer component snapshot with moveable-resizable classes for react-moveable 0.56.0

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

* Update Designer component snapshot with moveable-resizable class for ne control

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

* Bump react-moveable to 0.56.0 and update Designer component snapshots

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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-04 11:21:41 +09:00
Kyohei Fukuda
b0d980c433 Modification to make the library ESM-based. (#770)
* Remove fast-xml-parser dependency and update vite-tsconfig-paths to 5.1.4

* tmp

* Refactor test files and scripts to use ES modules; remove obsolete files

* Enhance tests with new PDF utilities and update Jest configuration for ESM support
2025-03-01 02:23:24 +09:00
dependabot[bot]
d7181ffa0e Bump @scena/react-guides from 0.16.0 to 0.28.2 (#748)
* Bump @scena/react-guides from 0.16.0 to 0.28.2

Bumps [@scena/react-guides](https://github.com/daybrush/guides) from 0.16.0 to 0.28.2.
- [Release notes](https://github.com/daybrush/guides/releases)
- [Changelog](https://github.com/daybrush/guides/blob/master/CHANGELOG.md)
- [Commits](https://github.com/daybrush/guides/compare/react-compat-guides@0.16.0...@scena/react-guides@0.28.2)

---
updated-dependencies:
- dependency-name: "@scena/react-guides"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix snapshot tests for @scena/react-guides 0.28.2 update (#763)

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>

* Fix snapshot test for @scena/react-guides 0.28.2 (#761)

* Bump eslint-config-prettier from 8.10.0 to 10.0.2 (#759)

Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.10.0 to 10.0.2.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.10.0...v10.0.2)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add playground tests to publish-commit and publish-release workflows (#760)

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>

* test: enhance createSvgStr tests for SVG output and custom attributes

* Update snapshot for @scena/react-guides 0.28.2

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

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>

* Fix snapshot test for @scena/react-guides 0.28.2 update

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

* Fix snapshot test for @scena/react-guides 0.28.2 update

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

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>
2025-02-28 21:51:26 +09:00
devin-ai-integration[bot]
97d61f223d Fix failing tests in Dependabot PRs (#758)
* Update @typescript-eslint packages to support eslint 9.x.x and add lucide-react mock for tests

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

* Add script to fix all failing Dependabot PRs

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

* Remove fix_all_dependabot_prs.sh as requested

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

* Update snapshots for Dependabot PR #746 and add lucide-react mock for tests

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

* Fix syntax error in UI package tsconfig.json and update snapshots

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

* Fix syntax errors in CtlBar.tsx and utils.ts

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

* Fix syntax errors in CtlBar.tsx by using direct imports with mock

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-02-28 17:08:35 +09:00
dependabot[bot]
51eea8f025 Bump antd from 5.24.0 to 5.24.2 (#752)
* Bump antd from 5.24.0 to 5.24.2

Bumps [antd](https://github.com/ant-design/ant-design) from 5.24.0 to 5.24.2.
- [Release notes](https://github.com/ant-design/ant-design/releases)
- [Changelog](https://github.com/ant-design/ant-design/blob/master/CHANGELOG.en-US.md)
- [Commits](https://github.com/ant-design/ant-design/compare/5.24.0...5.24.2)

---
updated-dependencies:
- dependency-name: antd
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update snapshots for Dependabot PR #752

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2025-02-28 16:42:29 +09:00
Kyohei Fukuda
23443bbe20 Improve test (#720)
* use image snapshot

* remove

* Add new feature for user profile customization

* Implement user profile customization feature

* Update snapshots to reflect changes in button class names
2025-02-16 14:48:40 +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
Zin Kyaw Kyaw (AJ)
abf0e360a3 [630]: Bug fix on basePdf as array buffer (#659)
* [630]: Bug fix on basePdf as array buffer

* Minor fix

* Fix handling of customPdf in getB64BasePdf to ensure proper conversion to Uint8Array

* TMP

* Fix test

---------

Co-authored-by: hand-dot <kyouhei.fukuda0729@gmail.com>
2024-12-14 15:44:42 +09:00
Kyohei Fukuda
f679f73b5e Replace ant design icons to lucide icons 546 (#642)
* TMP

* Use lucide icons

* Update snapshot
2024-11-23 18:30:18 +09:00
Peter Ward
bc728708e7 Fix centering of canvas with respect to left sidebar (#627)
* 618 Fix centering of canvas with respect to left sidebar

* f
2024-11-13 08:58:16 +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
Peter Ward
1d778fe5de [BC Break]: Template schema restructure from keyed object to array (#588) 2024-09-20 10:11:23 +01:00