import type { CardActionModel } from './types'; import type { Placement } from '@floating-ui/dom'; type Props = { /** Array of action definitions to display in the popover */ actions: CardActionModel[]; /** Floating UI placement of the popover panel @default 'bottom-start' */ popoverPosition?: Placement; }; /** * An absolutely-positioned actions menu that reveals on hover. Renders a "more vertical" trigger icon; * clicking it opens a popover holding one `CardAction` button per item in `actions`. The parent * container must carry the `.card-actions-container` class so the reveal-on-hover rule has an anchor — * this is a deliberate scope rule, not a class to slap on by accident. * * ### CSS Custom Properties * | Property | Description | Default | * |---|---|---| * | `--sc-kit--card-actions--background` | Trigger background | `--sc-kit--color--bg--element` | * | `--sc-kit--card-actions--border-radius` | Corner rounding | `--sc-kit--radius--sm` | * | `--sc-kit--card-actions--popover-background` | Popover panel background | `--sc-kit--color--bg--panel` | * | `--sc-kit--card-actions--font-size` | Base font size | `1rem` | * | `--sc-kit--card-actions--left-offset` | Left position offset | `0.3125em` | * | `--sc-kit--card-actions--opacity` | Resting opacity (0 = hidden until hover) | `0` | * | `--sc-kit--card-actions--right-offset` | Right position offset | `auto` | * | `--sc-kit--card-actions--top-offset` | Top position offset | `0.3125em` | */ declare const Cmp: import("svelte").Component; type Cmp = ReturnType; export default Cmp;