50 Commits

Author SHA1 Message Date
Xaviju
058a555594
🎉 Add shadow panel to inspect styles tab (#7566) 2025-10-22 12:17:14 +02:00
Xaviju
73222f22d0
🎉 Add stroke panel to inspect styles tab (#7408) 2025-10-02 13:58:08 +02:00
Xavier Julian
015bd9e453 🎉 Inspect styles tab: fill panel 2025-09-25 11:31:15 +02:00
Xavier Julian
2bf7a9dd5f ♻️ Remove unneeded fn parameters 2025-09-16 14:17:14 +02:00
Xavier Julian
7bacd8fbca ♻️ Refactor defmulti fn into case switches 2025-09-16 14:17:14 +02:00
Xavier Julian
55513b9ae5 🎉 Inspect styles tab: layout element panel 2025-09-15 13:39:00 +02:00
Xavier Julian
f4b38af649 Display border-radius as logical properties in inspect tab 2025-09-15 09:46:01 +02:00
Xavier Julian
0210b310b7 🎉 Inspect styles tab: layout panel 2025-09-12 10:27:41 +02:00
Andrey Antukh
f02667e031 Merge remote-tracking branch 'origin/staging' into develop 2025-08-11 09:12:03 +02:00
Alejandro Alonso
8e0a6e4123
🐛 Fix auto height is fixed in the HTML inspect tab for text elements (#7078) 2025-08-11 09:07:43 +02:00
Xaviju
dadeda4476
🐛 Display stroke properties in inspect tab (#6955) 2025-07-28 16:17:54 +02:00
Andrey Antukh
8aebe1a41e Merge remote-tracking branch 'origin/staging' into develop 2025-07-23 12:26:09 +02:00
Alejandro Alonso
9390c1e7be
🐛 Fix "Copy as SVG" generates different code from the Inspect panel (#6945) 2025-07-23 11:46:58 +02:00
Andrey Antukh
9ee488009f ♻️ Add substantial refactor on how types are organized
This mainly affects types related to colors, fills and texts, moving library
based operations from color namespace.
2025-07-23 08:03:23 +02:00
Xaviju
35f3125fff 🐛 Fix null when copying shadow color on inspect tab (#6923)
Co-authored-by: Xavier Julian <xaviju@proton.me>
2025-07-22 14:49:36 +02:00
Xaviju
ee23d72d13
🐛 Fix null when copying shadow color on inspect tab (#6923)
Co-authored-by: Xavier Julian <xaviju@proton.me>
2025-07-22 14:06:06 +02:00
Xavier Julian
0daa8be0b5 Add visibility group and attributes to info tab 2025-07-09 11:19:30 +02:00
Aitor Moreno
aaa57cb17f
🐛 Fix inline styles in code tab (#6428) 2025-05-20 10:05:35 +02:00
Elena Torró
f3040fc10d
🐛 Pass color format to css formatter (#5890)
* 🐛 Pass color format to css formatter

* 📎 Use get method to retrieve format

* 📎 Add UI test to check background color is correctly copied to clipboard when changing the format
2025-02-19 11:23:52 +01:00
alonso.torres
f86156b619 Plugins support for code generation 2024-06-24 15:26:21 +02:00
alonso.torres
e420be5e51 🐛 Fix problem ordering layers in html markup 2024-04-04 16:48:56 +02:00
alonso.torres
4ba7bf664b 🐛 Fix code generation format 2024-04-04 09:59:24 +02:00
alonso.torres
ecc61130ec 🐛 Fix problem when exporting html texts 2024-03-26 08:23:31 +01:00
alonso.torres
5c33bc6892 🐛 Make the layout boards export as responsive markup 2024-03-14 15:52:26 +01:00
Andrey Antukh
833871df65 💄 Format frontend code 2024-01-08 09:32:50 +01:00
alonso.torres
dc2c83bb62 🐛 Fix problems with absolute positioning and hidden elements 2023-12-07 16:54:48 +01:00
Alejandro Alonso
6bf7e95a74 🐛 Fix code gen when just one fill 2023-11-28 07:50:57 +01:00
Alejandro Alonso
5285e1a4dd Improving code gen for multiple fills 2023-11-22 23:08:47 +01:00
Andrey Antukh
52fbc678f3 ♻️ Move app.common.pages to app.common.files 2023-11-16 11:07:36 +01:00
alonso.torres
351f7fd1bb Create grid from selection 2023-10-25 15:03:09 +02:00
alonso.torres
5a9421a1e2 🐛 Fix problem with inspect 2023-10-20 13:04:33 +02:00
Eva
dfe1022d7b 💄 Update inspect tab in code area 2023-10-19 20:12:20 +02:00
alonso.torres
59bd9c132e 🐛 Fix fill inside grid layout 2023-10-06 14:56:04 +02:00
alonso.torres
950fd60917 🐛 Fix code generation for areas 2023-10-06 12:18:55 +02:00
alonso.torres
a45bc0177b 🐛 Fix problem with grid 2023-10-06 12:18:55 +02:00
alonso.torres
d420f30835 Grid area attributes for html generation 2023-10-06 12:18:55 +02:00
alonso.torres
7fd02022ac 🐛 Improve html generation 2023-10-02 12:36:41 +02:00
alonso.torres
9d05fdf3df 🐛 Fix some cases for the html preview 2023-09-27 13:27:14 +02:00
alonso.torres
641f8fb250 Dynamic preview html output 2023-09-25 15:26:49 +02:00
alonso.torres
723c14bef2 🐛 Fix problems with code generation 2023-09-25 15:26:49 +02:00
Andrey Antukh
c6e248b52f Add correct impl for is-direct-child-of-root? helper
And we restore the previously removed helper and incorrectly replaced by
the `is-direct-child-of-root?`.

In penpot exists two concepts: root and root-frame; root is the
artificially created shape that represents the ROOT, and root-frame
means a frame that is shape of frame type which is a direct children
of ROOT.
2023-09-01 12:47:18 +02:00
Pablo Alba
577c2b39dc ♻️ Rename helper root-frame? to is-direct-child-of-root? 2023-07-25 13:59:12 +02:00
Andrey Antukh
405aa66357 🎉 Add new shape & rect data structures
Also optimizes some functions for faster shape and rect props
access (there is still a lot of work ahead optimizing the rest of
the functions)

Also normalizes shape creation and validation for ensuring
correct setup of all the mandatory properties.
2023-07-11 17:27:35 +02:00
alonso.torres
ac184a7c8f Improved codegen 2023-07-10 14:49:25 +02:00
alonso.torres
30d78554c2 Improved code generation 2023-07-10 14:49:25 +02:00
alonso.torres
cb502fc70d Improved code gen 2023-07-10 14:49:25 +02:00
alonso.torres
ecc3b29996 Fix problem with rotated layers 2023-07-10 14:49:25 +02:00
alonso.torres
68c85c8fa5 Changes to transform 2023-07-10 14:49:25 +02:00
alonso.torres
3741a65276 Moved text styles to css when generating code 2023-07-10 14:49:25 +02:00
alonso.torres
a2c59acfa9 Update info panel 2023-07-10 14:49:25 +02:00