0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-08 08:09:14 -05:00

⬆️ Update beicon and rumext to the latest version.

This commit is contained in:
Andrey Antukh 2020-03-23 16:25:21 +01:00
parent 4c85550d58
commit ce094b663c
6 changed files with 16 additions and 9 deletions

View file

@ -11,12 +11,12 @@
metosin/reitit-core {:mvn/version "0.3.10"}
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/lentes {:mvn/version "1.4.0-SNAPSHOT"}
funcool/potok {:mvn/version "2.8.0-SNAPSHOT"}
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"]
:aliases

View file

@ -94,7 +94,8 @@
:d
"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]
[:section.debug-icons-preview
(for [[key val] (ns-publics 'uxbox.builtins.icons)]

View file

@ -5,7 +5,8 @@
[uxbox.main.ui.components.dropdown :refer [dropdown-container]]
[uxbox.util.uuid :as uuid]))
(mf/defrc context-menu
(mf/defc context-menu
{::mf/wrap-props false}
[props]
(assert (fn? (gobj/get props "on-close")) "missing `on-close` prop")
(assert (boolean? (gobj/get props "show")) "missing `show` prop")

View file

@ -7,7 +7,8 @@
(:import goog.events.EventType
goog.events.KeyCodes))
(mf/defrc dropdown-container
(mf/defc dropdown-container
{::mf/wrap-props false}
[props]
(let [children (gobj/get props "children")
on-close (gobj/get props "on-close")
@ -32,7 +33,8 @@
(mf/use-effect {:fn on-mount})
children))
(mf/defrc dropdown
(mf/defc dropdown
{::mf/wrap-props false}
[props]
(assert (fn? (gobj/get props "on-close")) "missing `on-close` prop")
(assert (boolean? (gobj/get props "show")) "missing `show` prop")

View file

@ -20,7 +20,8 @@
(declare rect-shape)
(mf/defrc rect-wrapper
(mf/defc rect-wrapper
{::mf/wrap-props false}
[props]
(let [shape (unchecked-get props "shape")
on-mouse-down #(common/on-mouse-down % shape)
@ -31,7 +32,8 @@
;; --- Rect Shape
(mf/defrc rect-shape
(mf/defc rect-shape
{::mf/wrap-props false}
[props]
(let [shape (unchecked-get props "shape")
ds-modifier (:displacement-modifier shape)

View file

@ -107,7 +107,8 @@
(declare remote-user-cursors)
(declare frames)
(mf/defrc frames-wrapper
(mf/defc frames-wrapper
{::mf/wrap-props false}
[props]
(let [page (gobj/get props "page")
page-id (:id page)