feat: initial commit - Phase 1 & 2 core features

This commit is contained in:
hiderfong
2026-04-22 17:07:33 +08:00
commit 1773bda06b
25005 changed files with 6252106 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"raf.mjs","names":[],"sources":["../../../../packages/utils/raf.ts"],"sourcesContent":["import { isClient } from './browser'\n\nexport const rAF = (fn: () => void) =>\n isClient\n ? window.requestAnimationFrame(fn)\n : (setTimeout(fn, 16) as unknown as number)\n\nexport const cAF = (handle: number) =>\n isClient ? window.cancelAnimationFrame(handle) : clearTimeout(handle)\n"],"mappings":";;;AAEA,MAAa,OAAO,OAClB,WACI,OAAO,sBAAsB,GAAG,GAC/B,WAAW,IAAI,GAAG;AAEzB,MAAa,OAAO,WAClB,WAAW,OAAO,qBAAqB,OAAO,GAAG,aAAa,OAAO"}