import type { ComponentDefaultValues, ThemeElementDefinition } from '@vuecs/core'; /** * A single breadcrumb crumb. Consumers may pass a richer object — the * `` driver is generic over `Item extends BreadcrumbItem`, * so the extra fields flow back through the `#item` / `#item-label` * slot props while the component only reads the keys declared here. */ export type BreadcrumbItem = { /** Visible crumb label. */ label: string; /** * Route target (vue-router `to`) or path string. When absent (and no * `href`), the crumb renders as a non-navigable ``. */ to?: string | Record; /** Plain `href` for non-router links. Ignored when `to` is set. */ href?: string; /** Leading icon name (resolved by `` when an icon preset is installed). */ icon?: string; /** * Force this crumb to be the current page (`aria-current="page"`). * When unset, the last crumb is treated as current. */ current?: boolean; /** Genuinely disabled crumb — rendered non-interactive with `aria-disabled="true"`. */ disabled?: boolean; }; /** * Theme classes for the `breadcrumb` element — covers every part that * shares the root theme key (`