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

278 commits

Author SHA1 Message Date
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
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
github-actions[bot]
942b39370f
Version Packages (#77)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-29 08:54:43 +02:00
Alex Sánchez
59d70d2510
Fix vector shapes to be more precise with what you draw on figma (#76)
* draft

* Add changelog

---------

Co-authored-by: Jordi Sala Morales <jordism91@gmail.com>
2024-04-26 17:09:57 +02:00
github-actions[bot]
7ed24ea0dd
Version Packages (#72)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-26 08:20:22 +02:00
Alex Sánchez
3dec0a4520
fix blend modes translation (#71) 2024-04-26 08:11:52 +02:00
github-actions[bot]
e42ff510aa
Version Packages (#59)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-25 17:19:36 +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
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
c464ff9bda
Added support for corner radius (#57)
* added support for corner radius

* added support for corner radius

* minor fix

* added changelog to prettierignore
2024-04-22 12:50:38 +02:00
Pablo Ruiz Múzquiz
47c3e52016
Merge pull request #53 from penpot/changeset-release/main
Release
2024-04-22 11:29:50 +02:00
github-actions[bot]
e3c4340090 Version Packages 2024-04-22 08:52:54 +00: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
50c359ee37
Fix changelog format (#55) 2024-04-19 13:38:46 +02:00
Jordi Sala Morales
e9ec609a9e
Add changelog for the initial release (#54) 2024-04-19 13:29:30 +02:00
Jordi Sala Morales
4cb8db5332
Merge pull request #52 from penpot/dev
Plugin relaunch, initial setup, features and refactoring
2024-04-19 13:23:41 +02:00
Jordi Sala Morales
7a7ad6ae60
Add release management with changelog (#46)
* Add release management with changelogs

* wip

* fix workflows

* ignore changeset folder

* fix release workflow
2024-04-19 13:21:32 +02:00
Alex Sánchez
0be073012d
added proportion lock to all current nodes that support it (#51) 2024-04-19 12:18:12 +02:00
Alex Sánchez
44d691e7c3
fixed clip content in frames (#50) 2024-04-19 11:40:50 +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
3dc9559618
Add plugin id (#47) 2024-04-18 15:51:06 +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
Jordi Sala Morales
798e50a69c
Execute pipelines on dev branch too (#43) 2024-04-17 16:05:56 +02:00
Jordi Sala Morales
737e6e1f08
remove @figma types from ui (#42) 2024-04-17 16:03:31 +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
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
ebdf3ad9c3
Frames & Sections (#38)
* Implement Frames and Sections exportation

* add blend modes
2024-04-17 11:38:13 +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
cfbd196872
Merge pull request #21 from Runroom/feature/rect-shape
Rectangle & Circle
2024-04-16 11:26:03 +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
7f87c1e199
removed rotations 2024-04-16 11:11:58 +02:00
Jordi Sala Morales
9df47e496f
madness 2024-04-16 08:46:12 +00:00
Alex Sánchez
eca913eadc
fix rotation matrix 2024-04-16 10:20:57 +02:00
Alex Sánchez
440ce8f4eb
fix rotation matrix 2024-04-16 10:17:28 +02:00
Jordi Sala Morales
dbd0d7f5bd
try to rotate 2024-04-15 16:50:58 +00:00