diff --git a/src/hs_ui/components/checkbox.cljc b/src/hs_ui/components/checkbox.cljc index cbb661e..13327a7 100644 --- a/src/hs_ui/components/checkbox.cljc +++ b/src/hs_ui/components/checkbox.cljc @@ -3,6 +3,11 @@ ;; TODO: Merge props, migrate styles to tailwind (defn component + "Properties: + :c/small + :checked + :disabled + :on-change" [props] [:label.toggle.block {:style (when (:c/small props) {:scale "0.7"})} diff --git a/src/hs_ui/components/content_expand.cljc b/src/hs_ui/components/content_expand.cljc index b86a224..63dc36c 100644 --- a/src/hs_ui/components/content_expand.cljc +++ b/src/hs_ui/components/content_expand.cljc @@ -17,6 +17,10 @@ "select-none"]) (defn component + "Props: + :c/open? + :slot/close + :slot/open" [props] [:div (hs-ui.utils/merge-props {:class root-class} props) (if (:c/open? props) diff --git a/src/hs_ui/components/input.cljc b/src/hs_ui/components/input.cljc index 65f89a9..dc58f42 100644 --- a/src/hs_ui/components/input.cljc +++ b/src/hs_ui/components/input.cljc @@ -50,6 +50,13 @@ (defn component + "Properties: + :c/root-class + :data-invalid + :disabled + :type + :slot/right + :c/error-message" [properties] [:fieldset {:class (utils/class-names root-class (:c/root-class properties)) :data-invalid (:data-invalid properties) diff --git a/src/hs_ui/components/kvlist.cljc b/src/hs_ui/components/kvlist.cljc index 808fd8b..f683198 100644 --- a/src/hs_ui/components/kvlist.cljc +++ b/src/hs_ui/components/kvlist.cljc @@ -7,6 +7,14 @@ [hs-ui.utils])) (defn component + "Props: + :c/items + + Item props: + :value/value + :value/hint + :key/value + :copy/copy" [props] [:table.table-fixed [:tbody