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

86 commits

Author SHA1 Message Date
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
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
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
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
3dec0a4520
fix blend modes translation (#71) 2024-04-26 08:11:52 +02:00
Jordi Sala Morales
b298dc6f85
Compile penpot.js from staging with latest changes applied (#60) 2024-04-23 10:08:40 +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
08473b5124
Update Types to 2.0.2 (#48)
* updated types

* minor fixes

* minor fixes
2024-04-18 16:36:49 +02:00
Jordi Sala Morales
737e6e1f08
remove @figma types from ui (#42) 2024-04-17 16:03:31 +02:00
Alex Sánchez
7856722ae5
Upgrade penpot.js to 2.0.2 (#40)
* structure for fills

* structure for fills in text and improvements

* fixes

* upgrade lib penpot to 2.0.2
2024-04-17 15:54:54 +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
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
Jordi Sala Morales
aec1c38e15
fix group and text 2024-04-16 09:24:53 +00:00
Jordi Sala Morales
5e13a45cf4
remove tood 2024-04-16 09:23:11 +00:00
Alex Sánchez
6f58a62dd5
minimal attributes 2024-04-15 17:33:16 +02:00
Alex Sánchez
2869673f9c
circle 2024-04-15 15:47:41 +02:00
Alex Sánchez
6f4c56bc2c
merge 2024-04-15 14:06:23 +02:00
Alex Sánchez
e3906b62e2
blend modes 2024-04-15 14:03:30 +02:00
Jordi Sala Morales
e6a86795e6
fix things related to types 2024-04-15 11:48:04 +00:00
Jordi Sala Morales
3738c3cc4f
avoid eslint errors 2024-04-15 11:36:37 +00:00
Jordi Sala Morales
1b29448831
improve types 2024-04-15 11:31:32 +00:00
Alex Sánchez
4724c97441
update shapes to 2.0.0 2024-04-15 13:11:24 +02:00
Alex Sánchez
6e545288a4
library update 2024-04-15 11:53:21 +02:00
Alex Sánchez
2744930ada
fixes 2024-04-15 10:57:50 +02:00
Alex Sánchez
3ec79dab48
fix 2024-04-15 10:17:28 +02:00
Jordi Sala Morales
c56fa92ea5
Upgrade library 2024-04-12 17:02:53 +00:00
Jordi Sala Morales
5c58d53e60
replace webpack for esbuild (#17) 2024-04-12 18:52:19 +02:00