380 Commits

Author SHA1 Message Date
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
da9fa31c27 ✨ Adds grid to the actibable features 2023-07-10 14:56:15 +02:00
alonso.torres
a70d909a25 ✨ Show grid layout on component thumbnails and empty grids 2023-07-10 14:49:25 +02:00
alonso.torres
34575b9413 ✨ Resize inspect on viewer 2023-07-10 14:49:25 +02:00
alonso.torres
a2c59acfa9 ✨ Update info panel 2023-07-10 14:49:25 +02:00
alonso.torres
e86939b8ee ✨ Improved flex tracks behavior and auto sizing 2023-07-10 14:49:24 +02:00
alonso.torres
06ab577e41 ✨ More improvements to layout grid UI 2023-07-10 14:49:24 +02:00
alonso.torres
b13db69cf9 ✨ Grid layout polishing 2023-07-10 14:49:24 +02:00
alonso.torres
03c64303f5 ✨ Support rotated UI 2023-07-10 14:49:24 +02:00
alonso.torres
7b410d46ec ✨ Editing on double click 2023-07-10 14:49:24 +02:00
alonso.torres
f920d4213e ✨ Fix problem with zoom 2023-07-10 14:49:24 +02:00
alonso.torres
0358eb51e8 ✨ Change behavior on empty grid creation 2023-07-10 14:49:24 +02:00
alonso.torres
cf4e2f91d1 ✨ Grid layout polishing 2023-07-10 14:49:24 +02:00
alonso.torres
b3b984d339 ✨ Add import/export svg for grid 2023-07-10 14:49:24 +02:00
alonso.torres
c31dc94496 ✨ Align items in grid layout 2023-07-10 14:49:24 +02:00
alonso.torres
47e927d571 ✨ Change column/row from cell options 2023-07-10 14:49:24 +02:00
alonso.torres
f5bb6b05f3 ✨ Add grid icons to layers 2023-07-10 14:49:24 +02:00
alonso.torres
5925d2520f ✨ Changes to the editor UI 2023-07-10 14:49:24 +02:00
alonso.torres
3c8934e847 ✨ Fill size for grid children 2023-07-10 14:49:24 +02:00
alonso.torres
0195165de0 ✨ Resize tracks from editor 2023-07-10 14:49:24 +02:00
alonso.torres
cdebf245e3 ✨ Multispan cells auto sizing 2023-07-10 14:49:24 +02:00
alonso.torres
0eff2e8887 ✨ Support for multi-track span in cells 2023-07-10 14:49:24 +02:00
alonso.torres
43d1f676ef ✨ Move shapes in grid 2023-07-10 14:49:24 +02:00
alonso.torres
2df40ad767 ✨ Adds grid column/row sizing without spanned tracks 2023-07-10 14:49:24 +02:00
alonso.torres
4bfe81f771 ✨ Enable grid editor 2023-07-10 14:49:24 +02:00
alonso.torres
996a614ed7 🐛 Fix grid not being cutted in frames 2023-07-07 10:18:28 +02:00
alonso.torres
302bfd3007 🐛 Fix problems with locked frames 2023-07-05 08:44:59 +02:00
Aitor
95f0f63276 🐛 Fix creation cursors not being displayed 2023-06-16 12:04:16 +02:00
Aitor
216454f66f ⚡ Add CSS cursor classes 2023-06-14 16:27:14 +02:00
Andrés Moya
9c79c80fd7 🐛 Detect correctly color of outlines and controls of components 2023-05-31 11:36:29 +02:00
Alejandro
3106058637
Merge pull request #3248 from penpot/azazeln28-refactor-unnecessary-encode-decode
♻️ Refactor svg to data-uri code
2023-05-26 11:10:45 +02:00
Aitor
4068413f9f ♻️ Refactor svg to data-uri code 2023-05-26 10:43:12 +02:00
Andrey Antukh
b85b479396 ✨ Add more improvements to workspace initialization 2023-05-26 08:04:01 +02:00
Andrey Antukh
bd834ba840 ✨ Improve component renaming process on workspace 2023-05-26 08:04:01 +02:00
Andrey Antukh
fcc4f4eed8 ⚡ Refactor state management of workspace assets sidebar 2023-05-26 07:57:28 +02:00
Pablo Alba
749fc61885 🐛 Fix right button in frame title produces an internal error 2023-05-24 17:17:35 +02:00
Alejandro Alonso
2801431fab Merge remote-tracking branch 'origin/staging' into develop 2023-05-24 11:00:54 +02:00
Pablo Alba
e8b87b0db1 🐛 Fix zooming while color picker breaks UI 2023-05-22 15:44:06 +02:00
Aitor
42cd9a59b9 🐛 Fix color picker broken images 2023-05-22 10:56:46 +02:00
Pablo Alba
b6d60773e3
Merge pull request #3220 from penpot/hiru-bugfixes
Component bugfixes
2023-05-18 11:09:34 +02:00
Andrey Antukh
049ebdd542 🐛 Fix intermitent exception on viewport ref ns 2023-05-17 16:05:31 +02:00
Andrey Antukh
5ca3d01ea1 🎉 Add malli based validation and coersion subsystem 2023-05-17 16:05:29 +02:00
Andrés Moya
8a42a53522 ✨ Notify library updates when really needed 2023-05-17 14:12:49 +02:00
Andrés Moya
25f7c14f97 🐛 Fix deactivation of show distances when alt-tab is used
Alt key with a shape selected activates show-distances mode.

If you press Alt+tab, in many window managers the window is switched,
and thus the alt keydown event is sent to other app and does not reach
Penpot. So, we need to deactivate the mode also on window blur.
2023-05-17 13:53:22 +02:00
Aitor
19727a648d ⚡ better rules performance 2023-05-04 12:46:37 +02:00
Pablo Alba
4f471f39da
Merge pull request #3166 from penpot/hiru-frame-titles
✨ Hide frame titles for component copies
2023-04-25 21:33:56 +02:00
Andrés Moya
b45bdb52b2 ✨ Hide frame titles for component copies 2023-04-25 11:55:03 +02:00
Andrés Moya
7c612d8bcf ✨ Give frames that are components more priority on selection 2023-04-25 11:21:24 +02:00
Alejandro Alonso
47b791e938 ✨ Board as ruler origin 2023-04-14 09:22:43 +02:00
Alejandro Alonso
ce341a05e1 Merge remote-tracking branch 'origin/staging' into develop 2023-04-13 16:34:22 +02:00