mirror of
https://github.com/penpot/penpot.git
synced 2025-08-06 07:58:28 +02:00
🎉 Show changed assets when updating libraries
This commit is contained in:
parent
96a5444357
commit
ca88314524
19 changed files with 475 additions and 50 deletions
|
@ -15,7 +15,7 @@
|
|||
[rumext.v2 :as mf]))
|
||||
|
||||
(mf/defc banner
|
||||
[{:keys [type position status controls content actions on-close data-test role] :as props}]
|
||||
[{:keys [type position status controls content links actions on-close data-test role] :as props}]
|
||||
[:div.banner {:class (dom/classnames
|
||||
:warning (= type :warning)
|
||||
:error (= type :error)
|
||||
|
@ -37,7 +37,12 @@
|
|||
:bottom-actions (= controls :bottom-actions))
|
||||
:data-test data-test
|
||||
:role role}
|
||||
content
|
||||
[:span
|
||||
content
|
||||
(for [link links]
|
||||
[:* {:key (uuid/next)}
|
||||
" " [:a.link {:on-click (:callback link)}
|
||||
(:label link)]])]
|
||||
(when (or (= controls :bottom-actions) (= controls :inline-actions))
|
||||
[:div.actions
|
||||
(for [action actions]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue