import { CustomElement } from '../../Abstracts/CustomElement'; import type { IFlipElementProps } from './IFlipElementProps'; import { FlipSide } from '../../../Types/FlipSide'; declare const FlipElement_base: (abstract new (...args: Array) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Disableable").IDisableableProps) & typeof CustomElement & import("../../../Behaviors/Themeable").IThemeableCtor; /** * Flip - A UI element that can be flipped by 180 degrees when activated. * * @description * The Flip component is designed to visually flip or rotate by 180 degrees when checked or activated. It's often used * to toggle between two different views or states, providing a dynamic user interface element. * * @element mosaik-flip * @category Primitives * * @slot back - the back slot. * @slot front - the front slot. * * @csspart back - The back part. * @csspart front - The front part. * @csspart root - The root part. * * @cssprop {String} --flip-font-family - The font family CSS custom property. * @cssprop {String} --flip-font-letter-spacing - The font letter spacing CSS custom property. * @cssprop {String} --flip-font-line-height - The font line height CSS custom property. * @cssprop {String} --flip-font-size - The font size CSS custom property. * @cssprop {String} --flip-font-text-decoration - The font text decoration CSS custom property. * @cssprop {String} --flip-font-text-transform - The font text transform CSS custom property. * @cssprop {String} --flip-font-weight - The font weight CSS custom property. * @cssprop {String} --flip-gap - The gap CSS custom property. * @cssprop {String} --flip-padding-bottom - The padding bottom CSS custom property. * @cssprop {String} --flip-padding-left - The padding left CSS custom property. * @cssprop {String} --flip-padding-right - The padding right CSS custom property. * @cssprop {String} --flip-padding-top - The padding top CSS custom property. * @cssprop {String} --flip-shadow - The shadow CSS custom property. * @cssprop {String} --flip-shadow-blur - The shadow blur CSS custom property. * @cssprop {String} --flip-shadow-color - The shadow color CSS custom property. * @cssprop {String} --flip-shadow-offset-x - The shadow offset x CSS custom property. * @cssprop {String} --flip-shadow-offset-y - The shadow offset y CSS custom property. * @cssprop {String} --flip-shadow-spread - The shadow spread CSS custom property. * @cssprop {String} --flip-transition-duration - The transition duration CSS custom property. * @cssprop {String} --flip-transition-mode - The transition mode CSS custom property. * @cssprop {String} --flip-transition-property - The transition property CSS custom property. * @cssprop {String} --flip-translate - The translate CSS custom property. * * @example * ```html * * *
Front
* *
Back
*
* ``` * * @public */ export declare class FlipElement extends FlipElement_base implements IFlipElementProps { private _side; /** * @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 `isFlipped` property. * * @public * @attr */ get side(): FlipSide; set side(value: FlipSide); /** * Toggles the flip state of the element. * * @public */ toggle(): void; } /** * @public */ export declare namespace FlipElement { type Props = IFlipElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-flip': FlipElement; } } export {}; //# sourceMappingURL=FlipElement.d.ts.map