Fix ha-button with missing label and links (#26332)

This commit is contained in:
Wendelin
2025-07-31 12:40:17 +02:00
committed by GitHub
parent 19c2f9c9e8
commit eba1f401cc
88 changed files with 407 additions and 439 deletions

View File

@@ -32,7 +32,8 @@ export type Appearance = "accent" | "filled" | "outlined" | "plain";
* @attr {("small"|"medium")} size - Sets the button size.
* @attr {("brand"|"neutral"|"danger"|"warning"|"success")} variant - Sets the button color variant. "primary" is default.
* @attr {("accent"|"filled"|"plain")} appearance - Sets the button appearance.
* @attr {boolean} hideContent - Hides the button content (for overlays).
* @attr {boolean} loading - shows a loading indicator instead of the buttons label and disable buttons click.
* @attr {boolean} disabled - Disables the button and prevents user interaction.
*/
@customElement("ha-button")
export class HaButton extends Button {