mirror of
https://github.com/home-assistant/frontend.git
synced 2026-02-06 16:28:28 +00:00
Compare commits
3 Commits
migrate-di
...
dev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0f9cb9c13e | ||
|
|
7aa235c6af | ||
|
|
e8ddae8189 |
@@ -18,7 +18,7 @@ The Home Assistant interface is based on Material Design. It's a design system c
|
||||
|
||||
We want to make it as easy for designers to contribute as it is for developers. There’s a lot a designer can contribute to:
|
||||
|
||||
- Meet us at <a href="https://www.home-assistant.io/join-chat" rel="noopener noreferrer" target="_blank">devs_ux Discord</a>. Feel free to share your designs, user test or strategic ideas.
|
||||
- Meet us at <a href="https://www.home-assistant.io/join-chat-design" rel="noopener noreferrer" target="_blank">Discord #designers channel</a>. If you can't see the channel, make sure you set the correct role in Channels & Roles.
|
||||
- Start designing with our <a href="https://www.figma.com/community/file/967153512097289521/Home-Assistant-DesignKit" rel="noopener noreferrer" target="_blank">Figma DesignKit</a>.
|
||||
- Find the latest UX <a href="https://github.com/home-assistant/frontend/discussions?discussions_q=label%3Aux" rel="noopener noreferrer" target="_blank">discussions</a> and <a href="https://github.com/home-assistant/frontend/labels/ux" rel="noopener noreferrer" target="_blank">issues</a> on GitHub. Everyone can start a new issue or discussion!
|
||||
|
||||
|
||||
@@ -155,7 +155,7 @@
|
||||
"@octokit/plugin-retry": "8.0.3",
|
||||
"@octokit/rest": "22.0.1",
|
||||
"@rsdoctor/rspack-plugin": "1.5.1",
|
||||
"@rspack/core": "1.7.4",
|
||||
"@rspack/core": "1.7.5",
|
||||
"@rspack/dev-server": "1.2.1",
|
||||
"@types/babel__plugin-transform-runtime": "7.9.5",
|
||||
"@types/chromecast-caf-receiver": "6.0.25",
|
||||
|
||||
@@ -5,7 +5,8 @@ import { customElement, property, state } from "lit/decorators";
|
||||
import { fireEvent } from "../../../../common/dom/fire_event";
|
||||
import "../../../../components/ha-alert";
|
||||
import "../../../../components/ha-button";
|
||||
import { createCloseHeading } from "../../../../components/ha-dialog";
|
||||
import "../../../../components/ha-dialog-footer";
|
||||
import "../../../../components/ha-wa-dialog";
|
||||
import type { HassDialog } from "../../../../dialogs/make-dialog-manager";
|
||||
import { haStyleDialog } from "../../../../resources/styles";
|
||||
import type { HomeAssistant } from "../../../../types";
|
||||
@@ -21,14 +22,21 @@ export class DialogJoinBeta
|
||||
|
||||
@state() private _dialogParams?: JoinBetaDialogParams;
|
||||
|
||||
@state() private _open = false;
|
||||
|
||||
public showDialog(dialogParams: JoinBetaDialogParams): void {
|
||||
this._dialogParams = dialogParams;
|
||||
this._open = true;
|
||||
}
|
||||
|
||||
public closeDialog() {
|
||||
this._open = false;
|
||||
return true;
|
||||
}
|
||||
|
||||
private _dialogClosed() {
|
||||
this._dialogParams = undefined;
|
||||
fireEvent(this, "dialog-closed", { dialog: this.localName });
|
||||
return true;
|
||||
}
|
||||
|
||||
protected render() {
|
||||
@@ -37,13 +45,11 @@ export class DialogJoinBeta
|
||||
}
|
||||
|
||||
return html`
|
||||
<ha-dialog
|
||||
open
|
||||
@closed=${this.closeDialog}
|
||||
.heading=${createCloseHeading(
|
||||
this.hass,
|
||||
this.hass.localize("ui.dialogs.join_beta_channel.title")
|
||||
)}
|
||||
<ha-wa-dialog
|
||||
.hass=${this.hass}
|
||||
.open=${this._open}
|
||||
header-title=${this.hass.localize("ui.dialogs.join_beta_channel.title")}
|
||||
@closed=${this._dialogClosed}
|
||||
>
|
||||
<ha-alert alert-type="warning">
|
||||
${this.hass.localize("ui.dialogs.join_beta_channel.backup")}
|
||||
@@ -67,17 +73,19 @@ export class DialogJoinBeta
|
||||
)}
|
||||
<ha-svg-icon .path=${mdiOpenInNew}></ha-svg-icon>
|
||||
</a>
|
||||
<ha-button
|
||||
appearance="plain"
|
||||
slot="primaryAction"
|
||||
@click=${this._cancel}
|
||||
>
|
||||
${this.hass.localize("ui.common.cancel")}
|
||||
</ha-button>
|
||||
<ha-button slot="primaryAction" @click=${this._join}>
|
||||
${this.hass.localize("ui.dialogs.join_beta_channel.join")}
|
||||
</ha-button>
|
||||
</ha-dialog>
|
||||
<ha-dialog-footer slot="footer">
|
||||
<ha-button
|
||||
slot="secondaryAction"
|
||||
appearance="plain"
|
||||
@click=${this._cancel}
|
||||
>
|
||||
${this.hass.localize("ui.common.cancel")}
|
||||
</ha-button>
|
||||
<ha-button slot="primaryAction" @click=${this._join}>
|
||||
${this.hass.localize("ui.dialogs.join_beta_channel.join")}
|
||||
</ha-button>
|
||||
</ha-dialog-footer>
|
||||
</ha-wa-dialog>
|
||||
`;
|
||||
}
|
||||
|
||||
|
||||
100
yarn.lock
100
yarn.lock
@@ -4013,92 +4013,92 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@rspack/binding-darwin-arm64@npm:1.7.4":
|
||||
version: 1.7.4
|
||||
resolution: "@rspack/binding-darwin-arm64@npm:1.7.4"
|
||||
"@rspack/binding-darwin-arm64@npm:1.7.5":
|
||||
version: 1.7.5
|
||||
resolution: "@rspack/binding-darwin-arm64@npm:1.7.5"
|
||||
conditions: os=darwin & cpu=arm64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@rspack/binding-darwin-x64@npm:1.7.4":
|
||||
version: 1.7.4
|
||||
resolution: "@rspack/binding-darwin-x64@npm:1.7.4"
|
||||
"@rspack/binding-darwin-x64@npm:1.7.5":
|
||||
version: 1.7.5
|
||||
resolution: "@rspack/binding-darwin-x64@npm:1.7.5"
|
||||
conditions: os=darwin & cpu=x64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@rspack/binding-linux-arm64-gnu@npm:1.7.4":
|
||||
version: 1.7.4
|
||||
resolution: "@rspack/binding-linux-arm64-gnu@npm:1.7.4"
|
||||
"@rspack/binding-linux-arm64-gnu@npm:1.7.5":
|
||||
version: 1.7.5
|
||||
resolution: "@rspack/binding-linux-arm64-gnu@npm:1.7.5"
|
||||
conditions: os=linux & cpu=arm64 & libc=glibc
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@rspack/binding-linux-arm64-musl@npm:1.7.4":
|
||||
version: 1.7.4
|
||||
resolution: "@rspack/binding-linux-arm64-musl@npm:1.7.4"
|
||||
"@rspack/binding-linux-arm64-musl@npm:1.7.5":
|
||||
version: 1.7.5
|
||||
resolution: "@rspack/binding-linux-arm64-musl@npm:1.7.5"
|
||||
conditions: os=linux & cpu=arm64 & libc=musl
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@rspack/binding-linux-x64-gnu@npm:1.7.4":
|
||||
version: 1.7.4
|
||||
resolution: "@rspack/binding-linux-x64-gnu@npm:1.7.4"
|
||||
"@rspack/binding-linux-x64-gnu@npm:1.7.5":
|
||||
version: 1.7.5
|
||||
resolution: "@rspack/binding-linux-x64-gnu@npm:1.7.5"
|
||||
conditions: os=linux & cpu=x64 & libc=glibc
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@rspack/binding-linux-x64-musl@npm:1.7.4":
|
||||
version: 1.7.4
|
||||
resolution: "@rspack/binding-linux-x64-musl@npm:1.7.4"
|
||||
"@rspack/binding-linux-x64-musl@npm:1.7.5":
|
||||
version: 1.7.5
|
||||
resolution: "@rspack/binding-linux-x64-musl@npm:1.7.5"
|
||||
conditions: os=linux & cpu=x64 & libc=musl
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@rspack/binding-wasm32-wasi@npm:1.7.4":
|
||||
version: 1.7.4
|
||||
resolution: "@rspack/binding-wasm32-wasi@npm:1.7.4"
|
||||
"@rspack/binding-wasm32-wasi@npm:1.7.5":
|
||||
version: 1.7.5
|
||||
resolution: "@rspack/binding-wasm32-wasi@npm:1.7.5"
|
||||
dependencies:
|
||||
"@napi-rs/wasm-runtime": "npm:1.0.7"
|
||||
conditions: cpu=wasm32
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@rspack/binding-win32-arm64-msvc@npm:1.7.4":
|
||||
version: 1.7.4
|
||||
resolution: "@rspack/binding-win32-arm64-msvc@npm:1.7.4"
|
||||
"@rspack/binding-win32-arm64-msvc@npm:1.7.5":
|
||||
version: 1.7.5
|
||||
resolution: "@rspack/binding-win32-arm64-msvc@npm:1.7.5"
|
||||
conditions: os=win32 & cpu=arm64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@rspack/binding-win32-ia32-msvc@npm:1.7.4":
|
||||
version: 1.7.4
|
||||
resolution: "@rspack/binding-win32-ia32-msvc@npm:1.7.4"
|
||||
"@rspack/binding-win32-ia32-msvc@npm:1.7.5":
|
||||
version: 1.7.5
|
||||
resolution: "@rspack/binding-win32-ia32-msvc@npm:1.7.5"
|
||||
conditions: os=win32 & cpu=ia32
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@rspack/binding-win32-x64-msvc@npm:1.7.4":
|
||||
version: 1.7.4
|
||||
resolution: "@rspack/binding-win32-x64-msvc@npm:1.7.4"
|
||||
"@rspack/binding-win32-x64-msvc@npm:1.7.5":
|
||||
version: 1.7.5
|
||||
resolution: "@rspack/binding-win32-x64-msvc@npm:1.7.5"
|
||||
conditions: os=win32 & cpu=x64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@rspack/binding@npm:1.7.4":
|
||||
version: 1.7.4
|
||||
resolution: "@rspack/binding@npm:1.7.4"
|
||||
"@rspack/binding@npm:1.7.5":
|
||||
version: 1.7.5
|
||||
resolution: "@rspack/binding@npm:1.7.5"
|
||||
dependencies:
|
||||
"@rspack/binding-darwin-arm64": "npm:1.7.4"
|
||||
"@rspack/binding-darwin-x64": "npm:1.7.4"
|
||||
"@rspack/binding-linux-arm64-gnu": "npm:1.7.4"
|
||||
"@rspack/binding-linux-arm64-musl": "npm:1.7.4"
|
||||
"@rspack/binding-linux-x64-gnu": "npm:1.7.4"
|
||||
"@rspack/binding-linux-x64-musl": "npm:1.7.4"
|
||||
"@rspack/binding-wasm32-wasi": "npm:1.7.4"
|
||||
"@rspack/binding-win32-arm64-msvc": "npm:1.7.4"
|
||||
"@rspack/binding-win32-ia32-msvc": "npm:1.7.4"
|
||||
"@rspack/binding-win32-x64-msvc": "npm:1.7.4"
|
||||
"@rspack/binding-darwin-arm64": "npm:1.7.5"
|
||||
"@rspack/binding-darwin-x64": "npm:1.7.5"
|
||||
"@rspack/binding-linux-arm64-gnu": "npm:1.7.5"
|
||||
"@rspack/binding-linux-arm64-musl": "npm:1.7.5"
|
||||
"@rspack/binding-linux-x64-gnu": "npm:1.7.5"
|
||||
"@rspack/binding-linux-x64-musl": "npm:1.7.5"
|
||||
"@rspack/binding-wasm32-wasi": "npm:1.7.5"
|
||||
"@rspack/binding-win32-arm64-msvc": "npm:1.7.5"
|
||||
"@rspack/binding-win32-ia32-msvc": "npm:1.7.5"
|
||||
"@rspack/binding-win32-x64-msvc": "npm:1.7.5"
|
||||
dependenciesMeta:
|
||||
"@rspack/binding-darwin-arm64":
|
||||
optional: true
|
||||
@@ -4120,23 +4120,23 @@ __metadata:
|
||||
optional: true
|
||||
"@rspack/binding-win32-x64-msvc":
|
||||
optional: true
|
||||
checksum: 10/0d082e962980ace986c546ac359e7d4b5fada21ce38980db792c70ef97257841257b64a0b65c5d3c2e2660d58ab05b1d7302defc752f325c616507f5837fb98d
|
||||
checksum: 10/3e66805d4dae5f2051f10c5a9126e5bf25926d2a6ccb1c794af2aa49c15e4fdcb9e362bd015a9afef1e788a3272dfe7a28a3c866713badda34579896d736ed4f
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@rspack/core@npm:1.7.4":
|
||||
version: 1.7.4
|
||||
resolution: "@rspack/core@npm:1.7.4"
|
||||
"@rspack/core@npm:1.7.5":
|
||||
version: 1.7.5
|
||||
resolution: "@rspack/core@npm:1.7.5"
|
||||
dependencies:
|
||||
"@module-federation/runtime-tools": "npm:0.22.0"
|
||||
"@rspack/binding": "npm:1.7.4"
|
||||
"@rspack/binding": "npm:1.7.5"
|
||||
"@rspack/lite-tapable": "npm:1.1.0"
|
||||
peerDependencies:
|
||||
"@swc/helpers": ">=0.5.1"
|
||||
peerDependenciesMeta:
|
||||
"@swc/helpers":
|
||||
optional: true
|
||||
checksum: 10/ecce39e64993ba9f5792c737b6d61960946c59399254f5903651a53b6e61761f8bc2a20dfdf81b1b819e1b0f1e26257456d902244485fd035e5a585b5a28a623
|
||||
checksum: 10/c17d93ef1e7e0728b74bf527150642d9bf072cabb63964ebd32c82da94d6d2f9eac7ff2cc13031bbd376c0c03710899f549e61d2bcfc0a6638a9f3bc8620b7ce
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -9120,7 +9120,7 @@ __metadata:
|
||||
"@octokit/rest": "npm:22.0.1"
|
||||
"@replit/codemirror-indentation-markers": "npm:6.5.3"
|
||||
"@rsdoctor/rspack-plugin": "npm:1.5.1"
|
||||
"@rspack/core": "npm:1.7.4"
|
||||
"@rspack/core": "npm:1.7.5"
|
||||
"@rspack/dev-server": "npm:1.2.1"
|
||||
"@swc/helpers": "npm:0.5.18"
|
||||
"@thomasloven/round-slider": "npm:0.6.0"
|
||||
|
||||
Reference in New Issue
Block a user