Repository navigation
Conversation
… respect reduced-motion/visibility in Particles Signed-off-by: Dr. Mohammed Lubbad <engmlubbad@gmail.com>
|
@mlubbad is attempting to deploy a commit to the product-studio Team on Vercel. A member of the Team first needs to authorize it. |
- Format 4 modified registry components with Prettier - Rebuild registry artifacts (registry.json, llms files, r/*.json) - Resolves: pnpm format:check failure + registry artifact drift check Signed-off-by: Dr. Mohammed Lubbad <engmlubbad@gmail.com>
|
تم إصلاح فشلَي الـ CI التاليين في هذه التعديلات: 1. 2. لا يمكن إصلاح التالي تلقائياً:
جميع الفحوصات الأخرى ( |
jinho-yeom
left a comment
There was a problem hiding this comment.
Thanks for the PR! Could you narrow this to the Arabic shaping fixes only and drop the Particles and useReducedMotion changes? With prefers-reduced-motion: reduce, TextAnimate stays blurred after hydration and Particles renders a blank canvas.
Signed-off-by: Dr. Mohammed Lubbad <engmlubbad@gmail.com>
|
Thanks for catching both issues, @jinho-yeom! Narrowed the PR strictly to the Arabic cursive shaping fixes across
|
|
@mlubbad |
Summary
Fixes cursive script shaping bugs across three text animation components:
hyper-text.tsx: UsesArray.from()instead of.split("")to avoid splitting surrogate pairs, selects an Arabic character set by default when the input contains Arabic characters, and renders Arabic text inside a single unbroken<span>so cursive glyph joining is preserved instead of shattered by per-charactermotion.spanwrappers.text-animate.tsx: UsesIntl.Segmenter(granularity: "grapheme") for grapheme-safe character splitting and automatically falls back fromby="character"toby="word"when Arabic cursive text is present.typing-animation.tsx: Switches totracking-normalwhen Arabic text is detected because negative letter-spacing (tracking-[-0.02em]) disconnects Arabic cursive ligatures.Verification
pnpm build:registry,pnpm lint,pnpm typecheck,pnpm format:check, andpnpm registry-deps:checkall pass cleanly.