HackerOs.MobileShell.Blazor
2.2.2
dotnet add package HackerOs.MobileShell.Blazor --version 2.2.2
NuGet\Install-Package HackerOs.MobileShell.Blazor -Version 2.2.2
<PackageReference Include="HackerOs.MobileShell.Blazor" Version="2.2.2" />
<PackageVersion Include="HackerOs.MobileShell.Blazor" Version="2.2.2" />
<PackageReference Include="HackerOs.MobileShell.Blazor" />
paket add HackerOs.MobileShell.Blazor --version 2.2.2
#r "nuget: HackerOs.MobileShell.Blazor, 2.2.2"
#:package HackerOs.MobileShell.Blazor@2.2.2
#addin nuget:?package=HackerOs.MobileShell.Blazor&version=2.2.2
#tool nuget:?package=HackerOs.MobileShell.Blazor&version=2.2.2
HackerOs.MobileShell.Blazor
Mobile shell chrome Razor components, driven by host-supplied contracts the
same way HackerOs.Taskbar.Blazor drives the Desktop taskbar. Mobile has no
taskbar (archived mobile plan §7.2), so this is a sibling
package rather than a modification of HackerOs.Taskbar.Blazor.
MobileSystemNavigationBar
An Android-inspired bottom bar with three buttons — Triangle/Back,
Circle/Home (a pill with the iOS theme), Square/Recent — each at least 44×44 CSS pixels and respecting
env(safe-area-inset-*). The bar owns only the trigger buttons; what
Back/Home/Recent actually do is entirely up to the host's
IMobileNavigationCommands implementation.
<MobileSystemNavigationBar Commands="_navigationCommands" Options="_options" />
Unlike HackerOs.Taskbar.Blazor's optional contract parameters, Commands is
required — the Mobile shell has no floating-chrome equivalent for these three
actions, so a bar with nothing to dispatch to is a host configuration error,
not a legitimately reduced state.
MobileSystemNavigationBarOptions carries only the three buttons' accessible
labels, mirroring TaskbarOptions.
This package supplies the navigation controls and Recent surface. The host owns Back's ordered semantics (overlay → app handler → navigation history → Home). HackerOS also recognizes an upward gesture starting on the Home control to open its application drawer. Home pages, the pinned app dock and mouse assistance belong to Platform Blazor; see mobile Home and ADR 0165.
Localization
The package's texts (accessible labels, Back/Home/Recent, the Recent surface) live in Resources/Strings.resx
(English) and Resources/Strings.fr.resx (French), read through
HackerOs.Theming.Blazor.Localization.PackageStringLocalizer (ADR 0104): a host that
registers an IStringLocalizer<T> (HackerOS registers its session-language
SessionStringLocalizer<T>) gets its language; a host without localization gets English.
Every label of MobileSystemNavigationBarOptions and MobileRecentSurfaceOptions is now
string?: a host value wins, null (the default) uses the localized package text.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- HackerOs.AppSdk.Icons (>= 2.2.2)
- HackerOs.Theming.Blazor (>= 2.2.2)
- HackerOs.Windowing.Abstractions (>= 2.2.2)
- Microsoft.AspNetCore.Components.Web (>= 10.0.13)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on HackerOs.MobileShell.Blazor:
| Package | Downloads |
|---|---|
|
HackerOs.Platform.Blazor
HackerOS Blazor shell: desktop, launcher, window launching, dialogs and lazy app loading. For composing an OS host. |
GitHub repositories
This package is not used by any popular GitHub repositories.
HackerOS 2.2.2: no change for app developers.
Release notes: https://github.com/Kazo-ca/HackerOs/releases/tag/v2.2.2