diff --git a/examples/supported-devices-prototypes/index.html b/examples/supported-devices-prototypes/index.html new file mode 100644 index 000000000..129951e88 --- /dev/null +++ b/examples/supported-devices-prototypes/index.html @@ -0,0 +1,13 @@ + + +
+ + + +{label}
+ {catalog.isLoading ? ( ++ Loading accessories… +
+ ) : ( + <> + {models.length > 0 && ( ++ Some accessory details couldn’t be loaded. +
+ )} + > + )} +Design review unavailable.
+ const Variant = variant.component + + const catalog = ( ++ Supported capabilities at a glance. Open a row for setup requirements + and model details. +
++ Loading capabilities and requirements… +
+ ) : error ? ( +We couldn’t load the complete device information.
+ +No devices match these filters.
+ +{variant.description}
++ Switch below or use keys 1–3 / ← →. R resets open details. +
++ Review prototype · Live Ecosystem catalog ·{' '} + + Dawn’s design feedback ↗ + +
+Show devices supporting every selected capability.
+ + +Capabilities not confirmed.
+ ) : view === 'matrix' ? ( +| Capability | + {visibleColumns.map(({ kind, label }) => ( +
+ |
+ ))}
+
|---|---|
| {capability.label} | + {visibleColumns.map(({ kind, label }) => { + const required = capability.messages.some((message) => + getRequirementKinds(message).includes(kind) + ) + return ( +
+ {required ? (
+
+ |
+ )
+ })}
+
| Capability | ++ Supported + | +Requirements | +
|---|---|---|
| {capability.label} | +
+
+ |
+
+
+ {visibleColumns
+ .filter(({ kind }) =>
+ capability.messages.some((message) =>
+ getRequirementKinds(message).includes(kind)
+ )
+ )
+ .map(({ kind, label }) => (
+
+
+ |
+
+
+
{message}
+