23 Commits

Author SHA1 Message Date
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