import * as React from 'react'; import { type RenderProp } from '../../internal/render-seam'; /** * STYLED FROM THE FIGMA ATOM, not from maker-ds. `.breadcrumb` draws a bare 12/18 trail with 4px * round separators and no chrome at all — no padding, no rounded backgrounds, no accent inks. See * `scripts/figma/bindings/breadcrumb.json`. maker-ds supplied the structure and semantics; the look * is Figma's. * * A trail link, inked `--color-text-muted-figma` — Figma's own `color/gray/gray-400`, which is * **5.33:1 on Figma's page and passes AA**. This was `--color-text-secondary` (#c5d0e3, 12.46:1) * because the binding declined gray-400 for measuring 3.63:1 *carried onto a white page*; rule 3 * removed the white page, so the literal ports and the substitution is void. * * The rule appears on hover so the affordance is not carried by ink alone once pointed at. * * `outline outline-transparent` rather than `outline-none`: the ring is present and merely * invisible, so it survives forced-colours mode, where `none` would leave a keyboard user with no * focus indicator at all. */ declare const breadcrumbLinkStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string; /** * The rule under a link's label, transparent at rest. Figma draws no underline in any state, but * a link needs an affordance beyond its ink, and this is the one maker-ds used. */ declare const breadcrumbLinkLabelStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string; /** * The current page, and the one thing here that is genuinely NOT in Figma. * * The atom inks all three items identically at `gray-400`, so the page you are on is conveyed by * nothing at all, and `aria-current` is invisible to a sighted user. That is a **gap** — Figma * specifies no current item, rather than specifying one that fails — so rule 2 applies: derive from * other designs *in Figma*, never invent. * * Both cues are derived, and both now come from the same file: * * - **The ink** is `color/brand/white`, which is the atom's own second colour. It is what * `.breadcrumb` already paints its separator dots, so nothing is imported to use it here. * - **The weight** is Semibold, and `.tab-item` is the precedent: Figma moves that atom's label * from Book to `Paragraph/small-semibold` for exactly this job, marking the selected one of a * row of peers. Weight is also the cue that keeps this out of WCAG 1.4.1, since ink alone would * convey "you are here" by hue. * * maker-ds's filled chip is still not used: the atom has no padding and no shape to fill. */ declare const breadcrumbCurrentStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string; /** The overflow trigger. Same interaction vocabulary as a link. */ declare const breadcrumbOverflowTriggerStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string; /** * The separator: a 4px round dot in `color/brand/white`, which is Figma's, verified from the atom's * exported SVG (``) and not only from the variable table. * * PREVIOUSLY STEPPED DOWN TO THE MUTED ROLE, on the argument that white at 19.37:1 against items at * 5.33:1 is "decoration outranking content". That describes Figma's drawing accurately and is still * a **preference**, not a conflict — no WCAG clause requires decoration to be dimmer than the text * it separates, and 1.4.11 is satisfied either way. Rule 1 governs a preference: Figma wins, so the * dot is white and nothing is logged. * * Decorative in the accessibility tree regardless — `aria-hidden`, with the `
    ` carrying the * ordering — so its ratio is recorded rather than required. */ declare const breadcrumbSeparatorStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string; /** Overflow menu rows, for a caller composing a collapsed trail. See the `Collapsed` story. */ declare const breadcrumbOverflowItemStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string; export interface BreadcrumbProps extends React.HTMLAttributes { /** * Accessible name for the `