mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 03:36:44 +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() 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;
|
@property({ type: Number }) public x: number | null = null;
|
||||||
|
|
||||||
|
@ -338,7 +338,7 @@ export class MoreInfoDialog extends LitElement {
|
|||||||
></ha-icon-button>
|
></ha-icon-button>
|
||||||
<ha-button-menu
|
<ha-button-menu
|
||||||
corner="BOTTOM_END"
|
corner="BOTTOM_END"
|
||||||
menuCorner="END"
|
menu-corner="END"
|
||||||
slot="actionItems"
|
slot="actionItems"
|
||||||
@closed=${stopPropagation}
|
@closed=${stopPropagation}
|
||||||
fixed
|
fixed
|
||||||
@ -426,7 +426,7 @@ export class MoreInfoDialog extends LitElement {
|
|||||||
? html`
|
? html`
|
||||||
<ha-button-menu
|
<ha-button-menu
|
||||||
corner="BOTTOM_END"
|
corner="BOTTOM_END"
|
||||||
menuCorner="END"
|
menu-corner="END"
|
||||||
slot="actionItems"
|
slot="actionItems"
|
||||||
@closed=${stopPropagation}
|
@closed=${stopPropagation}
|
||||||
fixed
|
fixed
|
||||||
|
@ -141,7 +141,7 @@ export class DialogVoiceAssistantPipelineDetail extends LitElement {
|
|||||||
slot="actionItems"
|
slot="actionItems"
|
||||||
@action=${this._handleShowWakeWord}
|
@action=${this._handleShowWakeWord}
|
||||||
@closed=${stopPropagation}
|
@closed=${stopPropagation}
|
||||||
menuCorner="END"
|
menu-corner="END"
|
||||||
corner="BOTTOM_END"
|
corner="BOTTOM_END"
|
||||||
>
|
>
|
||||||
<ha-icon-button
|
<ha-icon-button
|
||||||
|
@ -123,7 +123,7 @@ export class HuiBadgeEditMode extends LitElement {
|
|||||||
<ha-button-menu
|
<ha-button-menu
|
||||||
class="more"
|
class="more"
|
||||||
corner="BOTTOM_END"
|
corner="BOTTOM_END"
|
||||||
menuCorner="END"
|
menu-corner="END"
|
||||||
.path=${[this.path!]}
|
.path=${[this.path!]}
|
||||||
@action=${this._handleAction}
|
@action=${this._handleAction}
|
||||||
@opened=${this._handleOpened}
|
@opened=${this._handleOpened}
|
||||||
|
@ -138,7 +138,7 @@ export class HuiCardEditMode extends LitElement {
|
|||||||
<ha-button-menu
|
<ha-button-menu
|
||||||
class="more"
|
class="more"
|
||||||
corner="BOTTOM_END"
|
corner="BOTTOM_END"
|
||||||
menuCorner="END"
|
menu-corner="END"
|
||||||
.path=${[this.path!]}
|
.path=${[this.path!]}
|
||||||
@action=${this._handleAction}
|
@action=${this._handleAction}
|
||||||
@opened=${this._handleOpened}
|
@opened=${this._handleOpened}
|
||||||
|
@ -101,7 +101,7 @@ export class HuiCardLayoutEditor extends LitElement {
|
|||||||
@closed=${stopPropagation}
|
@closed=${stopPropagation}
|
||||||
fixed
|
fixed
|
||||||
.corner=${"BOTTOM_END"}
|
.corner=${"BOTTOM_END"}
|
||||||
.menuCorner=${"END"}
|
menu-corner="END"
|
||||||
>
|
>
|
||||||
<ha-icon-button
|
<ha-icon-button
|
||||||
slot="trigger"
|
slot="trigger"
|
||||||
|
@ -114,7 +114,7 @@ export class HaCardConditionEditor extends LitElement {
|
|||||||
@closed=${stopPropagation}
|
@closed=${stopPropagation}
|
||||||
fixed
|
fixed
|
||||||
.corner=${"BOTTOM_END"}
|
.corner=${"BOTTOM_END"}
|
||||||
.menuCorner=${"END"}
|
menu-corner="END"
|
||||||
>
|
>
|
||||||
<ha-icon-button
|
<ha-icon-button
|
||||||
slot="trigger"
|
slot="trigger"
|
||||||
|
@ -114,7 +114,7 @@ class DialogDashboardStrategyEditor extends LitElement {
|
|||||||
<span slot="title" .title=${title}>${title}</span>
|
<span slot="title" .title=${title}>${title}</span>
|
||||||
<ha-button-menu
|
<ha-button-menu
|
||||||
corner="BOTTOM_END"
|
corner="BOTTOM_END"
|
||||||
menuCorner="END"
|
menu-corner="END"
|
||||||
slot="actionItems"
|
slot="actionItems"
|
||||||
@closed=${stopPropagation}
|
@closed=${stopPropagation}
|
||||||
fixed
|
fixed
|
||||||
|
@ -147,7 +147,7 @@ export class HuiDialogEditSection
|
|||||||
slot="actionItems"
|
slot="actionItems"
|
||||||
fixed
|
fixed
|
||||||
corner="BOTTOM_END"
|
corner="BOTTOM_END"
|
||||||
menuCorner="END"
|
menu-corner="END"
|
||||||
@closed=${stopPropagation}
|
@closed=${stopPropagation}
|
||||||
@action=${this._handleAction}
|
@action=${this._handleAction}
|
||||||
>
|
>
|
||||||
|
@ -216,7 +216,7 @@ export class HuiDialogEditView extends LitElement {
|
|||||||
slot="actionItems"
|
slot="actionItems"
|
||||||
fixed
|
fixed
|
||||||
corner="BOTTOM_END"
|
corner="BOTTOM_END"
|
||||||
menuCorner="END"
|
menu-corner="END"
|
||||||
@action=${this._handleAction}
|
@action=${this._handleAction}
|
||||||
@closed=${stopPropagation}
|
@closed=${stopPropagation}
|
||||||
>
|
>
|
||||||
|
@ -148,7 +148,7 @@ class HaRefreshTokens extends LitElement {
|
|||||||
<div>
|
<div>
|
||||||
<ha-button-menu
|
<ha-button-menu
|
||||||
corner="BOTTOM_END"
|
corner="BOTTOM_END"
|
||||||
menuCorner="END"
|
menu-corner="END"
|
||||||
@action=${this._handleAction}
|
@action=${this._handleAction}
|
||||||
.token=${token}
|
.token=${token}
|
||||||
>
|
>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user