-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into stateObj-chart
- Loading branch information
Showing
846 changed files
with
16,024 additions
and
11,205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ jobs: | |
ref: dev | ||
|
||
- name: Setup Node | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
|
@@ -62,7 +62,7 @@ jobs: | |
ref: master | ||
|
||
- name: Setup Node | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ jobs: | |
- name: Check out files from GitHub | ||
uses: actions/[email protected] | ||
- name: Setup Node | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
|
@@ -37,17 +37,20 @@ jobs: | |
- name: Build resources | ||
run: ./node_modules/.bin/gulp gen-icons-json build-translations build-locale-data gather-gallery-pages | ||
- name: Setup lint cache | ||
uses: actions/cache@v3.3.2 | ||
uses: actions/cache@v4.0.0 | ||
with: | ||
path: | | ||
node_modules/.cache/prettier | ||
node_modules/.cache/eslint | ||
node_modules/.cache/typescript | ||
key: lint-${{ github.sha }} | ||
restore-keys: lint- | ||
- name: Run eslint | ||
run: yarn run lint:eslint --quiet | ||
- name: Run tsc | ||
run: yarn run lint:types | ||
- name: Run lit-analyzer | ||
run: yarn run lint:lit --quiet | ||
- name: Run prettier | ||
run: yarn run lint:prettier | ||
test: | ||
|
@@ -57,7 +60,7 @@ jobs: | |
- name: Check out files from GitHub | ||
uses: actions/[email protected] | ||
- name: Setup Node | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
|
@@ -75,7 +78,7 @@ jobs: | |
- name: Check out files from GitHub | ||
uses: actions/[email protected] | ||
- name: Setup Node | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
|
@@ -86,7 +89,7 @@ jobs: | |
env: | ||
IS_TEST: "true" | ||
- name: Upload bundle stats | ||
uses: actions/upload-artifact@v3.1.3 | ||
uses: actions/upload-artifact@v4.3.1 | ||
with: | ||
name: frontend-bundle-stats | ||
path: build/stats/*.json | ||
|
@@ -99,7 +102,7 @@ jobs: | |
- name: Check out files from GitHub | ||
uses: actions/[email protected] | ||
- name: Setup Node | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
|
@@ -110,7 +113,7 @@ jobs: | |
env: | ||
IS_TEST: "true" | ||
- name: Upload bundle stats | ||
uses: actions/upload-artifact@v3.1.3 | ||
uses: actions/upload-artifact@v4.3.1 | ||
with: | ||
name: supervisor-bundle-stats | ||
path: build/stats/*.json | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ jobs: | |
ref: dev | ||
|
||
- name: Setup Node | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
|
@@ -63,7 +63,7 @@ jobs: | |
ref: master | ||
|
||
- name: Setup Node | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ jobs: | |
uses: actions/[email protected] | ||
|
||
- name: Setup Node | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ jobs: | |
uses: actions/[email protected] | ||
|
||
- name: Setup Node | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ jobs: | |
python-version: ${{ env.PYTHON_VERSION }} | ||
|
||
- name: Setup Node | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
|
@@ -42,7 +42,7 @@ jobs: | |
LOKALISE_TOKEN: ${{ secrets.LOKALISE_TOKEN }} | ||
|
||
- name: Bump version | ||
run: script/version_bump.cjs nightly | ||
run: script/version_bump.js nightly | ||
|
||
- name: Build nightly Python wheels | ||
run: | | ||
|
@@ -57,14 +57,14 @@ jobs: | |
run: tar -czvf translations.tar.gz translations | ||
|
||
- name: Upload build artifacts | ||
uses: actions/upload-artifact@v3.1.3 | ||
uses: actions/upload-artifact@v4.3.1 | ||
with: | ||
name: wheels | ||
path: dist/home_assistant_frontend*.whl | ||
if-no-files-found: error | ||
|
||
- name: Upload translations | ||
uses: actions/upload-artifact@v3.1.3 | ||
uses: actions/upload-artifact@v4.3.1 | ||
with: | ||
name: translations | ||
path: translations.tar.gz | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ jobs: | |
python-version: ${{ env.PYTHON_VERSION }} | ||
|
||
- name: Setup Node | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
|
@@ -74,7 +74,7 @@ jobs: | |
echo "home-assistant-frontend==$version" > ./requirements.txt | ||
- name: Build wheels | ||
uses: home-assistant/wheels@2023.10.5 | ||
uses: home-assistant/wheels@2024.01.0 | ||
with: | ||
abi: cp311 | ||
tag: musllinux_1_2 | ||
|
13 changes: 13 additions & 0 deletions
13
.yarn/patches/@lrnwebcomponents-simple-tooltip-npm-8.0.0-77591f2e0c.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/simple-tooltip.js b/simple-tooltip.js | ||
index 78a87f6a223925f0e29fbedb268c85a142ec6985..3d686dd6a3d5a93342b4b01408089fc316b408ca 100644 | ||
--- a/simple-tooltip.js | ||
+++ b/simple-tooltip.js | ||
@@ -195,6 +195,8 @@ class SimpleTooltip extends LitElement { | ||
.hidden { | ||
position: absolute; | ||
left: -10000px; | ||
+ inset-inline-start: -10000px; | ||
+ inset-inline-end: initial; | ||
top: auto; | ||
width: 1px; | ||
height: 1px; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
diff --git a/modular/sortable.core.esm.js b/modular/sortable.core.esm.js | ||
index 93ba17509e2e8583ab241fea6845fbe714c584a2..de0651ddb5dced30d36f7d764da0dd0b441f523f 100644 | ||
--- a/modular/sortable.core.esm.js | ||
+++ b/modular/sortable.core.esm.js | ||
@@ -1461,7 +1461,7 @@ Sortable.prototype = /** @lends Sortable.prototype */{ | ||
} | ||
target = parent; // store last element | ||
} | ||
- /* jshint boss:true */ while (parent = parent.parentNode); | ||
+ /* jshint boss:true */ while (parent = parent.parentNode || parent.getRootNode().host); | ||
} | ||
_unhideGhostForTarget(); | ||
} | ||
@@ -1781,11 +1781,16 @@ Sortable.prototype = /** @lends Sortable.prototype */{ | ||
} | ||
if (_onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, !!target) !== false) { | ||
capture(); | ||
- if (elLastChild && elLastChild.nextSibling) { | ||
- // the last draggable element is not the last node | ||
- el.insertBefore(dragEl, elLastChild.nextSibling); | ||
- } else { | ||
- el.appendChild(dragEl); | ||
+ try { | ||
+ if (elLastChild && elLastChild.nextSibling) { | ||
+ // the last draggable element is not the last node | ||
+ el.insertBefore(dragEl, elLastChild.nextSibling); | ||
+ } else { | ||
+ el.appendChild(dragEl); | ||
+ } | ||
+ } | ||
+ catch(err) { | ||
+ return completed(false); | ||
} | ||
parentEl = el; // actualization | ||
|
||
@@ -1802,7 +1807,13 @@ Sortable.prototype = /** @lends Sortable.prototype */{ | ||
targetRect = getRect(target); | ||
if (_onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, false) !== false) { | ||
capture(); | ||
- el.insertBefore(dragEl, firstChild); | ||
+ try { | ||
+ el.insertBefore(dragEl, firstChild); | ||
+ } | ||
+ catch(err) { | ||
+ return completed(false); | ||
+ } | ||
+ | ||
parentEl = el; // actualization | ||
|
||
changed(); | ||
@@ -1849,12 +1860,17 @@ Sortable.prototype = /** @lends Sortable.prototype */{ | ||
_silent = true; | ||
setTimeout(_unsilent, 30); | ||
capture(); | ||
- if (after && !nextSibling) { | ||
- el.appendChild(dragEl); | ||
- } else { | ||
- target.parentNode.insertBefore(dragEl, after ? nextSibling : target); | ||
- } | ||
|
||
+ try { | ||
+ if (after && !nextSibling) { | ||
+ el.appendChild(dragEl); | ||
+ } else { | ||
+ target.parentNode.insertBefore(dragEl, after ? nextSibling : target); | ||
+ } | ||
+ } | ||
+ catch(err) { | ||
+ return completed(false); | ||
+ } | ||
// Undo chrome's scroll adjustment (has no effect on other browsers) | ||
if (scrolledPastTop) { | ||
scrollBy(scrolledPastTop, 0, scrollBefore - scrolledPastTop.scrollTop); |
Oops, something went wrong.