DesignSystemCatalog
Corex\Ui\DesignSystemCatalog · class · Add-ons layer
The Corex Design Language System catalog (specs 051 + 054): organizes the UI into six categories — Foundations, Components, Blocks, Patterns, Templates, and Guidelines. A pure, declared registry. Each entry carries a mechanism recording how it is delivered (corex-block / block-style / core-block / token / runtime / pattern / template / deferred), so a documented core block or a block style is never mistaken for a registered block. The corex/* blocks it claims are drift-checked against the real blocks in the test suite, so the catalog can never list a Corex block that does not exist. Lives in corex-ui — the single DLS home.
Public API
Section titled “Public API”entries(): array
Section titled “entries(): array”byCategory(string $category): array
Section titled “byCategory(string $category): array”blockNames(): array
Section titled “blockNames(): array”The corex/* block names the catalog references — drift-checked against the real blocks. Only entries delivered as a Corex block (not styles/core/deferred) contribute a name.