1391 lines
59 KiB
JSON
1391 lines
59 KiB
JSON
{
|
||
"schemaVersion": "1.0.0",
|
||
"components": [
|
||
{
|
||
"id": "progress-button",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"ProgressButton",
|
||
"ProgressButtonProps",
|
||
"LayerStackIndicator"
|
||
],
|
||
"domContract": [
|
||
"nodedc-progress-button",
|
||
"nodedc-layer-stack-indicator"
|
||
],
|
||
"summary": "Action with an internal phase label and measured progress beneath it; optional accumulating layers animation.",
|
||
"behavior": [
|
||
"pending disables repeat activation while keeping readable status",
|
||
"progress semantics are siblings of the button rather than flattened descendants",
|
||
"phase progress comes from the consumer",
|
||
"reduced motion keeps a static layers glyph"
|
||
],
|
||
"documentation": "../docs/PROGRESS_BUTTON.md"
|
||
},
|
||
{
|
||
"id": "progress-bar",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"ProgressBar",
|
||
"ProgressBarProps"
|
||
],
|
||
"domContract": [
|
||
"nodedc-progress-bar"
|
||
],
|
||
"summary": "Accessible determinate or indeterminate linear progress, including the central ResourceRow slot.",
|
||
"variants": [
|
||
"determinate",
|
||
"indeterminate"
|
||
],
|
||
"rules": [
|
||
"Consumer supplies measured progress; elapsed time must not invent completion.",
|
||
"ResourceRow progress replaces status and occupies space between copy and actions.",
|
||
"Reduced motion preserves a visible non-animated indicator."
|
||
]
|
||
},
|
||
{
|
||
"id": "resource-row",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"ResourceRow",
|
||
"ResourceList"
|
||
],
|
||
"domContract": [
|
||
"nodedc-resource-row",
|
||
"nodedc-resource-list"
|
||
],
|
||
"summary": "Mission Core AI Inference compact rows extracted for shared resource lists.",
|
||
"behavior": [
|
||
"wrapping title",
|
||
"optional metadata and status",
|
||
"optional leading status between icon and copy, vertically centered",
|
||
"canonical action controls",
|
||
"responsive action placement"
|
||
],
|
||
"rules": [
|
||
"The consumer supplies identity and states; the row owns presentation only.",
|
||
"Use ordinary list items and canonical buttons; do not nest actions inside a clickable row."
|
||
]
|
||
},
|
||
{
|
||
"id": "glass-surface",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"GlassSurface",
|
||
"GlassMaterialSurface",
|
||
"MapGlassSurface"
|
||
],
|
||
"domContract": [
|
||
"nodedc-glass",
|
||
"nodedc-glass-material",
|
||
"nodedc-map-glass",
|
||
"nodedc-material-rim"
|
||
],
|
||
"summary": "Matte application surfaces, the Engine V4 modal material and the light translucent surface used over Cesium imagery. Scene overlays reuse V4 blur and tint with independent translucent density.",
|
||
"anatomy": [
|
||
"theme-provided surface",
|
||
"modal tint",
|
||
"map-only light translucency",
|
||
"gradient rim",
|
||
"backdrop blur/saturation/brightness",
|
||
"content"
|
||
],
|
||
"variants": [
|
||
"default",
|
||
"strong",
|
||
"soft",
|
||
"map",
|
||
"scene"
|
||
],
|
||
"radiusVariants": [
|
||
"card",
|
||
"panel",
|
||
"modal",
|
||
"pill"
|
||
],
|
||
"rules": [
|
||
"Geometry is invariant across application themes.",
|
||
"Opt-in appearance=mission applies the qualified Mission Core operator surfaces, avatars and dot statuses across portals without changing geometry.",
|
||
"Compact rails of canonical round actions use the pill radius; consumers do not recreate it with a local border radius.",
|
||
"A material rim is a glass highlight, not a hard product-colored border.",
|
||
"Nested surfaces must use a softer tone to avoid card-inside-card noise.",
|
||
"GlassMaterialSurface supports modal/Inspector floating material and explicit context=scene telemetry overlays over rendered imagery; ordinary panels remain matte. Optional material and radiusPx apply appearance to one instance without changing the global theme.",
|
||
"MapGlassSurface is restricted to overlays over Cesium/map imagery and must match the map Toolbar translucency."
|
||
]
|
||
},
|
||
{
|
||
"id": "button",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"Button",
|
||
"IconButton"
|
||
],
|
||
"domContract": [
|
||
"nodedc-button",
|
||
"nodedc-icon-button",
|
||
"nodedc-scene-controls",
|
||
"nodedc-viewport-controls"
|
||
],
|
||
"summary": "Text and icon actions with shared sizing, states and computed accent contrast.",
|
||
"variants": [
|
||
"primary",
|
||
"secondary",
|
||
"ghost",
|
||
"danger",
|
||
"accent"
|
||
],
|
||
"sizes": [
|
||
"default",
|
||
"compact",
|
||
"dense"
|
||
],
|
||
"shapes": [
|
||
"default",
|
||
"pill",
|
||
"rounded"
|
||
],
|
||
"rules": [
|
||
"Icon-only actions are circular by default.",
|
||
"Groups over rendered imagery use nodedc-scene-controls: Button, IconButton, Select and SegmentedControl share the opaque field surface and interaction states; all viewport controls use the same 70-percent geometry, and rails must not inherit the translucent header background.",
|
||
"Controlled toggle actions expose aria-pressed and use the canonical active surface without changing geometry.",
|
||
"Filled accent actions derive foreground contrast from the actual accent.",
|
||
"Destructive actions remain neutral until confirmation unless danger is the principal message.",
|
||
"loading displays one centered indicator inside the initiating action, disables repeat activation and preserves dimensions and accessible name. Never place its spinner beside or below the action group.",
|
||
"Primary tone=neutral is white when enabled and gray when disabled in every theme/accent; use it for accent-independent operator actions without local CSS overrides.",
|
||
"nodedc-viewport-controls is the shared geometry context for every viewer toolbar: 0.7 times standard controls, including icons, fonts and rims. It normalizes legacy compact/dense variants, never compounds in nested groups, and excludes portaled menus/settings and scene content."
|
||
]
|
||
},
|
||
{
|
||
"id": "activity-indicator",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"ActivityIndicator",
|
||
"ActivityIndicatorProps",
|
||
"ActivityIndicatorSize"
|
||
],
|
||
"domContract": [
|
||
"nodedc-activity-indicator"
|
||
],
|
||
"summary": "Theme-independent indeterminate progress indicator for inline operations and pending action controls.",
|
||
"variants": [
|
||
"default",
|
||
"compact"
|
||
],
|
||
"behavior": [
|
||
"decorative by default",
|
||
"optional status semantics",
|
||
"static reduced-motion presentation"
|
||
],
|
||
"rules": [
|
||
"Use Button.loading or IconButton.loading for actions and LoadingRegion for content. Standalone ActivityIndicator is limited to an explicit inline status or resource-row slot.",
|
||
"The process owner exposes aria-busy and visible pending copy; provide label only when the indicator itself is the status announcement.",
|
||
"The component never owns operation state, timing or completion.",
|
||
"Reduced-motion preferences stop rotation without hiding the pending-state affordance."
|
||
]
|
||
},
|
||
{
|
||
"id": "loading-region",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"LoadingRegion",
|
||
"LoadingRegionProps"
|
||
],
|
||
"domContract": [
|
||
"nodedc-loading-region",
|
||
"nodedc-loading-region__status"
|
||
],
|
||
"summary": "Centered pending feedback within the content region that owns the request, without unmounting content.",
|
||
"rules": [
|
||
"The consumer owns loading and its terminal result; no timer or implicit network operation exists in this component.",
|
||
"Keep content mounted and reserve its dimensions while pending. Center the indicator within this region in normal and expanded layouts.",
|
||
"A command belongs to its initiating Button.loading; do not duplicate that command in a region spinner.",
|
||
"Remove loading on first usable content, failure or timeout. A live media connection alone is not usable content.",
|
||
"Use only for blocking initial content or explicit recovery. Background refresh with usable content does not cover it.",
|
||
"For a composed initial load, aggregate collects descendant LoadingRegions into one indicator. Each descendant releases its pending state on success, failure or unmount. Windows reset the scope; action spinners remain independent."
|
||
]
|
||
},
|
||
{
|
||
"id": "field",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"FieldFrame",
|
||
"TextField",
|
||
"TextAreaField"
|
||
],
|
||
"domContract": [
|
||
"nodedc-field",
|
||
"nodedc-field__control"
|
||
],
|
||
"summary": "Textual form controls with consistent labels, hints, geometry and focus surface.",
|
||
"rules": [
|
||
"Labels and validation copy are part of the field contract.",
|
||
"Keyboard focus changes the surface and remains visible without a browser-blue outline.",
|
||
"Browser autofill retains the canonical field material, text and caret; keyboard focus remains visible.",
|
||
"FieldFrame labelPlacement=below is the compact muted caption variant for header selectors; above remains the default."
|
||
]
|
||
},
|
||
{
|
||
"id": "checker",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"Checker"
|
||
],
|
||
"domContract": [
|
||
"nodedc-checker"
|
||
],
|
||
"summary": "Binary setting control derived from the redesigned Engine environment settings.",
|
||
"rules": [
|
||
"The visual anchor is circular, not a square native checkbox.",
|
||
"The control exposes checkbox semantics through role and aria-checked.",
|
||
"Checker contains one short label only; helper copy is a separate sibling block before the control."
|
||
]
|
||
},
|
||
{
|
||
"id": "range-control",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"RangeControl"
|
||
],
|
||
"domContract": [
|
||
"nodedc-range"
|
||
],
|
||
"summary": "Filled horizontal range with exact editing; half-width vertical rail supporting an independently adjustable lower/upper band.",
|
||
"behavior": [
|
||
"native range drag",
|
||
"native caret and selection replacement",
|
||
"automatic fill/base contrast",
|
||
"unbounded finite exact editing by default",
|
||
"Enter/blur commit",
|
||
"Escape cancel",
|
||
"independent optional exact-value bounds",
|
||
"step normalization",
|
||
"vertical two-sided band with independent native keyboard targets and nearest-boundary pointer capture"
|
||
],
|
||
"rules": [
|
||
"The accent fill follows the active application theme.",
|
||
"Vertical tuple values [lower, upper] retain the band between two non-crossing boundaries; both labels follow their boundary. Coincident boundaries remain separable. Each native input has a distinct accessible name, value and dependent bounds.",
|
||
"Scalar vertical scales show formatLimit(value) at the moving fill boundary and formatLimit(min) at the lower retained boundary, on the configured scene-inward side. There is no central label/value; the accessible name and value remain on the native input.",
|
||
"The vertical shaft is 20 percent of control height (9.2 px at 46 px), with a transparent pointer target of at least 24 px. Boundary labels remain inside the rail height and separate near the lower endpoint.",
|
||
"Vertical scales never have a perimeter border, outline or shadow. Focus-visible underlines the moving value; native arrows and Home/End remain available.",
|
||
"The native range remains the accessible drag input while its chrome is visually replaced.",
|
||
"The fill travels beneath the visible value; the persistent transparent native editor above the value receives exact-edit clicks without remounting.",
|
||
"Exact editing stays inside the existing value area and never expands the control.",
|
||
"Slider min/max define drag travel only; finite typed values are independent and may exceed that geometry.",
|
||
"exactValueBounds adds explicit domain limits when a parameter must reject values beyond them.",
|
||
"The browser places the caret at the clicked character, preserves native drag or keyboard selection, and replaces the selected substring on typing without pointer-state interception.",
|
||
"Editor foreground and caret switch automatically between theme text and on-accent tokens according to the actual fill edge beneath the value area.",
|
||
"The editor has no separate background box and keeps focus across parent window rerenders and pointer leave.",
|
||
"Editor keyboard events do not bubble into enclosing Window shortcuts."
|
||
]
|
||
},
|
||
{
|
||
"id": "color-field",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"ColorField"
|
||
],
|
||
"domContract": [
|
||
"nodedc-color-field"
|
||
],
|
||
"summary": "Engine/BIM-derived swatch and HEX field with a theme-neutral portal palette.",
|
||
"behavior": [
|
||
"controlled HEX value",
|
||
"saturation/value plane",
|
||
"hue slider",
|
||
"quick colors",
|
||
"portal palette",
|
||
"keyboard spectrum adjustment"
|
||
],
|
||
"rules": [
|
||
"Do not expose a browser-native color dialog as the product runtime UI.",
|
||
"The palette owns choice geometry; the consumer owns color validation, persistence and domain reaction.",
|
||
"HEX text keeps incomplete drafts; valid six-digit colors apply live, invalid drafts revert on blur/Escape, Enter commits; external undo updates the field."
|
||
]
|
||
},
|
||
{
|
||
"id": "dropdown",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"Dropdown"
|
||
],
|
||
"domPackage": "@nodedc/ui-dom",
|
||
"domExports": [
|
||
"createFloatingLayer"
|
||
],
|
||
"domContract": [
|
||
"nodedc-dropdown-surface",
|
||
"nodedc-dropdown-option"
|
||
],
|
||
"summary": "Shared portal/fixed floating layer for action and selection menus.",
|
||
"behavior": [
|
||
"portal to active fullscreen element or document body",
|
||
"viewport clamp",
|
||
"vertical flip",
|
||
"capture-phase outside pointer close before scene tool interception",
|
||
"optional outside-pointer consumer for editing viewports",
|
||
"Escape close with trigger focus restore",
|
||
"scroll and resize reposition",
|
||
"contained menu scroll without geometry growth",
|
||
"offscreen trigger close",
|
||
"one open root dropdown with nested selection menus",
|
||
"optional open-state notification",
|
||
"optional side placement and animated reserved anchor",
|
||
"side overflow shrinks width rather than covering the anchor"
|
||
],
|
||
"rules": [
|
||
"Never render a runtime dropdown as an absolute child of a card, sticky header or scroll container.",
|
||
"Action menus and selection menus share floating behavior even when their row content differs.",
|
||
"The portal surface uses border-box sizing and contained overscroll so repeated menu scrolling cannot grow its measured width or move the underlying application surface."
|
||
]
|
||
},
|
||
{
|
||
"id": "select",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"Select"
|
||
],
|
||
"domPackage": "@nodedc/ui-dom",
|
||
"domExports": [
|
||
"createSelectController"
|
||
],
|
||
"summary": "Theme-independent selection control using the canonical dropdown layer.",
|
||
"variants": [
|
||
"integrated",
|
||
"split",
|
||
"inline"
|
||
],
|
||
"behavior": [
|
||
"controlled value",
|
||
"optional search",
|
||
"disabled options",
|
||
"selected state",
|
||
"portal menu",
|
||
"optional independent row action"
|
||
],
|
||
"rules": [
|
||
"An option.action is a sibling canonical IconButton with an independent disabled state; it closes the menu without selecting the option. Action-bearing menus use dialog semantics instead of nesting interactive controls in listbox options. Confirmation and mutation remain consumer-owned.",
|
||
"Select row actions match the compact Mission Core session-catalog reference: transparent 2.35rem hit column, 15px glyph, muted foreground and no round backing. An optional danger tone changes only hover/focus foreground; canonical keyboard focus remains visible.",
|
||
"Integrated is the single-pill Hub/Launcher form.",
|
||
"Split is the Engine form: a separate value surface and a 46 px toggle separated by an 8 px gap.",
|
||
"Inline is a compact label-only toolbar trigger without a persistent surface or chevron; its menu and keyboard behavior remain canonical.",
|
||
"Integrated Select is forbidden inside Inspector; use InspectorSelectField so the visible label is above a full-width split control.",
|
||
"The portal menu preserves its source-family row geometry instead of inheriting card radii."
|
||
]
|
||
},
|
||
{
|
||
"id": "window",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"Window",
|
||
"WindowFooterActions",
|
||
"WindowRect"
|
||
],
|
||
"domPackage": "@nodedc/ui-dom",
|
||
"domExports": [
|
||
"createModalController"
|
||
],
|
||
"domContract": [
|
||
"nodedc-overlay",
|
||
"nodedc-window"
|
||
],
|
||
"summary": "Canonical controlled window with a move toggle between centered modal and draggable, resizable modeless presentation.",
|
||
"behavior": [
|
||
"portal to active fullscreen element or body",
|
||
"focus entry",
|
||
"modal-only focus trap",
|
||
"focus restore",
|
||
"Escape close",
|
||
"backdrop close policy",
|
||
"modal-only body scroll lock",
|
||
"optional bounded dragging for modeless inspectors",
|
||
"move toggle: preserve mounted contents and current size; remove dimming, backdrop close, scroll lock and focus trap; header drag and eight invisible resize regions",
|
||
"Escape and Tab belong to the focused or topmost visible modal; parent windows do not dismiss behind nested settings."
|
||
],
|
||
"rules": [
|
||
"headerActionsPlacement=before-close places context actions between the move toggle and close in both visual and keyboard order; the default preserves existing consumers.",
|
||
"WindowFooterActions aligns modal actions to the trailing edge, including a footer with only one action group; actions wrap within narrow windows.",
|
||
"Centered windows at narrow widths subtract both overlay gutters from their maximum width and height.",
|
||
"Open state belongs to the application; focus/layer behavior belongs to the component.",
|
||
"The same window contract is used by Launcher, CMS and SEO; theme variables supply color differences.",
|
||
"A right-side inspector is modeless by default: no dimming, no backdrop blur, no backdrop close, no focus trap and no body scroll lock.",
|
||
"A draggable inspector moves by its header and remains clamped to the viewport.",
|
||
"Closing a modeless inspector is never gated by autosave; preserve the draft, close immediately and report persistence failure through ToastStack.",
|
||
"Operational copy inside Window uses component typography tokens; browser-default paragraph or heading sizes are forbidden.",
|
||
"Centered windows expose the move toggle by default; allowFloating opts a workflow out. Returning to modal restores canonical centered geometry; closing clears floating geometry.",
|
||
"Floating header supports arrow-key movement and Shift+arrow resizing. Bounds stay inside the viewport. Resize affordances have no hover decoration.",
|
||
"Inspectors inside a Window use its full available content width.",
|
||
"End inspectors opt into resizable with an optional initialRect; existing eight edge geometry and keyboard resize are shared with floating windows.",
|
||
"Application-owned rect restores modeless window geometry on reopen and external undo/import. onRectCommit reports one completed drag/resize or keyboard step; viewport fitting never overwrites saved geometry."
|
||
]
|
||
},
|
||
{
|
||
"id": "workspace-window",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"WorkspaceWindow",
|
||
"WorkspaceWindowRect",
|
||
"WorkspaceWindowProps"
|
||
],
|
||
"domContract": [
|
||
"nodedc-workspace-window"
|
||
],
|
||
"summary": "Controlled modeless window for media, tools and synchronized views constrained to an application-owned workspace.",
|
||
"anatomy": [
|
||
"controlled local rectangle",
|
||
"title and optional status",
|
||
"maximize and close actions",
|
||
"scrollable body",
|
||
"optional footer",
|
||
"keyboard-accessible resize handle with optional hidden indicator"
|
||
],
|
||
"behavior": [
|
||
"inline render without portal",
|
||
"parent-bound dragging",
|
||
"bottom-right resizing",
|
||
"maximize within parent",
|
||
"ResizeObserver reclamp",
|
||
"pointer and keyboard geometry control",
|
||
"application-owned activation and stacking"
|
||
],
|
||
"rules": [
|
||
"The bounds element is an application-owned positioned and clipped workspace; WorkspaceWindow never escapes it or renders into document.body.",
|
||
"Rectangle, maximized state, visibility, activation and z-order are controlled by the application.",
|
||
"resizeIndicator=false hides only the corner glyph; pointer hit area, cursor and keyboard resizing remain available.",
|
||
"Use WorkspaceWindow for auxiliary views inside a stage; modal workflows and viewport inspectors continue to use Window.",
|
||
"Dragging and resizing remain clamped when the workspace changes size, including when it becomes smaller than the requested minimum."
|
||
]
|
||
},
|
||
{
|
||
"id": "confirmation-modal",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"ConfirmationModal"
|
||
],
|
||
"summary": "Async-safe confirmation window for destructive and consequential operations.",
|
||
"behavior": [
|
||
"pending state",
|
||
"double-submit protection",
|
||
"disabled close policy while pending"
|
||
]
|
||
},
|
||
{
|
||
"id": "split-pane",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"SplitPane",
|
||
"SplitPaneProps",
|
||
"SplitPaneOrientation"
|
||
],
|
||
"domContract": [
|
||
"nodedc-split-pane",
|
||
"nodedc-split-pane__panel",
|
||
"nodedc-split-pane__separator"
|
||
],
|
||
"summary": "Controlled two-panel layout with a pointer- and keyboard-resizable accessible separator.",
|
||
"anatomy": [
|
||
"primary panel",
|
||
"structural separator",
|
||
"secondary panel"
|
||
],
|
||
"variants": [
|
||
"vertical",
|
||
"horizontal"
|
||
],
|
||
"behavior": [
|
||
"controlled percentage",
|
||
"optional resizable separator",
|
||
"line or invisible separator appearance with retained keyboard focus",
|
||
"pointer capture drag",
|
||
"Arrow/Home/End keyboard sizing",
|
||
"ARIA separator range",
|
||
"ratio preservation across host resize"
|
||
],
|
||
"rules": [
|
||
"The application owns the controlled primary percentage and panel content; the component owns separator interaction and accessibility.",
|
||
"Minimum primary and secondary percentages clamp both pointer and keyboard changes.",
|
||
"The separator is a necessary structural divider, never a decorative perimeter border.",
|
||
"Viewport-local toolbars belong to their SplitPane panel, and embedded renderers receive the same controlled percentage instead of exposing cursor or pointer-position heuristics."
|
||
]
|
||
},
|
||
{
|
||
"id": "share-access-modal",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"ShareAccessModal"
|
||
],
|
||
"domContract": [
|
||
"nodedc-share-access-window",
|
||
"nodedc-share-access",
|
||
"nodedc-share-access__summary",
|
||
"nodedc-share-access__member-list"
|
||
],
|
||
"summary": "Engine-derived workflow access modal with compact member stack, role management and invite adapter slots.",
|
||
"behavior": [
|
||
"controlled members",
|
||
"compact expandable member stack",
|
||
"role change",
|
||
"member removal",
|
||
"invite state",
|
||
"immutable owner",
|
||
"backdrop close disabled"
|
||
],
|
||
"rules": [
|
||
"The component owns access-modal geometry and interaction; the consumer owns ACL requests and directory lookup.",
|
||
"Owner immutability and permission checks are supplied as member and canManage data.",
|
||
"The 600 px Engine composition uses 46 px invite controls and collapses to one column on mobile."
|
||
]
|
||
},
|
||
{
|
||
"id": "share-link-modal",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"ShareLinkModal"
|
||
],
|
||
"domPackage": "@nodedc/ui-dom",
|
||
"domExports": [
|
||
"createShareLinkController",
|
||
"createModalController"
|
||
],
|
||
"domContract": [
|
||
"nodedc-window",
|
||
"nodedc-field",
|
||
"nodedc-button"
|
||
],
|
||
"summary": "BIM-derived read-only resource link modal with copy progress and framework-neutral copy controller.",
|
||
"behavior": [
|
||
"read-only link",
|
||
"copy adapter",
|
||
"copied state",
|
||
"disabled empty state",
|
||
"copy error adapter"
|
||
],
|
||
"rules": [
|
||
"The resource service creates the URL; the modal only presents and copies it.",
|
||
"BIM DOM consumers combine the share-link controller with the canonical modal controller and core classes."
|
||
]
|
||
},
|
||
{
|
||
"id": "segmented-control",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"SegmentedControl",
|
||
"SegmentedGroup",
|
||
"SegmentedButton"
|
||
],
|
||
"selectionModes": [
|
||
"single",
|
||
"multiple"
|
||
],
|
||
"behavior": [
|
||
"multiple uses independently pressed buttons, permits empty/all selections and preserves native Tab/Space/Enter interaction"
|
||
],
|
||
"domContract": [
|
||
"nodedc-segmented"
|
||
],
|
||
"summary": "Pill navigation used in the shared top header and compact mode switches.",
|
||
"sizes": [
|
||
"default",
|
||
"dense"
|
||
],
|
||
"rules": [
|
||
"Dense is reserved for high-density in-viewer layer and mode toolbars; application headers retain default geometry.",
|
||
"SegmentedGroup and SegmentedButton compose mixed toggles and Dropdown triggers in one capsule; consumers supply aria-pressed or aria-expanded as appropriate and retain native keyboard interaction."
|
||
]
|
||
},
|
||
{
|
||
"id": "app-header",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"AppHeader",
|
||
"HeaderNavigation",
|
||
"HeaderProfile",
|
||
"HeaderProfileButton",
|
||
"HeaderWorkspace",
|
||
"HeaderAvatar"
|
||
],
|
||
"domContract": [
|
||
"nodedc-header-shell",
|
||
"nodedc-header",
|
||
"nodedc-header__row"
|
||
],
|
||
"summary": "Strict Launcher-preset NODE.DC header with a 68 px outer toolbar, 48 px visible row and fixed three-axis geometry.",
|
||
"anatomy": [
|
||
"left brand",
|
||
"optional left context",
|
||
"center navigation/workspace",
|
||
"right actions/profile"
|
||
],
|
||
"rules": [
|
||
"The logo occupies the same visual position and geometry across applications.",
|
||
"Light single-color assets may opt into brandMonochrome / monochrome for theme contrast; full-color images are unchanged by default.",
|
||
"Product routes and profile content are application data passed into stable slots.",
|
||
"The canonical application header is fixed and preserves the Launcher three-axis logo / navigation / profile positions.",
|
||
"Consumers supply data and actions but cannot override preset geometry through local className or style props."
|
||
]
|
||
},
|
||
{
|
||
"id": "user-profile-menu",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"UserProfileMenu",
|
||
"UserProfileMenuAction"
|
||
],
|
||
"domContract": [
|
||
"nodedc-user-profile-menu",
|
||
"nodedc-user-profile-card",
|
||
"nodedc-user-profile-card__action"
|
||
],
|
||
"summary": "Canonical user profile dropdown for NODE.DC application headers with identity cover and application-owned actions.",
|
||
"behavior": [
|
||
"portal dropdown",
|
||
"profile identity card",
|
||
"theme-independent cover",
|
||
"action links and callbacks",
|
||
"outside pointer and Escape close"
|
||
],
|
||
"rules": [
|
||
"The component owns menu geometry and profile presentation; the application owns settings, profile and logout actions.",
|
||
"Use the existing Dropdown engine so the menu is never clipped by the fixed application header.",
|
||
"Do not embed product permissions or sharing rules in the visual menu."
|
||
]
|
||
},
|
||
{
|
||
"id": "feature-settings-window",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"FeatureSettingsWindow",
|
||
"FeatureSettingsSection",
|
||
"FeatureSettingsWindowProps"
|
||
],
|
||
"domContract": [
|
||
"nodedc-feature-settings-window",
|
||
"nodedc-feature-settings__navigation",
|
||
"nodedc-feature-settings__content"
|
||
],
|
||
"summary": "Engine-derived large settings window with module identity, grouped feature navigation and application-owned content.",
|
||
"behavior": [
|
||
"canonical modal focus behavior",
|
||
"controlled active section",
|
||
"grouped navigation",
|
||
"responsive single-column layout"
|
||
],
|
||
"rules": [
|
||
"The window owns settings-shell geometry only; forms, API calls and authorization remain application-owned.",
|
||
"FeatureSettingsWindow composes the canonical Window and must not create a second portal or focus trap.",
|
||
"At narrow widths, keep the window within the overlay padding and size navigation to its content; the content row receives the remaining height.",
|
||
"Module colors are supplied through the active NODE.DC Design Profile rather than hard-coded product CSS.",
|
||
"Navigation and content are independent keyboard-accessible scrollports with contained overscroll. The outer window body never scrolls."
|
||
]
|
||
},
|
||
{
|
||
"id": "application-shell",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"ApplicationShell",
|
||
"ApplicationPanel",
|
||
"useApplicationWorkspace",
|
||
"useApplicationPanelFullscreen"
|
||
],
|
||
"domPackage": "@nodedc/ui-dom",
|
||
"domExports": [
|
||
"createApplicationWorkspaceController"
|
||
],
|
||
"domContract": [
|
||
"nodedc-app-shell",
|
||
"nodedc-application-panel"
|
||
],
|
||
"summary": "Launcher-derived application template with fixed header, media stage, left navigation and a separate expandable content window.",
|
||
"anatomy": [
|
||
"fixed AppHeader",
|
||
"stage",
|
||
"left navigation",
|
||
"right content window",
|
||
"persistent utility actions",
|
||
"expand and close actions"
|
||
],
|
||
"behavior": [
|
||
"one shared navigation/content state machine",
|
||
"navigation shifts stage",
|
||
"content opens beside navigation",
|
||
"expanded content replaces stage",
|
||
"global utility actions remain in the panel header across sections",
|
||
"mobile panels use the available viewport sequentially",
|
||
"independent content scrolling",
|
||
"the outer stage boundary clips overflow without becoming a focus-scroll container"
|
||
],
|
||
"rules": [
|
||
"The bottom Launcher service rail is product-specific and is not part of the general application template.",
|
||
"Desktop page gap is 20 px and navigation width follows the Launcher 332–352 px range.",
|
||
"Applications supply routes, profile data, stage media and panel content without changing shell geometry.",
|
||
"Light panels use the SEO white surface and shadow tokens rather than a dark shell with inverted text.",
|
||
"A layout-level save action belongs to ApplicationPanel.utilityActions and is never duplicated inside individual content cards.",
|
||
"ApplicationPanel allowFullscreen exposes an owned full-window context; the whole panel and its header move atomically, preserving the renderer and body-portaled inspectors."
|
||
]
|
||
},
|
||
{
|
||
"id": "toolbar",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"Toolbar"
|
||
],
|
||
"domPackage": "@nodedc/ui-dom",
|
||
"domExports": [
|
||
"createToolbarController"
|
||
],
|
||
"domContract": [
|
||
"nodedc-toolbar-wrap",
|
||
"nodedc-toolbar",
|
||
"nodedc-toolbar__button"
|
||
],
|
||
"summary": "Engine/BIM-derived magnifying toolbar with four placements and protected interactive menus.",
|
||
"variants": [
|
||
"left",
|
||
"right",
|
||
"top",
|
||
"bottom"
|
||
],
|
||
"behavior": [
|
||
"controlled active item",
|
||
"spring lens magnification without flex reflow",
|
||
"axis-aware neighbor shift",
|
||
"optional delayed autohide hotzone",
|
||
"viewport container scope with local edge reveal",
|
||
"native tooltips with keyboard shortcut hints",
|
||
"optional canonical dropdown for toolbar item menus",
|
||
"theme-independent geometry",
|
||
"menus outside maximum magnified icon envelope",
|
||
"bounded triangle intent corridor before sibling menu activation",
|
||
"autohide suspended while menu is open or keyboard focus is inside",
|
||
"configurable gap and hide delay",
|
||
"Hold can control autoHide; cancelling pending hide timers makes pinning stable"
|
||
],
|
||
"rules": [
|
||
"Engine defaults are background #111115, border #111117, outline #1c1c1c, min 25 px, max 87 px and five lens items.",
|
||
"Toolbar actions call application navigation; they do not duplicate route state.",
|
||
"Placement and material are controlled values and belong to the persisted application layout.",
|
||
"The shared component owns pointer tracking, spring animation, lens geometry and autohide timers; applications must not reimplement them."
|
||
]
|
||
},
|
||
{
|
||
"id": "icon",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"Icon"
|
||
],
|
||
"domContract": [
|
||
"svg using currentColor"
|
||
],
|
||
"summary": "Audited semantic icon subset shared by NODE.DC applications instead of product-local vendor imports.",
|
||
"variants": [
|
||
"14 px",
|
||
"16 px",
|
||
"18 px"
|
||
],
|
||
"rules": [
|
||
"Use semantic names from registry/icons.json.",
|
||
"Use terminal for a command console or command journal entry; activity remains telemetry and health.",
|
||
"Use layers for visibility controls of map or visual source layers; settings remains general configuration.",
|
||
"The containing component owns surface, hit target and state; the icon owns only the glyph and uses the canonical 16 px default without an extra CSS scale.",
|
||
"Do not copy complete Lucide or Font Awesome catalogs into an application."
|
||
]
|
||
},
|
||
{
|
||
"id": "admin-navigation-panel",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"AdminNavigationPanel"
|
||
],
|
||
"domContract": [
|
||
"nodedc-admin-panel"
|
||
],
|
||
"summary": "Hub-derived left administration panel with context selectors, route navigation, close action and footer identity.",
|
||
"anatomy": [
|
||
"eyebrow and title",
|
||
"close action",
|
||
"workspace context",
|
||
"company context",
|
||
"route items",
|
||
"footer identity"
|
||
],
|
||
"rules": [
|
||
"The panel shell, full-bleed pills and icon circles are library geometry; routes and identity data remain application-owned.",
|
||
"The desktop panel follows the Launcher 332–352 px width range with a 21.6 px shell radius and a 20 px page gap.",
|
||
"Active route state uses the active surface and icon contrast from the theme."
|
||
]
|
||
},
|
||
{
|
||
"id": "application-side-panel",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"ApplicationSidePanel",
|
||
"ApplicationSidePanelProps"
|
||
],
|
||
"domContract": [
|
||
"nodedc-application-side-panel",
|
||
"nodedc-app-shell__end-panel"
|
||
],
|
||
"summary": "Theme-aware trailing application panel paired with AdminNavigationPanel and hosted in a separate ApplicationShell end column.",
|
||
"anatomy": [
|
||
"eyebrow and title",
|
||
"optional description",
|
||
"close action",
|
||
"scrollable body",
|
||
"optional footer"
|
||
],
|
||
"behavior": [
|
||
"right-to-left entrance",
|
||
"separate push column",
|
||
"controlled visibility",
|
||
"theme token inheritance"
|
||
],
|
||
"rules": [
|
||
"The panel uses the same 332–352 px geometry, radius, surface, shadow and circular actions as AdminNavigationPanel.",
|
||
"ApplicationShell shrinks the expanded content/stage by one panel width plus the canonical page gap; the side panel never overlays the desktop work area.",
|
||
"The owning ApplicationPanel header action controls visibility; close always remains available and workspace interaction does not dismiss the panel implicitly.",
|
||
"Use this panel for application-level settings/detail. Bounded scene tools and subject cards remain WorkspaceWindow instances."
|
||
]
|
||
},
|
||
{
|
||
"id": "media-source-field",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"MediaSourceField"
|
||
],
|
||
"domPackage": "@nodedc/ui-dom",
|
||
"domExports": [
|
||
"createMediaSourceController"
|
||
],
|
||
"domContract": [
|
||
"nodedc-media-field",
|
||
"nodedc-media-control",
|
||
"nodedc-media-source-button",
|
||
"nodedc-media-preview"
|
||
],
|
||
"summary": "Launcher/CMS media control for video, image or logo file/URL sources, filename, preview and adapter-provided storage state.",
|
||
"behavior": [
|
||
"controlled file/url source",
|
||
"native accessible file input",
|
||
"URL input",
|
||
"image/video preview",
|
||
"path, hint and error slots",
|
||
"controlled disabled state locks file, URL and source switching during a parent save/upload"
|
||
],
|
||
"rules": [
|
||
"The component owns geometry, source switching and accessibility.",
|
||
"The consumer owns media library, storage upload, validation and the persisted URL.",
|
||
"Do not fork the field by asset type or backend; configure its accepted media and provide an adapter callback.",
|
||
"Application layout persistence may save stage video and header mark together, but remains outside the visual component."
|
||
]
|
||
},
|
||
{
|
||
"id": "settings-card",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"SettingsCard",
|
||
"Switch"
|
||
],
|
||
"domContract": [
|
||
"nodedc-settings-card",
|
||
"nodedc-switch"
|
||
],
|
||
"summary": "Neutral administration group with title metadata, actions, content and a compact binary switch.",
|
||
"rules": [
|
||
"The card owns grouping geometry but not product form schemas.",
|
||
"Use align=center for compact result or empty messages: center the content on both axes and omit an empty body. The default start layout remains unchanged.",
|
||
"Section and empty-state titles use the compact md token; descriptions use sm. Page/window title sizes and browser heading defaults are forbidden inside cards.",
|
||
"Unclassed paragraphs in the body, including nested layout groups, share Description typography as a compatibility safeguard. New explanatory copy must use Description; headings and controls retain their own typography.",
|
||
"Use Switch for compact visibility/enable states; use Checker for the Engine inspector treatment.",
|
||
"Switch keeps its track width beside wrapped labels. The checked thumb uses on-accent contrast; the unchecked track follows theme text instead of a fixed white tint."
|
||
]
|
||
},
|
||
{
|
||
"id": "status-badge",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"StatusBadge"
|
||
],
|
||
"variants": [
|
||
"badge",
|
||
"indicator"
|
||
],
|
||
"domContract": [
|
||
"nodedc-status"
|
||
],
|
||
"summary": "Semantic status pill whose tone is independent from the application accent.",
|
||
"behavior": [
|
||
"optional pulse animates only the status lamp",
|
||
"pulse is static with reduced motion"
|
||
]
|
||
},
|
||
{
|
||
"id": "toast",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"ToastCard",
|
||
"ToastStack",
|
||
"ToastItem",
|
||
"ToastTone"
|
||
],
|
||
"domContract": [
|
||
"nodedc-toast-viewport",
|
||
"nodedc-toast",
|
||
"nodedc-toast__icon",
|
||
"nodedc-toast__copy"
|
||
],
|
||
"summary": "Tasker-derived non-blocking status notification with a bottom-right glass stack.",
|
||
"variants": [
|
||
"success",
|
||
"error",
|
||
"warning",
|
||
"info",
|
||
"loading"
|
||
],
|
||
"behavior": [
|
||
"controlled items",
|
||
"independent 10 second default auto-dismiss per terminal item",
|
||
"manual dismiss",
|
||
"portal viewport",
|
||
"polite live region"
|
||
],
|
||
"rules": [
|
||
"Applications own operation state and message copy; ToastStack owns viewport geometry and dismissal timing.",
|
||
"Errors and status copy use the compact Toast typography; consumers do not substitute browser-default paragraphs or title-sized text.",
|
||
"Adding or updating another notification never restarts the lifetime of an existing item; each item owns its timer by stable id.",
|
||
"Loading notifications remain until the operation updates or dismisses them.",
|
||
"Status notifications never replace a blocking confirmation modal."
|
||
]
|
||
},
|
||
{
|
||
"id": "dock-layout",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"DockLayout",
|
||
"DockHandle",
|
||
"DockTree",
|
||
"DockMove",
|
||
"DockPosition",
|
||
"DockRect",
|
||
"DockLayoutProps",
|
||
"decodeDockTree",
|
||
"dockIds",
|
||
"balancedDockTree",
|
||
"reconcileDockTree",
|
||
"pruneDockTree",
|
||
"moveDockPanel",
|
||
"resizeDockSplit",
|
||
"dockRects",
|
||
"dockPosition",
|
||
"dockMoveAtPoint"
|
||
],
|
||
"domContract": [
|
||
"nodedc-dock-layout",
|
||
"nodedc-dock-layout__panel",
|
||
"nodedc-dock-layout__preview"
|
||
],
|
||
"summary": "Arbitrary nested viewport splits with stable media hosts and an exact destination contour during docking.",
|
||
"behavior": [
|
||
"center swaps identities",
|
||
"four edges split the destination",
|
||
"empty source branches collapse",
|
||
"6 px handle activation",
|
||
"pointer-position hit testing",
|
||
"outside and local self drops cancel",
|
||
"keyboard docking",
|
||
"resizable splits",
|
||
"focus preserves media hosts",
|
||
"four outer workspace edges wrap the remaining layout"
|
||
],
|
||
"rules": [
|
||
"Applications persist the serializable tree and own panel content.",
|
||
"Drag geometry follows the pointer, not the size or center of the source window.",
|
||
"The preview shows the final source rectangle after removing the source and splitting the target.",
|
||
"Space or Enter starts keyboard docking, Tab chooses the destination, arrows choose an edge, Home chooses swap, Enter commits and Escape cancels.",
|
||
"Only the active drag paints a destination contour; no permanent decorative panel outlines.",
|
||
"Panel minimumSize propagates through split ancestors, constrains pointer/keyboard resize and expands a scrollable canvas below the viewport limit; never clips content to satisfy a ratio.",
|
||
"preferredSize applies only to an unsaved default layout; minimumSize always constrains nested splits and scroll canvas.",
|
||
"The outer visible-workspace zone is 24 CSS px, capped at 8% per axis; it wins over local panel zones, including over the source. Shift+arrows select the same workspace edges. Preview and commit both apply panel minimum sizes; existing DockTree persistence is unchanged."
|
||
]
|
||
},
|
||
{
|
||
"id": "drag-drop",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"DragHandle",
|
||
"DragDropRoot",
|
||
"DraggableItem",
|
||
"DropZone",
|
||
"SortableScope",
|
||
"SortableItem",
|
||
"SortableList"
|
||
],
|
||
"domContract": [
|
||
"nodedc-drag-handle"
|
||
],
|
||
"summary": "Engine-derived handle-only drag, transfer and sortable primitives with the canonical six-dot grip and a 6 px activation threshold.",
|
||
"behavior": [
|
||
"handle-only drag",
|
||
"cross-list transfer with explicit overlap acceptance",
|
||
"vertical-axis reorder",
|
||
"drop-zone state",
|
||
"keyboard attributes from dnd-kit"
|
||
],
|
||
"rules": [
|
||
"The six-dot handle is the only drag initiator; clicking the row keeps its normal navigation or selection action.",
|
||
"Sortable rows are visually constrained to the vertical axis and cannot pull their layout horizontally.",
|
||
"A transfer is accepted only when the dragged surface overlaps the destination by at least the consumer-defined threshold; Module Foundry uses 20 percent.",
|
||
"Consumers own domain mutations while the package owns sensors, transforms, accessible drag attributes and geometry.",
|
||
"Repeated page-template drops create distinct application page instances instead of consuming the source template.",
|
||
"A reordered application page array is the single source of truth for both composition and navigation order.",
|
||
"Optional renderOverlay portals the drag preview above scroll clipping without moving source layout; cancellation clears it.",
|
||
"Pointer drops report client coordinates for consumer-owned canvas hit testing; dropping on empty space never implies an object target.",
|
||
"DraggableItem exposes activator attributes/listeners for whole-tile dragging without a separate handle; the same activation threshold distinguishes clicks from drags."
|
||
]
|
||
},
|
||
{
|
||
"id": "inspector",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"Inspector",
|
||
"ControlRow",
|
||
"InspectorSelectField"
|
||
],
|
||
"domContract": [
|
||
"nodedc-inspector",
|
||
"nodedc-control-row"
|
||
],
|
||
"summary": "Accordion settings/definition inspector derived only from the redesigned Engine environment and NDC agent inspector.",
|
||
"rules": [
|
||
"Legacy Engine inspectors are not reference implementations.",
|
||
"Domain-specific field definitions remain in Engine; reusable layout and controls live here.",
|
||
"Desktop Engine geometry is fixed at 390 px panel, 330 px content, 154/14/162 px control rows and 50 px section headers with a 12 px radius.",
|
||
"Inspector supports controlled openSections/onOpenSectionsChange state so a consumer can persist the exact accordion layout without remount defaults.",
|
||
"Inspector selection fields use InspectorSelectField only: a stacked visible label and the 276/8/46 px split control; integrated pills are prohibited.",
|
||
"The panel variant reuses AdminNavigationPanel pill, icon and theme tokens while retaining the same controlled accordion state and domain-owned content.",
|
||
"A section action is a sibling IconButton before the disclosure chevron, never nested in the trigger. It does not toggle the section. Panel chevrons point down when collapsed and up when expanded.",
|
||
"Accent-filled section headers belong to Environment Settings; neutral headers remain available for other approved inspector contexts.",
|
||
"Default sections and optional header fields use the canonical 12 px spacing token; footer actions are centered with the same gap. Nested Inspectors retain this rhythm; the panel variant retains its compact row geometry."
|
||
]
|
||
},
|
||
{
|
||
"id": "environment-settings",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"EnvironmentSettingsWindow",
|
||
"EnvironmentMediaPlaylistEditor"
|
||
],
|
||
"domContract": [
|
||
"nodedc-environment-settings",
|
||
"nodedc-environment-media-playlist"
|
||
],
|
||
"summary": "Shared avatar Settings composition with Environment editing and optional consumer-owned settings sections.",
|
||
"behavior": [
|
||
"product-configured page list",
|
||
"draft/reset/save",
|
||
"upload adapter",
|
||
"ordered media playlist",
|
||
"image timing",
|
||
"parent save/upload disabled state",
|
||
"additionalSections extends shared navigation with consumer-owned content and footer while preserving the Environment draft"
|
||
],
|
||
"rules": [
|
||
"Reuse FeatureSettingsWindow and existing form primitives; never fork an application-specific settings form.",
|
||
"Consumers own page/action IDs, storage, revision conflicts, authentication and upload URLs.",
|
||
"A single-home application passes one surface; multi-section applications pass all admitted pages.",
|
||
"Closing the window preserves host authority and never sends device commands."
|
||
]
|
||
},
|
||
{
|
||
"id": "landing-stage",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"LandingStage",
|
||
"EnvironmentBackgroundMedia"
|
||
],
|
||
"domContract": [
|
||
"nodedc-landing-stage",
|
||
"nodedc-landing-stage__media"
|
||
],
|
||
"summary": "Shared product landing stage with editable copy, quick actions and ordered image/video background.",
|
||
"behavior": [
|
||
"image timer",
|
||
"video end advance",
|
||
"skip failed media",
|
||
"flat empty background",
|
||
"product status/footer slots"
|
||
],
|
||
"rules": [
|
||
"No decorative radial gradient or invented graphic appears without configured media.",
|
||
"Applications supply content and actions, not duplicate stage markup.",
|
||
"Background playback and scene navigation never own device acquisition."
|
||
]
|
||
},
|
||
{
|
||
"id": "key-button",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"KeyButton",
|
||
"KeyButtonProps"
|
||
],
|
||
"domContract": [
|
||
"nodedc-key-button"
|
||
],
|
||
"summary": "Controlled outlined momentary input key; white pressed surface with black legend.",
|
||
"states": [
|
||
"idle",
|
||
"pressed",
|
||
"disabled",
|
||
"focus-visible"
|
||
],
|
||
"rules": [
|
||
"Consumer owns command lifecycle and blur/cancel release.",
|
||
"No internal toggle or global keyboard handler."
|
||
]
|
||
},
|
||
{
|
||
"id": "description",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"Description"
|
||
],
|
||
"domContract": [
|
||
"nodedc-description"
|
||
],
|
||
"summary": "Secondary explanatory copy matching SettingsCard descriptions.",
|
||
"rules": [
|
||
"Use the same inherited family, regular 400 weight, small font token, muted text token and 1.4 line height for explanatory paragraphs. Do not restyle per feature.",
|
||
"Use role=status for explanatory pending/result copy. SettingsCard applies the same contract to unclassed body paragraphs as a fallback, without changing headings or controls."
|
||
]
|
||
},
|
||
{
|
||
"id": "comparison-table",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"ComparisonTable",
|
||
"ComparisonTableProps"
|
||
],
|
||
"domContract": [
|
||
"nodedc-comparison-table"
|
||
],
|
||
"summary": "Horizontal entity comparison with one label column and bounded-width entity columns.",
|
||
"rules": [
|
||
"Each column has a 9rem minimum. Extra entities scroll horizontally, never collapse into vertical cards.",
|
||
"Keep row/column headers semantic and missing values explicit. Domain adapters own freshness and units.",
|
||
"The scrollport is keyboard-focusable and contains overscroll. No decorative cell outlines.",
|
||
"Compact density uses 21px normal rows and adaptive 7.5rem label / 5.5rem entity minima. The containing dock must admit the full table width and height."
|
||
]
|
||
},
|
||
{
|
||
"id": "navigation-cube",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"NavigationCube",
|
||
"NavigationCubeProps",
|
||
"CubeDirection"
|
||
],
|
||
"domContract": [
|
||
"nodedc-navigation-cube"
|
||
],
|
||
"summary": "Renderer-independent BIM-style orientation cube; six faces, twelve edges, eight corners.",
|
||
"behavior": [
|
||
"Tracks camera quaternion; never changes projection implicitly",
|
||
"Visible regions support hover, focus, Enter/Space and disabled state",
|
||
"Consumer owns camera navigation and coordinate conversion",
|
||
"Controlled pixel size (default 66), face/text/edge/hover/hoverText colors, overall opacity and independent edgeOpacity",
|
||
"Labels rotate and foreshorten in the face plane; they never billboard"
|
||
],
|
||
"documentation": "../docs/NAVIGATION_CUBE.md"
|
||
},
|
||
{
|
||
"id": "tree",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"Tree",
|
||
"TreeNode",
|
||
"TreeProps"
|
||
],
|
||
"domContract": [
|
||
"nodedc-tree",
|
||
"nodedc-tree__row"
|
||
],
|
||
"summary": "Compact hierarchical outliner with single-line rows, selection, visibility and keyboard navigation.",
|
||
"behavior": [
|
||
"selection expands ancestors and scrolls only the tree container",
|
||
"Arrow/Home/End navigation, disclosure and optional visibility actions",
|
||
"long names ellipsize without growing row height",
|
||
"filter retains matching ancestors"
|
||
],
|
||
"rules": [
|
||
"Use for object hierarchies; no nested ResourceRow cards.",
|
||
"Host owns model identity and visibility; the tree owns navigation presentation."
|
||
]
|
||
},
|
||
{
|
||
"id": "resizable-viewport",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"ResizableViewport",
|
||
"ResizableViewportProps"
|
||
],
|
||
"domContract": [
|
||
"nodedc-resizable-viewport",
|
||
"nodedc-resizable-viewport__grip"
|
||
],
|
||
"summary": "In-flow viewer with controlled height and two accessible bottom corner grips.",
|
||
"anatomy": [
|
||
"content",
|
||
"bottom-left grip",
|
||
"bottom-right grip"
|
||
],
|
||
"variants": [
|
||
"height-only",
|
||
"hidden-indicator"
|
||
],
|
||
"states": [
|
||
"idle",
|
||
"hover",
|
||
"focus",
|
||
"resizing"
|
||
],
|
||
"rules": [
|
||
"The owner persists height per view; the component never writes application storage.",
|
||
"Pointer capture isolates resizing from scene navigation. Up/Down resize, Shift accelerates, Home/End use limits.",
|
||
"Only the viewport height changes; the page and browser retain their dimensions.",
|
||
"resizeIndicator=false hides both glyphs and hover surfaces. Pointer resizing shows only the cursor; keyboard focus remains visible."
|
||
]
|
||
},
|
||
{
|
||
"id": "scene-annotation",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"SceneAnnotation"
|
||
],
|
||
"domContract": [
|
||
"nodedc-scene-annotation"
|
||
],
|
||
"summary": "Transparent interactive data label projected onto a real scene object.",
|
||
"anatomy": [
|
||
"canonical ghost button",
|
||
"stacked label and data"
|
||
],
|
||
"states": [
|
||
"idle",
|
||
"hover",
|
||
"selected",
|
||
"keyboard-focus"
|
||
],
|
||
"rules": [
|
||
"Renderer owns projection and offscreen/hidden-object clipping; the label does not infer measurements.",
|
||
"Use canonical button keyboard and focus semantics, transparent resting surface, compact numeric typography."
|
||
]
|
||
},
|
||
{
|
||
"id": "editor-dock-layout",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"EditorDockLayout",
|
||
"EditorDockLayoutProps",
|
||
"EditorDockTool",
|
||
"EditorDockState",
|
||
"EditorWorkspace",
|
||
"EditorWorkspaceProps",
|
||
"decodeEditorDock",
|
||
"dockEditorTool",
|
||
"editorDockTarget",
|
||
"mergeEditorDockRatios"
|
||
],
|
||
"domContract": [
|
||
"nodedc-editor-dock",
|
||
"nodedc-editor-dock__tool",
|
||
"nodedc-editor-workspace"
|
||
],
|
||
"summary": "Fixed primary scene with detachable docked tools and a separate editor window that restores the original view.",
|
||
"behavior": [
|
||
"four outer magnetic edges",
|
||
"nested adjacent tool splits",
|
||
"drag header to detach over primary",
|
||
"invisible resize regions",
|
||
"controlled JSON layout",
|
||
"stable mounted renderer",
|
||
"keyboard docking and cancellation",
|
||
"fixed header outside docking bounds"
|
||
],
|
||
"rules": [
|
||
"Applications own scene content, visibility and persisted layout; tools share one generic docking implementation.",
|
||
"Primary content cannot detach or swap with a tool. Dropping in the primary center makes a tool floating.",
|
||
"Outer 24 px has priority; additional magnets extend to 160 px horizontally and 96 px vertically, capped at 16% of the host.",
|
||
"Header Enter/Space starts keyboard docking; arrows select edges, Shift+arrows the whole workspace, Tab cycles tools, Home floats, Escape cancels. Floating headers also support arrows and Shift+arrows for move/resize.",
|
||
"Hidden tools retain their docking placement and remembered floating rectangle. Viewport clamps never overwrite preferred geometry.",
|
||
"EditorWorkspace keeps one mounted portal host, moves it atomically when supported, and restores its original slot on return. It never changes the source-view layout.",
|
||
"The fixed editor header is outside docking bounds. Back, edit completion and close return to the original view.",
|
||
"When opened inside Window, the editor suspends that overlay, backdrop and focus trap without unmounting; returning restores the same window."
|
||
]
|
||
},
|
||
{
|
||
"id": "level-button",
|
||
"status": "baseline",
|
||
"package": "@nodedc/ui-react",
|
||
"exports": [
|
||
"LevelButton",
|
||
"LevelButtonProps",
|
||
"LevelButtonGeometry"
|
||
],
|
||
"domContract": [
|
||
"nodedc-level-button"
|
||
],
|
||
"summary": "Compact measured resource level inside a canonical pill button opening details.",
|
||
"rules": [
|
||
"Consumer supplies a measured fraction and freshness; unknown is not zero.",
|
||
"Stale retains the last number and accessible stale text; explicit user fill colours are retained.",
|
||
"Keyboard, focus, disabled and pointer behavior come from Button. Explicit fillColor uses contrast-correct text on the filled portion.",
|
||
"Optional geometry sets width, height and radius with a 32 × 12 px minimum. At small dimensions the text and padding shrink proportionally; both contrast layers share the same type geometry. Consumer owns header-group offset."
|
||
],
|
||
"documentation": "../docs/LEVEL_BUTTON.md"
|
||
}
|
||
]
|
||
}
|