Commit Graph
2 Commits
Author SHA1 Message Date
Miguel Ángel a2a5af8e19 fix(registry): stop gsap tweens from clobbering baked-in css transforms (#4090)
* fix(registry): stop gsap tweens from clobbering baked-in css transforms

transitions-cover, transitions-other, and us-map-bubble each set a

static css transform (translate/scale) on an element, then animate

x/y/scale on it with gsap. gsap owns the full transform matrix once

it touches an element, so the initial css value is a static risk the

runtime StaticGuard flags. establish the initial state via gsap.set()

instead, matching the pattern already used elsewhere in the registry.

us-map-bubble had a real visible defect: bubbles rendered stuck near

scale-0 instead of animating in. the other two items render pixel-

identical before and after since gsap already decomposes their pure

single-axis transforms correctly on first touch; fixed anyway since

the lint rule and StaticGuard are correct that it is a latent risk.

* style(registry): run oxfmt on transitions-cover
2026-09-18 18:25:22 -04:00
Miguel Ángel dba158dfc1 feat(registry): add maps section with 4 new map blocks + docs
New blocks: world-map (D3 Natural Earth choropleth), us-map-bubble
(proportional city markers), us-map-hex (hexagonal tile grid),
us-map-flow (animated connection arcs between cities).

All blocks share the same dark theme and are composable — layer
bubble or flow on top of the choropleth via track indexes.

Adds "Maps" section to the catalog docs with MDX pages for all 5
map blocks (including the us-map from the previous commit).
2026-05-17 23:16:41 -04:00