@synergy-design-system/components
Version:
This package provides the base of the Synergy Design System as native web components. It uses [lit](https://www.lit.dev) and parts of [shoelace](https://shoelace.style/). Synergy officially supports the latest two versions of all major browsers (as define
26 lines (25 loc) • 944 B
TypeScript
/**
* ---------------------------------------------------------------------
* 🔒 AUTOGENERATED BY VENDORISM
* Removing this comment will prevent it from being managed by it.
* ---------------------------------------------------------------------
*/
import SynergyElement from '../../internal/synergy-element.js';
import type { CSSResultGroup } from 'lit';
/**
* @summary Badges are used to draw attention and display statuses or counts.
* @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-badge--docs
* @status stable
* @since 2.0
*
* @slot - The badge's content.
*
* @csspart base - The component's base wrapper.
*/
export default class SynBadge extends SynergyElement {
private readonly localize;
static styles: CSSResultGroup;
/** The badge's theme variant. */
variant: 'primary' | 'success' | 'neutral' | 'warning' | 'danger';
render(): import("lit").TemplateResult<1>;
}