mirror of
https://github.com/home-assistant/frontend.git
synced 2026-04-02 00:27:49 +01:00
Upgrade webawesome to version 3.2.1-ha.2 (#29691)
Upgrade webawesome to version 3.2.1-ha.2 and adjust animation durations to 0ms
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
"@fullcalendar/list": "6.1.20",
|
||||
"@fullcalendar/luxon3": "6.1.20",
|
||||
"@fullcalendar/timegrid": "6.1.20",
|
||||
"@home-assistant/webawesome": "3.2.1-ha.0",
|
||||
"@home-assistant/webawesome": "3.2.1-ha.2",
|
||||
"@lezer/highlight": "1.2.3",
|
||||
"@lit-labs/motion": "1.1.0",
|
||||
"@lit-labs/observers": "2.1.0",
|
||||
|
||||
@@ -281,8 +281,8 @@ export class HaDialog extends ScrollableFadeMixin(LitElement) {
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
wa-dialog {
|
||||
--show-duration: 1ms;
|
||||
--hide-duration: 1ms;
|
||||
--show-duration: 0ms;
|
||||
--hide-duration: 0ms;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -177,18 +177,6 @@ export class QuickBar extends LitElement {
|
||||
fireEvent(this, "dialog-closed", { dialog: this.localName });
|
||||
};
|
||||
|
||||
// fallback in case the closed event is not fired
|
||||
private _dialogCloseStarted = () => {
|
||||
setTimeout(
|
||||
() => {
|
||||
if (this._opened) {
|
||||
this._dialogClosed();
|
||||
}
|
||||
},
|
||||
350 // close animation timeout is 300ms
|
||||
);
|
||||
};
|
||||
|
||||
// #endregion lifecycle
|
||||
|
||||
// #region render
|
||||
@@ -246,7 +234,6 @@ export class QuickBar extends LitElement {
|
||||
hideActions
|
||||
@wa-show=${this._showTriggered}
|
||||
@wa-after-show=${this._dialogOpened}
|
||||
@wa-hide=${this._dialogCloseStarted}
|
||||
@closed=${this._dialogClosed}
|
||||
>
|
||||
${!this._loading && this._opened
|
||||
|
||||
@@ -62,9 +62,9 @@ export const coreStyles = css`
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
html {
|
||||
--ha-animation-duration-fast: 1ms;
|
||||
--ha-animation-duration-normal: 1ms;
|
||||
--ha-animation-duration-slow: 1ms;
|
||||
--ha-animation-duration-fast: 0ms;
|
||||
--ha-animation-duration-normal: 0ms;
|
||||
--ha-animation-duration-slow: 0ms;
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
10
yarn.lock
10
yarn.lock
@@ -1962,9 +1962,9 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@home-assistant/webawesome@npm:3.2.1-ha.0":
|
||||
version: 3.2.1-ha.0
|
||||
resolution: "@home-assistant/webawesome@npm:3.2.1-ha.0"
|
||||
"@home-assistant/webawesome@npm:3.2.1-ha.2":
|
||||
version: 3.2.1-ha.2
|
||||
resolution: "@home-assistant/webawesome@npm:3.2.1-ha.2"
|
||||
dependencies:
|
||||
"@ctrl/tinycolor": "npm:4.1.0"
|
||||
"@floating-ui/dom": "npm:^1.6.13"
|
||||
@@ -1975,7 +1975,7 @@ __metadata:
|
||||
lit: "npm:^3.2.1"
|
||||
nanoid: "npm:^5.1.5"
|
||||
qr-creator: "npm:^1.0.0"
|
||||
checksum: 10/27b61807ae41267acb112a5657b956b19c8496a3ccbf19b892a97766d5a59ed39f2c3084b1143c129a592d4685de6c19293d02986d7951056dffdcbde9fe7ce3
|
||||
checksum: 10/36f15a10760fe4c13c9551e4440d9ad395c894d6f3735494da2032948fae052056ea6e762fbfa3b2e7e0cb94a8d1e214bb73478e682813cb3ed9c44b2daec98d
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -9174,7 +9174,7 @@ __metadata:
|
||||
"@fullcalendar/list": "npm:6.1.20"
|
||||
"@fullcalendar/luxon3": "npm:6.1.20"
|
||||
"@fullcalendar/timegrid": "npm:6.1.20"
|
||||
"@home-assistant/webawesome": "npm:3.2.1-ha.0"
|
||||
"@home-assistant/webawesome": "npm:3.2.1-ha.2"
|
||||
"@html-eslint/eslint-plugin": "npm:0.55.0"
|
||||
"@lezer/highlight": "npm:1.2.3"
|
||||
"@lit-labs/motion": "npm:1.1.0"
|
||||
|
||||
Reference in New Issue
Block a user