import type { Size } from '../../../Types/Size'; import { CustomElement } from '../../Abstracts/CustomElement'; import type { IPipElementProps } from './IPipElementProps'; declare const PipElement_base: (abstract new (...args: Array) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Appearanceable").IAppearanceableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Variantable").IVariantableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Sizeable").ISizeableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Disableable").IDisableableProps) & typeof CustomElement & import("../../../Behaviors/Themeable").IThemeableCtor; /** * Pip - A compact, round visual indicator that displays a single digit, letter, symbol, or icon. * * @description * The Pip component renders a small, circular badge-like element that can contain a text character * (digit, letter, symbol) or an icon. It is designed as a generic, reusable indicator for use in * listings, timelines, steppers, and other components that need a visual marker for items. * Unlike specialized markers, Pip contains no numbering or enumeration logic - it simply renders * the content it is given. * * @name Pip * @element mosaik-pip * @category Primitives * * @csspart label - The text content rendered inside the pip * @csspart icon - The icon rendered inside the pip when `icon` is set * * @cssprop {Color} --pip-background-color - The background color of the pip * @cssprop {Color} --pip-foreground-color - The text and icon color of the pip * @cssprop {String} --pip-border-color - The border color of the pip * @cssprop {String} --pip-border-width - The border width of the pip * @cssprop {String} --pip-border-style - The border style of the pip * @cssprop {String} --pip-font-family - The font family for the pip label * @cssprop {String} --pip-font-size - The font size for the pip label * @cssprop {String} --pip-font-weight - The font weight for the pip label * @cssprop {String} --pip-font-line-height - The line height for the pip label * @cssprop {String} --pip-font-letter-spacing - The letter spacing for the pip label * @cssprop {String} --pip-font-text-decoration - The text decoration for the pip label * @cssprop {String} --pip-font-text-transform - The text transform for the pip label * @cssprop {String} --pip-height - The height and width of the pip * @cssprop {String} --pip-gap - The gap inside the pip * @cssprop {String} --pip-padding-top - The top padding inside the pip * @cssprop {String} --pip-padding-right - The right padding inside the pip * @cssprop {String} --pip-padding-bottom - The bottom padding inside the pip * @cssprop {String} --pip-padding-left - The left padding inside the pip * @cssprop {String} --pip-transition-duration - The transition duration * @cssprop {String} --pip-transition-mode - The transition timing function * @cssprop {String} --pip-transition-property - The CSS properties to animate during transitions * * @dependency {TextElement} - Text component for rendering the pip label * @dependency {IconElement} - Icon component for rendering SVG icons inside the pip * * @example * Text pip with a number: * ```html * * ``` * * @example * Text pip with a letter: * ```html * * ``` * * @example * Icon pip (set icon via JavaScript): * ```html * * * ``` * * @example * Symbol pip: * ```html * * ``` * * @public */ export declare class PipElement extends PipElement_base implements IPipElementProps { private _text; private _icon; private _iconSize; /** * @public */ constructor(); /** * Returns the `is` property. * * @public * @static * @readonly */ static get is(): string; /** * Gets or sets the text content displayed inside the pip. * Can be a digit, letter, or symbol (e.g., `"1"`, `"A"`, `"✓"`). * Ignored when `icon` is set. * The default value is an empty string. * * @public * @attr */ get text(): string; set text(value: string); /** * Gets or sets the icon SVG path data displayed inside the pip. * When set, the icon takes precedence over `text`. * The default value is an empty string (no icon). * * @public */ get icon(): string; set icon(value: string); /** * Gets or sets the size of the icon inside the pip. * When `null`, the icon size adapts to the pip's own size. * The default value is `null`. * * @public * @attr icon-size */ get iconSize(): Size | null; set iconSize(value: Size | null); } /** * @public */ export declare namespace PipElement { type Props = IPipElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-pip': PipElement; } } export {}; //# sourceMappingURL=PipElement.d.ts.map