Commit Graph

49 Commits

Author SHA1 Message Date
hand-dot
0178141781 chore(deps): update dependabot packages 2026-06-10 16:29:05 +09:00
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
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
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
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
16bec8babb [codex] Add inline markdown text format (#1461)
* feat(schemas): add inline markdown text format

* fix(common): handle missing git tags in version script

* fix(converter): align pdfjs document options with latest types

* test(generator): update pdfjs image snapshots

* test(playground): register inline markdown example

* refactor(schemas): avoid default font i18n key

* refactor(schemas): move markdown controls to prop panel end

* refactor(schemas): use checkbox for inline markdown toggle

* fix(schemas): localize multi variable text prop labels

* refactor(schemas): align inline markdown fallback control

* fix(schemas): address inline markdown review feedback

* refactor(schemas): address inline markdown review refinements

* fix(schemas): correct synthetic italic pdf skew

* test(playground): add bold italic inline markdown sample
2026-05-02 16:34:43 +09:00
dependabot[bot]
d613b13a74 build(deps): bump the minor-and-patch group across 2 directories with 8 updates (#1459)
Bumps the minor-and-patch group with 7 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [jsdom](https://github.com/jsdom/jsdom) | `29.0.2` | `29.1.0` |
| [@types/color](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/color) | `4.2.0` | `4.2.1` |
| [@napi-rs/canvas](https://github.com/Brooooooklyn/canvas) | `0.1.99` | `0.1.100` |
| [pdfjs-dist](https://github.com/mozilla/pdf.js) | `5.6.205` | `5.7.284` |
| [lucide](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide) | `1.9.0` | `1.12.0` |
| [antd](https://github.com/ant-design/ant-design) | `6.3.6` | `6.3.7` |
| [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react) | `1.9.0` | `1.12.0` |

Bumps the minor-and-patch group with 1 update in the /playground directory: [postcss](https://github.com/postcss/postcss).


Updates `jsdom` from 29.0.2 to 29.1.0
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Commits](https://github.com/jsdom/jsdom/compare/v29.0.2...v29.1.0)

Updates `@types/color` from 4.2.0 to 4.2.1
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/color)

Updates `@napi-rs/canvas` from 0.1.99 to 0.1.100
- [Release notes](https://github.com/Brooooooklyn/canvas/releases)
- [Changelog](https://github.com/Brooooooklyn/canvas/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Brooooooklyn/canvas/compare/v0.1.99...v0.1.100)

Updates `pdfjs-dist` from 5.6.205 to 5.7.284
- [Release notes](https://github.com/mozilla/pdf.js/releases)
- [Commits](https://github.com/mozilla/pdf.js/compare/v5.6.205...v5.7.284)

Updates `lucide` from 1.9.0 to 1.12.0
- [Release notes](https://github.com/lucide-icons/lucide/releases)
- [Commits](https://github.com/lucide-icons/lucide/commits/1.12.0/packages/lucide)

Updates `antd` from 6.3.6 to 6.3.7
- [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/6.3.6...6.3.7)

Updates `lucide-react` from 1.9.0 to 1.12.0
- [Release notes](https://github.com/lucide-icons/lucide/releases)
- [Commits](https://github.com/lucide-icons/lucide/commits/1.12.0/packages/lucide-react)

Updates `postcss` from 8.5.10 to 8.5.12
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.10...8.5.12)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-version: 29.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@types/color"
  dependency-version: 4.2.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@napi-rs/canvas"
  dependency-version: 0.1.100
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: pdfjs-dist
  dependency-version: 5.7.284
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: lucide
  dependency-version: 1.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: antd
  dependency-version: 6.3.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: lucide-react
  dependency-version: 1.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: postcss
  dependency-version: 8.5.12
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-01 18:17:28 +00:00
dependabot[bot]
a919849b81 build(deps): bump the minor-and-patch group across 3 directories with 28 updates (#1436)
Bumps the minor-and-patch group with 15 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `25.5.0` | `25.6.0` |
| [typescript](https://github.com/microsoft/TypeScript) | `6.0.2` | `6.0.3` |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `8.0.3` | `8.0.10` |
| [vite-plus](https://github.com/voidzero-dev/vite-plus/tree/HEAD/packages/cli) | `0.1.13` | `0.1.19` |
| [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `4.1.0` | `4.1.5` |
| [vitest-image-snapshot](https://github.com/wgsl-tooling-wg/wesl-js) | `0.6.47` | `0.6.50` |
| [@napi-rs/canvas](https://github.com/Brooooooklyn/canvas) | `0.1.97` | `0.1.99` |
| [pdfjs-dist](https://github.com/mozilla/pdf.js) | `5.5.207` | `5.6.205` |
| [bwip-js](https://github.com/metafloor/bwip-js) | `4.9.0` | `4.10.1` |
| [dompurify](https://github.com/cure53/DOMPurify) | `3.3.3` | `3.4.1` |
| [lucide](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide) | `1.7.0` | `1.9.0` |
| [antd](https://github.com/ant-design/ant-design) | `6.3.5` | `6.3.6` |
| [hotkeys-js](https://github.com/jaywcjlove/hotkeys-js) | `4.0.2` | `4.0.3` |
| [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react) | `1.7.0` | `1.9.0` |
| [citty](https://github.com/unjs/citty) | `0.2.1` | `0.2.2` |

Bumps the minor-and-patch group with 8 updates in the /playground directory:

| Package | From | To |
| --- | --- | --- |
| [vite-plus](https://github.com/voidzero-dev/vite-plus/tree/HEAD/packages/cli) | `0.1.15` | `0.1.19` |
| [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `4.1.2` | `4.1.5` |
| [@headlessui/react](https://github.com/tailwindlabs/headlessui/tree/HEAD/packages/@headlessui-react) | `2.2.9` | `2.2.10` |
| [react-toastify](https://github.com/fkhadra/react-toastify) | `11.0.5` | `11.1.0` |
| [@sentry/vite-plugin](https://github.com/getsentry/sentry-javascript-bundler-plugins) | `5.1.1` | `5.2.0` |
| [autoprefixer](https://github.com/postcss/autoprefixer) | `10.4.27` | `10.5.0` |
| [postcss](https://github.com/postcss/postcss) | `8.5.8` | `8.5.10` |
| [puppeteer](https://github.com/puppeteer/puppeteer) | `24.40.0` | `24.42.0` |

Bumps the minor-and-patch group with 8 updates in the /website directory:

| Package | From | To |
| --- | --- | --- |
| [typescript](https://github.com/microsoft/TypeScript) | `6.0.2` | `6.0.3` |
| [react](https://github.com/facebook/react/tree/HEAD/packages/react) | `19.2.4` | `19.2.5` |
| [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) | `19.2.4` | `19.2.5` |
| [@docusaurus/core](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus) | `3.9.2` | `3.10.0` |
| [@docusaurus/module-type-aliases](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-module-type-aliases) | `3.9.2` | `3.10.0` |
| [@docusaurus/plugin-client-redirects](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-plugin-client-redirects) | `3.9.2` | `3.10.0` |
| [@docusaurus/plugin-google-gtag](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-plugin-google-gtag) | `3.9.2` | `3.10.0` |
| [@docusaurus/preset-classic](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-preset-classic) | `3.9.2` | `3.10.0` |



Updates `@types/node` from 25.5.0 to 25.6.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `typescript` from 6.0.2 to 6.0.3
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](https://github.com/microsoft/TypeScript/compare/v6.0.2...v6.0.3)

Updates `vite` from 8.0.3 to 8.0.10
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v8.0.10/packages/vite)

Updates `vite-plus` from 0.1.13 to 0.1.19
- [Release notes](https://github.com/voidzero-dev/vite-plus/releases)
- [Commits](https://github.com/voidzero-dev/vite-plus/commits/v0.1.19/packages/cli)

Updates `vitest` from 4.1.0 to 4.1.5
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.5/packages/vitest)

Updates `vitest-image-snapshot` from 0.6.47 to 0.6.50
- [Commits](https://github.com/wgsl-tooling-wg/wesl-js/commits)

Updates `@napi-rs/canvas` from 0.1.97 to 0.1.99
- [Release notes](https://github.com/Brooooooklyn/canvas/releases)
- [Changelog](https://github.com/Brooooooklyn/canvas/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Brooooooklyn/canvas/compare/v0.1.97...v0.1.99)

Updates `pdfjs-dist` from 5.5.207 to 5.6.205
- [Release notes](https://github.com/mozilla/pdf.js/releases)
- [Commits](https://github.com/mozilla/pdf.js/compare/v5.5.207...v5.6.205)

Updates `bwip-js` from 4.9.0 to 4.10.1
- [Release notes](https://github.com/metafloor/bwip-js/releases)
- [Commits](https://github.com/metafloor/bwip-js/compare/v4.9.0...v4.10.1)

Updates `dompurify` from 3.3.3 to 3.4.1
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/3.3.3...3.4.1)

Updates `lucide` from 1.7.0 to 1.9.0
- [Release notes](https://github.com/lucide-icons/lucide/releases)
- [Commits](https://github.com/lucide-icons/lucide/commits/1.9.0/packages/lucide)

Updates `antd` from 6.3.5 to 6.3.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/6.3.5...6.3.6)

Updates `hotkeys-js` from 4.0.2 to 4.0.3
- [Release notes](https://github.com/jaywcjlove/hotkeys-js/releases)
- [Commits](https://github.com/jaywcjlove/hotkeys-js/compare/v4.0.2...v4.0.3)

Updates `lucide-react` from 1.7.0 to 1.9.0
- [Release notes](https://github.com/lucide-icons/lucide/releases)
- [Commits](https://github.com/lucide-icons/lucide/commits/1.9.0/packages/lucide-react)

Updates `citty` from 0.2.1 to 0.2.2
- [Release notes](https://github.com/unjs/citty/releases)
- [Changelog](https://github.com/unjs/citty/blob/main/CHANGELOG.md)
- [Commits](https://github.com/unjs/citty/compare/v0.2.1...v0.2.2)

Updates `vite-plus` from 0.1.15 to 0.1.19
- [Release notes](https://github.com/voidzero-dev/vite-plus/releases)
- [Commits](https://github.com/voidzero-dev/vite-plus/commits/v0.1.19/packages/cli)

Updates `vitest` from 4.1.2 to 4.1.5
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.5/packages/vitest)

Updates `@headlessui/react` from 2.2.9 to 2.2.10
- [Release notes](https://github.com/tailwindlabs/headlessui/releases)
- [Changelog](https://github.com/tailwindlabs/headlessui/blob/main/packages/@headlessui-react/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/headlessui/commits/@headlessui/react@v2.2.10/packages/@headlessui-react)

Updates `react-toastify` from 11.0.5 to 11.1.0
- [Release notes](https://github.com/fkhadra/react-toastify/releases)
- [Commits](https://github.com/fkhadra/react-toastify/compare/v11.0.5...v11.1.0)

Updates `@sentry/vite-plugin` from 5.1.1 to 5.2.0
- [Release notes](https://github.com/getsentry/sentry-javascript-bundler-plugins/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript-bundler-plugins/blob/main/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript-bundler-plugins/compare/5.1.1...5.2.0)

Updates `autoprefixer` from 10.4.27 to 10.5.0
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.27...10.5.0)

Updates `postcss` from 8.5.8 to 8.5.10
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.8...8.5.10)

Updates `puppeteer` from 24.40.0 to 24.42.0
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v24.40.0...puppeteer-v24.42.0)

Updates `typescript` from 6.0.2 to 6.0.3
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](https://github.com/microsoft/TypeScript/compare/v6.0.2...v6.0.3)

Updates `react` from 19.2.4 to 19.2.5
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v19.2.5/packages/react)

Updates `react-dom` from 19.2.4 to 19.2.5
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v19.2.5/packages/react-dom)

Updates `@docusaurus/core` from 3.9.2 to 3.10.0
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.10.0/packages/docusaurus)

Updates `@docusaurus/module-type-aliases` from 3.9.2 to 3.10.0
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.10.0/packages/docusaurus-module-type-aliases)

Updates `@docusaurus/plugin-client-redirects` from 3.9.2 to 3.10.0
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.10.0/packages/docusaurus-plugin-client-redirects)

Updates `@docusaurus/plugin-google-gtag` from 3.9.2 to 3.10.0
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.10.0/packages/docusaurus-plugin-google-gtag)

Updates `@docusaurus/preset-classic` from 3.9.2 to 3.10.0
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.10.0/packages/docusaurus-preset-classic)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 25.6.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: typescript
  dependency-version: 6.0.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: vite
  dependency-version: 8.0.10
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: vite-plus
  dependency-version: 0.1.19
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: vitest
  dependency-version: 4.1.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: vitest-image-snapshot
  dependency-version: 0.6.50
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@napi-rs/canvas"
  dependency-version: 0.1.99
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: pdfjs-dist
  dependency-version: 5.6.205
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: bwip-js
  dependency-version: 4.10.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: dompurify
  dependency-version: 3.4.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: lucide
  dependency-version: 1.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: antd
  dependency-version: 6.3.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: hotkeys-js
  dependency-version: 4.0.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: lucide-react
  dependency-version: 1.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: citty
  dependency-version: 0.2.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: vite-plus
  dependency-version: 0.1.19
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: vitest
  dependency-version: 4.1.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@headlessui/react"
  dependency-version: 2.2.10
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: react-toastify
  dependency-version: 11.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@sentry/vite-plugin"
  dependency-version: 5.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: autoprefixer
  dependency-version: 10.5.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: postcss
  dependency-version: 8.5.10
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: puppeteer
  dependency-version: 24.42.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: typescript
  dependency-version: 6.0.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: react
  dependency-version: 19.2.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: react-dom
  dependency-version: 19.2.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@docusaurus/core"
  dependency-version: 3.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@docusaurus/module-type-aliases"
  dependency-version: 3.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@docusaurus/plugin-client-redirects"
  dependency-version: 3.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@docusaurus/plugin-google-gtag"
  dependency-version: 3.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@docusaurus/preset-classic"
  dependency-version: 3.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-27 03:33:15 +00:00
hand-dot
758983d564 fix fmt 2026-04-20 17:01:39 +09:00
hand-dot
1e38ff416d fix(release): unblock 6.0.4 publish 2026-04-03 18:10:18 +09:00
hand-dot
22d4fd1f9e Fix playground CI rendering and E2E snapshots 2026-03-22 09:25:35 +09:00
hand-dot
cd3db68070 improve scripts 2026-03-21 10:20:23 +09:00
hand-dot
803cee2912 fix for warn log 2026-03-21 09:45:04 +09:00
hand-dot
3d87f977d6 use vp 2026-03-21 09:24:02 +09:00
hand-dot
6b06c606f7 Clean up playground deps and update converter docs 2026-03-20 23:16:12 +09:00
hand-dot
fc7567b879 Finish Phase 1 cleanup and verification 2026-03-20 22:58:47 +09:00
hand-dot
fc60395cac fix for playground test 2026-03-20 21:55:19 +09:00
hand-dot
f497bae137 Fix pdfjs worker and migrate playground tests to Vitest 2026-03-20 20:31:35 +09:00
hand-dot
6c4900f00e Complete pdf-lib and ui Vite build migration 2026-03-20 19:04:44 +09:00
hand-dot
400fe64dbd Migrate converter schemas and generator builds to Vite 2026-03-20 18:44:57 +09:00
hand-dot
5f70376d12 Fix Node pdf renderer and refresh snapshots 2026-03-20 18:13:04 +09:00
hand-dot
fe08c521ac Fix browser worker entry and refresh generator snapshots 2026-03-20 17:41:56 +09:00
hand-dot
ef0e60c808 Fix clean typecheck and upgrade converter renderer 2026-03-20 17:37:10 +09:00
hand-dot
982a3a0fcb Separate build tsconfig from typecheck aliases 2026-03-20 17:20:37 +09:00
hand-dot
19e6bfb68c Migrate converter and schemas tests to Vitest 2026-03-20 15:38:28 +09:00
hand-dot
58a8c712cb Add TypeScript project references 2026-03-20 15:10:39 +09:00
ryoppippi
38eeecb3ed chore: replace npm-run-all with npm-run-all2 (#1288)
* chore: replace npm-run-all with npm-run-all2

* chore: replace npm-run-all with npm-run-all2 and use run-p shorthand
2025-12-05 09:42:53 +09:00
Kyohei Fukuda
2a1ea0efea fix: Update getDocument calls to include data and isEvalSupported options (#1182) 2025-09-09 15:22:34 +09:00
Kyohei Fukuda
093f183d74 npm run prettier 2025-07-02 15:21:54 +09:00
hand-dot
314a82d64e Add image type detection for JPEG and PNG in img2pdf function 2025-04-05 22:13:57 +09:00
Devin AI
85025868d1 fix: replace file: references with wildcard (*) to fix pnpm compatibility (fixes #843)
Co-Authored-By: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>
2025-03-12 13:03:20 +00:00
devin-ai-integration[bot]
2857b05c08 Add size and margin options to img2pdf (#823)
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-08 17:04:30 +09:00
Kyohei Fukuda
e66cebceb3 Update PDF.js worker import paths and type assertions for compatibility 2025-03-07 11:25:23 +09:00
Kyohei Fukuda
9ecd6346a6 Update package dependencies to use local paths for common and converter packages 2025-03-06 10:17:31 +09:00
hand-dot
6d9f8ce4e0 Refactor: Change exported interfaces to internal in multiple files 2025-03-05 12:02:32 +09:00
devin-ai-integration[bot]
33b6d4f546 Fix linting errors in converter package (#805)
* Fix linting errors in converter package

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

* Fix TypeScript build errors in converter package

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

* Fix toBuffer method call in index.node.ts

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

* Fix error handling in converter package files as per PR comments

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-05 11:31:31 +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
Kyohei Fukuda
f134f15007 Fix formatting issues and ensure consistent use of commas in function parameters and object properties 2025-03-04 11:11:23 +09:00
Kyohei Fukuda
96a8eddf54 Add @types/jest dependency and refactor ArrayBuffer handling in img2pdf and useUIPreProcessor 2025-03-04 10:17:32 +09:00
Kyohei Fukuda
102ca8cc62 Fix eslint (#780)
* Refactor ESLint configuration: remove legacy .eslintrc.cjs files and replace with new .mjs configurations

* Remove unnecessary TypeScript ignore comments and simplify async calls in barcode tests

* Refactor date helper: remove TypeScript ignore comments and simplify AirDatepicker usage

* Enhance date helper: add AirDatepickerDate type and improve type annotations for onSelect callback

* Update TypeScript and ESLint configurations: change module to NodeNext, refine file patterns, and enhance lint command

* Refactor ESLint configuration: remove unnecessary language options for TypeScript files
2025-03-03 10:20:36 +09:00
Kyohei Fukuda
afbfa87674 [WIP] Add pdf2img integration for converting PDF to images in e2e tests (#774)
* Add pdf2img integration for converting PDF to images in e2e tests

* Refactor PDF generation tests to convert PDFs to images and validate against snapshots

* Refactor package.json files to remove "type": "module" and update import statements to CommonJS format

* Fix e2e test

* Add new image snapshots for e2e tests and remove obsolete snapshot
2025-03-01 16:24:01 +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
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
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
Kyohei Fukuda
3aacf2a9b1 Manipulator package (#712)
* TMP

* Implement PDF manipulation functions: merge, split, remove, insert, extract, rotate, and organize with initial test structure

* feat(manipulator): implement merge and split functions (#714)

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

* feat(manipulator): implement remove and insert functions (#715)

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

* feat(manipulator): implement extract and rotate functions (#716)

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

* feat(manipulator): implement organize function (#717)

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

* feat(manipulator): add clean and build scripts for manipulator package

* feat: update .gitignore to exclude repomix-output.txt files

* fix(manipulator): update import paths and improve code consistency

* Minor fix

* add tests

* test(manipulator): add visual snapshot testing to E2E tests

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

* fix(manipulator): update pdfToImages function to return Buffer array and add getPDFPageCount utility

---------

Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2025-02-16 13:34:26 +09:00
Devin AI
effb5b82f2 Setup for Devin 2025-02-15 06:17:04 +00:00
Kyohei Fukuda
24a48b2e24 fix: remove pdf support from image schema to decouple schemas from converter 2025-01-24 14:40:36 +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