@adea-ai/app-framework 0.46.4 → 0.46.5
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"0.46.
|
|
1
|
+
{"version":"0.46.5","commit":"128c56482f4dc9a5d2a1064eccfc82b7a813e6fc"}
|
|
@@ -11,7 +11,7 @@ import { Palette } from "lucide-solid";
|
|
|
11
11
|
import { AccountMenu, createAppMenuItems } from "@adea-ai/ui/components/composites/account-menu";
|
|
12
12
|
import { ThemeProvider } from "@adea-ai/ui/components/theme/lazy";
|
|
13
13
|
// src/shell/app-utilities.tsx
|
|
14
|
-
var _tmpl$ = /*#__PURE__*/ template(`<span role=status>Loading
|
|
14
|
+
var _tmpl$ = /*#__PURE__*/ template(`<span class=visually-hidden role=status>Loading`);
|
|
15
15
|
var AppearancePanel = lazy(() => import("@adea-ai/ui/components/theme").then((module) => ({ default: module.AppearancePanel })));
|
|
16
16
|
var ApplicationAppearance = lazy(() => import("../views/app-appearance.js").then((module) => ({ default: module.ApplicationAppearance })));
|
|
17
17
|
var ApplicationAbout = lazy(() => import("../views/app-about.js").then((module) => ({ default: module.ApplicationAbout })));
|
package/package.json
CHANGED
|
@@ -394,7 +394,17 @@ export function ApplicationUtilities(props: ApplicationUtilitiesProps) {
|
|
|
394
394
|
gutter={4}
|
|
395
395
|
hideArrow
|
|
396
396
|
/>
|
|
397
|
-
|
|
397
|
+
{/* A dialog loading here must not draw text in the rail under the avatar: the wait is
|
|
398
|
+
announced to screen readers only, and the dialog appears in place once it loads. */}
|
|
399
|
+
<Suspense
|
|
400
|
+
fallback={
|
|
401
|
+
dialog() ? (
|
|
402
|
+
<span class="visually-hidden" role="status">
|
|
403
|
+
Loading
|
|
404
|
+
</span>
|
|
405
|
+
) : null
|
|
406
|
+
}
|
|
407
|
+
>
|
|
398
408
|
<Show when={mounted().has('appearance')}>
|
|
399
409
|
<ApplicationAppearance
|
|
400
410
|
open={dialog() === 'appearance'}
|