import { PharosElement } from '../base/pharos-element'; import { nothing } from 'lit'; import type { TemplateResult, CSSResultArray, PropertyValues } from 'lit'; import { PharosButton } from '../button/pharos-button'; import { PharosHeading } from '../heading/pharos-heading'; declare const PharosSheet_base: typeof PharosElement; /** * Pharos sheet component. * * @tag pharos-sheet * * @slot description - Content that describes the primary message or purpose of the sheet. * @slot - Contains the content of the sheet body. * * @fires pharos-sheet-open - Fires when the sheet is about to open - cancelable * @fires pharos-sheet-opened - Fires when the sheet has opened * @fires pharos-sheet-expanded - Fires when the sheet has expanded * @fires pharos-sheet-collapsed - Fires when the sheet has collapsed * @fires pharos-sheet-close - Fires when the sheet is about to close - cancelable * @fires pharos-sheet-closed - Fires when the sheet has closed * */ export declare class PharosSheet extends PharosSheet_base { static elementDefinitions: { 'pharos-button': typeof PharosButton; 'pharos-heading': typeof PharosHeading; }; private _focusTrapController; MAX_EXPAND_PERCENTAGE: string; MIN_EXPAND_PERCENTAGE: string; /** * Indicates if the sheet is open. * @attr open */ open: boolean; /** * Indicates if the sheet is expanded. * @attr expanded */ expanded: boolean; /** * Indicates if the sheet is allowed to expand. * @attr enableExpansion */ enableExpansion: boolean; /** * Indicates if the sheet contains close button. * @attr hasClose */ hasClose: boolean; /** * Text content for the sheet header * @attr header */ header: string; /** * Indicates the minimum height for the sheet in pixels * @attr minHeight */ minHeight: number; /** * Indicates if the sheet omits the overlay * @attr omitOverlay */ omitOverlay: boolean; /** * Indicates if the sheet should dock rather than close * @attr docked */ docked: boolean; private _currentTrigger; private _triggers; private _minHeight; private _startY; private _newHeight; private _isDragging; private _sheetContent; private _sheetOverlay; private _sheetDialogNoOverlay; private _sheetDialog; constructor(); static get styles(): CSSResultArray; protected firstUpdated(): void; protected update(changedProperties: PropertyValues): void; protected updated(changedProperties: PropertyValues): void; connectedCallback(): void; disconnectedCallback(): void; private _addTriggerListeners; private _getMinHeightStr; private _getMaxHeightStr; private _closeSheet; private _openSheet; private _handleKeydown; private _handleOverlayInteraction; private _handleDialogClick; private _handleMouseDragStart; private _handleTouchDragStart; private _handleMouseDragging; private _handleTouchDragging; private _handleDragEnd; private _handleTriggerClick; private _focusContents; private _returnTriggerFocus; private _emitVisibilityChange; protected get descriptionContent(): TemplateResult | typeof nothing; protected get descriptionId(): string | undefined; private _renderCloseButton; protected renderSheet(): TemplateResult; protected render(): TemplateResult; } export {}; //# sourceMappingURL=pharos-sheet.d.ts.map