/** * A single row action item. */ export interface RowActionItem { /** Stable id passed back via the `action` event */ id: string; /** Material Symbols icon name (required for icon-only quick slots, optional for icon+text and the overflow menu) */ icon?: string; /** Human label. Used for aria-label on icon-only buttons and as the text in icon+text and overflow menu items. */ label: string; /** When true, render this action in the quick (toolbar) section. When false/undefined, render it in the overflow menu. */ quick?: boolean; /** Whether the action is disabled */ disabled?: boolean; } /** * Props interface for CuiRowAction. */ export interface CuiRowActionProps { /** All available actions for this row. Items with `quick: true` are placed in the quick section; others go in the overflow menu. */ actions: RowActionItem[]; /** How quick-section buttons render. `icon` = icon-only buttons (requires a clear icon). `icon-text` = icon + label buttons. */ quickMode?: "icon" | "icon-text"; /** Size of the quick and overflow buttons (passed through to CuiButton) */ size?: "small" | "medium" | "large"; /** Accessible label for the root toolbar element */ ariaLabel?: string; /** Accessible label for the overflow "more" button (defaults to "More actions") */ moreLabel?: string; /** * When true, the quick section is collapsed and only the overflow kebab is visible. * Used with `floating` to implement the "reveal on row hover" pattern: callers set * `collapsed` to false when the row is hovered/focused. The transition between the * collapsed and expanded states is animated. */ collapsed?: boolean; /** * When true, the toolbar is positioned absolutely (pinned to the right of its * positioned ancestor) so it can float over row content like a popover rather * than occupying space in the cell layout. */ floating?: boolean; } declare const _default: import('vue').DefineComponent any; }, string, import('vue').PublicProps, Readonly & Readonly<{ onAction?: ((payload: { id: string; item: RowActionItem; originalEvent: Event; }) => any) | undefined; }>, { size: "small" | "medium" | "large"; floating: boolean; ariaLabel: string; collapsed: boolean; quickMode: "icon" | "icon-text"; moreLabel: string; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>; export default _default;