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

218 commits

Author SHA1 Message Date
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
4b711b3526
Refactor context (#139)
* Refactor context

* fix

* fix
2024-06-04 18:02:59 +02:00
Jordi Sala Morales
df30dfd376
Refactor UI code so it does not fail when exporting (#137) 2024-06-04 15:33:55 +02:00
Jordi Sala Morales
7895daaea8
Improve UX for larger files, when the download also takes time to process (#136)
* Improve UX for larger files, when the download also takes time to process

* add changelog
2024-06-04 12:44:02 +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
fd14e544b8
Ensure translation of symbols is consistent when using components (#134) 2024-06-03 17:44:03 +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
Jordi Sala Morales
a4113382bb
Little refactor (#132) 2024-06-03 13:52:50 +02:00
Alex Sánchez
90d6dfd95a
Filter missing component set (#131)
* filtering missing component sets

* fixes

* fixes

* fixes
2024-06-03 13:27:30 +02:00
Alex Sánchez
3f9189c7c1
Filtering design system nodes (#130)
* filtering design system nodes

* Delete .changeset/eight-berries-hunt.md
2024-06-03 10:06:18 +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
Alex Sánchez
f8e6b6ecd9
component set (#128) 2024-05-31 13:32:59 +02:00
Jordi Sala Morales
79f6ce80d2
Fix interface when exporting (#127) 2024-05-31 13:28: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
7b3192936e
Component Instances (#124)
* wip

* wip

* wipo

* more structure

* wip

* id library wip

* wip

* main instance working

* improvements

* fix node order

* refactor

* remove not used method

* refactor

* fix component set translation

* refactor

* add changelog

* penpot lib update

---------

Co-authored-by: Jordi Sala Morales <jordism91@gmail.com>
2024-05-30 17:54:37 +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
32aafbcf9d
Implement components (#106)
* Implement components

* fix

* revert

* wip

* wip

* wip

* 🎉 Finish create component operation

* minor fixes

* not needed, refactor

* refactor not needed

* refactor not needed

* remove deps

* add changelog

* fixes

* fixes

* fixes

* fix lint

* refactor ui-src

* further refactor

* refactor

* refactor

* more refactor

* refactor

* refactor

* penpot lib update

---------

Co-authored-by: Alex Sánchez <sion333@gmail.com>
Co-authored-by: Andrés Moya <andres.moya@kaleidos.net>
2024-05-29 12:52:21 +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
github-actions[bot]
fa1d25aeab
Version Packages (#119)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-27 18:22:04 +02:00
Jordi Sala Morales
044b09207b
Fix empty text layers (#120)
* Fix empty texts

* add changelog
2024-05-27 18:13:19 +02:00
Alex Sánchez
35d9d47e2a
fix frames fills and blendModes (#118) 2024-05-27 13:04:42 +02:00
github-actions[bot]
477291758e
Version Packages (#99)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-27 12:36:46 +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
aafb9cf342
updated copies for custom fonts help (#116) 2024-05-27 09:46:11 +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
Jordi Sala Morales
a734c8a6ac
decide to transform to path or group based on regions (#110) 2024-05-14 10:12:18 +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
Jordi Sala Morales
538c076374
Fix types (#107) 2024-05-13 14:04:33 +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
Jordi Sala Morales
887f0b9205
fix styles (#101) 2024-05-13 10:29:40 +02:00
Jordi Sala Morales
bff2157dc4
Minor improvements (#100) 2024-05-13 10:12:58 +02:00
Alex Sánchez
8d5c5c15eb
Dynamic plugin size calculation, and cap the height to a safe value (#98)
* dynamic size

* fixes

* fixes

* fix dynamic size

* add changelog

---------

Co-authored-by: Jordi Sala Morales <jordism91@gmail.com>
2024-05-13 10:08:26 +02:00
github-actions[bot]
7cae18460c
Version Packages (#97)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-10 15:31:08 +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
github-actions[bot]
f5a8b9ca6f
Version Packages (#79)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-09 17:05:06 +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
Jordi Sala Morales
ca540d00f4
fix url (#93) 2024-05-09 13:22:10 +02:00
Jordi Sala Morales
32e5d23495
temporary hide url with further instructions (#92) 2024-05-09 13:02:42 +02:00
Jordi Sala Morales
3ee244db92
New UI for the plugin (#90)
* add figma-create-plugin ui

* first attempt

* more changes

* update packages

* fix stuff

* implement reload action

* simplify code

* create wrapper

* fix logo

* adjust sizes

* add changelog

* update design again

* temporary fix

---------

Co-authored-by: Alex Sánchez <sion333@gmail.com>
2024-05-09 12:56:45 +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