From 392a9d251a4feadbf7703ba4f9157c1857c7a59b Mon Sep 17 00:00:00 2001 From: vanceingalls Date: Thu, 23 Jul 2026 21:31:46 +0000 Subject: [PATCH] feat(registry): make caption-emoji-pop data-driven with generic emoji lexicon Retrofits caption-emoji-pop onto the shared HyperFrames caption-data runtime (Blocks A-D) and the emphasis heuristic (Block E), replacing the hardcoded 7-word emoji map, fixed KEYWORDS set, and TRANSITION_WORDS set with a generic ~40-entry lexicon and HF_STOPWORDS/hfIsEmphasisWord. The component now consumes brand.primaryColor (hfPrimaryColor) and brand.accentColor (hfAccentColors) and rescales stage/font/emoji sizing to the runtime resolution via layout.fontScale/scaleX/scaleY. Co-Authored-By: Claude Sonnet 5 --- .../caption-emoji-pop/caption-emoji-pop.html | 519 ++++++++++++++---- 1 file changed, 419 insertions(+), 100 deletions(-) diff --git a/registry/components/caption-emoji-pop/caption-emoji-pop.html b/registry/components/caption-emoji-pop/caption-emoji-pop.html index f8a863d2e..d4107123b 100644 --- a/registry/components/caption-emoji-pop/caption-emoji-pop.html +++ b/registry/components/caption-emoji-pop/caption-emoji-pop.html @@ -125,22 +125,185 @@