メインコンテンツへスキップ

ARC 2.0.0-beta.28 · AUP Web-only widget

camera-preview

AUP Web-only widget `camera-preview`: purpose, boundaries, surfaces, fallback, and evidence.

AUP Web-only widget — not a cross-device primitive; not a Web Device layout component.

The name is registered in AUP_WIDGETS (packages/aup/src/aup-types.ts). It can be accepted by structure verification and implemented by a Web runtime (or native target where noted). It is not one of the 18 cross-device AUP_PRIMITIVES, does not enter DeviceCaps.primitives via fillPrimitives, and is not a Web Device theme/site layout component (for example content-card or page-breadcrumb).

Purpose

Native-only live camera viewfinder widget (iOS/Android design path). Registered so structure verify accepts the type; intentionally not a web/cli DeviceCaps primitive.

Boundaries

  • Do not document this type as a portable primitive.
  • Do not mix it with Web Device layout-component reference pages under widgets/.
  • A parser-accepted name is not a portability or product-readiness claim.

Author entry

AUP tree type: "camera-preview" for native targets that implement it. No WebView degrade path by design.

Surfaces

Native mobile (not interactive web-full, not document). Web client has no dedicated case → unknown.

Fallback

No web renderer; no shared degradation chain. Do not claim web document support.

Evidence

SourcePath
Registrationpackages/aup/src/aup-types.ts (camera-previewinAUP_WIDGETS)
Contract testpackages/aup/test/aup-camera-preview-registration.test.ts
Caps noteDeviceCaps presets fill primitives only — camera-preview never appears in caps maps

Paths are relative to the Arc repository checkout used for this documentation baseline.

Sample

Not docs-safe. Side effects, write paths, native-only surfaces, or trust-sensitive endpoints make a public sample inappropriate. Keep this page as a boundary and evidence index.