import { type ICheckable, type ICheckableEvents } from '../../../Behaviors/Checkable'; import { ICloseable, type ICloseableEvents } from '../../../Behaviors/Closeable'; import { ISlottable } from '../../../Behaviors/Slottable'; import type { Appearance } from '../../../Types/Appearance'; import type { Size } from '../../../Types/Size'; import type { Variant } from '../../../Types/Variant'; import { CustomElement } from '../../Abstracts/CustomElement'; import type { IChipElementProps } from './IChipElementProps'; declare const ChipElement_base: (abstract new (...args: Array) => import("../../../../Controls/Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Rippleable").IRippleableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Closeable").ICloseableProps & ICloseableEvents & ICloseable) & (abstract new (...args: Array) => import("../../../Behaviors/Variantable").IVariantableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Appearanceable").IAppearanceableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Checkable").ICheckableProps & ICheckableEvents & ICheckable) & (abstract new (...args: Array) => import("../../../Behaviors/Disableable").IDisableableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Sizeable").ISizeableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Focusable").IFocusableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Labelable").ILabelableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Slottable").ISlottableProps & ISlottable) & (abstract new (...args: Array) => import("../../../Behaviors/Valueable").IValueableProps) & typeof CustomElement & import("../../../../Controls/Behaviors/Themeable").IThemeableCtor; /** * Chip - A compact element representing information, a tag, or a selection. * * @element mosaik-chip * * @slot checkmark - The checkmark slot. * @slot close - The close button slot. * @slot icon - The icon slot. * @slot label - The label slot. * * @csspart checkmark - The checkmark element shown when checked. * @csspart checkmark-container - The container for the checkmark with slide-in animation. * @csspart close - The close button element. * @csspart focusRing - The focus ring element. * @csspart icon - The icon element. * @csspart label - The label text element. * @csspart ripple - The ripple effect element. * * @cssprop {String} --chip-background-color - The background color CSS custom property. * @cssprop {String} --chip-border-color - The border color CSS custom property. * @cssprop {String} --chip-border-radius - The border radius CSS custom property. * @cssprop {String} --chip-border-style - The border style CSS custom property. * @cssprop {String} --chip-border-width - The border width CSS custom property. * @cssprop {String} --chip-focus-ring-active-width - The focus ring active width CSS custom property. * @cssprop {String} --chip-focus-ring-color - The focus ring color CSS custom property. * @cssprop {String} --chip-focus-ring-inward-offset - The focus ring inward offset CSS custom property. * @cssprop {String} --chip-focus-ring-outward-offset - The focus ring outward offset CSS custom property. * @cssprop {String} --chip-font-family - The font family CSS custom property. * @cssprop {String} --chip-font-letter-spacing - The font letter spacing CSS custom property. * @cssprop {String} --chip-font-line-height - The font line height CSS custom property. * @cssprop {String} --chip-font-size - The font size CSS custom property. * @cssprop {String} --chip-font-text-decoration - The font text decoration CSS custom property. * @cssprop {String} --chip-font-text-transform - The font text transform CSS custom property. * @cssprop {String} --chip-font-weight - The font weight CSS custom property. * @cssprop {String} --chip-foreground-color - The foreground color CSS custom property. * @cssprop {String} --chip-gap - The gap CSS custom property. * @cssprop {String} --chip-height - The height CSS custom property. * @cssprop {String} --chip-padding-bottom - The padding bottom CSS custom property. * @cssprop {String} --chip-padding-left - The padding left CSS custom property. * @cssprop {String} --chip-padding-right - The padding right CSS custom property. * @cssprop {String} --chip-padding-top - The padding top CSS custom property. * @cssprop {Color} --chip-ripple-color - The ripple color CSS custom property. * @cssprop {String} --chip-ripple-duration - The ripple duration CSS custom property. * @cssprop {String} --chip-shadow - The shadow CSS custom property. * @cssprop {String} --chip-shadow-blur - The shadow blur CSS custom property. * @cssprop {String} --chip-shadow-color - The shadow color CSS custom property. * @cssprop {String} --chip-shadow-offset-x - The shadow offset x CSS custom property. * @cssprop {String} --chip-shadow-offset-y - The shadow offset y CSS custom property. * @cssprop {String} --chip-shadow-spread - The shadow spread CSS custom property. * @cssprop {String} --chip-transition-duration - The transition duration CSS custom property. * @cssprop {String} --chip-transition-mode - The transition mode CSS custom property. * @cssprop {String} --chip-transition-property - The transition property CSS custom property. * @cssprop {String} --chip-translate - The translate CSS custom property. * * @fires toggled {ToggledEvent} - Dispatched when the chip is toggled, regardless of the new state. * @fires checked {CheckedEvent} - Dispatched when the chip is checked. * @fires unchecked {UncheckedEvent} - Dispatched when the chip is unchecked. * @fires closed {ClosedEvent} - Dispatched when the chip is closed. * * @dependency mosaik-checkmark - The Checkmark element. * @dependency mosaik-focus-ring - The Focus Ring element. * @dependency mosaik-icon - The Icon element. * @dependency mosaik-ripple - The Ripple element. * @dependency mosaik-text - The Text element. * * @example * Basic chip (set display label via the `label` JavaScript property): * ```html * * ``` * * @example * Checkable chip with a value: * ```html * * ``` * * @example * Pre-checked chip with variant and appearance: * ```html * * ``` * * @public */ export declare class ChipElement extends ChipElement_base implements IChipElementProps, ICheckableEvents, ICloseableEvents, ICheckable, ICloseable, ISlottable { private readonly _inheritance; private _icon; private _isCheckable; /** * @public */ constructor(); /** * Returns the `is` property. * * @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 `isCheckable` property. * * @public * @attr */ get isCheckable(): boolean; set isCheckable(value: boolean); /** * @public * @override */ get isChecked(): boolean; set isChecked(value: boolean); /** * @public * @override */ get size(): Size; set size(value: Size); /** * @public * @override */ get disabled(): boolean; set disabled(value: boolean); /** * @public * @override */ get variant(): Variant; set variant(value: Variant); /** * @public * @override */ get appearance(): Appearance; set appearance(value: Appearance); /** * @public * @override */ connectedCallback(): void; /** * @public * @overload */ check(): void; /** * @public * @override */ uncheck(): void; /** * @public * @override */ toggle(): void; /** * @protected * @template */ onCloseClick(e: MouseEvent): void; } /** * @public */ export declare namespace ChipElement { type Props = IChipElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-chip': ChipElement; } } export {}; //# sourceMappingURL=ChipElement.d.ts.map