3233 Commits

Author SHA1 Message Date
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
Andrés Moya
8d5c95dd64 🐛 Micro fix in validate functions 2023-09-25 09:54:10 +02:00
Pablo Alba
4ac2a64a2a 🐛 Fix when duplicating a main component all internal shapes are marked as :main-instance 2023-09-22 11:31:33 +02:00
Andrés Moya
de8758c4ca 🐛 Fix added children detection in fix-touched script 2023-09-22 11:25:48 +02:00
Andrey Antukh
a2e3da2c07 🐛 Treat vendor specific props correctly on attrs->props 2023-09-21 12:15:13 +02:00
Andrey Antukh
896602903f 🐛 Fix incorrect value processing on attrs->props
Causes unexpected exception on saving migrated files
2023-09-21 12:15:13 +02:00
Andrés Moya
1fa8888bf3 🐛 Fix validation 2023-09-21 11:12:16 +02:00
Andrey Antukh
4f23852bca ✨ Improve svg shapes attrs handling
And collaterally it improves performance since now the attrs
processing is done in the import and not in the render.
2023-09-21 11:00:33 +02:00
Andrey Antukh
aa8300c085 ✨ Move util.svg to common.svg and make it crossplatform 2023-09-21 11:00:33 +02:00
Andrés Moya
878f1d4090 ✨ Enhance validation script 2023-09-21 10:16:30 +02:00
Andrés Moya
836b4538dd ✨ Add validate & repair functions 2023-09-20 15:40:43 +02:00
alonso.torres
f004aa5efd 🐛 Fix problems with boards 2023-09-20 14:21:49 +02:00
alonso.torres
e5b05eff23 🐛 Fix problem when creating groups inside grid 2023-09-20 14:21:49 +02:00
alonso.torres
9d6bd64027 🐛 Fix problem with changes builder 2023-09-20 09:54:46 +02:00
alonso.torres
52cbc7e09d ✨ Margins for grid elements 2023-09-18 14:08:51 +02:00
alonso.torres
17f35cda15 ✨ Multiple cells selection and area 2023-09-18 14:07:53 +02:00
alonso.torres
322767701c ✨ Highlight on track hover 2023-09-18 14:07:37 +02:00
alonso.torres
495ba6e4a4 ✨ Reorder grid tracks 2023-09-18 14:04:16 +02:00
Andrey Antukh
630a347184 ✨ Add support for svg optimizations on exporter output
Under `enable-exporter-svgo` flag, disabled by default.
2023-09-15 15:00:58 +02:00
Andrey Antukh
a2e26b8beb ✨ Add bundled svgo library and expose it on common module
The svgo bundle is included directly as esm module, no npm dependency
here because the module is bundled from a custom fork located on penpot
github organization:

   https://github.com/penpot/svgo
2023-09-15 15:00:58 +02:00
Alejandro Alonso
175072f546 Merge remote-tracking branch 'origin/staging' into develop 2023-09-15 12:23:27 +02:00
Andrey Antukh
3f3e3e8a81 Revert "✨ Add bundled svgo library and expose it on common module"
This reverts commit 3877eccc2970d47c8e196f24cb8415918a69d658.
2023-09-15 12:19:34 +02:00
Andrey Antukh
9d090ad3d9 Revert "✨ Add support for svg optimizations on exporter output"
This reverts commit 9fc771292ae5420547535055ab0390e5c0806bc2.
2023-09-15 12:19:17 +02:00
Alejandro
aa62b9d248
Merge pull request #3628 from penpot/niwinz-develop-bugfixes-4
⚡ Don't render not visible shapes on workspace
2023-09-15 11:11:05 +02:00
Alejandro Alonso
826b96ad6c Merge remote-tracking branch 'origin/staging' into develop 2023-09-15 10:51:05 +02:00
Andrey Antukh
9fc771292a ✨ Add support for svg optimizations on exporter output
Under `enable-exporter-svgo` flag, disabled by default.
2023-09-14 19:08:39 +02:00
Andrey Antukh
3877eccc29 ✨ Add bundled svgo library and expose it on common module
The svgo bundle is included directly as esm module, no npm dependency
here because the module is bundled from a custom fork located on penpot
github organization:

   https://github.com/penpot/svgo
2023-09-14 19:08:39 +02:00
Andrey Antukh
1b889cb141 📎 Add proper logging level for file migrations info 2023-09-14 17:43:19 +02:00
Alejandro
a4754a2106
Merge pull request #3599 from penpot/niwinz-develop-experiments-3
🐛 Replace `:use-for-thumbnail?` with `:use-for-thumbnail`
2023-09-14 06:39:06 +02:00
Andrey Antukh
ac4343dafd ⚡ Don't render not visible shapes on workspace 2023-09-13 16:36:49 +02:00
Andrey Antukh
db5621f4ae Revert "⚡ Don't render not visible shapes on workspace"
This reverts commit a01c64ea576a3ea76033317f43b2ab83c86bfeae.
2023-09-13 13:54:40 +02:00
Pablo Alba
88390432f5 🐛 Fix export file with components as basic objects 2023-09-13 09:50:27 +02:00
Pablo Alba
fe36a9e958 ✨ Assets groups review 2023-09-12 16:19:09 +02:00
Alejandro Alonso
fbff2f103e ✨ Select through stroke only rectangle 2023-09-12 11:59:41 +02:00
Andrés Moya
b943a034c9 🐛 Fix CI 2023-09-12 11:15:51 +02:00
Andrés Moya
51ab11e91e 🐛 Use helper to normalice behavior of component display in dump_tree 2023-09-12 09:53:41 +02:00
Andrey Antukh
b158a82a84 💄 Fix indentation on page helpers 2023-09-06 14:42:31 +02:00
Andrey Antukh
36506ec360 🐛 Replace :use-for-thumbnail? with :use-for-thumbnail 2023-09-05 12:01:40 +02:00
Andrey Antukh
a01c64ea57 ⚡ Don't render not visible shapes on workspace 2023-09-04 17:37:08 +02:00
Andrey Antukh
5b3e12bb9c ♻️ Refactor change builder for make it more efficient
Mainly replaces the usafe of the inneficient d/preconj helper
with a combination of conj and simple list as data structure whitch
maintains the previous ordering semantics on addition.

Also removes the d/preconj from the codebase.
2023-09-04 15:48:34 +02:00
Andrey Antukh
4e974cd2f3 🐛 Fix typo on has-point? impl 2023-09-04 15:33:04 +02:00
Andrey Antukh
b68b802b6d 🐛 Fix shape radius type toggle on workspace 2023-09-04 12:04:15 +02:00
Andrey Antukh
bd734c1095 🐛 Fix log level setting on file migrations ns 2023-09-04 12:04:15 +02:00
Andrey Antukh
6a3b963a77 🐛 Add migration that fixes all frames that does not have :shapes attr 2023-09-04 12:04:15 +02:00
Andrey Antukh
a097ed29a9 ✨ Fix extensibility and naming of workspace shape fixer 2023-09-04 12:04:15 +02:00
Alejandro Alonso
07562af677 Merge remote-tracking branch 'origin/staging' into develop 2023-09-04 11:47:10 +02:00
Andrey Antukh
1e8226a3fc 🐛 Fix log level setting on file migrations ns 2023-09-04 11:35:31 +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
Andrey Antukh
82f1b96503 ⚡ Add micro optimization to is-direct-child-of-root? helper 2023-09-01 12:47:18 +02:00