@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
38 lines (37 loc) • 1.3 kB
TypeScript
/**
* ---------------------------------------------------------------------
* 🔒 AUTOGENERATED BY VENDORISM
* Removing this comment will prevent it from being managed by it.
* ---------------------------------------------------------------------
*/
import SynDivider from '../divider/divider.component.js';
import SynergyElement from '../../internal/synergy-element.js';
import type { CSSResultGroup } from 'lit';
/**
* @summary Menu labels are used to describe a group of menu items.
* @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-menu-label--docs
* @status stable
* @since 2.0
*
* @slot - The menu label's content.
*
* @csspart base - The component's base wrapper.
* @csspart divider - The divider that is displayed above the content
* @csspart label - The label that is displayed below the divider
*
* @dependency syn-divider
*
* @cssproperty --display-divider - Display property of the divider. Defaults to "block"
*/
export default class SynMenuLabel extends SynergyElement {
static styles: CSSResultGroup;
static dependencies: {
'syn-divider': typeof SynDivider;
};
render(): import("lit").TemplateResult<1>;
}
declare global {
interface HTMLElementTagNameMap {
'syn-menu-label': SynMenuLabel;
}
}