Skip to main content

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

auto-surface

AUP Web-only widget `auto-surface`: 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

AFS directory pattern renderer. Resolves a source path server-side, classifies common shapes, and expands into a presentable tree.

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 / DSL type: "auto-surface". Registered page in showcase auto-surface.

Surfaces

Interactive Web. Client switch maps to renderAupView after expansion.

Fallback

No degradation chain. Expansion failures must be visible (server path).

Evidence

SourcePath
Registrationpackages/aup/src/aup-types.ts
Registryproviders/runtime/ui/src/aup-registry.ts (auto-surface)
Expansionproviders/runtime/ui/src/auto-surface.ts; aup-preview-tree.ts``
Interactive switchproviders/runtime/ui/src/web-page/core.ts case "auto-surface"``
Showcaseblocklets/showcase/.aup/pages/auto-surface.json; app.json route auto-surface``

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

Sample

Internal / experimental for public samples. Registration and renderers exist in the interactive Web runtime (and sometimes Web Device widget packages), but this site does not ship a docs-safe live sample. Do not infer product readiness from the type name alone.