feat: add ProgressBar ProgressCircle and Meter

This commit is contained in:
maoyingjie
2026-10-22 14:33:15 +08:00
parent e4d817ce55
commit 73bd7da5fa
66 changed files with 4143 additions and 10 deletions
@@ -0,0 +1,7 @@
/** Circle geometry matching the fixed HeroUI baseline (viewBox 0 0 36 36). */
export const PROGRESS_CIRCLE_CENTER = 18;
export const PROGRESS_CIRCLE_STROKE_WIDTH = 4;
export const PROGRESS_CIRCLE_RADIUS =
PROGRESS_CIRCLE_CENTER - PROGRESS_CIRCLE_STROKE_WIDTH / 2;
export const PROGRESS_CIRCLE_CIRCUMFERENCE =
2 * Math.PI * PROGRESS_CIRCLE_RADIUS;