MishkaChelekom.Kit.Catalog (Mishka Chelekom v0.0.9-beta.3)

Copy Markdown View Source

Reads the Mishka component catalog from the mishka_chelekom priv dir, for compile-time Kit validation (the verifier) and to decide whether a customize's from: is a real component before generating its wrapper. Styled names come from priv/components/*.exs, headless from priv/headless/*.exs.

Summary

Functions

Whether name is a real component of the given kind.

Known component names for a kind (:styled | :headless).

The closest known name to name (for a "did you mean?" hint), or nil.

Functions

member?(kind, name)

Whether name is a real component of the given kind.

names(atom)

Known component names for a kind (:styled | :headless).

suggest(kind, name)

The closest known name to name (for a "did you mean?" hint), or nil.