sudovanilla-website/public/@shoelace-style/shoelace/cdn/components/badge/badge.component.d.ts

23 lines
774 B
TypeScript
Raw Normal View History

2024-05-13 22:34:06 -05:00
import ShoelaceElement from '../../internal/shoelace-element.js';
import type { CSSResultGroup } from 'lit';
/**
* @summary Badges are used to draw attention and display statuses or counts.
* @documentation https://shoelace.style/components/badge
* @status stable
* @since 2.0
*
* @slot - The badge's content.
*
* @csspart base - The component's base wrapper.
*/
export default class SlBadge extends ShoelaceElement {
static styles: CSSResultGroup;
/** The badge's theme variant. */
variant: 'primary' | 'success' | 'neutral' | 'warning' | 'danger';
/** Draws a pill-style badge with rounded edges. */
pill: boolean;
/** Makes the badge pulsate to draw attention. */
pulse: boolean;
render(): import("lit-html").TemplateResult<1>;
}