* ✨ Add list view toggle for dashboard files
* ✨ Add drop files visual feedback
* ♻️ Use radio buttons component from DS
* ♻️ Use hook to keep layout status
* ♻️ Refactor code and SCSS
---------
Co-authored-by: Luis de Dios <luis.dedios@kaleidos.net>
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
* ♻️ Rename old icons as deprecated
* ♻️ Take icons from the namespace for the icon component
* ♻️ Take icons from the namespace for the icon-button component
* 🐛 Fix having multiple dropdown menus opened on dashboard page
* ♻️ Refactor dropdown-menu
Make it follow new standards and make it external api more usable,
not depending on manually provided list of ids.
This also implements the autoclosing of "other" active/open
dropdown-menu (or other similar components).
* 📎 Add PR feedback changes
* 🐛 Fix incorrect event handling on project-menu
* 🐛 Fix unexpected exception
---------
Co-authored-by: Andrey Antukh <niwi@niwi.nz>
* 🐛 Fix several race conditions on workspace and dashboard code
It also fixes a corner case that happens when penpot workspace
is loaded in a background tab on firefox.
* 🐛 Add missing team-id prop to several file returning endpoints
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