mirror of
https://github.com/penpot/penpot.git
synced 2025-02-08 16:18:11 -05:00
⬆️ Update beicon and rumext to the latest version.
This commit is contained in:
parent
4c85550d58
commit
ce094b663c
6 changed files with 16 additions and 9 deletions
|
@ -11,12 +11,12 @@
|
||||||
metosin/reitit-core {:mvn/version "0.3.10"}
|
metosin/reitit-core {:mvn/version "0.3.10"}
|
||||||
expound/expound {:mvn/version "0.7.2"}
|
expound/expound {:mvn/version "0.7.2"}
|
||||||
|
|
||||||
funcool/beicon {:mvn/version "6.0.0-SNAPSHOT"}
|
funcool/beicon {:mvn/version "2020.03.23-1"}
|
||||||
funcool/cuerdas {:mvn/version "2.2.1"}
|
funcool/cuerdas {:mvn/version "2.2.1"}
|
||||||
funcool/lentes {:mvn/version "1.4.0-SNAPSHOT"}
|
funcool/lentes {:mvn/version "1.4.0-SNAPSHOT"}
|
||||||
funcool/potok {:mvn/version "2.8.0-SNAPSHOT"}
|
funcool/potok {:mvn/version "2.8.0-SNAPSHOT"}
|
||||||
funcool/promesa {:mvn/version "5.0.0"}
|
funcool/promesa {:mvn/version "5.0.0"}
|
||||||
funcool/rumext {:mvn/version "2.0.0-SNAPSHOT"}
|
funcool/rumext {:mvn/version "2020.03.23-1"}
|
||||||
}
|
}
|
||||||
:paths ["src" "vendor" "resources" "../common"]
|
:paths ["src" "vendor" "resources" "../common"]
|
||||||
:aliases
|
:aliases
|
||||||
|
|
|
@ -94,7 +94,8 @@
|
||||||
:d
|
:d
|
||||||
"M134.482 157.147v25l518.57.008.002-25-518.572-.008z"}]]]))
|
"M134.482 157.147v25l518.57.008.002-25-518.572-.008z"}]]]))
|
||||||
|
|
||||||
(mf/defrc debug-icons-preview
|
(mf/defc debug-icons-preview
|
||||||
|
{::mf/wrap-props false}
|
||||||
[props]
|
[props]
|
||||||
[:section.debug-icons-preview
|
[:section.debug-icons-preview
|
||||||
(for [[key val] (ns-publics 'uxbox.builtins.icons)]
|
(for [[key val] (ns-publics 'uxbox.builtins.icons)]
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
[uxbox.main.ui.components.dropdown :refer [dropdown-container]]
|
[uxbox.main.ui.components.dropdown :refer [dropdown-container]]
|
||||||
[uxbox.util.uuid :as uuid]))
|
[uxbox.util.uuid :as uuid]))
|
||||||
|
|
||||||
(mf/defrc context-menu
|
(mf/defc context-menu
|
||||||
|
{::mf/wrap-props false}
|
||||||
[props]
|
[props]
|
||||||
(assert (fn? (gobj/get props "on-close")) "missing `on-close` prop")
|
(assert (fn? (gobj/get props "on-close")) "missing `on-close` prop")
|
||||||
(assert (boolean? (gobj/get props "show")) "missing `show` prop")
|
(assert (boolean? (gobj/get props "show")) "missing `show` prop")
|
||||||
|
|
|
@ -7,7 +7,8 @@
|
||||||
(:import goog.events.EventType
|
(:import goog.events.EventType
|
||||||
goog.events.KeyCodes))
|
goog.events.KeyCodes))
|
||||||
|
|
||||||
(mf/defrc dropdown-container
|
(mf/defc dropdown-container
|
||||||
|
{::mf/wrap-props false}
|
||||||
[props]
|
[props]
|
||||||
(let [children (gobj/get props "children")
|
(let [children (gobj/get props "children")
|
||||||
on-close (gobj/get props "on-close")
|
on-close (gobj/get props "on-close")
|
||||||
|
@ -32,7 +33,8 @@
|
||||||
(mf/use-effect {:fn on-mount})
|
(mf/use-effect {:fn on-mount})
|
||||||
children))
|
children))
|
||||||
|
|
||||||
(mf/defrc dropdown
|
(mf/defc dropdown
|
||||||
|
{::mf/wrap-props false}
|
||||||
[props]
|
[props]
|
||||||
(assert (fn? (gobj/get props "on-close")) "missing `on-close` prop")
|
(assert (fn? (gobj/get props "on-close")) "missing `on-close` prop")
|
||||||
(assert (boolean? (gobj/get props "show")) "missing `show` prop")
|
(assert (boolean? (gobj/get props "show")) "missing `show` prop")
|
||||||
|
|
|
@ -20,7 +20,8 @@
|
||||||
|
|
||||||
(declare rect-shape)
|
(declare rect-shape)
|
||||||
|
|
||||||
(mf/defrc rect-wrapper
|
(mf/defc rect-wrapper
|
||||||
|
{::mf/wrap-props false}
|
||||||
[props]
|
[props]
|
||||||
(let [shape (unchecked-get props "shape")
|
(let [shape (unchecked-get props "shape")
|
||||||
on-mouse-down #(common/on-mouse-down % shape)
|
on-mouse-down #(common/on-mouse-down % shape)
|
||||||
|
@ -31,7 +32,8 @@
|
||||||
|
|
||||||
;; --- Rect Shape
|
;; --- Rect Shape
|
||||||
|
|
||||||
(mf/defrc rect-shape
|
(mf/defc rect-shape
|
||||||
|
{::mf/wrap-props false}
|
||||||
[props]
|
[props]
|
||||||
(let [shape (unchecked-get props "shape")
|
(let [shape (unchecked-get props "shape")
|
||||||
ds-modifier (:displacement-modifier shape)
|
ds-modifier (:displacement-modifier shape)
|
||||||
|
|
|
@ -107,7 +107,8 @@
|
||||||
(declare remote-user-cursors)
|
(declare remote-user-cursors)
|
||||||
(declare frames)
|
(declare frames)
|
||||||
|
|
||||||
(mf/defrc frames-wrapper
|
(mf/defc frames-wrapper
|
||||||
|
{::mf/wrap-props false}
|
||||||
[props]
|
[props]
|
||||||
(let [page (gobj/get props "page")
|
(let [page (gobj/get props "page")
|
||||||
page-id (:id page)
|
page-id (:id page)
|
||||||
|
|
Loading…
Add table
Reference in a new issue