mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Fix ha-button-menu menuCorner attribute (#23301)
Fix menuCorner attribute
This commit is contained in:
parent
65458538a7
commit
6db9bf800a
@ -14,7 +14,8 @@ export class HaButtonMenu extends LitElement {
|
||||
|
||||
@property() public corner: Corner = "BOTTOM_START";
|
||||
|
||||
@property({ attribute: false }) public menuCorner: MenuCorner = "START";
|
||||
@property({ attribute: "menu-corner" }) public menuCorner: MenuCorner =
|
||||
"START";
|
||||
|
||||
@property({ type: Number }) public x: number | null = null;
|
||||
|
||||
|
@ -338,7 +338,7 @@ export class MoreInfoDialog extends LitElement {
|
||||
></ha-icon-button>
|
||||
<ha-button-menu
|
||||
corner="BOTTOM_END"
|
||||
menuCorner="END"
|
||||
menu-corner="END"
|
||||
slot="actionItems"
|
||||
@closed=${stopPropagation}
|
||||
fixed
|
||||
@ -426,7 +426,7 @@ export class MoreInfoDialog extends LitElement {
|
||||
? html`
|
||||
<ha-button-menu
|
||||
corner="BOTTOM_END"
|
||||
menuCorner="END"
|
||||
menu-corner="END"
|
||||
slot="actionItems"
|
||||
@closed=${stopPropagation}
|
||||
fixed
|
||||
|
@ -141,7 +141,7 @@ export class DialogVoiceAssistantPipelineDetail extends LitElement {
|
||||
slot="actionItems"
|
||||
@action=${this._handleShowWakeWord}
|
||||
@closed=${stopPropagation}
|
||||
menuCorner="END"
|
||||
menu-corner="END"
|
||||
corner="BOTTOM_END"
|
||||
>
|
||||
<ha-icon-button
|
||||
|
@ -123,7 +123,7 @@ export class HuiBadgeEditMode extends LitElement {
|
||||
<ha-button-menu
|
||||
class="more"
|
||||
corner="BOTTOM_END"
|
||||
menuCorner="END"
|
||||
menu-corner="END"
|
||||
.path=${[this.path!]}
|
||||
@action=${this._handleAction}
|
||||
@opened=${this._handleOpened}
|
||||
|
@ -138,7 +138,7 @@ export class HuiCardEditMode extends LitElement {
|
||||
<ha-button-menu
|
||||
class="more"
|
||||
corner="BOTTOM_END"
|
||||
menuCorner="END"
|
||||
menu-corner="END"
|
||||
.path=${[this.path!]}
|
||||
@action=${this._handleAction}
|
||||
@opened=${this._handleOpened}
|
||||
|
@ -101,7 +101,7 @@ export class HuiCardLayoutEditor extends LitElement {
|
||||
@closed=${stopPropagation}
|
||||
fixed
|
||||
.corner=${"BOTTOM_END"}
|
||||
.menuCorner=${"END"}
|
||||
menu-corner="END"
|
||||
>
|
||||
<ha-icon-button
|
||||
slot="trigger"
|
||||
|
@ -114,7 +114,7 @@ export class HaCardConditionEditor extends LitElement {
|
||||
@closed=${stopPropagation}
|
||||
fixed
|
||||
.corner=${"BOTTOM_END"}
|
||||
.menuCorner=${"END"}
|
||||
menu-corner="END"
|
||||
>
|
||||
<ha-icon-button
|
||||
slot="trigger"
|
||||
|
@ -114,7 +114,7 @@ class DialogDashboardStrategyEditor extends LitElement {
|
||||
<span slot="title" .title=${title}>${title}</span>
|
||||
<ha-button-menu
|
||||
corner="BOTTOM_END"
|
||||
menuCorner="END"
|
||||
menu-corner="END"
|
||||
slot="actionItems"
|
||||
@closed=${stopPropagation}
|
||||
fixed
|
||||
|
@ -147,7 +147,7 @@ export class HuiDialogEditSection
|
||||
slot="actionItems"
|
||||
fixed
|
||||
corner="BOTTOM_END"
|
||||
menuCorner="END"
|
||||
menu-corner="END"
|
||||
@closed=${stopPropagation}
|
||||
@action=${this._handleAction}
|
||||
>
|
||||
|
@ -216,7 +216,7 @@ export class HuiDialogEditView extends LitElement {
|
||||
slot="actionItems"
|
||||
fixed
|
||||
corner="BOTTOM_END"
|
||||
menuCorner="END"
|
||||
menu-corner="END"
|
||||
@action=${this._handleAction}
|
||||
@closed=${stopPropagation}
|
||||
>
|
||||
|
@ -148,7 +148,7 @@ class HaRefreshTokens extends LitElement {
|
||||
<div>
|
||||
<ha-button-menu
|
||||
corner="BOTTOM_END"
|
||||
menuCorner="END"
|
||||
menu-corner="END"
|
||||
@action=${this._handleAction}
|
||||
.token=${token}
|
||||
>
|
||||
|
Loading…
x
Reference in New Issue
Block a user