@titan-design/react-ui 0.3.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/dist/MesoStatusCard-CQk71hSi.d.mts +77 -0
  2. package/dist/MesoStatusCard-CQk71hSi.d.ts +77 -0
  3. package/dist/bodymap.d.mts +246 -3
  4. package/dist/bodymap.d.ts +246 -3
  5. package/dist/bodymap.js +441 -97
  6. package/dist/bodymap.js.map +1 -1
  7. package/dist/bodymap.mjs +1958 -66
  8. package/dist/bodymap.mjs.map +1 -1
  9. package/dist/index.d.mts +71 -738
  10. package/dist/index.d.ts +71 -738
  11. package/dist/index.js +888 -1583
  12. package/dist/index.js.map +1 -1
  13. package/dist/index.mjs +4515 -2348
  14. package/dist/index.mjs.map +1 -1
  15. package/dist/pages-D7Jlssvp.d.ts +791 -0
  16. package/dist/pages-MO0JCySL.d.mts +791 -0
  17. package/dist/pages.d.mts +4 -0
  18. package/dist/pages.d.ts +4 -0
  19. package/dist/pages.js +6646 -0
  20. package/dist/pages.js.map +1 -0
  21. package/dist/pages.mjs +6626 -0
  22. package/dist/pages.mjs.map +1 -0
  23. package/dist/theme/index.d.mts +28 -2
  24. package/dist/theme/index.d.ts +28 -2
  25. package/dist/theme/index.js +37 -0
  26. package/dist/theme/index.js.map +1 -1
  27. package/dist/theme/index.mjs +1880 -2
  28. package/dist/theme/index.mjs.map +1 -1
  29. package/dist/theme/tokens-css.mjs +573 -1
  30. package/dist/theme/tokens-css.mjs.map +1 -1
  31. package/package.json +9 -7
  32. package/src/components/custom/Workout/ActiveWorkoutPage.tsx +10 -15
  33. package/src/components/custom/Workout/BaseBadge.stories.tsx +3 -3
  34. package/src/components/custom/Workout/BaseBadge.test.tsx +1 -1
  35. package/src/components/custom/Workout/BaseBadge.tsx +1 -1
  36. package/src/components/custom/Workout/BodyMap.tsx +7 -8
  37. package/src/components/custom/Workout/BodyMapDetailPanel.tsx +25 -28
  38. package/src/components/custom/Workout/CapacityBandChart.tsx +2 -3
  39. package/src/components/custom/Workout/ExerciseCard.tsx +17 -28
  40. package/src/components/custom/Workout/ExerciseDetailPage.tsx +38 -31
  41. package/src/components/custom/Workout/InputBar.tsx +10 -11
  42. package/src/components/custom/Workout/IntensityBar.test.tsx +112 -60
  43. package/src/components/custom/Workout/IntensityBar.tsx +109 -58
  44. package/src/components/custom/Workout/MesoCard.tsx +2 -6
  45. package/src/components/custom/Workout/MesoStatusCard.tsx +17 -15
  46. package/src/components/custom/Workout/MuscleGroupChip.tsx +2 -4
  47. package/src/components/custom/Workout/PlaceholderStrip.tsx +5 -10
  48. package/src/components/custom/Workout/PrBadge.tsx +3 -3
  49. package/src/components/custom/Workout/PrHistoryModal.tsx +14 -16
  50. package/src/components/custom/Workout/ProgramPlanningPage.tsx +8 -12
  51. package/src/components/custom/Workout/README.md +50 -0
  52. package/src/components/custom/Workout/ReadinessCheck.tsx +13 -11
  53. package/src/components/custom/Workout/RestTimer.test.tsx +41 -10
  54. package/src/components/custom/Workout/RestTimer.tsx +55 -49
  55. package/src/components/custom/Workout/SetRow.tsx +20 -8
  56. package/src/components/custom/Workout/StrengthTrendChart.tsx +15 -17
  57. package/src/components/custom/Workout/TempoBar.stories.tsx +95 -0
  58. package/src/components/custom/Workout/TempoBar.test.tsx +103 -0
  59. package/src/components/custom/Workout/TempoBar.tsx +215 -0
  60. package/src/components/custom/Workout/TempoDisplay.stories.tsx +69 -2
  61. package/src/components/custom/Workout/TempoDisplay.test.tsx +35 -0
  62. package/src/components/custom/Workout/TempoDisplay.tsx +104 -1
  63. package/src/components/custom/Workout/TrainingStatusPage.tsx +8 -17
  64. package/src/components/custom/Workout/VelocityStrip.test.tsx +89 -2
  65. package/src/components/custom/Workout/VelocityStrip.tsx +210 -43
  66. package/src/components/custom/Workout/WeekRow.test.tsx +2 -2
  67. package/src/components/custom/Workout/WeekRow.tsx +2 -1
  68. package/src/components/custom/Workout/WeightBadge.test.tsx +2 -2
  69. package/src/components/custom/Workout/WeightBadge.tsx +2 -2
  70. package/src/components/custom/Workout/WorkoutCard.tsx +3 -8
  71. package/src/components/custom/Workout/icons.tsx +68 -0
  72. package/src/components/custom/Workout/index.ts +47 -47
  73. package/src/index.ts +3 -2
  74. package/src/pages.ts +61 -0
  75. package/src/test/nativewind-stub.ts +13 -0
  76. package/src/test/stories-smoke.test.tsx +50 -0
  77. package/src/theme/ThemeProvider.test.tsx +24 -0
  78. package/src/theme/ThemeProvider.tsx +50 -0
  79. package/src/theme/barrel.ts +53 -0
  80. package/src/theme/index.ts +8 -41
  81. package/src/theme/native-theming-guard.test.ts +117 -0
  82. package/src/theme/resolve-color.ts +19 -0
  83. package/dist/bodymap-BhG55xHM.d.mts +0 -318
  84. package/dist/bodymap-BhG55xHM.d.ts +0 -318
  85. package/dist/chunk-7XPB4NAO.mjs +0 -1013
  86. package/dist/chunk-7XPB4NAO.mjs.map +0 -1
  87. package/dist/chunk-P7TSQUN6.mjs +0 -846
  88. package/dist/chunk-P7TSQUN6.mjs.map +0 -1
  89. package/dist/chunk-TOD2WQBG.mjs +0 -1048
  90. package/dist/chunk-TOD2WQBG.mjs.map +0 -1
package/dist/index.d.ts CHANGED
@@ -2,9 +2,10 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React, { ReactNode } from 'react';
3
3
  import { ViewProps, PressableProps, View, TextInputProps, TextInput, ImageSourcePropType, ModalProps as ModalProps$1, TextProps } from 'react-native';
4
4
  import { ElevationLevel, GlowIntensity } from './theme/index.js';
