import { BadgePosition } from '../../../Types/BadgePosition'; import { CustomElement } from '../../Abstracts/CustomElement'; import type { IBadgeElementProps } from './IBadgeElementProps'; declare const BadgeElement_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) & (abstract new (...args: Array) => import("../../../Behaviors/Labelable").ILabelableProps) & typeof CustomElement & import("../../../Behaviors/Themeable").IThemeableCtor; /** * Badge - A compact visual indicator for displaying status, counts, labels, or notifications. * * @description * The Badge component provides a versatile way to display small status indicators, notification * counts, labels, or quick status information. It can be positioned relative to parent elements, * displayed as standalone indicators, or used as overlay badges. The component supports text * content, icon display, dot indicators, and various visual styles to convey different types * of information effectively. * * @name Badge * @element mosaik-badge * @category Media * * @csspart icon - The icon part. * @csspart label - The label part. * * @cssprop {Color} --badge-background-color - The background color of the badge * @cssprop {String} --badge-border-color - The border color CSS custom property. * @cssprop {String} --badge-border-radius - The border radius controlling badge shape * @cssprop {String} --badge-border-style - The border style CSS custom property. * @cssprop {String} --badge-border-width - The border width CSS custom property. * @cssprop {String} --badge-font-family - The font family CSS custom property. * @cssprop {String} --badge-font-letter-spacing - The font letter spacing CSS custom property. * @cssprop {String} --badge-font-line-height - The font line height CSS custom property. * @cssprop {String} --badge-font-size - The font size for badge text content * @cssprop {String} --badge-font-text-decoration - The font text decoration CSS custom property. * @cssprop {String} --badge-font-text-transform - The font text transform CSS custom property. * @cssprop {String} --badge-font-weight - The font weight for badge text display * @cssprop {Color} --badge-foreground-color - The text and icon color within the badge * @cssprop {String} --badge-gap - The gap CSS custom property. * @cssprop {String} --badge-height - The height CSS custom property. * @cssprop {String} --badge-padding-bottom - The padding bottom CSS custom property. * @cssprop {String} --badge-padding-left - The padding left CSS custom property. * @cssprop {String} --badge-padding-right - The padding right CSS custom property. * @cssprop {String} --badge-padding-top - The padding top CSS custom property. * @cssprop {String} --badge-shadow - The shadow CSS custom property. * @cssprop {String} --badge-shadow-blur - The shadow blur CSS custom property. * @cssprop {String} --badge-shadow-color - The shadow color CSS custom property. * @cssprop {String} --badge-shadow-offset-x - The shadow offset x CSS custom property. * @cssprop {String} --badge-shadow-offset-y - The shadow offset y CSS custom property. * @cssprop {String} --badge-shadow-spread - The shadow spread CSS custom property. * @cssprop {String} --badge-transition-duration - The transition duration CSS custom property. * @cssprop {String} --badge-transition-mode - The transition mode CSS custom property. * @cssprop {String} --badge-transition-property - The transition property CSS custom property. * @cssprop {String} --badge-translate - The translate CSS custom property. * * @dependency mosaik-icon - The Icon element. * @dependency mosaik-text - The Text element. * * @example * Notification count badge positioned over a button (set the badge label via the `label` JavaScript property): * ```html *
* * *
* ``` * * @example * Standalone dot indicator badge: * ```html * * ``` * * @public */ export declare class BadgeElement extends BadgeElement_base implements IBadgeElementProps { private _icon; private _overlap; private _attached; private _position; /** * @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 `icon` property. * * @public */ get icon(): string; set icon(value: string); /** * Gets or sets the `overlap` property. * * @public * @attr */ get overlap(): boolean; set overlap(value: boolean); /** * Gets or sets the `attached` property. * * @public * @attr */ get attached(): boolean; set attached(value: boolean); /** * Gets or sets the `position` property. * * @public * @attr */ get position(): BadgePosition; set position(value: BadgePosition); } /** * @public */ export declare namespace BadgeElement { type Props = IBadgeElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-badge': BadgeElement; } } export {}; //# sourceMappingURL=BadgeElement.d.ts.map