@sveltia/ui 0.68.1 → 0.68.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7,7 +7,7 @@ export const SHIKI_VERSION: "4.4.3";
|
|
|
7
7
|
/**
|
|
8
8
|
* Version of this package, used to resolve the prebuilt Shiki engine chunk from a CDN.
|
|
9
9
|
*/
|
|
10
|
-
export const UI_VERSION: "0.68.
|
|
10
|
+
export const UI_VERSION: "0.68.2";
|
|
11
11
|
/**
|
|
12
12
|
* Available syntax highlighting languages, sorted by display name.
|
|
13
13
|
* @type {{ id: string, name: string, aliases?: string[] }[]}
|
|
@@ -10,7 +10,7 @@ export const SHIKI_VERSION = "4.4.3";
|
|
|
10
10
|
/**
|
|
11
11
|
* Version of this package, used to resolve the prebuilt Shiki engine chunk from a CDN.
|
|
12
12
|
*/
|
|
13
|
-
export const UI_VERSION = "0.68.
|
|
13
|
+
export const UI_VERSION = "0.68.2";
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Available syntax highlighting languages, sorted by display name.
|
|
@@ -193,8 +193,12 @@
|
|
|
193
193
|
return;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
+
// A composite widget keeps exactly one of its items in the tab order and takes its own root
|
|
197
|
+
// out of it, so the item is what should receive focus. Falling back to any focusable element
|
|
198
|
+
// covers the popups that hold plain content.
|
|
196
199
|
const target = /** @type {HTMLElement} */ (
|
|
197
|
-
content.querySelector('[tabindex]:not([aria-disabled="true"])')
|
|
200
|
+
content.querySelector('[tabindex="0"]:not([aria-disabled="true"])') ??
|
|
201
|
+
content.querySelector('[tabindex]:not([aria-disabled="true"])')
|
|
198
202
|
);
|
|
199
203
|
|
|
200
204
|
if (target) {
|