/** * How tall a control stands. * * This was seven constants in seven files. `REACH` meant 24 in five of them and * 40 in two; `CONTROL` was 40 in three; `ROW` was 52 in one and 44 in another. * Same names, different numbers, no home — and a build with no home for them * rendered at two heights where the design has six. * * A control gets the height its role needs, and the role is named here rather * than the arithmetic that would produce it. Letting content size the box — * `line-height: normal`, no minimum, the face's own metrics deciding — gives a * spread rather than a ladder, and a spread is not portable: a different face * lands on different numbers. So the tier is named and the number is stated, * and eight rungs quantize the spread. * * One rung is not available to anything a finger is offered. WCAG 2.2 puts the * floor at 24 pixels square, so `mark` belongs to glyphs that are not targets; * a target drawn at `mark` is pressed at `floor`. */ export declare const reach: { /** A glyph that is not a target — a keycap, a badge, a mark beside a word. */ readonly mark: 20; /** Inline with running text: a link, a chip, a filter, a table's own * controls, the line you open a fold by. */ readonly dense: 28; /** A control belonging to a card rather than to the page — the tab row across * the top of one and the cog that sits with it. */ readonly card: 32; /** * A control belonging to the band rather than to a screen: the two actions at * the application header's trailing edge. * * A rung of its own and not `card` rounded up, because the two are different * objects and a reader sees the pair — a screen's own header row stands at * `card` with the application's above it. */ readonly band: 34; /** The ordinary control: a button, a picker, a field, a page's own tabs, a * row in a list. */ readonly plain: 40; /** A control that stands on its own rather than in a row — the button a * block ends with, the flip between the two fields on a ticket. */ readonly lead: 48; /** The one action a screen is for. */ readonly major: 52; /** * A control that is a tile rather than a row: a drawing over a word, the * whole square the target. Sixteen of padding, a 24 mark, twelve, a 20 line * and sixteen again. */ readonly tile: 88; }; export type Reach = (typeof reach)[keyof typeof reach]; /** * The least a target may be, which is not a tier. * * A rung says how tall a control stands. This says how small one is allowed to * get, and the two are different questions: a mark is drawn at `mark` and * pressed at `floor`, so a reader sees twenty and a thumb lands on something * that clears WCAG 2.2. */ export declare const floor = 24; //# sourceMappingURL=reach.d.ts.map