Files
LCUI/docs/widget-fields/breadcrumb-ellipsis.ts
Liu 263c62e531 feat(widgets): add breadcrumb widget
- add the breadcrumb family: root, list, item, link, page, separator, ellipsis
- build from a path with a per-call label provider, append_item/append, or explicit data-path items
- collapse overflowing items while keeping as many trailing nodes as fit; the ellipsis opens a Portal-based dropdown
- emit change with the clicked node key; pages, disabled items, and custom append content never emit
- add theme rules, integration tests, a preview scene, and zh-CN docs with C/XML/TSX demos
2026-11-08 00:20:26 +08:00

4 lines
125 B
TypeScript

import { widgetFields, FieldData } from "./widget";
export const breadcrumbEllipsisFields: FieldData[] = [...widgetFields];