Skip to content

v0.0.3

Latest

Choose a tag to compare

@lumosframework lumosframework released this 23 Aug 17:49
· 35 commits to main since this release

A consistency pass over the component API, from the sweep /lumos-audit-props now performs. No behaviour changes — every difference here is felt in autocomplete rather than at runtime.

Changed

  • Eyebrow declared variant before tag, where Heading and Paragraph declare tag first. It now matches them, and its destructuring follows its declaration.
  • Sixteen props had no tooltip: every Section spacing prop, Heading and Paragraph's tag and maxWidth, RichText's maxWidth, Button's element, disabled and href, and Select's variant.
  • Fifteen numeric props stated no range. They now carry @min / @max / @int, as Grid and Overlay already did.
  • Paragraph and RichText stated a default in a sentence while every other option list marked the option itself. Both mark the option now.
  • Input and Video documented a variant without saying what the options were.

Notes

The audit skips components whose props span a discriminated union — Button, Card, Grid, ContentWrapper and four others. A union writes its branches in the order the variants demand, so there is no single declaration order to compare, and those are listed for a hand read instead of reported as drift.