feat: spatial (VR) components and storybook section
Adds a Spatial (VR) section to the storybook, plus the components behind it (src/spatial/Spatial.tsx, exported from the package).
SpatialSpace: panes on an arc around you. Swipe (drag), the dock, or ←/→ bring the next pane in from the side; the dock and Spaces menu trail the head (the pointer stands in for head tracking).SpatialPane,Lift: pane chrome with its tier badge; components lift toward the eye on gaze and press in on pinch.Orbit,OrbitGraph,OrbitBars: graphs as objects. Any flat chart becomes a slab with a labelled reverse side; categories become 3-D boxes. Flip / Turn / Roll / Pull out / Reset, or drag to orbit, even for 1-D and 2-D data.
Stories: the space, a line graph, bars, a 1-D value as a rod, components in depth. All story data is synthetic.
Standard techniques only (CSS 3-D transforms, a pane carousel, rotatable charts); no findings or recordings. Additive (patch): new exports only. Depth, lag and spacing values are TASTE.
Checks: dev_check.py 475/475, build_css.py --check, build_shadcn.py --check, tsc, storybook build. Tried in a desktop browser (swipe, dock, Flip); not yet on a headset.
Companion: polarize-holo’s spatial extension (the same UI in three.js for the Cardboard viewer).
🤖 Generated with Claude Code