0
Fork 0
mirror of https://github.com/penpot/penpot-exporter-figma-plugin.git synced 2024-12-22 13:43:03 -05:00
Commit graph

46 commits

Author SHA1 Message Date
Alex Sánchez
b85a4f7279
Autolayout (#151)
* wip

* added layout sizing

* layout positioning

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes
2024-06-14 10:18:34 +02:00
Jordi Sala Morales
6fc812a08f
Avoid adding indentation for texts with no indent (#156)
* Avoid adding indentation for texts with no indent

* fix previous changelog
2024-06-13 10:06:44 +02:00
Jordi Sala Morales
342ab90e69
Translate line endings done with shift+Enter in Figma (#154)
* Translate line endings done with shift+Enter in Figma

* add changelog
2024-06-13 09:10:11 +02:00
Jordi Sala Morales
1f8f4bf539
Add more loaders so we can track the progress better (#145)
* Add more loaders so we can track the progress better

* fix lint
2024-06-06 17:24:59 +02:00
Alex Sánchez
02fa3363f5
Constraints translation (#142)
* constraints translation

* fix lint

* fixes

* fix vector constraints

* fix lint
2024-06-06 12:17:17 +02:00
Alex Sánchez
be5ff3be8e
Remote components (External design systems) (#140)
* remote components processing

* changeset

* fixes

* fixes

* fixes

* fixes

* fix everything

* revert for now

* fixes

* change delete nodes flag

---------

Co-authored-by: Jordi Sala Morales <jordism91@gmail.com>
2024-06-06 09:37:35 +02:00
Jordi Sala Morales
3094f05e98
Optimize images before generating zip file (#141)
* Optimize images before generating zip file

* add changelog

* refactor

* fix lint
2024-06-05 12:36:49 +02:00
Jordi Sala Morales
8a86304fea
Improve performance of image processing (#135)
* Improve performance of image processing

* refactor

* add changelog
2024-06-04 08:02:46 +02:00
Jordi Sala Morales
f726dc9cec
Add image library to optimize performance (#133)
* Add image library to optimize performance

* fix and improve

* Add changelog and improve naming

* refactor

* improve

* fix todos
2024-06-03 17:29:33 +02:00
Alex Sánchez
92167aca42
Fix masks in components (#129)
* fix masks in components

* fixes

* fixes
2024-06-03 09:38:44 +02:00
Jordi Sala Morales
88b3e5f69c
Implement progress bar (#126)
* Implement progress bar

* remove postmessage
2024-05-31 11:25:32 +02:00
Alex Sánchez
5d4ace337b
Components Library (#125)
* components library management

* components library management

* fixes

* fixes
2024-05-29 17:33:29 +02:00
Jordi Sala Morales
5d7263bdbf
Allow rotation for Ellipses and Rectangles (#122)
* Allow rotation for Ellipses, Rectangles and Texts

* undo rotations for texts

* Translate rotations for ellipses and rectangles
2024-05-29 10:30:56 +02:00
Alex Sánchez
761093564b
Masked Groups (#114)
* masked groups

* changeset

* refactor

* refactor

* refactor

* fixes

* fixes

* wip

* try to fix

* refactor

* refactor for better undestanding of code

* refactor

* fix name

---------

Co-authored-by: Jordi Sala Morales <jordism91@gmail.com>
2024-05-27 11:50:59 +02:00
Alex Sánchez
36afc6da55
Boolean Groups (#115)
* wip

* wip

* fixes

* changeset

* fixes

* fixes

* fixes

* fixes

* minor fixes

* minor fixes
2024-05-27 10:05:23 +02:00
Alex Sánchez
cc5553ce7c
Refactor Strokes (#112)
* Wip

* refactor strokes

* fix

* fix

* fix

* refactor

* more refactor

* add changeset and fix issue fix line node

* refactor

* continue the refactor

* refactor fills

* fix

* wip

* try another approach

* refactor

* refactor

* more refactor

* refactor

* wip

* wip

* minor improvements

* minor fixes

* refactor

---------

Co-authored-by: Jordi Sala Morales <jordism91@gmail.com>
2024-05-21 14:36:30 +02:00
Alex Sánchez
3118d36f0a
Fills Refactor (#109)
* refactor

* changeset

* fixes
2024-05-13 17:04:13 +02:00
Alex Sánchez
23e97fb3d7
Gradients (#108)
* linear gradient

* radial gradients

* fixes

* fixes
2024-05-13 16:44:00 +02:00
Alex Sánchez
54df5ead1e
Fix Text Image Fills (#102)
* fix text image fills (pending on develop release in penpot app)

* changeset
2024-05-13 13:23:28 +02:00
Alex Sánchez
c71eb8e736
Layer Blur (#103)
* layer blur

* changeset
2024-05-13 13:23:19 +02:00
Jordi Sala Morales
2557cbdacc
Implement flatten (#105)
* Implement flatten

* fix comment

* Add changelog
2024-05-13 13:21:46 +02:00
Alex Sánchez
9355f282d0
Fixed line nodes (#96)
* fixed line nodes

* fixed line nodes

* changeset

* changeset

* Update .changeset/new-spiders-travel.md

Co-authored-by: Jordi Sala Morales <jordism91@gmail.com>

---------

Co-authored-by: Jordi Sala Morales <jordism91@gmail.com>
2024-05-10 11:08:00 +02:00
Alex Sánchez
dddc457281
Images (#89)
* wip

* wip

* fix something?

* wip

* wip

* wip

* fixes

* fixes

* stroke image

* wip

* fixes

* fixes

* remove old code

* fix translate fills

* remove penpot public uri

* remove old code

* fix return undefineds

* updated packages

* finish refactor

---------

Co-authored-by: Jordi Sala Morales <jordism91@gmail.com>
2024-05-09 16:59:27 +02:00
Alex Sánchez
a18f98151a
fixed lists (#91) 2024-05-08 12:11:41 +02:00
Jordi Sala Morales
2920ac297b
Implement unordered and ordered lists (#88)
* wip

* implement bullet points

* needs more ifs

* refactor

* revert

* refactor

* fix and refactor

* refactor

* refactor

* refactor

* add ordered class

* wip

* wip

* fixes

* package.json

* little refactors

* base list

* fixes

* abstract baselist

* refactors

* refactor

* changeset

* fix eslint issue

* fix

* fixes

* fixes

---------

Co-authored-by: Alex Sánchez <sion333@gmail.com>
2024-05-07 12:18:15 +02:00
Jordi Sala Morales
afa47af0a6
Refactor and simplify code (#85) 2024-05-06 08:06:14 +02:00
Alex Sánchez
c013e80962
Custom Fonts (#82)
* wip

* moved logic to validate custom fonts

* missing fonts section

* lint

* refactor and improve

* simplify resize

* refactor

* Implemente custom fonts

* styling plugin

* styling plugin

* minor styling fix

* changeset

* fix

* fix eslint

---------

Co-authored-by: Jordi Sala Morales <jordism91@gmail.com>
2024-05-03 13:43:07 +02:00
Alex Sánchez
4ded73e0e9
Paragraph Spacing & Indent (#84)
* paragraph space and paragraph indent

fixes

fixes

fine tuning

fine tuning

fine tuning

fine tuning

fixes

* wip

* fix

* paragraph space and paragraph indent

* changeset

* Delete .changeset/new-walls-sort.md

---------

Co-authored-by: Jordi Sala Morales <jordism91@gmail.com>
2024-05-03 13:23:07 +02:00
Alex Sánchez
58f7b0ab2c
Local Fonts (#81)
* moved validate font logic

* google fonts working

* fixes

* minor improvements

* fix linter

* local fonts

* fixes

* Changeset

* changeset

* refactor

* refactor

* update branch

* minor fix

* move files around

* try to refactor

* refactor

* add todo

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor move files to their concrete location

---------

Co-authored-by: Jordi Sala Morales <jordism91@gmail.com>
2024-04-30 08:00:11 +02:00
Alex Sánchez
8021da2623
Google Fonts (#80)
* moved validate font logic

* google fonts working

* fixes

* minor improvements

* fix linter

* fixes

* Changeset

* refactor

* refactor

* move files around

---------

Co-authored-by: Jordi Sala Morales <jordism91@gmail.com>
2024-04-29 15:44:49 +02:00
Jordi Sala Morales
881ccabe86
Added text basic properties (#61)
* fixes in text nodes

* fix comment

* allow design.penpot.app

* wip

* wip

* add position data

* wip agaaain

* added translate growtype

* use a random url just to get a 404 on gfonts call

* leave the config, just in case someone wants to try it

* translated line height & letter spacing; Created new type for text positionData

* text strokes

* several fixes

* compiled penpot lib with fix

* updated penpot lib

* fix lint

* remove proxy

* correctly translate font style

* fix grow type to reflect vertical trim

* Fix font segments

* remove comment

* changeset

---------

Co-authored-by: Alex Sánchez <sion333@gmail.com>
2024-04-29 10:17:08 +02:00
Alex Sánchez
92e0b6f026
Fixed arrows strokecaps (#68)
* fixed arrows strokecaps

* fixed arrows strokecaps
2024-04-24 16:29:24 +02:00
Jordi Sala Morales
e732887399
Add shadows to the export (#58) 2024-04-22 14:35:59 +02:00
Alex Sánchez
30a64ed1b3
Added support for background in pages (#56)
* added support for background in pages

* minor fix

* removed eslint ignore
2024-04-22 10:52:25 +02:00
Jordi Sala Morales
f469fc1f37
avoid error when unsupported nodes, fills or other kind of elements. Improve error messages (#49) 2024-04-19 09:48:19 +02:00
Alex Sánchez
c114bd0b98
Strokes (#44)
* strokes

* adjust a few types

* simplify

---------

Co-authored-by: Jordi Sala Morales <jordism91@gmail.com>
2024-04-18 09:42:45 +02:00
Alex Sánchez
244ea64746
New SVG Path lib (#41)
* new svg path lib

* minor fixes
2024-04-17 15:58:52 +02:00
Alex Sánchez
e2b5b4a7ea
Solid Fills (#39)
* structure for fills

* structure for fills in text and improvements

* fixes

* improvements
2024-04-17 15:27:53 +02:00
Alex Sánchez
c9f8a0dcd2
Vectors - Line & Arrow (#37)
* lines & arrows draft

* simplify vectors

* try to refactor

* remove comments

* add more clarity to code

* fix translate strokes

* minor style fix

* fix for vectors without geometry

* reduce code

---------

Co-authored-by: Alex Sánchez <alejandro@runroom.com>
Co-authored-by: Jordi Sala Morales <jordism91@gmail.com>
2024-04-17 10:53:38 +02:00
Jordi Sala Morales
73ccf83657
Vectors - Pen & pencil (#35)
* path shapes

* add polygon node

* wip vector

* implement translation of commands and paths

* vectors and polygon

* strokes

* star

* deformed shapes

* simplify star

* simplify star

* fix transformers

---------

Co-authored-by: Alex Sánchez <sion333@gmail.com>
2024-04-16 16:08:39 +02:00
Alex Sánchez
27b453b4d7
blend modes fix 2024-04-15 17:35:26 +02:00
Alex Sánchez
57c1fd356b
fix 2024-04-15 14:07:32 +02:00
Alex Sánchez
e3906b62e2
blend modes 2024-04-15 14:03:30 +02:00
Alex Sánchez
b338027e74
custom gradient 2024-04-15 10:06:19 +02:00
Alex Sánchez
f1e6f76c4f
custom gradient 2024-04-15 09:48:03 +02:00
Jordi Sala Morales
5c58d53e60
replace webpack for esbuild (#17) 2024-04-12 18:52:19 +02:00