Commit Graph

38 Commits

Author SHA1 Message Date
Kyohei Fukuda
5ff7c4e8e0 add table from schemas package 2024-09-12 09:17:13 +09:00
Kyohei Fukuda
bdeaf9076d Minor fix for playground 2024-09-11 21:33:07 +09:00
Kyohei Fukuda
2880736884 Fix routing error in playground 2024-09-11 10:36:57 +09:00
Kyohei Fukuda
54b813c44b Fix table layout bug (#589)
* Fix table layout bug

* Update snapshot

* Move cloneDeep to common

* Minor fix

* revert some test pdf

* add test

* Minor fix

* Minor fix

* Minor fix

* refactoring
2024-09-10 20:49:52 +09:00
Kyohei Fukuda
11d41411e8 Integrate the ReadOnly schema (#547)
* IMPL

* Remove read-only schema from playground

* Support read-only in multiVariableText schema

* Change readOnly checkbox

* Minor fix

* revert MVT changes

* Fix for MVT

* Minor fix
2024-08-10 16:09:11 +09:00
Kyohei Fukuda
150557e433 Prevent the browser from displaying fallback fonts for glyphs that don't exist in the fonts loaded into pdfme/ui #516 (#531)
* TMP

* Minor fix
2024-08-01 08:54:36 +09:00
Peter Ward
8409a7d881 Add a required attribute to fields which is validated by the designer (#521) 2024-07-30 14:46:56 +01:00
Kyohei Fukuda
7a533d4de5 Minor fix playground 2024-07-26 09:48:18 +09:00
Peter Ward
abfaf7be83 Move icon definition to plugin instead of schema (#522)
* move icon definition to plugin instead of schema
allow options to override icon

* f
2024-07-26 09:38:59 +09:00
Kyohei Fukuda
371a0d37a0 chore: add PDFME_VERSION to playground nav (#517) 2024-07-24 11:10:36 +09:00
Peter Ward
aeec3aff96 Multi-variable Text Schema (again) (#502) 2024-07-21 09:50:16 +01:00
Kyohei Fukuda
8735c85811 Fix - When a large number of plugins are set, the left sidebar of the designer overflows. (#506)
* fix bug

* Update Designer test snapshot
2024-07-20 17:24:23 +09:00
Peter Ward
56316576c8 MISC fix playground height, fix spacing of text prop panel items (#501) 2024-07-19 09:48:15 +09:00
Sebastian Moßburger
da7f7cfb0b fix(common): Move typing dependencies to peer (#477)
* fix(dep): Remove antd as direct dependency of common

* Move form-render to peer as well

* update esbuild

---------

Co-authored-by: Kyohei Fukuda <kyoheif@wix.com>
2024-06-01 09:11:50 +09:00
Kyohei Fukuda
b94e506edc Add Spanish (es) language for Playgroud 2024-04-29 17:35:25 +09:00
Kyohei Fukuda
433305a474 Update language translations and add support for Chinese (zh) and Korean (ko) languages. (#475) 2024-04-29 17:30:37 +09:00
Kyohei Fukuda
561d353241 Change link fo playground 2024-04-20 15:52:14 +09:00
Kyohei Fukuda
5e79f7a0ed minor fix for playground 2024-04-20 15:41:29 +09:00
Kyohei Fukuda
40cc703f2c Minor fix for Upgrade to V4 2024-04-11 09:57:35 +09:00
Kyohei Fukuda
a3a2b0bdc6 [WIP] V4 (#427)
* Reconsider the internal data types and the template types (#389)

* Change SchemaForUI's data and readOnlyValue to content

* Fix bug

* Remove sampledata and instead always use content. & Use content regardless of readOnly or not. & Eliminate defaultValue and replace it with always using content.

* Change website template

* Fix placeholder bug

* Change generator test template

* Change content to optional

* Move getInputFromTemplate to common

* Remove columns

* Fix test

* move dynamictable.excalidraw

* remove idea dir

* New basePdf type and Support adding new pages to template (#394)

* Minor fix

* IMPL Support adding new pages to template #111

* Fix test

* Minor fix

* IMPL padding behavior

* Update snapshot

* Minor fix

* Update snapshot

* add i18n

* remove option from BlankPdf.padding

* Minor fix

* Minor fix

* format

* Add changeSchemas unit test (#403)

* Minor fix

* Add a version number to pdfme template from V4 onwards (#404)

* Impl

* Minor fix

* Padding move width (#407)

* Refactor position and size handling in helper.ts

* Fix bug

* Add DynamicTable Schema #332 (#408)

* [tmp] add some comment

* Update snapshot

* Add deploy-table script to package.json

* add new template for playground

* bug fix for form

* fix cell editing bug

* Fix Adding rows doesn't change the overall height of the table

* fix padding problem

* Fix build error

* Fix bug

* Minor fix

* Fix New lines not reflecting correctly

* minor fix

* Minor fix

* Change tableStyles def

* add i18n

* small bugfix

* FIx some TODO

* Remove japanese comment

* Minor fix

* Fix infinity loom for form

* fix save inputs bug

* fix window resize bug

* add skip for failing test and update snapshot

* Minor fix

* add presets for playground

* Minor fix

* Reconsider the internal data types and the template types (#389)

* Change SchemaForUI's data and readOnlyValue to content

* Fix bug

* Remove sampledata and instead always use content. & Use content regardless of readOnly or not. & Eliminate defaultValue and replace it with always using content.

* Change website template

* Fix placeholder bug

* Change generator test template

* Change content to optional

* Move getInputFromTemplate to common

* Remove columns

* Fix test

* move dynamictable.excalidraw

* remove idea dir

* New basePdf type and Support adding new pages to template (#394)

* Minor fix

* IMPL Support adding new pages to template #111

* Fix test

* Minor fix

* IMPL padding behavior

* Update snapshot

* Minor fix

* Update snapshot

* add i18n

* remove option from BlankPdf.padding

* Minor fix

* Minor fix

* format

* Add changeSchemas unit test (#403)

* Minor fix

* Add a version number to pdfme template from V4 onwards (#404)

* Impl

* Minor fix

* Padding move width (#407)

* Refactor position and size handling in helper.ts

* Fix bug

* Add DynamicTable Schema #332 (#408)

* [tmp] add some comment

* Update snapshot

* Add deploy-table script to package.json

* add new template for playground

* bug fix for form

* fix cell editing bug

* Fix Adding rows doesn't change the overall height of the table

* fix padding problem

* Fix build error

* Fix bug

* Minor fix

* Fix New lines not reflecting correctly

* minor fix

* Minor fix

* Change tableStyles def

* add i18n

* small bugfix

* FIx some TODO

* Remove japanese comment

* Minor fix

* Fix infinity loom for form

* fix save inputs bug

* fix window resize bug

* add skip for failing test and update snapshot

* Minor fix

* add presets for playground

* Minor fix

* Minor fix

* Update imports and fix font rendering

* Add a Left Sidebar for Placing Schemas #400 (#452)

* Remove original 'Add new field' Button

* add icon

* FIx drag position bug

* Minor fix

* Fix sidebar position

* Update snapshot

* Minor fix

* Update packages/ui/src/components/Designer/index.tsx

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

---------

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

* Fix test

* Improve left sidebar icon drop placement accuracy (#454)

* Fix Spanish translations for v4 (#463)

* Fix #431

* V4 (#467)

* feat: add french language

* feat: relecture

* feat: add french language

---------

Co-authored-by: regis <regis>

* Add French language option to playground

* rename table export name to tableBeta

---------

Co-authored-by: Peter Ward <pete@pennyblack.io>
Co-authored-by: Iker Diez <32014358+ikerd@users.noreply.github.com>
Co-authored-by: Régis <regis.charnace@leandco.fr>
2024-04-11 09:43:36 +09:00
Kyohei Fukuda
d66c92b5bf Update website docs 2023-12-23 19:15:29 +09:00
Kyohei Fukuda
700a088527 Add ReadOnly Schemas (#386)
* TMP

* IMPL

* Remove console.log statement in imageSize function

* TMP add test

* Update @pdfme/pdf-lib

* Update package-lock.json

* Update snapshot
2023-12-23 17:21:35 +09:00
Kyohei Fukuda
e1ce94c4ec Add SVG Schema (#384)
* TMP

* Impl SVG schema in the schemas package

* Update @pdfme/pdf-lib to version 1.18.1

* Change image schema

* Update devBuild:watch script in package.json
2023-12-22 00:12:12 +09:00
Kyohei Fukuda
0329cb7e8e Add Ellipse and Rectangle Schema (#375)
* TMP

* TMP

* Stopped inefficient file splitting and bugfix for readonly

* add rectangle schema

* TMP

* TMP

* move some files and i18n

* Add shapes template to generator

* Bugfix

* Import Improve the UX for adding an image #380
2023-12-19 22:04:09 +09:00
Kyohei Fukuda
cfeb899ad5 Add Line schema (#351)
* Minor fix

* TMP

* Update background color in Designer and Preview
components

* TMP

* TMP

* Add Line schema

* Minor fix

* Fix: Emptying the image field triggers a HTTP request #325

* Minor fix

* Minor fix

* Minor fix
2023-12-16 23:19:04 +09:00
olga-krayevska
e279f8046d german language supprot added (#364)
* german language supprot added

* german language supprot: after review translation update
2023-12-13 17:16:01 +09:00
Peter Ward
36e8f2c6fb Refactor to remove inefficient useEffect with side effects (#356)
* refactor to remove inefficient useEffect with side effects

* f
2023-12-06 17:02:26 +09:00
Peter Ward
682282a998 Added opacity option to all schemes and fix rotation bugs (#338)
* Added opacity option to all schemes

(cherry picked from commit 9a8b877403)

* IMPL

* Refactor nested position object into flat
structure

* added step props for number inputs that need it

---------

Co-authored-by: Leandro Banaszeski <leandrobanaszeski@gmail.com>
Co-authored-by: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>
2023-12-05 09:09:29 +09:00
Daniel Kastl
5849e5d873 Fix/reviews development instructions (#346)
* Fixes syntax and command

Signed-off-by: Daniel Kastl <daniel@georepublic.de>

* Prevents esbuild install error

Signed-off-by: Daniel Kastl <daniel@georepublic.de>

---------

Signed-off-by: Daniel Kastl <daniel@georepublic.de>
2023-12-02 09:18:48 +09:00
Kyohei Fukuda
6d823cf007 Fix error (#339) 2023-11-27 09:37:25 +09:00
Kyohei Fukuda
0bb94190ee IMPL (#333) 2023-11-25 12:32:11 +09:00
Kyohei Fukuda
52d35b0e82 Custom label UI 107 (#323)
* TMP

* TMP

* TMP

* TMP

* TMP

* TMP

* Done

* Fix bug: updateOptions

* Update comment
2023-11-20 19:39:48 +09:00
Kyohei Fukuda
66553edf20 Custom Design for UI#243 (#322) 2023-11-19 18:21:41 +09:00
Kyohei Fukuda
69f662ee01 change ui bundler vite to esbuild 2023-11-16 15:00:24 +09:00
Kyohei Fukuda
3723ea2145 Change some docs 2023-11-09 10:54:54 +09:00
Kyohei Fukuda
c6c3a12675 Update website setting 2023-11-09 10:18:10 +09:00
Kyohei Fukuda
e578d8d53b Remove unused fonts 2023-11-09 09:23:59 +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