import { css, html } from "lit";
import { BaseElement } from "../../core/base-element.ts";
/**
* CFHoverReveal - Content with actions that appear while the pointer rests on
* it or focus is inside it, as a chat message shows its reaction button.
*
* The actions stay laid out and focusable while hidden, so revealing them
* never moves the content and a keyboard can still reach them. Setting
* `revealed` keeps them shown, for instance while a picker they opened is
* still open. On a device that cannot hover, they are always shown.
*
* @element cf-hover-reveal
*
* @attr {boolean} revealed - Keeps the actions shown whatever the pointer does
*
* @slot - The content
* @slot actions - The controls to reveal
*
* @csspart hover-reveal - The outer container
* @csspart content - The content container
* @csspart actions - The actions container
*
* @example
* A message
*