import CwElement from '../../internal/cw-element.js'; import type { CSSResultGroup, PropertyValues } from 'lit'; /** * @summary Spaces its children vertically with one consistent gap. * @documentation https://cordwainer.dev/components/stack * @status experimental * @since 1.6 * * @slot - The stack's items, laid out top to bottom in source order. * * @csspart base - The component's base wrapper, which lays out the slotted items. */ export default class CwStack extends CwElement { static styles: CSSResultGroup; /** The space between items, as a spacing token name. Items' own margins are kept, and add to it. */ gap: '3x-small' | '2x-small' | 'x-small' | 'small' | 'medium' | 'large' | 'x-large' | '2x-large' | '3x-large' | '4x-large'; /** * How items are aligned horizontally. `stretch` makes every item as wide as the stack; the others size each item to * its content and place it at the start, center or end. */ align: 'stretch' | 'start' | 'center' | 'end'; private resolvedGap; private resolvedAlign; willUpdate(changedProperties: PropertyValues): void; render(): import("lit-html").TemplateResult<1>; }