feat(lab): publish E40 perception product gate
This commit is contained in:
@@ -263,6 +263,24 @@ export function LaboratoryConclusion({
|
||||
);
|
||||
}
|
||||
|
||||
export function LaboratoryMetricGrid({
|
||||
metrics,
|
||||
}: {
|
||||
metrics: readonly LaboratoryResultMetric[];
|
||||
}) {
|
||||
return (
|
||||
<div className="laboratory-result-metrics">
|
||||
{metrics.map((metric) => (
|
||||
<div key={metric.label}>
|
||||
<span>{metric.label}</span>
|
||||
<strong>{metric.value}</strong>
|
||||
<small>{metric.hint}</small>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export function LaboratoryResultSummary({
|
||||
title,
|
||||
status,
|
||||
@@ -285,15 +303,7 @@ export function LaboratoryResultSummary({
|
||||
</div>
|
||||
<StatusBadge tone={statusTone}>{status}</StatusBadge>
|
||||
</header>
|
||||
<div className="laboratory-result-metrics">
|
||||
{metrics.map((metric) => (
|
||||
<div key={metric.label}>
|
||||
<span>{metric.label}</span>
|
||||
<strong>{metric.value}</strong>
|
||||
<small>{metric.hint}</small>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
<LaboratoryMetricGrid metrics={metrics} />
|
||||
<LaboratoryConclusion {...conclusion} />
|
||||
</section>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user