Repository navigation
v0.1.0-alpha.10
Pre-releaseOne new token group, no rendering change.
Added
The control-height ladder: --token-controlHeightSM (2rem), --token-controlHeight (2.5rem), and --token-controlHeightLG (2.75rem) (#15). Button carried two of those three as literals, so a text field or a picker placed beside it had no shared value to match and had to repeat the number by hand. That is how a filter row ends up with its controls on three different baselines.
Button now reads the SM and LG rungs. The token values are the literals it already used, and each call site keeps that literal as its inline fallback, so a consumer that defines none of the three renders exactly as before. The 1.75rem on .button--tiny stays a literal deliberately: a compact inline action rather than a rung of the ladder.
The middle rung has no consumer in this package yet. It is declared with the other two because a ladder missing its default is not a ladder, and the first component that needs a 40px box would otherwise invent a literal. Select, proposed in #16, is the consumer it was declared for.
Token contract goes from 116 names to 119.
Before you upgrade
Nothing renders differently. This is a minor for the three new tokens.
If you are migrating a Button onto this package's copy, take this release rather than 0.1.0-alpha.9: the earlier one hardcodes the two heights, so a consumer whose own Button reads a control ladder would silently lose that link.
Full changelog: v0.1.0-alpha.9...v0.1.0-alpha.10