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

62 commits

Author SHA1 Message Date
Alex Sánchez
4b2e563070
refactor 2024-04-09 11:23:06 +02:00
Jordi Sala Morales
7c9dd0b76c
remove eslint disable (#12) 2024-04-09 10:21:55 +02:00
Jordi Sala Morales
bbaaeaebcc
Move to function component (#11) 2024-04-09 10:15:21 +02:00
Jordi Sala Morales
0d10f51238
move component out of the ui (#10) 2024-04-09 09:52:51 +02:00
Alex Sánchez
77cfd0b800
Merge pull request #8 from Runroom/hotfix/missing-fonts
Fix Missing Fonts
2024-04-09 09:48:02 +02:00
Alex Sánchez
3f0ca99640
fonts msg 2024-04-09 08:51:34 +02:00
Alex Sánchez
f9531f831c
Merge pull request #7 from Runroom/hotfix/structure
Modify folder structure
2024-04-09 08:07:01 +02:00
Jordi Sala Morales
6c50cb4a3d
ignore penpot.js 2024-04-08 16:06:07 +00:00
Jordi Sala Morales
939b9db597
modify structure 2024-04-08 16:04:11 +00:00
Alex Sánchez
9d1e0d2abc
Merge pull request #6 from Runroom/feature/converters
Updated structure
2024-04-08 17:51:42 +02:00
Alex Sánchez
c2d16dd3b0
updated structure 2024-04-08 17:50:01 +02:00
Alex Sánchez
cedb9fc85d
Merge pull request #4 from Runroom/feature/refactor
First Refactor
2024-04-08 17:05:56 +02:00
Alex Sánchez
6067b0c2ca
update export logic 2024-04-08 17:03:34 +02:00
Alex Sánchez
80ac20cd71
removed debug 2024-04-08 13:20:13 +02:00
Alex Sánchez
09e714afdc
Merge pull request #3 from Runroom/feature/figma-dynamica-load
Figma Dynamic Load
2024-04-08 13:08:05 +02:00
Alex Sánchez
a2cd0958bf
fix package.json 2024-04-08 12:51:35 +02:00
Alex Sánchez
6dbee90040
draft 2024-04-08 11:49:43 +02:00
Jordi Sala Morales
308fa93625
Update packages and add linters (#1)
* Configure linters

* Move to older eslint config, add stylelint, correct configuration for editorconfig

* simplify packages

* improve eslint config

* Fix typescript

* remove line

* github workflow

* package-lock.json

* lint fix

* make plugin compatible with Figma

* Add stylelint to ci

---------

Co-authored-by: Alex Sánchez <alejandro@runroom.com>
2024-04-08 11:43:30 +02:00
romachne
7dc730994f
🐛 Fix the use of empty styledTextSegments array (#31)
When a TextNode contains empty characters field, getStyledTextSegments returns empty array. This causes a TypeError, when we try to access the properties of the first element of this array.

This change adds a check if the first element of the styledTextSegments exists before using its properties.

Signed-off-by: Roma <romachne@gmail.com>
2023-11-03 11:35:17 +01:00
Valentina Chapellu
c64895f425
📚 Fix naming consistency (#27)
In the text, the repository is initially referred to as 'Penpot exporter', later this becomes 'Figma exporter'. In the installation instructions the example command is "cd Downloads/figma-exporter" while the default name given to the folder is "penpot-exporter-figma-plugin".

With this patch:
* I propose a fix to the naming inconsistency by always calling it 'Penpot exporter';
* I fix the folder name in the examples
2023-05-23 10:07:37 +02:00
Pablo Alba
7273579555 Fix typo on readme 2023-02-09 09:09:18 +01:00
Pablo Lizardo
6545e56b68
Update README.md internal links (#23)
Some internal links inside the Gerring started section were broken.
2023-02-09 09:08:19 +01:00
Pablo Alba
75dd6c7144
Update LICENSE 2023-02-07 15:52:31 +01:00
Ryan Breen
70ffc7bb77
List out fonts not in Penpot's default list (#20)
Help users avoid a confusing import experience by warning of any fonts that will need to be
added to Penpot since they aren't in the default gfont set.

Signed-off-by: Ryan Breen <rbreen@zmags.com>
Co-authored-by: Ryan Breen <rbreen@zmags.com>
2023-01-30 09:11:55 +01:00
Pablo Alba
14036905af 🐛 Fix invalid variant on google font 2023-01-13 14:34:02 +01:00
Candide U
5d930cbc72
Uploaded screenshot explaining import (#19)
* Create new.delete

* Upload photos from #5

* Delete new.delete

* Added image from #5

* Delete exporter dialog.png

* Delete Figma Plugins dialog with the Penpot exporter.png
2023-01-11 09:43:44 +01:00
Alejandro
6937cd8f12
Merge pull request #18 from ryanbreen/GH-17-invisible-fill-support
🐛 Support invisible fills by setting opacity to 0
2023-01-10 07:41:53 +01:00
Ryan Breen
c98236ef4e 🐛 Support invisible fills by setting opacity to 0
This supports invisible fills in Figma by setting their opacity to 0
when exporting to Penpot. Closes GH-17.

Signed-off-by: Ryan Breen <rbreen@zmags.com>
2023-01-05 08:42:31 -05:00
Pablo Alba
ac443b7047
Merge pull request #16 from ryanbreen/GH-15-text-decoration-and-transforms
🐛 Fix text transform and decoration
2023-01-05 09:02:19 +01:00
Ryan Breen
567a6711ea 🐛 Fix text transform and decoration
This change implements support for text casing and transformation
(underline / strikethrough).

Signed-off-by: Ryan Breen <rbreen@zmags.com>
2023-01-04 12:49:55 -05:00
Pablo Alba
12c918c16f
Merge pull request #14 from micahchoo/main
Edited for Readability for Beginners
2023-01-02 08:28:09 +01:00
micahchoo
dde4951e06
Update README.md 2022-12-30 19:02:02 -08:00
micahchoo
673480f68d
Merge pull request #1 from micahchoo/micahchoo-readme
Update README.md
2022-12-30 18:11:37 -08:00
micahchoo
9dbb1bdf45
Update README.md
Added beginner-friendly instructions
2022-12-30 18:06:06 -08:00
Alejandro
9697a4abb4
Merge pull request #11 from ryanbreen/nested-images-fix
🐛 Fix images nested in the node tree
2022-12-30 15:04:32 +01:00
Ryan Breen
78dbc18180 Clean up a stray dependency.
Signed-off-by: Ryan Breen <rbreen@zmags.com>
2022-12-29 14:15:57 -05:00
Ryan Breen
cac49c2e9e Convert Figma nodes with image fills into Penpot images by exporting the node to png
Signed-off-by: Ryan Breen <rbreen@zmags.com>
2022-12-29 14:05:42 -05:00
Ryan Breen
30b1f3d5b1 🐛 Fix images nested in the node tree
This fixes a bug where only top-level images in the node tree were
being added to the penpot export as images.  They were instead
treated as empty shapes.  Closes #10.

Signed-off-by: Ryan Breen <rbreen@zmags.com>
2022-12-11 12:15:50 -05:00
Pablo Alba
7cdbfe99c6
Merge pull request #9 from penpot/superalex-add-assets-library-support
🎉 Add assets library support
2022-12-05 19:52:47 +01:00
Alejandro Alonso
42d63b5595 🎉 Add assets library support 2022-12-05 09:29:36 +01:00
elhombretecla
b74fbbe3c5
Update README.md 2022-10-28 14:13:21 +02:00
elhombretecla
5472d7a20d
Update README.md 2022-10-28 14:12:52 +02:00
elhombretecla
49bcf3b100
Update README.md 2022-10-28 14:12:13 +02:00
elhombretecla
20a1b74dbc
Update README.md 2022-10-28 14:08:57 +02:00
elhombretecla
e281de193c
Update README.md 2022-10-28 14:08:36 +02:00
elhombretecla
40a3b6f059
Adds new readme image 2022-10-28 14:07:54 +02:00
Pablo Alba
b50a17f030 Cleanup 2022-10-26 13:11:19 +02:00
Pablo Alba
a78b98b5f5 Add check for figma.mixed in fills 2022-10-26 13:01:58 +02:00
Andrés Moya
881a13fb15 📚 Linkt to data model graphs 2022-10-14 16:20:51 +02:00
Pablo Alba
dcf6c353d8
Merge pull request #4 from penpot/dev-guide
📚 Add a developer guide
2022-10-14 12:43:27 +02:00