import { EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
import { CardComponent } from './card.component';
import * as i0 from "@angular/core";
/**
* Top row of a `riv-card`: heading text plus optional adornments.
*
* Three projection slots, all optional:
* - `[leading]` — icon, avatar, or status dot shown before the heading
* - default — laid out on the heading's baseline, so status badges sit beside
* the title and wrap below it when space runs out. Also takes a whole custom
* title (an inline rename field, say) when `heading` is left unset;
* `subheading` still renders below either way.
* - `[actions]` — trailing controls such as `riv-menu`
*
* ```html
*
*
* Draft
* ...
*
* ```
*
* `headingLevel` renders a real `h1`–`h6` so the card fits the page's heading
* outline; pick the level that follows the surrounding content rather than the
* one that looks right, since size comes from the design tokens either way.
*
* The heading font and colour can be overridden per-instance with the
* `--card-heading-font` and `--card-heading-color` custom properties.
*
* ## Expanding and collapsing
*
* `expandable` turns the header into the toggle for the card's body: it renders
* a chevron and covers the row with a real `