1361 Commits

Author SHA1 Message Date
Pablo Alba
9653e72e47
♻️ Refactor variants
* ♻️ Refactor variants

*  Add MR changes
2025-03-24 13:15:02 +01:00
Andrey Antukh
b8c5a10551 💄 Add minor cosmetic changes to measures menu 2025-03-20 12:22:37 +01:00
Pablo Alba
625cbfc50a 🎉 Add variants properties to inspect panel 2025-03-18 09:52:32 +01:00
Andrey Antukh
e4c9b736f7 Merge remote-tracking branch 'origin/staging' into develop 2025-03-14 11:19:47 +01:00
Dalai Felinto
f450c9dbe3 🎉 Add support for WEBP format on shape export
It is very convenient to be able to export WEBP right from penpot.
Otherwise users have to first download to PNG then convert it locally.

---

Playwright only supports JPEG and PNG. So in order to support WEBP I had
to first generate a PNG and then convert it afterwards.

Signed-off-by: Dalai Felinto <dalai@blender.org>
2025-03-13 16:15:30 +01:00
alonso.torres
dcbf54fae1 🐛 Fix problem with readonly and inspect 2025-03-12 16:39:31 +01:00
Andrey Fedorov
5f3599eaa7 🐛 Fix token dimension application for all relatively positioned shapes 2025-03-10 13:29:10 +01:00
Pablo Alba
a99198de48 Filter variants on asset panel 2025-03-07 13:43:04 +01:00
Alejandro Alonso
e362f423c0 Merge remote-tracking branch 'origin/staging' into develop 2025-03-06 07:36:19 +01:00
alonso.torres
ce02cbc3f1 🐛 Fix problem with selection colors 2025-03-05 14:34:08 +01:00
Pablo Alba
44f1798dce 🐛 Fix add variant menu inside a variant 2025-03-04 17:34:04 +01:00
Pablo Alba
8eb2aaa0a8
🎉 Create a new variant from an existing one 2025-03-04 13:52:40 +01:00
Andrey Antukh
c9a8d2bd23
🚧 Tokens (part4) (#5952)
*  Use reduce-kv for creating tokens tree

Instead of reduce

*  Avoid double iteration on spliting text shapes from shapes

On processing color changes

* ♻️ Move the undo transaction out of transform-fill

The undo transaction is a high level construct and it should
be called from the first level events. Low level impl should
not handle transactions at all

*  Use low-level primitives for update-fill token event

* 📎 Add performance logging for style dictionary resolution

* 📎 Replace inline code with a helper

* ♻️ Refactor how fill and stroke color is applied on tokens

* 💄 Fix call convention for component-item-thumbnail component

*  Clean component thumbnail when frame change received

* 📎 Fix tests

---------

Co-authored-by: Eva Marco <evamarcod@gmail.com>
2025-02-28 09:47:13 +01:00
Belén Albeza
f7574009b5 🐛 Fix layout context menu width + position 2025-02-27 17:47:31 +01:00
Juanfran
fefb946a25
Merge pull request #5951 from penpot/juanfran-expand-padding-margin-apply-token
🐛 Expand padding/margin values on apply token and show 'Mixed' placeholder
2025-02-26 11:15:33 +01:00
Juanfran
2d857ecf2f 🐛 Expand padding/margin values on apply token and show 'Mixed' placeholder 2025-02-26 10:57:51 +01:00
Pablo Alba
6d40166de7
Remove menu options and shortcuts actions over variants 2025-02-25 10:11:14 +01:00
Andrey Antukh
1187d64f69 Merge remote-tracking branch 'origin/staging' into develop 2025-02-24 12:49:04 +01:00
Juanfran
9084c184e7
🐛 Filter out recent fonts from search results (#5927) 2025-02-24 09:12:12 +01:00
Marina López
702bd41047 🐛 Fix error when getting file from libs 2025-02-24 08:26:27 +01:00
Xavier Julian
ff121d2af5 💄 Differentiate empty and not empty token types 2025-02-20 14:12:51 +01:00
Pablo Alba
014c297458
🎉 Add drag components in or out a variant container 2025-02-20 10:05:01 +01:00
Andrey Antukh
60530a80d9 Merge remote-tracking branch 'origin/staging' into develop 2025-02-20 09:15:00 +01:00
Andrey Antukh
6e92e3b765 🐛 Fix inconsistency on naming
This also a fix of passing incorrect prop :shared-libs
to a component that already expectes :libraries.

It also removes unnecesary use of refs/libraries ref
2025-02-20 07:32:11 +01:00
Andrey Antukh
0e73de17ec 🐛 Fix incorrect libraries filtering on workspace 2025-02-20 07:32:10 +01:00
Andrey Antukh
d79fac7729 Merge remote-tracking branch 'origin/staging' into develop 2025-02-19 17:17:54 +01:00
Marina López
5f61254a75
🐛 Fix library button condition and copy (#5889)
* 🐛 Fix library button condition and copy

* 📎 Add changes from feedback

* 📎 Add changes from feedback
2025-02-19 16:52:35 +01:00
Pablo Alba
3268225941
🎉 Add variations POC 2025-02-17 16:47:25 +01:00
Eva Marco
6bb7fa26f4
🐛 Fix rename blocked boards (#5845) 2025-02-14 11:47:16 +01:00
Marina López
af93325fd9
🎉 Consolidate suggested libraries and add library button (#5828) 2025-02-13 20:06:28 +01:00
Pablo Alba
d836cc66da
🐛 Fix unable to drag & drop assets into/outside component groups (#5849) 2025-02-13 17:30:33 +01:00
Eva Marco
46d2359107
🐛 Fix empty translation strings (#5847) 2025-02-13 15:48:44 +01:00
Belén Albeza
2cbc09a0e2
🐛 Fix local library being collapsed by default (#5775)
* 🐛 Fix local library being collapsed by default

* ♻️ Move layers tab spec code to its own file
2025-02-06 09:28:51 +01:00
Belén Albeza
fe5de94db4
🐛 Fix "Mixed" not showing up for layout padding inputs (#5741)
* 🐛 Fix layout padding inputs not showing 'mixed' text

*  Add integration test
2025-02-03 09:51:26 +01:00
Andrey Antukh
a79315a61c ♻️ Move inspect code outside viewer 2025-01-31 12:24:48 +01:00
Andrey Antukh
8f37cd2c07 Add missing use-memo on page-menu 2025-01-29 21:20:44 +01:00
Andrey Antukh
01268ea14e Add major performance enhacements to shadow menu 2025-01-29 21:09:59 +01:00
Andrey Antukh
b449074425 ♻️ Refactor state management of shadow menu 2025-01-29 21:09:59 +01:00
Andrey Antukh
c504e38f6d 🐛 Fix incorrect key setup on color selection menu 2025-01-29 21:09:59 +01:00
Andrey Antukh
930ad359dd ♻️ Refactor color-row component to new style 2025-01-29 21:09:53 +01:00
Andrey Antukh
7809f2c7e4 💄 Convert color-selected-menu component to new style 2025-01-29 18:27:04 +01:00
Alonso Torres
c215214120
Add new components to storybook (#5632)
*  Add new components to storybook

*  Changes after review

*  More changes after review

*  Add file history components to the application

*  Unnest selector
2025-01-28 12:34:15 +01:00
Alonso Torres
92d14e38b5
🐛 Fix problem with multiple color changes (#5680)
* 🐛 Fix problem with multiple color changes

* 🐛 Fixes after review
2025-01-27 12:36:00 +01:00
Pablo Alba
8bee050b5b
🐛 On viewer role, start with inspect tab selected (#5676) 2025-01-27 11:45:22 +01:00
alonso.torres
2d58a5095c 🐛 Fix problems with components context menu 2025-01-27 09:32:12 +01:00
Marina López
25b89ec59f 🐛 added title to workspace page list to display long names 2025-01-24 10:36:09 +01:00
Andrey Antukh
dae7b7cd74 Merge remote-tracking branch 'origin/staging' into develop 2025-01-23 12:53:03 +01:00
luisδμ
1787653703
Merge pull request #5646 from penpot/ddb-frame-fit-content
 Resize frame to fit content
2025-01-23 09:56:11 +01:00
Eva Marco
9e47a70adf 🐛 Fix errors from editable select on measures menu 2025-01-22 18:20:49 +01:00
Alejandro Alonso
79df616108 🎉 Basic wasm support for svg attrs and svg defs 2025-01-22 15:47:36 +01:00