chore: update svelte (#304)

This commit is contained in:
Nolan Lawson 2022-12-18 16:31:15 -08:00 committed by GitHub
parent 4af86a8b54
commit 6305b68496
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 6 deletions

View File

@ -122,7 +122,7 @@
"stylelint": "^14.5.1",
"stylelint-config-recommended-scss": "^5.0.2",
"stylelint-scss": "^4.1.0",
"svelte": "^3.46.4",
"svelte": "^3.55.0",
"svelte-jester": "^2.3.2",
"svelte-preprocess": "^4.10.3",
"svgo": "^2.8.0",

View File

@ -105,7 +105,11 @@
{message}
</div>
<!-- tabindex is so people can scroll up and down with the keyboard -->
<!-- The tabindex=0 is so people can scroll up and down with the keyboard. The element has a role and a label, so I
feel it's appropriate to have the tabindex. -->
<!-- svelte-ignore a11y-no-noninteractive-tabindex -->
<!-- This on:click is a delegated click listener -->
<!-- svelte-ignore a11y-click-events-have-key-events -->
<div class="tabpanel {(!databaseLoaded || message) ? 'gone': ''}"
role={searchMode ? 'region' : 'tabpanel'}
aria-label={searchMode ? i18n.searchResultsLabel : i18n.categories[currentGroup.name]}
@ -158,6 +162,8 @@
{/each}
</div>
</div>
<!-- This on:click is a delegated click listener -->
<!-- svelte-ignore a11y-click-events-have-key-events -->
<div class="favorites emoji-menu {message ? 'gone': ''}"
role="menu"
aria-label={i18n.favoritesLabel}

View File

@ -8294,10 +8294,10 @@ svelte-preprocess@^4.10.3:
sorcery "^0.10.0"
strip-indent "^3.0.0"
svelte@^3.46.4:
version "3.49.0"
resolved "https://registry.yarnpkg.com/svelte/-/svelte-3.49.0.tgz#5baee3c672306de1070c3b7888fc2204e36a4029"
integrity sha512-+lmjic1pApJWDfPCpUUTc1m8azDqYCG1JN9YEngrx/hUyIcFJo6VZhj0A1Ai0wqoHcEIuQy+e9tk+4uDgdtsFA==
svelte@^3.55.0:
version "3.55.0"
resolved "https://registry.yarnpkg.com/svelte/-/svelte-3.55.0.tgz#29cb958750a23e751309a6535ccd811fcabc9038"
integrity sha512-uGu2FVMlOuey4JoKHKrpZFkoYyj0VLjJdz47zX5+gVK5odxHM40RVhar9/iK2YFRVxvfg9FkhfVlR0sjeIrOiA==
svg-tags@^1.0.0:
version "1.0.0"