Makes the shape families usable per-instance, not just in the demo. New canonical SHAPE_FAMILIES + ShapeFamily in lib/types (canon, like the variant archetypes). Badge / Card / Button gain a typed `shape` prop (rounded - continuous - cut - scoop) that emits `data-shape` -> the foundation [data-shape] corner-shape rule. Orthogonal to `rounded` (radius magnitude); default = arc (no attr); degrades to arc where corner-shape is unsupported. A differentiator for chips/badges (<Badge shape="cut">) and a premium touch for buttons (<Button shape="continuous"> = squircle). For cut/scoop prefer filled variants (concave/angular corners seam with borders) — documented per prop + pendiente.md. Verified: check 0 errors; eidos 190/193 (3 pre-existing `words` failures, unrelated). Browser: real Badge data-shape=cut -> bevel, real Button data-shape=continuous -> squircle, radius magnitude preserved. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>active-uix
parent
05a775c072
commit
6d56188fde
Loading…
Reference in new issue