28 lines
1,005 B
TypeScript
28 lines
1,005 B
TypeScript
import ShoelaceElement from '../../internal/shoelace-element.js';
|
|
import type { CSSResultGroup } from 'lit';
|
|
/**
|
|
* @summary Button groups can be used to group related buttons into sections.
|
|
* @documentation https://shoelace.style/components/button-group
|
|
* @status stable
|
|
* @since 2.0
|
|
*
|
|
* @slot - One or more `<sl-button>` elements to display in the button group.
|
|
*
|
|
* @csspart base - The component's base wrapper.
|
|
*/
|
|
export default class SlButtonGroup extends ShoelaceElement {
|
|
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-html").TemplateResult<1>;
|
|
}
|