@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
35 lines (34 loc) • 1.29 kB
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 Button groups can be used to group related buttons into sections.
* @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-button-group--docs
* @status stable
* @since 2.0
*
* @slot - One or more `<syn-button>` elements to display in the button group.
*
* @csspart base - The component's base wrapper.
*/
export default class SynButtonGroup extends SynergyElement {
static styles: CSSResultGroup;
defaultSlot: HTMLSlotElement;
disableRole: boolean;
/**
* A label to use for the button group. This won't be displayed on the screen, but it will be announced by assistive
* devices when interacting with the control and is strongly recommended.
*/
label: string;
private handleFocus;
private handleBlur;
private handleMouseOver;
private handleMouseOut;
private handleSlotChange;
render(): import("lit").TemplateResult<1>;
}