import { LitElement } from 'lit'; import { Ref } from 'lit/directives/ref.js'; import { LisSlotController } from '../controllers'; /** * @htmlElement `` * * A Web Component that provides a generic modal element. * * The modal is a wrapper for the UIkit modal and can be interacted with using the UIkit API. See, https://getuikit.com/docs/modal, for more information. * * @slot - Adds content after the content defined via the component properties. * Can be used to manually create markup that has the same styling as the * component. * * @example * The modal element's * {@link modalId | `modalId`} and {@link heading | `heading`} * attributes/properties can be set via HTML or * javascript. * * For example: * ```html * * *

Some HTML or text to be rendered

*
* ``` * * @example * In the example below, the lis-simple-table-element web component * is rendered within the lis-modal-element. * * The attributes/properties for lis-simple-table-element are set below * in javascript. Please see the documentation for lis-simple-table-element * for more information. * * ```html * * * * * * * ``` */ export declare class LisModalElement extends LitElement { /** @ignore */ static styles: import("lit").CSSResult; /** @ignore */ createRenderRoot(): this; protected defaultSlotRef: Ref; protected slotController: LisSlotController; constructor(); /** * The text to use as the Id for the uk-modal. * This is used to bind buttons to show/hide. * * @attribute */ modalId: string; /** * The text or HTML to populate uk-modal-header * * @attribute */ heading: string; /** * Options to pass to the uk-modal attribute (e.g. "container: false"). * * @attribute */ modalOptions: string; /** @ignore */ private _getHeading; /** @ignore */ render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'lis-modal-element': LisModalElement; } } //# sourceMappingURL=lis-modal-element.d.ts.map