0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-20 22:06:07 -05:00

⬆️ Update rumext to v2.20

It includes:

- a revert for recursive transformations for :> handler
- a revert for use-state stable reference handling
- a partial support for malli decoding on props validation
This commit is contained in:
Andrey Antukh 2025-01-10 17:12:06 +01:00
parent 1e20fd7bb6
commit 717c447f32
3 changed files with 17 additions and 14 deletions

View file

@ -20,8 +20,8 @@
:git/url "https://github.com/funcool/beicon.git"}
funcool/rumext
{:git/tag "v2.18"
:git/sha "b6e8f45"
{:git/tag "v2.20"
:git/sha "7f5e1cd"
:git/url "https://github.com/funcool/rumext.git"}
instaparse/instaparse {:mvn/version "1.5.0"}

View file

@ -962,7 +962,7 @@
(some? position-modifier)
(gpt/transform position-modifier))
max-height (when (some? viewport) (int (* (obj/get viewport "height") 0.75)))
max-height (when (some? viewport) (int (* (get viewport :height) 0.75)))
;; We should probably look for a better way of doing this.
bubble-margin {:x 24 :y 24}

View file

@ -271,17 +271,20 @@
:on-click on-close-history
:icon "close"}])]
[:> tab-switcher*
{:tabs [{:label (tr "workspace.versions.tab.history")
:id "history"
:content versions-tab}
{:label (tr "workspace.versions.tab.actions")
:id "actions"
:content history-tab}]
:default-selected "history"
:class (stl/css :left-sidebar-tabs)
:action-button-position "end"
:action-button button}])
(let [tabs (mf/object
[{:label (tr "workspace.versions.tab.history")
:id "history"
:content versions-tab}
{:label (tr "workspace.versions.tab.actions")
:id "actions"
:content history-tab}])]
[:> tab-switcher*
{:tabs tabs
:default-selected "history"
:class (stl/css :left-sidebar-tabs)
:action-button-position "end"
:action-button button}]))
:else
[:> options-toolbox* props])]]]))