import { CustomElement } from '../../Abstracts/CustomElement'; import { IGhostElementProps } from './IGhostElementProps'; import { CssLength } from '@breadstone/mosaik-themes'; declare const GhostElement_base: (abstract new (...args: Array) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Dimensionable").IDimensionableProps) & typeof CustomElement & import("../../../Behaviors/Themeable").IThemeableCtor; /** * Ghost - An invisible positioned placeholder element for drag-and-drop and positional references. * * @description * The Ghost component creates an invisible, absolutely positioned element that serves as a positional * reference or placeholder. It's commonly used in drag-and-drop scenarios to show where an item will * be dropped, as a measurement reference for dynamic layouts, or as an anchor point for absolutely * positioned content. The element supports custom dimensions and positioning through top, left, width, * and height properties. * * @name Ghost * @element mosaik-ghost * @category Primitives * * @slot - The default content slot (typically empty or used for hidden reference content) * * @cssprop {String} --ghost-background-color - Background color of the ghost element * @cssprop {String} --ghost-border-color - Border color for the ghost outline * @cssprop {String} --ghost-border-radius - Corner rounding radius * @cssprop {String} --ghost-border-style - Border line style * @cssprop {String} --ghost-border-width - Border thickness * @cssprop {String} --ghost-font-family - The font family CSS custom property. * @cssprop {String} --ghost-font-letter-spacing - The font letter spacing CSS custom property. * @cssprop {String} --ghost-font-line-height - The font line height CSS custom property. * @cssprop {String} --ghost-font-size - The font size CSS custom property. * @cssprop {String} --ghost-font-text-decoration - The font text decoration CSS custom property. * @cssprop {String} --ghost-font-text-transform - The font text transform CSS custom property. * @cssprop {String} --ghost-font-weight - The font weight CSS custom property. * @cssprop {String} --ghost-gap - The gap CSS custom property. * @cssprop {String} --ghost-padding-bottom - The padding bottom CSS custom property. * @cssprop {String} --ghost-padding-left - The padding left CSS custom property. * @cssprop {String} --ghost-padding-right - The padding right CSS custom property. * @cssprop {String} --ghost-padding-top - The padding top CSS custom property. * @cssprop {String} --ghost-shadow - The shadow CSS custom property. * @cssprop {String} --ghost-shadow-blur - The shadow blur CSS custom property. * @cssprop {String} --ghost-shadow-color - The shadow color CSS custom property. * @cssprop {String} --ghost-shadow-offset-x - The shadow offset x CSS custom property. * @cssprop {String} --ghost-shadow-offset-y - The shadow offset y CSS custom property. * @cssprop {String} --ghost-shadow-spread - The shadow spread CSS custom property. * @cssprop {String} --ghost-transition-duration - Duration of visual transitions * @cssprop {String} --ghost-transition-mode - Timing function for transitions * @cssprop {String} --ghost-transition-property - CSS properties to transition * @cssprop {String} --ghost-translate - The translate CSS custom property. * * @example * Basic positioned ghost element: * ```html * * ``` * * @example * Drag-and-drop drop indicator: * ```html *
* *
...
*
* * ``` * * @example * Layout measurement reference: * ```html * * ``` * * @public */ export declare class GhostElement extends GhostElement_base implements IGhostElementProps { private _top; private _left; /** * @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 `top` property. * * @public * @attr */ get top(): CssLength; set top(value: CssLength); /** * Gets or sets the `left` property. * * @public * @attr */ get left(): CssLength; set left(value: CssLength); } /** * @public */ export declare namespace GhostElement { type Props = IGhostElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-ghost': GhostElement; } } export {}; //# sourceMappingURL=GhostElement.d.ts.map