Unify gateway styling and preserve identity through recovery
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
@namespace MxUiCanary.Components
|
||||
@page "/style-fixture"
|
||||
@inject IJSRuntime JS
|
||||
<ThemeShell Product="Synthetic style fixture"><ChildContent>
|
||||
<h1>Component states</h1>
|
||||
<p>Shared components with MX host adapters; no operation provider.</p>
|
||||
<div class="d-flex gap-2 flex-wrap">
|
||||
<TechButton id="style-primary">Primary action</TechButton>
|
||||
<TechButton Variant="ButtonVariant.Secondary">Secondary action</TechButton>
|
||||
<TechButton Variant="ButtonVariant.Danger">Danger action</TechButton>
|
||||
<TechButton disabled>Disabled action</TechButton>
|
||||
<TechButton Busy="true" BusyText="Working…">Busy action</TechButton>
|
||||
</div>
|
||||
<TechField Label="Fixture field" For="style-field"><input id="style-field" class="form-control" /></TechField>
|
||||
<section class="dashboard-section">
|
||||
<p><span class="quality-chip quality-good">Good</span> <span class="quality-chip quality-bad">Bad</span></p>
|
||||
<p><span class="alarm-state alarm-state-active">Active</span> <span class="alarm-state alarm-state-acked">Acknowledged</span> <span class="alarm-state alarm-state-other">Unknown</span></p>
|
||||
<p><span class="text-secondary">Secondary text</span> <span class="text-success">Success text</span> <span class="text-warning">Warning text</span> <span class="text-danger">Danger text</span> <span class="text-info">Information text</span></p>
|
||||
<div class="alert alert-success">Success notice</div><div class="alert alert-danger">Error notice</div><div class="alert alert-info">Information notice</div><div class="alert alert-warning">Warning notice</div>
|
||||
</section>
|
||||
</ChildContent></ThemeShell>
|
||||
@code { protected override async Task OnAfterRenderAsync(bool firstRender){if(firstRender)await JS.InvokeVoidAsync("mxCanaryReady");} }
|
||||
Reference in New Issue
Block a user