import { CssLength } from '@breadstone/mosaik-themes'; import { Fit } from '../../../Types/Fit'; import { CustomElement } from '../../Abstracts/CustomElement'; import type { IBoxElementProps } from './IBoxElementProps'; declare const BoxElement_base: (abstract new (...args: Array) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Fitable").IFitableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Dimensionable").IDimensionableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Insetable").IInsetableProps) & typeof CustomElement & import("../../../Behaviors/Themeable").IThemeableCtor; /** * Box - A rectangular container used to group or layout other elements. * * @description * Is a equivalent to a `
` element with additional features. * Also known as a "container" or "panel". * * @name Box * @element mosaik-box * @category Primitives * * @slot - Default slot for child elements. * @slot dismiss - Slot for dismiss button. * * @csspart dismiss - The dismiss part. * * @cssprop {String} --box-background-color - The background color CSS custom property. * @cssprop {String} --box-border-color - The border color CSS custom property. * @cssprop {String} --box-border-radius - The border radius CSS custom property. * @cssprop {String} --box-border-style - The border style CSS custom property. * @cssprop {String} --box-border-width - The border width CSS custom property. * @cssprop {String} --box-font-family - The font family CSS custom property. * @cssprop {String} --box-font-letter-spacing - The font letter spacing CSS custom property. * @cssprop {String} --box-font-line-height - The font line height CSS custom property. * @cssprop {String} --box-font-size - The font size CSS custom property. * @cssprop {String} --box-font-text-decoration - The font text decoration CSS custom property. * @cssprop {String} --box-font-text-transform - The font text transform CSS custom property. * @cssprop {String} --box-font-weight - The font weight CSS custom property. * @cssprop {String} --box-foreground-color - The foreground color CSS custom property. * @cssprop {String} --box-gap - The gap CSS custom property. * @cssprop {String} --box-height - The height CSS custom property. * @cssprop {String} --box-padding-bottom - The padding bottom CSS custom property. * @cssprop {String} --box-padding-left - The padding left CSS custom property. * @cssprop {String} --box-padding-right - The padding right CSS custom property. * @cssprop {String} --box-padding-top - The padding top CSS custom property. * @cssprop {String} --box-shadow - The shadow CSS custom property. * @cssprop {String} --box-shadow-blur - The shadow blur CSS custom property. * @cssprop {String} --box-shadow-color - The shadow color CSS custom property. * @cssprop {String} --box-shadow-offset-x - The shadow offset x CSS custom property. * @cssprop {String} --box-shadow-offset-y - The shadow offset y CSS custom property. * @cssprop {String} --box-shadow-spread - The shadow spread CSS custom property. * @cssprop {String} --box-transition-duration - The transition duration CSS custom property. * @cssprop {String} --box-transition-mode - The transition mode CSS custom property. * @cssprop {String} --box-transition-property - The transition property CSS custom property. * @cssprop {String} --box-translate - The translate CSS custom property. * @cssprop {String} --box-width - The width CSS custom property. * * @example * Basic box container: * ```html * *

Content goes here

*
* ``` * * @example * Highlighted cornered box: * ```html * *

Highlighted panel

*
* ``` * * @public */ export declare class BoxElement extends BoxElement_base implements IBoxElementProps { private readonly _inlineStyleController; private _highlighted; private _cornered; /** * @public */ constructor(); /** * Returns the `is` property. * The `is` property represents natural name of this element. * * @public * @static * @readonly */ static get is(): string; /** * Gets or sets the `highlighted` property. * * @public * @attr */ get highlighted(): boolean; set highlighted(value: boolean); /** * Gets or sets the `cornered` property. * * @public * @attr */ get cornered(): boolean; set cornered(value: boolean); /** * @public * @override */ get width(): CssLength; set width(value: CssLength); /** * @public * @override */ get height(): CssLength; set height(value: CssLength); /** * @public * @override */ get fit(): Fit; set fit(value: Fit); } /** * @public */ export declare namespace BoxElement { type Props = IBoxElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-box': BoxElement; } } export {}; //# sourceMappingURL=BoxElement.d.ts.map