diff --git a/project.clj b/project.clj index 404f843e..46db1831 100644 --- a/project.clj +++ b/project.clj @@ -4,16 +4,16 @@ ;; --------------------------------------------------------------------------------------- -(defproject re-com "2.1.0" +(defproject re-com "2.2.0-SNAPSHOT" :description "Reusable UI components for Reagent" :url "https://github.com/Day8/re-com.git" :license {:name "MIT"} :dependencies [[org.clojure/clojure "1.8.0"] - [org.clojure/clojurescript "1.9.456"] - [reagent "0.6.0"] - [org.clojure/core.async "0.2.395"] - [com.andrewmcveigh/cljs-time "0.4.0"]] ;; TODO: Bump this to 0.5.0 as soon as it's available (https://github.com/Day8/re-com/pull/98/files) + [org.clojure/clojurescript "1.9.671"] + [reagent "0.7.0"] + [org.clojure/core.async "0.3.443"] + [com.andrewmcveigh/cljs-time "0.5.1"]] ;:plugins [[lein-unpack-resources "0.1.1"]] ; @@ -29,15 +29,15 @@ ; :extract-path "run/resources-frame"}] :profiles {:dev {:dependencies [[clj-stacktrace "0.2.8"] - [figwheel "0.5.9"] - [binaryage/devtools "0.9.0"] + [figwheel "0.5.12"] + [binaryage/devtools "0.9.4"] [binaryage/dirac "RELEASE"]] :repl-options {:port 8230 :nrepl-middleware [dirac.nrepl/middleware] :init (do (require 'dirac.agent) (dirac.agent/boot!))} :plugins [[lein-cljsbuild "1.1.5"] - [lein-figwheel "0.5.9"] + [lein-figwheel "0.5.12"] [lein-shell "0.5.0"] [org.clojure/data.json "0.2.6"] [lein-s3-static-deploy "0.1.1-SNAPSHOT"] @@ -48,8 +48,8 @@ :dev-cider {:figwheel {:nrepl-port 7777 :nrepl-middleware ["cider.nrepl/cider-middleware" "cemerick.piggieback/wrap-cljs-repl"]} - :dependencies [[com.cemerick/piggieback "0.2.1"] - [figwheel-sidecar "0.5.9"]]} + :dependencies [[com.cemerick/piggieback "0.2.2"] + [figwheel-sidecar "0.5.12"]]} :dev-run {:clean-targets ^{:protect false} ["run/resources/public/compiled_dev"]} :prod-run {:clean-targets ^{:protect false} ["run/resources/public/compiled_prod"]} :dev-test {:clean-targets ^{:protect false} ["run/test/compiled"]}} diff --git a/src/re_com/misc.cljs b/src/re_com/misc.cljs index 0d3c0336..fc65b983 100644 --- a/src/re_com/misc.cljs +++ b/src/re_com/misc.cljs @@ -13,7 +13,7 @@ (def throbber-args-desc [{:name :size :required false :default :regular :type "keyword" :validate-fn throbber-size? :description [:span "one of " throbber-sizes-list]} - {:name :color :required false :default "#999" :type "string" :validate-fn string? :description "CSS color (applies to the button, not the wrapping div)"} + {:name :color :required false :default "#999" :type "string" :validate-fn string? :description "CSS color"} {:name :class :required false :type "string" :validate-fn string? :description "CSS class names, space separated (applies to the throbber, not the wrapping div)"} {:name :style :required false :type "CSS style map" :validate-fn css-style? :description "CSS styles to add or override (applies to the throbber, not the wrapping div)"} {:name :attr :required false :type "HTML attr map" :validate-fn html-attr? :description [:span "HTML attributes, like " [:code ":on-mouse-move"] [:br] "No " [:code ":class"] " or " [:code ":style"] "allowed (applies to the throbber, not the wrapping div)"]}])