Liking cljdoc? Tell your friends :D

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

Added

  • element - lookup element metadata by keyword tag (e.g., :ns/button)
  • element-tags - list all registered element keywords
  • elements - list elements with optional namespace filtering (symbol or regex)
  • search-elements - search elements by documentation text (string or regex)

Removed

  • BREAKING: describe function (use element instead)
  • BREAKING: attributes function (use (:attributes (element :ns/tag)) instead)

Migration

The new API uses keyword tags instead of symbols, matching how elements are used in hiccup markup:

;; Old (removed)
(yeah/describe 'my-button)
(yeah/attributes 'my-button)

;; New
(yeah/element :my-ns/my-button)
(:attributes (yeah/element :my-ns/my-button))

0.1.0 - 2024-12-19

Added

  • Initial release
  • defelem macro for defining Chassis alias elements with malli schemas
  • children macro for placeholder in element definitions
  • Attribute options via html.yeah.attrs/option multimethod
  • Schema properties via html.yeah/property multimethod
  • Support for let, when-let, when-some, if-let, if-some binding hoisting
  • Child schema support via ::html.yeah/children property
  • Integration with malli.instrument and malli.dev

Can you improve this documentation?Edit on GitHub

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close