177 Commits

Author SHA1 Message Date
Andrey Antukh
d9f099841a
🔥 Remove redundant mf/props metadata from modern components (#9192)
The ::mf/props and ::mf/wrap-props metadata keys are no-ops on modern
components (those defined with mf/defc and the * suffix) since the *
suffix already triggers the props behavior these keys attempt to
configure. This cleanup removes the redundant metadata from modern
components across all UI directories.

Changes:
- comments/: comments
- dashboard/: comments, deleted, files, fonts, grid, import, libraries,
  pin_button, projects, search, sidebar, subscription, team, templates
- exports/: files
- modal/: modal
- settings/: subscription
- static/: static
- viewer/: comments, interactions, viewer
- workspace/: context_menu, libraries, sidebar/assets,
  viewport/gradients, tokens/settings/menu
2026-04-28 09:23:56 +02:00
Elena Torro
1641eec672 🎉 Add stroke to path 2026-03-26 11:43:06 +01:00
Andrey Antukh
328b7739e0
📎 Prepare changes and flags for next release (#8624) 2026-03-13 13:07:24 +01:00
Andrey Antukh
a278d54429
🎉 Add copy as image to clipboard menu option (#8364)
*  Copy as image

Function to copy a board directly to the clipboard.
This is exposed on the Copy/Paste as... context menu.

The image is always copied at 2x to work well with wireframes. I tried
with and without Retina display and it is better in both scenarios.

Signed-off-by: Dalai Felinto <dalai@blender.org>

*  Add minor adjustments on promise creation

* 🔥 Remove prn from obj/reify macros

---------

Signed-off-by: Dalai Felinto <dalai@blender.org>
2026-02-16 11:17:02 +01:00
Pablo Alba
cbb6d098a7
🐛 Fix boolean operators in menu for boards (#8177) 2026-01-27 17:58:07 +01:00
Andrey Antukh
3b52051113 Fix closure compiler issues on clipboard js impl
With minor naming fixes
2025-11-19 18:23:44 +01:00
Aitor Moreno
32e1b55658 ♻️ Refactor clipboard 2025-11-19 18:23:44 +01:00
Luis de Dios
ef376fbb7b
Add shortcut for creating variant to the shortcuts panel (#7319)
*  Add shortcut for creating variant to the shortcuts panel

* ♻️ Update components to new rumext syntax

* 🐛 Fix unique "key" prop error for each child in a list

* ♻️ Remove deprecated icons and CSS cleanup

* 📎 PR changes
2025-09-16 14:06:47 +02:00
Pablo Alba
18d5b84b00
🐛 Fix variants events (#7320)
* 🐛 Add missing event add-component-to-variant

* 🐛 Fix event apply-tokens, param applied-to-variant

* 🐛 Fix missing case on event "add new variant"

* 🐛 Fix event combine-as-variants

* 🐛 Fix event variant-edit-property-name

* 🐛 On variants events, change trigger for origin

* 🐛 Split combine-as-variants to not have an optional first parameter
2025-09-16 13:09:23 +02:00
Luis de Dios
9311ee4c87
🐛 Fix show in assets panel option for component of variants (#7311) 2025-09-15 13:13:12 +02:00
Luis de Dios
f22eef5bf6 🐛 Fix create a variant using the contextual menu 2025-09-09 15:59:04 +02:00
Alejandro Alonso
e3c9588c1c
Merge pull request #7279 from penpot/palba-variants-events2
🎉 Add "advanced" events to variants
2025-09-09 07:03:22 +02:00
Pablo Alba
06441063f2 Add "advanced" events to variants 2025-09-08 15:33:14 +02:00
Alejandro Alonso
9f11a2cb32
🐛 Fix context menu shape ids (#7277)
This reverts commit 1929ee36edb7c7e5f8d326c971b9c047667bd218.
2025-09-08 11:59:54 +02:00
Alejandro Alonso
568c2fd9d7
Merge pull request #7271 from penpot/eva-bugfixing-release
🐛 Fix several bugs
2025-09-08 10:23:05 +02:00
Luis de Dios
794eb78aca
♻️ Refactor icon namespaces (#7262)
* ♻️ Rename old icons as deprecated

* ♻️ Take icons from the namespace for the icon component

* ♻️ Take icons from the namespace for the icon-button component
2025-09-08 10:02:33 +02:00
Eva Marco
1929ee36ed 🐛 Fix ungroup option missing 2025-09-08 09:18:43 +02:00
Pablo Alba
409f95ac17
Add basic variants events (#7249)
*  Add basic variants events

*  MR changes
2025-09-04 17:00:09 +02:00
Belén Albeza
f363d6a801 Add integration test for Flatten menu option 2025-09-04 07:13:16 +02:00
Belén Albeza
e88ce0d52f 🐛 Unify flatten naming 2025-09-04 07:13:16 +02:00
Pablo Alba
1d3a1a094a 🐛 Missing component copy options on the context menu 2025-09-02 12:49:53 +02:00
Andrey Antukh
a303df9c34 ♻️ Refactor right sidebar state management
Also removing duplicated refs and improve efficiency of
several other refs used on sidebar.
2025-08-29 11:25:58 +02:00
Xaviju
ee86a3943d
Update code to use design system icon (#7145) 2025-08-22 14:27:11 +02:00
Pablo Alba
07b15819d4
🎉 Add the ability to create variants from a selection (#7045)
* 🎉 Add the ability to create variants from a selection

* 📎 Add PR feedback changes

* 💄 Add minor cosmetic changes

---------

Co-authored-by: Andrey Antukh <niwi@niwi.nz>
2025-08-01 15:39:46 +02:00
Alejandro Alonso
f5298f51e7
🐛 Fix the context menu always closes after any action (#6944) 2025-07-29 09:50:55 +02:00
andrés gonzález
a2ac2bc6c6
Change copy as SVG menu order (#6523) 2025-05-21 13:12:33 +02:00
Miguel de Benito Delgado
f36aa30525
Add copy-as-svg to contextual menu (#6510)
*  Add "copy as svg" to contextual menu

* 🌐 Add a few translations of the new string

* 📚 Document commit message format for translations

* 📎 Log SVG import errors to the console

* 📎 Update CHANGES.md (two PRs)

---------

Signed-off-by: Miguel de Benito Delgado <m.debenito.d@gmail.com>
2025-05-20 22:06:36 +02:00
Pablo Alba
785b61be2f Fix corner cases of duplicate/copy-paste/cut-paste variants 2025-04-11 15:17:33 +02:00
Pablo Alba
f961b75bba ♻️ Cleanup of componentsv2 2025-04-03 11:38:35 +02:00
Pablo Alba
8eb2aaa0a8
🎉 Create a new variant from an existing one 2025-03-04 13:52:40 +01:00
Pablo Alba
6d40166de7
Remove menu options and shortcuts actions over variants 2025-02-25 10:11:14 +01:00
Pablo Alba
014c297458
🎉 Add drag components in or out a variant container 2025-02-20 10:05:01 +01:00
alonso.torres
f1515a85bf Copy text content to clipboard 2025-01-29 10:52:20 +01:00
Alonso Torres
34e2eb829b
Remove copying props for multiple elements (#5700) 2025-01-28 16:44:44 +01:00
Andrey Antukh
85746e7cb2 ♻️ Refactor state locality
The main purpose of this refactor is reduce
a custom state from different pages and unify
them under common access patterns
2025-01-16 15:31:18 +01:00
alonso.torres
714a274789 Copy/paste properties an CSS 2025-01-14 16:09:42 +01:00
Andrey Antukh
c18a9e5e04 💄 Add minor cosmetic changes to components context menu 2025-01-10 15:10:29 +01:00
Andrey Antukh
6553861a6c Update rumext version
Mainly for usability and performance improvements
2025-01-07 10:43:23 +01:00
Marina López
b18ee859b1 Shareable link pointing to a specific board 2024-12-13 09:43:56 +01:00
Andrey Antukh
7758d5f747 💄 Add code style optimization to workspace context menu components 2024-12-10 15:08:14 +01:00
Andrey Antukh
c6b96a81f1 ♻️ Rename data.events to data.event 2024-12-03 12:15:52 +01:00
Pablo Alba
9b8ef0a2e5 Add event "duplicate-page" 2024-11-27 13:51:21 +01:00
Pablo Alba
48c41df054 🎉 Rename selected layer via shortcut and context menu option 2024-11-06 09:22:38 +01:00
Andrey Antukh
d6da8afdce Add improved abstraction for team permissions
Relevant changes:
- replace user-viewer? with can-edit removing many double
  negations on the code
- always use team permissions making the permissions access uniform
  around all the code
- expose team permissions to ui tree through ctx/team-permissions
  context
2024-10-21 12:36:01 +02:00
Pablo Alba
66530ca868 ♻️ Minor fixes on viewer role on workspace 2024-10-17 16:29:41 +02:00
Andrey Antukh
4ad4057878 ♻️ Refactor page options data structure 2024-09-18 12:15:12 +02:00
Andrey Antukh
139dd7d80f 🎉 Add new translations management script 2024-07-02 15:11:56 +02:00
Alejandro Alonso
a5ba9d113f Improve create group tests 2024-06-12 10:07:34 +02:00
alonso.torres
bf66e12075 Allow masks, booleans, and some path read only 2024-06-04 16:44:24 +02:00
Alejandro Alonso
38b72abf32 🐛 Fix allow modify component copy structure under some circumstances 2024-03-18 16:45:05 +01:00