5
- export { ComponentType, CssPropertyEntry, CssPropertyManifest, ElevationConfig, ManifestValidationResult, ShadowIntensity, ShadowSurface, ThemeConfig, ThemeMode, ThemePreset, ThemePresetColors, ThemePresetFonts, ThemePresetRadii, ThemePresetShadows, VariantAxes, VariantOverride, applyThemePreset, audiobookPreset, buttonSizes, componentElevationRanges, createFlatShadow, createPressedHoverShadow, createPressedShadow, createRaisedHoverShadow, createRaisedShadow, darkThemeCSSVars, darken, defaultPreset, discreteRainbow, elevationSystem, getBaseSurfaceColor, getDiscreteRainbowColor, getElevationConfig, getElevationShadow, getElevationSurface, getGlowShadow, getHoverColors, getSemanticColors, getThemeCSSVars, getValidatedElevation, gluestackConfig, hexToRgb, hsvToRgb, isCssPropertyManifest, isDark, lightThemeCSSVars, lighten, neumorphicShadows, primitiveBorderRadius, primitiveBreakpoints, primitiveColors, primitiveShadows, primitiveSpacing, primitiveTypography, primitiveZIndex, rgbToHex, rgbToHsv, semanticColorsDark, semanticColorsLight, semanticTypography, shadowColors, validateCssPropertyManifest } from './theme/index.js';
6
- import { M as MesoStatusCardProps } from './bodymap-BhG55xHM.js';
7
- export { B as BodyMapData, a as BodyMapDetailPanelProps, b as BodyMapProps, C as ContributingExercise, c as MesoStatusBadge, d as MesoStatusBadgeVariant, e as MesoStatusCard, f as MesoStatusCoaching, g as MesoStatusGauge, h as MesoStatusMetric, i as MesoStatusNextTarget, j as MovementCategory, k as MuscleGroup, S as SimpleMuscleGroup, T as TrainingStatusMuscle, l as TrainingStatusPageProps, m as TrainingStatusSummary, U as UpcomingExercise, V as VolumeLandmarks } from './bodymap-BhG55xHM.js';
5
+ export { ComponentType, CssPropertyEntry, CssPropertyManifest, ElevationConfig, ManifestValidationResult, ShadowIntensity, ShadowSurface, ThemeConfig, ThemeMode, ThemePreset, ThemePresetColors, ThemePresetFonts, ThemePresetRadii, ThemePresetShadows, ThemeProviderMode, ThemeProviderProps, VariantAxes, VariantOverride, applyThemePreset, audiobookPreset, buttonSizes, componentElevationRanges, createFlatShadow, createPressedHoverShadow, createPressedShadow, createRaisedHoverShadow, createRaisedShadow, darkThemeCSSVars, darken, defaultPreset, discreteRainbow, elevationSystem, getBaseSurfaceColor, getDiscreteRainbowColor, getElevationConfig, getElevationShadow, getElevationSurface, getGlowShadow, getHoverColors, getSemanticColors, getThemeCSSVars, getValidatedElevation, gluestackConfig, hexToRgb, hsvToRgb, isCssPropertyManifest, isDark, lightThemeCSSVars, lighten, neumorphicShadows, primitiveBorderRadius, primitiveBreakpoints, primitiveColors, primitiveShadows, primitiveSpacing, primitiveTypography, primitiveZIndex, resolveColor, rgbToHex, rgbToHsv, semanticColorsDark, semanticColorsLight, semanticTypography, shadowColors, validateCssPropertyManifest } from './theme/index.js';
6
+ export { A as ActiveExerciseStatus, a as ActiveWorkoutExercise, b as ActiveWorkoutInput, c as ActiveWorkoutPageProps, d as ActiveWorkoutRest, e as ActiveWorkoutSuperset, C as CapacityBandChart, f as CapacityBandChartProps, g as CapacityBandDataPoint, h as CapacityBandProjection, E as ExerciseCard, i as ExerciseCardProps, j as ExerciseCardState, k as ExerciseDetailEntry, l as ExerciseDetailHeader, m as ExerciseDetailPageProps, n as ExerciseDetailStats, o as ExerciseDetailTab, p as ExerciseTrend, q as ExerciseVbt, r as ExerciseVbtSet, M as Meso, s as MesoCard, t as MesoCardProps, u as MesoProgressBar, v as MesoProgressBarProps, w as MesoStatus, x as MesoVolumeHeatmapEntry, P as PRType, y as PlanMeso, z as PlanWeek, B as PlanWorkout, D as PrBadge, F as PrBadgeProps, G as ProgramBreadcrumb, H as ProgramNavLevel, I as ProgramPlanningPageProps, J as ProgramSelection, S as SetRow, K as SetRowMode, L as SetRowProps, N as StrengthTrendChart, O as StrengthTrendChartMesoBoundary, Q as StrengthTrendChartProps, R as StrengthTrendDataPoint, V as VbtSummary, T as VelocityStrip, U as VelocityStripProps, W as VelocityZoneBandProp, X as WeekRow, Y as WeekRowProps, Z as WeekRowWorkout, _ as WorkoutCard, $ as WorkoutCardProps, a0 as WorkoutDot, a1 as WorkoutDotStatus, a2 as WorkoutGroup, a3 as WorkoutMuscleGroup, a4 as WorkoutMuscleVolumeStatus, a5 as WorkoutPill, a6 as WorkoutPillProps, a7 as WorkoutPillStatus, a8 as WorkoutProgress, a9 as WorkoutStatus, aa as calculateMeanVelocity, ab as calculateVelocityLoss, ac as getVelocityZoneColor, ad as getVelocityZoneName } from './pages-D7Jlssvp.js';
7
+ export { M as MesoStatusBadge, a as MesoStatusBadgeVariant, b as MesoStatusCard, c as MesoStatusCardProps, d as MesoStatusCoaching, e as MesoStatusGauge, f as MesoStatusMetric, g as MesoStatusNextTarget } from './MesoStatusCard-CQk71hSi.js';
8
+ export { BodyMapData, BodyMapDetailPanelProps, BodyMapProps, ContributingExercise, MovementCategory, MuscleGroup, SimpleMuscleGroup, TrainingStatusMuscle, TrainingStatusPageProps, TrainingStatusSummary, UpcomingExercise, VolumeLandmarks } from './bodymap.js';
8
9
  import { ClassValue } from 'clsx';
9
10
 
10
11
  type AlertStatus = 'success' | 'info' | 'warning' | 'error';
@@ -2534,20 +2535,6 @@ interface WeightBadgeProps extends Omit<BaseBadgeProps, 'variant' | 'icon' | 'ch
2534
2535
  }
2535
2536
  declare function WeightBadge({ value, unit, reps, delta, isPr, showIcon, size, onPress, className, ...props }: WeightBadgeProps): react_jsx_runtime.JSX.Element;
2536
2537
 
2537
- type PRType = 'e1rm' | 'weight' | 'reps' | 'volume' | 'velocity';
2538
- interface PrBadgeProps extends ViewProps {
2539
- /** PR type determines auto-generated label */
2540
- type?: PRType;
2541
- /** Display label (e.g., "PR e1RM", "PR 5RM"). Auto-generated from type if omitted. */
2542
- label?: string;
2543
- /** Show only the star icon, no text label */
2544
- compact?: boolean;
2545
- /** Trigger pop animation on mount */
2546
- animate?: boolean;
2547
- className?: string;
2548
- }
2549
- declare function PrBadge({ type, label: labelProp, compact, animate, className, ...props }: PrBadgeProps): react_jsx_runtime.JSX.Element;
2550
-
2551
2538
  type StatusDotVariant = 'success' | 'warning' | 'error' | 'neutral' | 'on-track' | 'deviation' | 'future';
2552
2539
  interface StatusDotProps extends ViewProps {
2553
2540
  variant: StatusDotVariant;
@@ -2571,6 +2558,19 @@ interface PlaceholderStripProps extends ViewProps {
2571
2558
  }
2572
2559
  declare function PlaceholderStrip({ mode, segments, ...props }: PlaceholderStripProps): react_jsx_runtime.JSX.Element;
2573
2560
 
2561
+ /** The four tempo phases, in the order the display renders them. */
2562
+ type TempoLivePhase = 'eccentric' | 'pauseBottom' | 'concentric' | 'pauseTop';
2563
+ /**
2564
+ * Live rep state driving the phase-fill overlay. Controlled by the consumer
2565
+ * (matching titan's `elapsedMs`-in convention) so the same real timer feeds
2566
+ * both web dashboard and native app — TempoDisplay owns rendering only.
2567
+ */
2568
+ interface TempoLiveState {
2569
+ /** Phase currently in progress, or null when idle/at rest. */
2570
+ activePhase: TempoLivePhase | null;
2571
+ /** Elapsed time (ms) within the active phase. */
2572
+ phaseElapsedMs: number;
2573
+ }
2574
2574
  interface TempoDisplayProps extends ViewProps {
2575
2575
  /** Tempo values: [eccentric, pauseBottom, concentric, pauseTop] in seconds */
2576
2576
  tempo: [number, number, number, number];
@@ -2579,10 +2579,56 @@ interface TempoDisplayProps extends ViewProps {
2579
2579
  colored?: boolean;
2580
2580
  /** Show info tooltip on press */
2581
2581
  showInfo?: boolean;
2582
+ /**
2583
+ * When set, renders a live phase-fill: the active phase digit fills against
2584
+ * its prescribed duration and inactive phases dim. Omit for the static
2585
+ * prescription string (default, backward compatible).
2586
+ */
2587
+ live?: TempoLiveState;
2582
2588
  onPress?: () => void;
2583
2589
  className?: string;
2584
2590
  }
2585
- declare function TempoDisplay({ tempo, size, colored, showInfo, onPress, className, ...props }: TempoDisplayProps): react_jsx_runtime.JSX.Element;
2591
+ declare function TempoDisplay({ tempo, size, colored, showInfo, live, onPress, className, ...props }: TempoDisplayProps): react_jsx_runtime.JSX.Element;
2592
+
2593
+ /**
2594
+ * Titan-local phase key. Consumers map their own movement-phase enum onto this
2595
+ * presentational key at the call site — TempoBar owns rendering only.
2596
+ */
2597
+ type TempoPhaseKey = 'concentric' | 'hold' | 'eccentric';
2598
+ /** Pacing tuning shared with the fill/pacing helpers below. */
2599
+ declare const TEMPO_PACING: {
2600
+ readonly behindThresholdPct: 0.15;
2601
+ readonly minPhaseDurationMs: 500;
2602
+ };
2603
+ type TempoPacingState = 'none' | 'on-pace' | 'behind';
2604
+ /**
2605
+ * Classify how a phase's elapsed time tracks against its target duration.
2606
+ * `none` when there is no meaningful target; `behind` once elapsed exceeds the
2607
+ * target by more than the behind threshold; `on-pace` otherwise.
2608
+ */
2609
+ declare function getTempoPacingState(elapsedMs: number, targetMs: number | null): TempoPacingState;
2610
+ /** Fill percentage (0–100) for the active phase; full when no target is set. */
2611
+ declare function getTempoFillPct(elapsedMs: number, targetMs: number | null): number;
2612
+ interface TempoBarProps extends ViewProps {
2613
+ /** Phase currently in progress, or null when idle/at rest. */
2614
+ activePhase: TempoPhaseKey | null;
2615
+ /** Elapsed time (ms) within the active phase. */
2616
+ phaseElapsedMs: number;
2617
+ /** Completed phase durations (ms) for the current rep, keyed by phase. */
2618
+ completed?: Partial<Record<TempoPhaseKey, number>>;
2619
+ /** Optional per-phase target durations (seconds) for pacing feedback. */
2620
+ target?: Partial<Record<TempoPhaseKey, number>>;
2621
+ className?: string;
2622
+ }
2623
+ /**
2624
+ * TempoBar — live rep phase progression indicator.
2625
+ *
2626
+ * Renders a segmented bar (Con → Hold → Ecc) where the active phase fills in
2627
+ * real time and completed phases show their duration with a ✓/✗ pacing mark.
2628
+ * Presentational only: the consumer derives which phase is active, its elapsed
2629
+ * time, and completed durations, then feeds them in.
2630
+ */
2631
+ declare function TempoBar({ activePhase, phaseElapsedMs, completed, target, className, ...props }: TempoBarProps): react_jsx_runtime.JSX.Element;
2586
2632
 
2587
2633
  interface DeviationBarProps extends ViewProps {
2588
2634
  deviation: number;
@@ -2593,9 +2639,9 @@ declare function DeviationBar({ deviation, width, className, ...props }: Deviati
2593
2639
 
2594
2640
  type IntensityBarOrientation = 'vertical' | 'horizontal';
2595
2641
  interface IntensityBarProps extends ViewProps {
2596
- /** Current intensity level 0-1 */
2642
+ /** Current intensity level; 1 == 100% of target. Values >1 render as over-target. */
2597
2643
  level: number;
2598
- /** MRV/overexertion threshold position 0-1 */
2644
+ /** Target position 0-1. When the level sits at this target the fill gains an at-target glow. */
2599
2645
  threshold?: number;
2600
2646
  /** Orientation */
2601
2647
  orientation?: IntensityBarOrientation;
@@ -2603,43 +2649,12 @@ interface IntensityBarProps extends ViewProps {
2603
2649
  size?: number;
2604
2650
  /** Width for vertical (default 6px) or height for horizontal */
2605
2651
  thickness?: number;
2606
- /** Show threshold label ("MRV") */
2652
+ /** Show the "MRV" threshold label under the bar */
2607
2653
  showThresholdLabel?: boolean;
2608
2654
  className?: string;
2609
2655
  }
2610
2656
  declare function IntensityBar({ level, threshold, orientation, size, thickness, showThresholdLabel, className, ...props }: IntensityBarProps): react_jsx_runtime.JSX.Element;
2611
2657
 
2612
- /**
2613
- * Spec statuses: completed | current | upcoming | deload.
2614
- * `next` and `missed` are additive extras supported by this implementation.
2615
- */
2616
- type WorkoutPillStatus = 'completed' | 'current' | 'upcoming' | 'deload' | 'next' | 'missed';
2617
- interface WorkoutPillProps extends ViewProps {
2618
- name: string;
2619
- status: WorkoutPillStatus;
2620
- /** Force pulsing animation. Defaults to pulsing only on `current` status. */
2621
- pulse?: boolean;
2622
- onPress?: () => void;
2623
- highlighted?: boolean;
2624
- className?: string;
2625
- }
2626
- declare function WorkoutPill({ name, status, pulse, onPress, highlighted, className, ...props }: WorkoutPillProps): react_jsx_runtime.JSX.Element;
2627
-
2628
- interface VelocityStripProps extends ViewProps {
2629
- velocities: number[];
2630
- expanded?: boolean;
2631
- onToggle?: () => void;
2632
- onRepPress?: (index: number, velocity: number) => void;
2633
- variant?: 'full' | 'mini';
2634
- showInfo?: boolean;
2635
- className?: string;
2636
- }
2637
- declare function getVelocityZoneColor(velocity: number): string;
2638
- declare function getVelocityZoneName(velocity: number): string;
2639
- declare function calculateVelocityLoss(velocities: number[]): number;
2640
- declare function calculateMeanVelocity(velocities: number[]): number;
2641
- declare function VelocityStrip({ velocities, expanded, onToggle, onRepPress, variant, showInfo, className, ...props }: VelocityStripProps): react_jsx_runtime.JSX.Element;
2642
-
2643
2658
  type VolumeStatus = 'untrained' | 'behind' | 'ontrack' | 'target' | 'over';
2644
2659
  interface MuscleGroupChipProps extends ViewProps {
2645
2660
  name: string;
@@ -2666,34 +2681,6 @@ interface SparklineProps extends ViewProps {
2666
2681
  }
2667
2682
  declare function Sparkline({ data, width, height, color, showDots, referenceLines, highlightLast, className, ...props }: SparklineProps): react_jsx_runtime.JSX.Element;
2668
2683
 
2669
- type SetRowMode = 'active' | 'completed' | 'history';
2670
- interface SetRowProps {
2671
- mode: SetRowMode;
2672
- setNumber: number;
2673
- previous?: {
2674
- reps: number;
2675
- weight: number;
2676
- } | null;
2677
- reps: number | null;
2678
- weight: number | null;
2679
- rpe?: number | null;
2680
- unit: 'lbs' | 'kg';
2681
- velocities?: number[];
2682
- velocityExpanded?: boolean;
2683
- onVelocityToggle?: () => void;
2684
- setType?: string;
2685
- prBadges?: Array<{
2686
- type: PRType;
2687
- label: string;
2688
- }>;
2689
- isNextSet?: boolean;
2690
- targets?: {
2691
- reps: number;
2692
- weight: number;
2693
- };
2694
- }
2695
- declare function SetRow({ mode, setNumber, previous, reps, weight, rpe, unit, velocities, velocityExpanded, onVelocityToggle, setType, prBadges, isNextSet, targets, }: SetRowProps): react_jsx_runtime.JSX.Element;
2696
-
2697
2684
  interface InputBarProps {
2698
2685
  exerciseName: string;
2699
2686
  setNumber: number;
@@ -2716,36 +2703,10 @@ interface RestTimerProps {
2716
2703
  onAddTime: () => void;
2717
2704
  nextSetInfo?: string;
2718
2705
  visible: boolean;
2706
+ /** Passive/poll-only mode: hides the Skip and +30s controls, keeps the countdown, progress bar, and next-set line. */
2707
+ displayOnly?: boolean;
2719
2708
  }
2720
- declare function RestTimer({ totalSeconds, elapsedMs, onSkip, onAddTime, nextSetInfo, visible, }: RestTimerProps): react_jsx_runtime.JSX.Element | null;
2721
-
2722
- type ExerciseCardState = 'collapsed' | 'expanded' | 'upcoming';
2723
- interface ExerciseCardProps {
2724
- name: string;
2725
- state: ExerciseCardState;
2726
- onToggle: () => void;
2727
- onNavigateDetail?: () => void;
2728
- summary?: {
2729
- sets: number;
2730
- reps: number | string;
2731
- weight: number;
2732
- unit: 'lbs' | 'kg';
2733
- };
2734
- e1rm?: {
2735
- value: number;
2736
- unit: 'lbs' | 'kg';
2737
- };
2738
- isPR?: boolean;
2739
- setVelocities?: number[][];
2740
- totalPlannedSets?: number;
2741
- sets?: SetRowProps[];
2742
- tempo?: [number, number, number, number];
2743
- prescription?: string;
2744
- previousBest?: string;
2745
- supersetPosition?: 'first' | 'last' | 'middle' | null;
2746
- supersetColor?: string;
2747
- }
2748
- declare function ExerciseCard(props: ExerciseCardProps): react_jsx_runtime.JSX.Element;
2709
+ declare function RestTimer({ totalSeconds, elapsedMs, onSkip, onAddTime, nextSetInfo, visible, displayOnly, }: RestTimerProps): react_jsx_runtime.JSX.Element | null;
2749
2710
 
2750
2711
  interface SupersetWrapperProps {
2751
2712
  label?: string;
@@ -2754,187 +2715,6 @@ interface SupersetWrapperProps {
2754
2715
  }
2755
2716
  declare function SupersetWrapper({ label, color, children, }: SupersetWrapperProps): react_jsx_runtime.JSX.Element;
2756
2717
 
2757
- type MesoStatus = 'completed' | 'current' | 'upcoming';
2758
- interface Meso {
2759
- id: string;
2760
- name: string;
2761
- weekCount: number;
2762
- status: MesoStatus;
2763
- /**
2764
- * 1-based week index of progress within a `current` meso.
2765
- * Drives the solid fill width. Ignored for non-current mesos.
2766
- */
2767
- currentWeek?: number;
2768
- }
2769
- interface MesoProgressBarProps extends ViewProps {
2770
- mesos: Meso[];
2771
- activeMesoId: string | null;
2772
- onMesoPress: (mesoId: string) => void;
2773
- className?: string;
2774
- }
2775
- /**
2776
- * Segmented horizontal bar of mesocycles. Each segment is tappable and its
2777
- * flex width is proportional to the meso's `weekCount`. The active segment is
2778
- * highlighted with a 2px brand border to stay in sync with MesoCard selection.
2779
- *
2780
- * @example
2781
- * <MesoProgressBar
2782
- * mesos={[
2783
- * { id: 'm1', name: 'Accumulation', weekCount: 4, status: 'completed' },
2784
- * { id: 'm2', name: 'Intensification', weekCount: 3, status: 'current', currentWeek: 2 },
2785
- * { id: 'm3', name: 'Peak', weekCount: 2, status: 'upcoming' },
2786
- * ]}
2787
- * activeMesoId="m2"
2788
- * onMesoPress={(id) => console.log(id)}
2789
- * />
2790
- */
2791
- declare function MesoProgressBar({ mesos, activeMesoId, onMesoPress, className, ...props }: MesoProgressBarProps): react_jsx_runtime.JSX.Element;
2792
-
2793
- interface WeekRowWorkout {
2794
- name: string;
2795
- status: WorkoutPillStatus;
2796
- onPress?: () => void;
2797
- }
2798
- interface WeekRowProps extends ViewProps {
2799
- /** Week index within the mesocycle (1-based) */
2800
- weekNumber: number;
2801
- /** Total weeks in the mesocycle */
2802
- totalWeeks: number;
2803
- /** Workouts scheduled for this week */
2804
- workouts: WeekRowWorkout[];
2805
- /** Planned intensity for the week, 0-1 */
2806
- intensityLevel: number;
2807
- /** Optional MRV/overexertion threshold, 0-1 */
2808
- intensityThreshold?: number;
2809
- /** Highlights this row as the active week */
2810
- isCurrent?: boolean;
2811
- /** Renders this row as a deload week (purple tint, deload pills) */
2812
- isDeload?: boolean;
2813
- className?: string;
2814
- }
2815
- /**
2816
- * A single week within a mesocycle, showing the week number, its workout pills,
2817
- * and a right-aligned vertical intensity indicator.
2818
- *
2819
- * @example
2820
- * <WeekRow
2821
- * weekNumber={1}
2822
- * totalWeeks={4}
2823
- * workouts={[
2824
- * { name: 'Upper', status: 'completed' },
2825
- * { name: 'Lower', status: 'current' },
2826
- * ]}
2827
- * intensityLevel={0.55}
2828
- * intensityThreshold={0.8}
2829
- * isCurrent
2830
- * />
2831
- */
2832
- declare function WeekRow({ weekNumber, totalWeeks, workouts, intensityLevel, intensityThreshold, isCurrent, isDeload, className, ...props }: WeekRowProps): react_jsx_runtime.JSX.Element;
2833
-
2834
- type WorkoutStatus = 'completed' | 'today' | 'upcoming';
2835
- /** Spec volume-status vocabulary; mapped to MuscleGroupChip's VolumeStatus internally. */
2836
- type WorkoutMuscleVolumeStatus = 'under' | 'maintenance' | 'productive' | 'over';
2837
- interface WorkoutMuscleGroup {
2838
- /** Muscle group identifier (free-form to match plan data). */
2839
- group: string;
2840
- /** Display label, may be abbreviated. */
2841
- label: string;
2842
- /** Volume status relative to landmarks. */
2843
- volumeStatus?: WorkoutMuscleVolumeStatus;
2844
- }
2845
- interface WorkoutCardProps extends ViewProps {
2846
- name: string;
2847
- date: string;
2848
- /** e.g. "45 min" */
2849
- duration?: string;
2850
- status: WorkoutStatus;
2851
- muscleGroups: WorkoutMuscleGroup[];
2852
- totalSets: number;
2853
- /** Total lbs/kg moved across the workout. */
2854
- totalVolume?: number;
2855
- unit: 'lbs' | 'kg';
2856
- exercises?: ExerciseCardProps[];
2857
- expanded?: boolean;
2858
- onToggle?: () => void;
2859
- className?: string;
2860
- }
2861
- /**
2862
- * A workout within a week: name, date, duration, muscle-group pills, and a
2863
- * stats summary. When expandable it renders contained ExerciseCards on expand.
2864
- * Status drives a colored left border, today adds a brand tint, and upcoming
2865
- * is dimmed.
2866
- *
2867
- * @example
2868
- * <WorkoutCard
2869
- * name="Upper A"
2870
- * date="Mon, Jun 23"
2871
- * duration="45 min"
2872
- * status="today"
2873
- * muscleGroups={[{ group: 'chest', label: 'Chest', volumeStatus: 'productive' }]}
2874
- * totalSets={18}
2875
- * totalVolume={12450}
2876
- * unit="lbs"
2877
- * expanded
2878
- * onToggle={() => {}}
2879
- * exercises={exercises}
2880
- * />
2881
- */
2882
- declare function WorkoutCard({ name, date, duration, status, muscleGroups, totalSets, totalVolume, unit, exercises, expanded, onToggle, className, ...props }: WorkoutCardProps): react_jsx_runtime.JSX.Element;
2883
-
2884
- interface MesoVolumeHeatmapEntry {
2885
- /** Muscle group identifier (free-form to match plan data). */
2886
- group: string;
2887
- /** Planned volume intensity for the group, 0-100. */
2888
- percentage: number;
2889
- }
2890
- interface MesoCardProps extends ViewProps {
2891
- /** Mesocycle name, e.g. "Accumulation". */
2892
- name: string;
2893
- /** Training goal, e.g. "Hypertrophy", "Strength", "Peaking". */
2894
- goal: string;
2895
- /** Training split, e.g. "Upper/Lower", "Push/Pull/Legs". */
2896
- split: string;
2897
- /** Week range label, e.g. "Weeks 1-4". */
2898
- weekRange: string;
2899
- /** Current week within the mesocycle (1-based). */
2900
- currentWeek?: number;
2901
- /** Total weeks in the mesocycle. */
2902
- totalWeeks: number;
2903
- /** Weeks rendered as a WeekRow list when expanded. */
2904
- weeks: WeekRowProps[];
2905
- /** Whether the card is expanded to reveal the week list. */
2906
- expanded?: boolean;
2907
- /** Toggles expansion; makes the header a button when provided. */
2908
- onToggle?: () => void;
2909
- /** Whether this meso is highlighted in the MesoProgressBar. */
2910
- highlighted?: boolean;
2911
- /** Volume heatmap data per muscle group for the meso. */
2912
- volumeHeatmap?: MesoVolumeHeatmapEntry[];
2913
- className?: string;
2914
- }
2915
- /**
2916
- * A mesocycle card with name, goal, split, week range, an optional volume
2917
- * heatmap strip, and an expandable WeekRow list. Highlighting animates the
2918
- * border toward brand-primary with a subtle glow to stay in sync with the
2919
- * MesoProgressBar.
2920
- *
2921
- * @example
2922
- * <MesoCard
2923
- * name="Accumulation"
2924
- * goal="Hypertrophy"
2925
- * split="Upper/Lower"
2926
- * weekRange="Weeks 1-4"
2927
- * currentWeek={2}
2928
- * totalWeeks={4}
2929
- * weeks={weeks}
2930
- * volumeHeatmap={[{ group: 'chest', percentage: 80 }]}
2931
- * expanded
2932
- * onToggle={() => {}}
2933
- * highlighted
2934
- * />
2935
- */
2936
- declare function MesoCard({ name, goal, split, weekRange, currentWeek, totalWeeks, weeks, expanded, onToggle, highlighted, volumeHeatmap, className, ...props }: MesoCardProps): react_jsx_runtime.JSX.Element;
2937
-
2938
2718
  type PrRecordType = 'e1rm' | 'weight' | 'reps' | 'volume' | 'velocity';
2939
2719
  interface PrRecord {
2940
2720
  /** PR category, drives the row label and ordering grouping. */
@@ -3032,453 +2812,6 @@ interface ReadinessCheckProps {
3032
2812
  */
3033
2813
  declare function ReadinessCheck({ factors, score, warmUpValidation, warmUpCompleted, onConfirm, className, }: ReadinessCheckProps): react_jsx_runtime.JSX.Element;
3034
2814
 
3035
- interface StrengthTrendDataPoint {
3036
- /** ISO date string for the session. */
3037
- date: string;
3038
- /** Estimated one-rep max in the chart's unit. */
3039
- e1rm: number;
3040
- /** Marks a personal-record session (rendered with a star). */
3041
- isPR?: boolean;
3042
- /** Optional human label shown in the tooltip instead of the raw date. */
3043
- sessionLabel?: string;
3044
- }
3045
- interface StrengthTrendChartMesoBoundary {
3046
- /** ISO date where the mesocycle boundary falls. */
3047
- date: string;
3048
- /** Short label, e.g. "Hypertrophy". */
3049
- label: string;
3050
- }
3051
- interface StrengthTrendChartProps extends ViewProps {
3052
- /** Actual e1RM data points, chronological. */
3053
- data: StrengthTrendDataPoint[];
3054
- /** Projected/planned e1RM trajectory, drawn as a dashed line. */
3055
- projection?: StrengthTrendDataPoint[];
3056
- /** Chart plot width in pixels. */
3057
- width: number;
3058
- /** Chart plot height in pixels (120-160 for the compact variant). */
3059
- height: number;
3060
- /** Mesocycle boundary markers (vertical guides + labels). */
3061
- mesoBoundaries?: StrengthTrendChartMesoBoundary[];
3062
- /** Called when an actual data point is tapped. */
3063
- onPointPress?: (point: StrengthTrendDataPoint) => void;
3064
- /** Unit for display and labels. */
3065
- unit: 'lbs' | 'kg';
3066
- /** Animate the left-to-right line draw on mount (default true). */
3067
- animateOnMount?: boolean;
3068
- className?: string;
3069
- }
3070
- /**
3071
- * Estimated-1RM line chart over time with an optional dashed plan-projection
3072
- * line and PR star markers. Rendered entirely with absolutely-positioned
3073
- * Views (no SVG), following the Sparkline approach. Tapping an actual point
3074
- * opens a tooltip and fires `onPointPress`. A trend pill below the chart
3075
- * summarizes the percentage change for the current mesocycle.
3076
- *
3077
- * @example
3078
- * <StrengthTrendChart
3079
- * data={[{ date: '2026-01-01', e1rm: 225 }, { date: '2026-02-01', e1rm: 245, isPR: true }]}
3080
- * projection={[{ date: '2026-02-01', e1rm: 245 }, { date: '2026-03-01', e1rm: 260 }]}
3081
- * width={320}
3082
- * height={150}
3083
- * unit="lbs"
3084
- * />
3085
- */
3086
- declare function StrengthTrendChart({ data, projection, width, height, mesoBoundaries, onPointPress, unit, animateOnMount, className, ...props }: StrengthTrendChartProps): react_jsx_runtime.JSX.Element;
3087
-
3088
- type WorkoutDotStatus = 'within' | 'above' | 'below';
3089
- interface CapacityBandDataPoint {
3090
- /** ISO-ish date string (e.g. "2026-06-01"). */
3091
- date: string;
3092
- /** Lower bound of the capacity band (MEV equivalent). */
3093
- bandLow: number;
3094
- /** Upper bound of the capacity band (MRV equivalent). */
3095
- bandHigh: number;
3096
- }
3097
- interface WorkoutDot {
3098
- date: string;
3099
- /** Actual session load score. */
3100
- load: number;
3101
- /** Position of the session relative to the band. */
3102
- status: WorkoutDotStatus;
3103
- }
3104
- interface CapacityBandProjection {
3105
- /** Band shape over the next days if training continues (rises). */
3106
- withTraining: CapacityBandDataPoint[];
3107
- /** Band shape over the next days if resting (drops). */
3108
- withRest: CapacityBandDataPoint[];
3109
- }
3110
- interface CapacityBandChartProps extends ViewProps {
3111
- /** Capacity band shape over time. */
3112
- band: CapacityBandDataPoint[];
3113
- /** Workout sessions plotted as dots. */
3114
- workouts: WorkoutDot[];
3115
- /** Optional forward projection (next few days). */
3116
- projection?: CapacityBandProjection;
3117
- /** Chart width in px. */
3118
- width: number;
3119
- /** Chart height in px. */
3120
- height: number;
3121
- /** Called when a workout dot is tapped. */
3122
- onWorkoutPress?: (workout: WorkoutDot) => void;
3123
- className?: string;
3124
- }
3125
- /**
3126
- * Gentler-Streak-inspired fatigue visualization. Renders a shaded capacity
3127
- * band (between a rolling MEV/MRV estimate), workout sessions as colored dots
3128
- * positioned by load, and an optional dashed forward projection that diverges
3129
- * for "keep training" (rises) versus "rest" (drops). View-based, no SVG:
3130
- * the band fill is a run of vertical columns and the edges/projection are
3131
- * rotated line Views (same technique as Sparkline).
3132
- *
3133
- * @example
3134
- * <CapacityBandChart
3135
- * band={band}
3136
- * workouts={workouts}
3137
- * projection={{ withTraining, withRest }}
3138
- * width={320}
3139
- * height={180}
3140
- * onWorkoutPress={(w) => openSession(w)}
3141
- * />
3142
- */
3143
- declare function CapacityBandChart({ band, workouts, projection, width, height, onWorkoutPress, className, ...props }: CapacityBandChartProps): react_jsx_runtime.JSX.Element;
3144
-
3145
- /** A single workout within a planned week, plus its exercise breakdown. */
3146
- interface PlanWorkout {
3147
- /** Stable identifier used for drill-down selection. */
3148
- id: string;
3149
- name: string;
3150
- date: string;
3151
- duration?: string;
3152
- status: WorkoutStatus;
3153
- muscleGroups: WorkoutMuscleGroup[];
3154
- totalSets: number;
3155
- totalVolume?: number;
3156
- unit: 'lbs' | 'kg';
3157
- /** Exercises revealed when the workout is opened. */
3158
- exercises: ExerciseCardProps[];
3159
- }
3160
- /** A training week inside a mesocycle. */
3161
- interface PlanWeek {
3162
- /** 1-based week index within the mesocycle. */
3163
- weekNumber: number;
3164
- /** Planned intensity for the week, 0-1. */
3165
- intensityLevel: number;
3166
- /** Optional MRV/overexertion threshold, 0-1. */
3167
- intensityThreshold?: number;
3168
- isDeload?: boolean;
3169
- isCurrent?: boolean;
3170
- workouts: PlanWorkout[];
3171
- }
3172
- /** A mesocycle: the top level of the drill-down. */
3173
- interface PlanMeso {
3174
- id: string;
3175
- name: string;
3176
- goal: string;
3177
- split: string;
3178
- weekRange: string;
3179
- weekCount: number;
3180
- currentWeek?: number;
3181
- status: MesoStatus;
3182
- volumeHeatmap?: MesoVolumeHeatmapEntry[];
3183
- weeks: PlanWeek[];
3184
- }
3185
- /** Current depth of the meso -> week -> workout drill-down. */
3186
- type ProgramNavLevel = 'meso' | 'week' | 'workout';
3187
- /** The navigation cursor within the active mesocycle. */
3188
- interface ProgramSelection {
3189
- weekNumber: number | null;
3190
- workoutId: string | null;
3191
- }
3192
- /** One tappable step in the breadcrumb trail. */
3193
- interface ProgramBreadcrumb {
3194
- key: string;
3195
- label: string;
3196
- level: ProgramNavLevel;
3197
- }
3198
- interface ProgramPlanningPageProps extends ViewProps {
3199
- /** Page heading. */
3200
- title?: string;
3201
- /** Mesocycles that make up the program. */
3202
- mesos: PlanMeso[];
3203
- className?: string;
3204
- }
3205
- /** Derive the current drill-down level from the selection cursor (pure). */
3206
- declare function deriveNavLevel(selection: ProgramSelection): ProgramNavLevel;
3207
- /** Project the mesocycles onto MesoProgressBar segment data (pure). */
3208
- declare function toProgressBarMesos(mesos: PlanMeso[]): Meso[];
3209
- /** Look up a meso by id, or null. */
3210
- declare function findMeso(mesos: PlanMeso[], id: string | null): PlanMeso | null;
3211
- /** Look up a week within a meso, or null. */
3212
- declare function findWeek(meso: PlanMeso | null, weekNumber: number | null): PlanWeek | null;
3213
- /** Look up a workout within a week, or null. */
3214
- declare function findWorkout(week: PlanWeek | null, workoutId: string | null): PlanWorkout | null;
3215
- /** Build the breadcrumb trail for the active drill path (pure). */
3216
- declare function buildBreadcrumbs(meso: PlanMeso, weekNumber: number | null, workout: PlanWorkout | null): ProgramBreadcrumb[];
3217
- /**
3218
- * ProgramPlanningPage — a meso -> week -> workout drill-down over an entire
3219
- * training program. A `MesoProgressBar` pins the mesocycle timeline to the top;
3220
- * the body swaps between three levels: expandable `MesoCard`s (with inline
3221
- * `WeekRow`s), a week's `WorkoutCard` list, and a single opened `WorkoutCard`
3222
- * with inline `ExerciseCard` expansion. A breadcrumb trail tracks and rewinds
3223
- * the drill path. Selection is page-level state; children keep their own styles.
3224
- *
3225
- * @example
3226
- * <ProgramPlanningPage mesos={mesos} />
3227
- */
3228
- declare function ProgramPlanningPage({ title, mesos, className, ...props }: ProgramPlanningPageProps): react_jsx_runtime.JSX.Element;
3229
-
3230
- /** Which tab of the exercise detail view is showing. */
3231
- type ExerciseDetailTab = 'progress' | 'history' | 'advanced';
3232
- /** Tabs in display order. */
3233
- declare const EXERCISE_DETAIL_TABS: Array<{
3234
- key: ExerciseDetailTab;
3235
- label: string;
3236
- }>;
3237
- /** Identity + headline stats for the exercise being inspected. */
3238
- interface ExerciseDetailHeader {
3239
- /** Exercise name, e.g. "Barbell Bench Press". */
3240
- name: string;
3241
- /** Context line, e.g. "Chest · Barbell". */
3242
- subtitle: string;
3243
- /** Unit used across the page. */
3244
- unit: 'lbs' | 'kg';
3245
- /** Current estimated one-rep max, shown as a header pill. */
3246
- currentE1rm?: number;
3247
- }
3248
- /**
3249
- * A single expandable entry — one progression week or one logged session.
3250
- * Projected onto an `ExerciseCard`, so it collapses to a summary and expands
3251
- * to its `SetRow` breakdown.
3252
- */
3253
- interface ExerciseDetailEntry {
3254
- /** Stable id for inline-expansion selection. */
3255
- id: string;
3256
- /** Row title, e.g. "Week 3" or "Mon, Jun 16". */
3257
- title: string;
3258
- /** Collapsed summary (sets × reps @ weight). */
3259
- summary?: ExerciseCardProps['summary'];
3260
- /** Estimated one-rep max badge. */
3261
- e1rm?: ExerciseCardProps['e1rm'];
3262
- /** Flags a personal-record entry. */
3263
- isPR?: boolean;
3264
- /** Prescribed tempo, revealed when expanded. */
3265
- tempo?: ExerciseCardProps['tempo'];
3266
- /** Per-set breakdown revealed when expanded. */
3267
- sets: SetRowProps[];
3268
- }
3269
- /** Strength-trend inputs for the Progress tab chart. */
3270
- interface ExerciseTrend {
3271
- /** Measured e1RM data points, chronological. */
3272
- data: StrengthTrendDataPoint[];
3273
- /** Planned/projected trajectory (dashed line). */
3274
- projection?: StrengthTrendDataPoint[];
3275
- /** Mesocycle boundary guides. */
3276
- mesoBoundaries?: StrengthTrendChartMesoBoundary[];
3277
- }
3278
- /** One set's velocity trace for the Advanced tab breakdown. */
3279
- interface ExerciseVbtSet {
3280
- /** Row label, e.g. "Set 1". */
3281
- label: string;
3282
- /** Per-rep mean concentric velocities (m/s). */
3283
- velocities: number[];
3284
- }
3285
- /** Velocity-based-training inputs for the Advanced tab. */
3286
- interface ExerciseVbt {
3287
- /** Capacity band shape over time. */
3288
- band: CapacityBandDataPoint[];
3289
- /** Sessions plotted against the band. */
3290
- workouts: WorkoutDot[];
3291
- /** Optional forward band projection. */
3292
- projection?: CapacityBandProjection;
3293
- /** Per-set velocity traces for the most recent session. */
3294
- sets: ExerciseVbtSet[];
3295
- }
3296
- /** Page-level roll-up of the logged sessions. */
3297
- interface ExerciseDetailStats {
3298
- /** Number of logged sessions. */
3299
- sessions: number;
3300
- /** Best estimated one-rep max seen, or null if none recorded. */
3301
- bestE1rm: number | null;
3302
- /** Count of PR entries. */
3303
- prCount: number;
3304
- }
3305
- /** Aggregate velocity readout for the Advanced tab. */
3306
- interface VbtSummary {
3307
- /** Mean concentric velocity across every logged rep. */
3308
- meanVelocity: number;
3309
- /** Worst within-set velocity loss (%), i.e. the most-fatigued set. */
3310
- velocityLoss: number;
3311
- }
3312
- interface ExerciseDetailPageProps extends ViewProps {
3313
- /** Exercise identity + headline stats. */
3314
- exercise: ExerciseDetailHeader;
3315
- /** Mesocycle context banner (Progress tab). */
3316
- meso: MesoStatusCardProps;
3317
- /** Strength trend inputs (Progress tab). */
3318
- trend: ExerciseTrend;
3319
- /** Week-by-week progression entries (Progress tab). */
3320
- progression: ExerciseDetailEntry[];
3321
- /** All logged sessions (History tab). */
3322
- history: ExerciseDetailEntry[];
3323
- /** Velocity-based-training inputs (Advanced tab). */
3324
- vbt: ExerciseVbt;
3325
- className?: string;
3326
- }
3327
- /** Roll up logged sessions into the page summary (pure, testable). */
3328
- declare function deriveExerciseStats(entries: ExerciseDetailEntry[]): ExerciseDetailStats;
3329
- /** Project an entry onto ExerciseCard props, wiring inline expansion (pure). */
3330
- declare function toExerciseCardProps(entry: ExerciseDetailEntry, expanded: boolean, onToggle: () => void): ExerciseCardProps;
3331
- /** Aggregate per-set velocity traces into the Advanced readout (pure). */
3332
- declare function summarizeVbt(sets: ExerciseVbtSet[]): VbtSummary;
3333
- /**
3334
- * ExerciseDetailPage — a tabbed per-exercise view. A shared header (name,
3335
- * context line, current e1RM pill) sits above a Progress / History / Advanced
3336
- * tab bar. Progress composes the `MesoStatusCard` context banner, a stats
3337
- * strip, a `StrengthTrendChart`, and a week-by-week progression list with
3338
- * inline `ExerciseCard` expansion. History lists every logged session with the
3339
- * same inline expansion. Advanced surfaces VBT data via a `CapacityBandChart`,
3340
- * a velocity summary, and a per-set `VelocityStrip` breakdown. Tab and
3341
- * per-list expansion are page-level state; children keep their own styles.
3342
- *
3343
- * @example
3344
- * <ExerciseDetailPage
3345
- * exercise={exercise}
3346
- * meso={meso}
3347
- * trend={trend}
3348
- * progression={progression}
3349
- * history={history}
3350
- * vbt={vbt}
3351
- * />
3352
- */
3353
- declare function ExerciseDetailPage({ exercise, meso, trend, progression, history, vbt, className, ...props }: ExerciseDetailPageProps): react_jsx_runtime.JSX.Element;
3354
-
3355
- /** Where an exercise sits in the during-workout flow. */
3356
- type ActiveExerciseStatus = 'completed' | 'active' | 'upcoming';
3357
- /**
3358
- * One exercise in the running workout. Projected onto an `ExerciseCard`, whose
3359
- * visual state is driven by `status` and the page's zoom focus: completed and
3360
- * active exercises collapse/expand, upcoming ones stay dimmed.
3361
- */
3362
- interface ActiveWorkoutExercise {
3363
- /** Stable id for zoom-focus selection. */
3364
- id: string;
3365
- /** Exercise name, e.g. "Barbell Bench Press". */
3366
- name: string;
3367
- /** Position in the workout flow. */
3368
- status: ActiveExerciseStatus;
3369
- /** Unit used for this exercise's loads. */
3370
- unit: 'lbs' | 'kg';
3371
- /** Total sets prescribed for this exercise. */
3372
- totalPlannedSets: number;
3373
- /** Collapsed summary (sets × reps @ weight) for a completed exercise. */
3374
- summary?: ExerciseCardProps['summary'];
3375
- /** Estimated one-rep max badge. */
3376
- e1rm?: ExerciseCardProps['e1rm'];
3377
- /** Flags a personal-record exercise. */
3378
- isPR?: boolean;
3379
- /** Prescribed tempo, revealed when expanded. */
3380
- tempo?: ExerciseCardProps['tempo'];
3381
- /** Per-rep velocities for each logged set (drives collapsed strips + set count). */
3382
- setVelocities?: number[][];
3383
- /** Per-set breakdown revealed when expanded. */
3384
- sets?: SetRowProps[];
3385
- /** One-line prescription for an upcoming exercise. */
3386
- prescription?: string;
3387
- /** Previous-best hint for an upcoming exercise. */
3388
- previousBest?: string;
3389
- /** Groups consecutive exercises under a shared `SupersetWrapper`. */
3390
- supersetId?: string;
3391
- }
3392
- /** A superset grouping consecutive exercises that share its id. */
3393
- interface ActiveWorkoutSuperset {
3394
- /** Matches `ActiveWorkoutExercise.supersetId`. */
3395
- id: string;
3396
- /** Corner badge label, e.g. "SS1". */
3397
- label: string;
3398
- /** Accent color for the wrapper rail + label. */
3399
- color?: string;
3400
- }
3401
- /** Live-set inputs shown in the bottom `InputBar`. */
3402
- interface ActiveWorkoutInput {
3403
- /** Current reps field value. */
3404
- reps: string;
3405
- /** Current weight field value. */
3406
- weight: string;
3407
- }
3408
- /** Rest-timer inputs shown in the bottom `RestTimer`. */
3409
- interface ActiveWorkoutRest {
3410
- /** Prescribed rest length, seconds. */
3411
- totalSeconds: number;
3412
- /** Elapsed rest, milliseconds. */
3413
- elapsedMs: number;
3414
- /** Next-set hint, e.g. "Set 3 · 8 × 195 lbs". */
3415
- nextSetInfo?: string;
3416
- }
3417
- /** Derived, page-level roll-up of workout progress. */
3418
- interface WorkoutProgress {
3419
- /** Number of exercises marked completed. */
3420
- completedExercises: number;
3421
- /** Total exercises in the workout. */
3422
- totalExercises: number;
3423
- /** Sets logged so far across all exercises. */
3424
- completedSets: number;
3425
- /** Total sets prescribed across all exercises. */
3426
- totalSets: number;
3427
- /** Fraction of prescribed sets logged, 0-1. */
3428
- fraction: number;
3429
- }
3430
- /** An ordered render group: a lone exercise or a superset of exercises. */
3431
- type WorkoutGroup = {
3432
- type: 'single';
3433
- exercise: ActiveWorkoutExercise;
3434
- } | {
3435
- type: 'superset';
3436
- superset: ActiveWorkoutSuperset;
3437
- exercises: ActiveWorkoutExercise[];
3438
- };
3439
- interface ActiveWorkoutPageProps extends ViewProps {
3440
- /** Workout name shown in the header. */
3441
- title?: string;
3442
- /** Context line under the title, e.g. "Push Day A · Week 6". */
3443
- subtitle?: string;
3444
- /** Exercises in flow order. */
3445
- exercises: ActiveWorkoutExercise[];
3446
- /** Superset groupings referenced by `exercise.supersetId`. */
3447
- supersets?: ActiveWorkoutSuperset[];
3448
- /** Seed reps/weight for the live `InputBar`. */
3449
- input?: ActiveWorkoutInput;
3450
- /** Rest-timer state; when resting, the timer replaces the input bar. */
3451
- rest?: ActiveWorkoutRest;
3452
- /** Start the page in the resting state (timer showing). */
3453
- initialResting?: boolean;
3454
- className?: string;
3455
- }
3456
- /** Count the sets logged for an exercise (pure). */
3457
- declare function countCompletedSets(exercise: ActiveWorkoutExercise): number;
3458
- /** Roll up the exercises into the header progress readout (pure, testable). */
3459
- declare function deriveWorkoutProgress(exercises: ActiveWorkoutExercise[]): WorkoutProgress;
3460
- /** The active exercise anchors the bottom bar; find it, or null (pure). */
3461
- declare function findActiveExercise(exercises: ActiveWorkoutExercise[]): ActiveWorkoutExercise | null;
3462
- /** Map an exercise's status + focus onto an `ExerciseCard` visual state (pure). */
3463
- declare function statusToCardState(status: ActiveExerciseStatus, focused: boolean): ExerciseCardState;
3464
- /** Project an exercise onto ExerciseCard props, wiring zoom focus (pure). */
3465
- declare function toActiveCardProps(exercise: ActiveWorkoutExercise, focused: boolean, onToggle: () => void, supersetPosition?: ExerciseCardProps['supersetPosition'], supersetColor?: string): ExerciseCardProps;
3466
- /** Fold consecutive same-superset exercises into render groups (pure). */
3467
- declare function groupExercises(exercises: ActiveWorkoutExercise[], supersets: ActiveWorkoutSuperset[]): WorkoutGroup[];
3468
- /**
3469
- * ActiveWorkoutPage — the during-workout screen, built as a zoom hierarchy over
3470
- * `ExerciseCard`s. A header progress bar rolls up completed sets; the flow list
3471
- * dims upcoming exercises, collapses finished ones to their velocity strips, and
3472
- * expands exactly one focused exercise to its `SetRow` breakdown. Consecutive
3473
- * superset exercises stitch together inside a `SupersetWrapper`. A pinned bottom
3474
- * bar toggles between the live `InputBar` (log the next set) and the `RestTimer`.
3475
- * Focus and rest are page-level state; children keep their own styles.
3476
- *
3477
- * @example
3478
- * <ActiveWorkoutPage title="Push Day A" exercises={exercises} />
3479
- */
3480
- declare function ActiveWorkoutPage({ title, subtitle, exercises, supersets, input, rest, initialResting, className, ...props }: ActiveWorkoutPageProps): react_jsx_runtime.JSX.Element;
3481
-
3482
2815
  interface TreemapDatum {
3483
2816
  /** Stable identity — returned by onPress and used as the React key. */
3484
2817
  id: string;
@@ -3810,4 +3143,4 @@ interface PrescriptionInput {
3810
3143
  */
3811
3144
  declare function formatPrescription(p: PrescriptionInput | null | undefined): string | null;
3812
3145
 
3813
- export { Accordion, AccordionButton, type AccordionButtonProps, AccordionItem, type AccordionItemProps, AccordionPanel, type AccordionPanelProps, type AccordionProps, type ActiveExerciseStatus, type ActiveWorkoutExercise, type ActiveWorkoutInput, ActiveWorkoutPage, type ActiveWorkoutPageProps, type ActiveWorkoutRest, type ActiveWorkoutSuperset, Alert, AlertDescription, type AlertDescriptionProps, type AlertProps, type AlertStatus, AlertTitle, type AlertTitleProps, type AlertVariant, Autocomplete, type AutocompleteOption, type AutocompleteProps, Avatar, AvatarBadge, type AvatarBadgeProps, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, Badge, type BadgeColor, type BadgeProps, type BadgeSize, BadgeText, type BadgeTextProps, type BadgeVariant, BaseBadge, type BaseBadgeProps, type BaseBadgeSize, type BaseBadgeVariant, BreadcrumbItem, type BreadcrumbItemProps, Breadcrumbs, type BreadcrumbsProps, Button, type ButtonColor, ButtonIcon, type ButtonIconProps, type ButtonProps, type ButtonSize, ButtonSpinner, type ButtonSpinnerProps, ButtonText, type ButtonTextProps, type ButtonVariant, CapacityBandChart, type CapacityBandChartProps, type CapacityBandDataPoint, type CapacityBandProjection, Caption, type CaptionProps, Card, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, type CardElevation, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardSkeleton, type CardSkeletonProps, CardTitle, type CardTitleProps, type CardVariant, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, type CheckboxSize, Chip, type ChipColor, type ChipProps, type ChipSize, type ChipVariant, CircularProgress, type CircularProgressProps, Collapse, CollapseButton, type CollapseButtonProps, CollapseContent, type CollapseContentProps, type CollapseProps, DataRow, type DataRowProps, DateTime, type DateTimeFormat, type DateTimeProps, DeviationBar, type DeviationBarProps, Divider, type DividerOrientation, type DividerProps, Drawer, DrawerBody, type DrawerBodyProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerPlacement, type DrawerProps, type DrawerSize, EXERCISE_DETAIL_TABS, ElevationLevel, EmptyState, type EmptyStateProps, ExerciseCard, type ExerciseCardProps, type ExerciseCardState, type ExerciseDetailEntry, type ExerciseDetailHeader, ExerciseDetailPage, type ExerciseDetailPageProps, type ExerciseDetailStats, type ExerciseDetailTab, type ExerciseTrend, type ExerciseVbt, type ExerciseVbtSet, type FieldState, type FieldWrapperProps, FormActions, type FormActionsProps, type FormErrors, FormField, type FormFieldProps, FormRow, type FormRowProps, FormSection, type FormSectionProps, type FormTouched, type FormValues, Gauge, type GaugeProps, type GaugeThreshold, GlowIntensity, HStack, Heading, type HeadingProps, HelpTip, type HelpTipIcon, type HelpTipPlacement, type HelpTipProps, type HelpTipSize, IconBox, type IconBoxProps, Indicator, type IndicatorColor, type IndicatorProps, type IndicatorSize, Input, InputBar, type InputBarProps, InputGroup, type InputGroupProps, type InputProps, type InputSize, type InputVariant, IntensityBar, type IntensityBarProps, Label, type LabelProps, LabelWithHelp, type LabelWithHelpProps, Link, type LinkColor, type LinkProps, type LinkUnderline, ListItem, ListItemContent, type ListItemContentProps, ListItemDivider, type ListItemDividerProps, ListItemIcon, type ListItemIconProps, type ListItemProps, ListItemTrailing, type ListItemTrailingProps, Menu, MenuDivider, type MenuDividerProps, MenuGroup, type MenuGroupProps, MenuItem, type MenuItemProps, MenuList, type MenuListProps, type MenuProps, MenuTrigger, type MenuTriggerProps, type Meso, MesoCard, type MesoCardProps, MesoProgressBar, type MesoProgressBarProps, type MesoStatus, MesoStatusCardProps, type MesoVolumeHeatmapEntry, Metric, MetricGroup, type MetricGroupProps, type MetricProps, type MetricTrend, Modal, ModalBody, type ModalBodyProps, ModalCloseButton, type ModalCloseButtonProps, ModalContent, type ModalContentProps, ModalFooter, type ModalFooterProps, ModalHeader, type ModalHeaderProps, type ModalProps, type ModalSize, ModalTitle, type ModalTitleProps, MuscleGroupChip, type MuscleGroupChipProps, Overline, type OverlineProps, type PRType, Paragraph, type ParagraphProps, PasswordInput, type PasswordInputProps, Pill, type PillColor, type PillProps, type PillSize, type PillVariant, PlaceholderStrip, type PlaceholderStripProps, type PlanMeso, type PlanWeek, type PlanWorkout, Popover, PopoverCloseButton, type PopoverCloseButtonProps, PopoverContent, type PopoverContentProps, type PopoverPlacement, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, PrBadge, type PrBadgeProps, PrHistoryModal, type PrHistoryModalProps, type PrRecord, type PrRecordType, type PrescriptionInput, type ProgramBreadcrumb, type ProgramNavLevel, ProgramPlanningPage, type ProgramPlanningPageProps, type ProgramSelection, Progress, type ProgressColor, type ProgressProps, type ProgressSize, ProgressSteps, type ProgressStepsProps, type ProgressVariant, Radio, type RadioColor, RadioGroup, type RadioGroupProps, type RadioProps, type RadioSize, ReadinessCheck, type ReadinessCheckProps, type ReadinessFactor, RestTimer, type RestTimerProps, type ResultType, Scatter, type ScatterAxis, type ScatterDatum, type ScatterProps, Section, SectionContent, type SectionContentProps, SectionHeader, type SectionHeaderProps, type SectionProps, Select, type SelectOption, type SelectProps, SetRow, type SetRowMode, type SetRowProps, Sidebar, SidebarContent, type SidebarContentProps, SidebarDivider, type SidebarDividerProps, SidebarFooter, type SidebarFooterProps, SidebarHeader, type SidebarHeaderProps, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, type SidebarSectionProps, Skeleton, type SkeletonAnimation, SkeletonCard, type SkeletonCardProps, SkeletonCircle, type SkeletonCircleProps, SkeletonListItem, type SkeletonListItemProps, type SkeletonProps, SkeletonText, type SkeletonTextProps, type SkeletonVariant, type SortDirection, Sparkline, type SparklineProps, Spinner, type SpinnerColor, type SpinnerProps, type SpinnerSize, Stack, type StackProps, StatusDot, type StatusDotProps, type StatusDotVariant, type StatusType, StepContent, type StepContentProps, StepIndicator, type StepIndicatorProps, StepLabel, type StepLabelProps, type StepStatus, Stepper, type StepperOrientation, type StepperProps, Step as StepperStep, type StepProps as StepperStepProps, StrengthTrendChart, type StrengthTrendChartMesoBoundary, type StrengthTrendChartProps, type StrengthTrendDataPoint, SupersetWrapper, type SupersetWrapperProps, Surface, type SurfaceProps, Switch, type SwitchProps, type SwitchSize, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, TabPanels, type TabPanelsProps, type TabProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableHeader, TableHeaderCell, type TableHeaderCellProps, type TableHeaderProps, TablePagination, type TablePaginationProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsOrientation, type TabsProps, type TabsVariant, TempoDisplay, type TempoDisplayProps, Toast, type ToastConfig, type ToastPosition, type ToastProps, ToastProvider, type ToastProviderProps, type ToastStatus, ToolbarButton, ToolbarButtonGroup, type ToolbarButtonGroupProps, type ToolbarButtonProps, type ToolbarButtonSize, type ToolbarButtonVariant, Tooltip, type TooltipPlacement, type TooltipProps, Treemap, type TreemapDatum, type TreemapProps, type TreemapScale, Typography, type TypographyAlign, type TypographyColor, type TypographyProps, type TypographyVariant, type UseTableOptions, type UseTableReturn, VStack, type VbtSummary, VelocityStrip, type VelocityStripProps, type VolumeStatus, type WarmUpStatus, type WarmUpValidation, WeekRow, type WeekRowProps, type WeekRowWorkout, WeightBadge, type WeightBadgeProps, type WeightBadgeSize, WorkoutCard, type WorkoutCardProps, type WorkoutDot, type WorkoutDotStatus, type WorkoutGroup, type WorkoutMuscleGroup, type WorkoutMuscleVolumeStatus, WorkoutPill, type WorkoutPillProps, type WorkoutPillStatus, type WorkoutProgress, type WorkoutStatus, alpha, buildBreadcrumbs, calculateMeanVelocity, calculateVelocityLoss, cn, composeValidators, countCompletedSets, createFieldId, deriveExerciseStats, deriveNavLevel, deriveWorkoutProgress, findActiveExercise, findMeso, findWeek, findWorkout, formatDateTime, formatPrescription, formatSignedPct, formatVelocity, getContrastText, getFieldAriaProps, getFieldValidationProps, getLuminance, getResultColor, getStatusColor, getVelocityZoneColor, getVelocityZoneName, groupExercises, hasMaxLength, hasMinLength, isEmpty, isValidEmail, roundRpe, roundTempo, roundWeight, rpeColor, statusToCardState, summarizeVbt, toActiveCardProps, toExerciseCardProps, toProgressBarMesos, useTable, useToast, useToolbarButton, validationRules };
3146
+ export { Accordion, AccordionButton, type AccordionButtonProps, AccordionItem, type AccordionItemProps, AccordionPanel, type AccordionPanelProps, type AccordionProps, Alert, AlertDescription, type AlertDescriptionProps, type AlertProps, type AlertStatus, AlertTitle, type AlertTitleProps, type AlertVariant, Autocomplete, type AutocompleteOption, type AutocompleteProps, Avatar, AvatarBadge, type AvatarBadgeProps, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, Badge, type BadgeColor, type BadgeProps, type BadgeSize, BadgeText, type BadgeTextProps, type BadgeVariant, BaseBadge, type BaseBadgeProps, type BaseBadgeSize, type BaseBadgeVariant, BreadcrumbItem, type BreadcrumbItemProps, Breadcrumbs, type BreadcrumbsProps, Button, type ButtonColor, ButtonIcon, type ButtonIconProps, type ButtonProps, type ButtonSize, ButtonSpinner, type ButtonSpinnerProps, ButtonText, type ButtonTextProps, type ButtonVariant, Caption, type CaptionProps, Card, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, type CardElevation, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardSkeleton, type CardSkeletonProps, CardTitle, type CardTitleProps, type CardVariant, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, type CheckboxSize, Chip, type ChipColor, type ChipProps, type ChipSize, type ChipVariant, CircularProgress, type CircularProgressProps, Collapse, CollapseButton, type CollapseButtonProps, CollapseContent, type CollapseContentProps, type CollapseProps, DataRow, type DataRowProps, DateTime, type DateTimeFormat, type DateTimeProps, DeviationBar, type DeviationBarProps, Divider, type DividerOrientation, type DividerProps, Drawer, DrawerBody, type DrawerBodyProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerPlacement, type DrawerProps, type DrawerSize, ElevationLevel, EmptyState, type EmptyStateProps, type FieldState, type FieldWrapperProps, FormActions, type FormActionsProps, type FormErrors, FormField, type FormFieldProps, FormRow, type FormRowProps, FormSection, type FormSectionProps, type FormTouched, type FormValues, Gauge, type GaugeProps, type GaugeThreshold, GlowIntensity, HStack, Heading, type HeadingProps, HelpTip, type HelpTipIcon, type HelpTipPlacement, type HelpTipProps, type HelpTipSize, IconBox, type IconBoxProps, Indicator, type IndicatorColor, type IndicatorProps, type IndicatorSize, Input, InputBar, type InputBarProps, InputGroup, type InputGroupProps, type InputProps, type InputSize, type InputVariant, IntensityBar, type IntensityBarProps, Label, type LabelProps, LabelWithHelp, type LabelWithHelpProps, Link, type LinkColor, type LinkProps, type LinkUnderline, ListItem, ListItemContent, type ListItemContentProps, ListItemDivider, type ListItemDividerProps, ListItemIcon, type ListItemIconProps, type ListItemProps, ListItemTrailing, type ListItemTrailingProps, Menu, MenuDivider, type MenuDividerProps, MenuGroup, type MenuGroupProps, MenuItem, type MenuItemProps, MenuList, type MenuListProps, type MenuProps, MenuTrigger, type MenuTriggerProps, Metric, MetricGroup, type MetricGroupProps, type MetricProps, type MetricTrend, Modal, ModalBody, type ModalBodyProps, ModalCloseButton, type ModalCloseButtonProps, ModalContent, type ModalContentProps, ModalFooter, type ModalFooterProps, ModalHeader, type ModalHeaderProps, type ModalProps, type ModalSize, ModalTitle, type ModalTitleProps, MuscleGroupChip, type MuscleGroupChipProps, Overline, type OverlineProps, Paragraph, type ParagraphProps, PasswordInput, type PasswordInputProps, Pill, type PillColor, type PillProps, type PillSize, type PillVariant, PlaceholderStrip, type PlaceholderStripProps, Popover, PopoverCloseButton, type PopoverCloseButtonProps, PopoverContent, type PopoverContentProps, type PopoverPlacement, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, PrHistoryModal, type PrHistoryModalProps, type PrRecord, type PrRecordType, type PrescriptionInput, Progress, type ProgressColor, type ProgressProps, type ProgressSize, ProgressSteps, type ProgressStepsProps, type ProgressVariant, Radio, type RadioColor, RadioGroup, type RadioGroupProps, type RadioProps, type RadioSize, ReadinessCheck, type ReadinessCheckProps, type ReadinessFactor, RestTimer, type RestTimerProps, type ResultType, Scatter, type ScatterAxis, type ScatterDatum, type ScatterProps, Section, SectionContent, type SectionContentProps, SectionHeader, type SectionHeaderProps, type SectionProps, Select, type SelectOption, type SelectProps, Sidebar, SidebarContent, type SidebarContentProps, SidebarDivider, type SidebarDividerProps, SidebarFooter, type SidebarFooterProps, SidebarHeader, type SidebarHeaderProps, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, type SidebarSectionProps, Skeleton, type SkeletonAnimation, SkeletonCard, type SkeletonCardProps, SkeletonCircle, type SkeletonCircleProps, SkeletonListItem, type SkeletonListItemProps, type SkeletonProps, SkeletonText, type SkeletonTextProps, type SkeletonVariant, type SortDirection, Sparkline, type SparklineProps, Spinner, type SpinnerColor, type SpinnerProps, type SpinnerSize, Stack, type StackProps, StatusDot, type StatusDotProps, type StatusDotVariant, type StatusType, StepContent, type StepContentProps, StepIndicator, type StepIndicatorProps, StepLabel, type StepLabelProps, type StepStatus, Stepper, type StepperOrientation, type StepperProps, Step as StepperStep, type StepProps as StepperStepProps, SupersetWrapper, type SupersetWrapperProps, Surface, type SurfaceProps, Switch, type SwitchProps, type SwitchSize, TEMPO_PACING, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, TabPanels, type TabPanelsProps, type TabProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableHeader, TableHeaderCell, type TableHeaderCellProps, type TableHeaderProps, TablePagination, type TablePaginationProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsOrientation, type TabsProps, type TabsVariant, TempoBar, type TempoBarProps, TempoDisplay, type TempoDisplayProps, type TempoLivePhase, type TempoLiveState, type TempoPacingState, type TempoPhaseKey, Toast, type ToastConfig, type ToastPosition, type ToastProps, ToastProvider, type ToastProviderProps, type ToastStatus, ToolbarButton, ToolbarButtonGroup, type ToolbarButtonGroupProps, type ToolbarButtonProps, type ToolbarButtonSize, type ToolbarButtonVariant, Tooltip, type TooltipPlacement, type TooltipProps, Treemap, type TreemapDatum, type TreemapProps, type TreemapScale, Typography, type TypographyAlign, type TypographyColor, type TypographyProps, type TypographyVariant, type UseTableOptions, type UseTableReturn, VStack, type VolumeStatus, type WarmUpStatus, type WarmUpValidation, WeightBadge, type WeightBadgeProps, type WeightBadgeSize, alpha, cn, composeValidators, createFieldId, formatDateTime, formatPrescription, formatSignedPct, formatVelocity, getContrastText, getFieldAriaProps, getFieldValidationProps, getLuminance, getResultColor, getStatusColor, getTempoFillPct, getTempoPacingState, hasMaxLength, hasMinLength, isEmpty, isValidEmail, roundRpe, roundTempo, roundWeight, rpeColor, useTable, useToast, useToolbarButton, validationRules };