@titan-design/react-ui 0.5.0 → 0.6.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.
- package/dist/bodymap.js +232 -185
- package/dist/bodymap.js.map +1 -1
- package/dist/bodymap.mjs +232 -185
- package/dist/bodymap.mjs.map +1 -1
- package/dist/index.d.mts +164 -8
- package/dist/index.d.ts +164 -8
- package/dist/index.js +835 -342
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +816 -343
- package/dist/index.mjs.map +1 -1
- package/dist/pages.js +570 -522
- package/dist/pages.js.map +1 -1
- package/dist/pages.mjs +570 -522
- package/dist/pages.mjs.map +1 -1
- package/dist/theme/index.d.mts +461 -199
- package/dist/theme/index.d.ts +461 -199
- package/dist/theme/index.js +311 -97
- package/dist/theme/index.js.map +1 -1
- package/dist/theme/index.mjs +303 -98
- package/dist/theme/index.mjs.map +1 -1
- package/dist/theme/tokens-css.js +148 -139
- package/dist/theme/tokens-css.js.map +1 -1
- package/dist/theme/tokens-css.mjs +148 -139
- package/dist/theme/tokens-css.mjs.map +1 -1
- package/package.json +3 -1
- package/src/components/custom/DateTime/DateTime.stories.tsx +82 -6
- package/src/components/custom/DateTime/DateTime.test.tsx +29 -3
- package/src/components/custom/DateTime/DateTime.tsx +55 -15
- package/src/components/custom/Gauge/Gauge.test.tsx +2 -2
- package/src/components/custom/Gauge/Gauge.tsx +6 -3
- package/src/components/custom/Scatter/Scatter.tsx +3 -5
- package/src/components/custom/Treemap/Treemap.tsx +3 -5
- package/src/components/custom/Typography/Typography.stories.tsx +45 -27
- package/src/components/custom/Typography/Typography.test.tsx +13 -3
- package/src/components/custom/Typography/Typography.tsx +5 -0
- package/src/components/custom/Workout/ActiveWorkoutPage.tsx +2 -1
- package/src/components/custom/Workout/BodyMap.tsx +6 -3
- package/src/components/custom/Workout/BodyMapDetailPanel.tsx +6 -3
- package/src/components/custom/Workout/CapacityBandChart.test.tsx +2 -2
- package/src/components/custom/Workout/CapacityBandChart.tsx +9 -6
- package/src/components/custom/Workout/DeviationBar.test.tsx +1 -1
- package/src/components/custom/Workout/DeviationBar.tsx +7 -4
- package/src/components/custom/Workout/ExerciseDetailPage.tsx +2 -1
- package/src/components/custom/Workout/InputBar.tsx +2 -1
- package/src/components/custom/Workout/IntensityBar.test.tsx +8 -8
- package/src/components/custom/Workout/IntensityBar.tsx +10 -6
- package/src/components/custom/Workout/MesoCard.tsx +8 -3
- package/src/components/custom/Workout/MesoProgressBar.test.tsx +1 -1
- package/src/components/custom/Workout/MesoProgressBar.tsx +3 -2
- package/src/components/custom/Workout/MesoStatusCard.tsx +20 -13
- package/src/components/custom/Workout/MuscleGroupChip.tsx +7 -4
- package/src/components/custom/Workout/PrBadge.tsx +5 -2
- package/src/components/custom/Workout/PrHistoryModal.tsx +4 -3
- package/src/components/custom/Workout/ProgramPlanningPage.tsx +2 -1
- package/src/components/custom/Workout/ReadinessCheck.tsx +7 -4
- package/src/components/custom/Workout/RestTimer.tsx +2 -1
- package/src/components/custom/Workout/SetRow.tsx +2 -1
- package/src/components/custom/Workout/Sparkline.tsx +2 -1
- package/src/components/custom/Workout/StatusDot.test.tsx +2 -2
- package/src/components/custom/Workout/StatusDot.tsx +12 -9
- package/src/components/custom/Workout/StrengthTrendChart.tsx +9 -6
- package/src/components/custom/Workout/SupersetWrapper.tsx +2 -1
- package/src/components/custom/Workout/TempoDisplay.tsx +6 -3
- package/src/components/custom/Workout/VelocityStrip.test.tsx +3 -3
- package/src/components/custom/Workout/WeekRow.tsx +3 -2
- package/src/components/custom/Workout/WeightBadge.tsx +6 -2
- package/src/components/custom/Workout/WorkoutCard.tsx +5 -2
- package/src/components/custom/Workout/WorkoutPill.tsx +12 -8
- package/src/components/custom/Workout/icons.tsx +6 -67
- package/src/components/icons/SvgIcon.tsx +50 -0
- package/src/components/icons/icons.stories.tsx +57 -0
- package/src/components/icons/icons.test.tsx +43 -0
- package/src/components/icons/icons.tsx +45 -0
- package/src/components/icons/index.ts +4 -0
- package/src/components/index.ts +6 -0
- package/src/components/shell/BrandLockup.stories.tsx +27 -0
- package/src/components/shell/BrandLockup.test.tsx +23 -0
- package/src/components/shell/BrandLockup.tsx +47 -0
- package/src/components/shell/DeviceIndicator.stories.tsx +28 -0
- package/src/components/shell/DeviceIndicator.test.tsx +26 -0
- package/src/components/shell/DeviceIndicator.tsx +52 -0
- package/src/components/shell/DeviceMenu.stories.tsx +47 -0
- package/src/components/shell/DeviceMenu.test.tsx +40 -0
- package/src/components/shell/DeviceMenu.tsx +65 -0
- package/src/components/shell/DeviceRow.stories.tsx +38 -0
- package/src/components/shell/DeviceRow.test.tsx +37 -0
- package/src/components/shell/DeviceRow.tsx +58 -0
- package/src/components/shell/README.md +86 -0
- package/src/components/shell/SessionStatePill.stories.tsx +27 -0
- package/src/components/shell/SessionStatePill.test.tsx +25 -0
- package/src/components/shell/SessionStatePill.tsx +46 -0
- package/src/components/shell/TopBar.stories.tsx +49 -0
- package/src/components/shell/TopBar.test.tsx +36 -0
- package/src/components/shell/TopBar.tsx +89 -0
- package/src/components/shell/index.ts +8 -0
- package/src/components/ui/indicator/Indicator.stories.tsx +37 -1
- package/src/components/ui/indicator/Indicator.test.tsx +19 -1
- package/src/components/ui/indicator/Indicator.tsx +45 -6
- package/src/components/ui/indicator/index.ts +1 -1
- package/src/components/ui/spinner/Spinner.tsx +3 -2
- package/src/components/ui/toolbar-button/ToolbarButton.tsx +2 -1
- package/src/theme/ColorSystem.stories.tsx +323 -0
- package/src/theme/Colors.stories.tsx +69 -1
- package/src/theme/barrel.ts +1 -0
- package/src/theme/config.ts +16 -3
- package/src/theme/extracted-colors-dataviz.ts +21 -0
- package/src/theme/extracted-colors-ui.ts +20 -0
- package/src/theme/global.css +64 -52
- package/src/theme/gradients.test.ts +25 -0
- package/src/theme/gradients.ts +36 -0
- package/src/theme/tokens/primitives.test.ts +232 -0
- package/src/theme/tokens/primitives.ts +247 -0
- package/src/theme/tokens/semantic.ts +93 -81
- package/src/theme/workout-tokens.ts +22 -21
- package/src/utils/avatar-color.ts +3 -3
- package/tailwind.config.js +10 -3
package/dist/index.d.mts
CHANGED
|
@@ -2,12 +2,48 @@ 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.mjs';
|
|
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.mjs';
|
|
5
|
+
export { CATEGORICAL_CVD_SAFE_MAX, CategoricalVariant, ComponentType, CssPropertyEntry, CssPropertyManifest, ElevationConfig, GradientStyle, ManifestValidationResult, ShadowIntensity, ShadowSurface, ThemeConfig, ThemeMode, ThemePreset, ThemePresetColors, ThemePresetFonts, ThemePresetRadii, ThemePresetShadows, ThemeProviderMode, ThemeProviderProps, VariantAxes, VariantOverride, applyThemePreset, audiobookPreset, bestTextColor, buttonSizes, categoricalPalette, componentElevationRanges, createFlatShadow, createPressedHoverShadow, createPressedShadow, createRaisedHoverShadow, createRaisedShadow, darkThemeCSSVars, darken, defaultPreset, discreteRainbow, divergingScale, elevationSystem, getBaseSurfaceColor, getCategoricalColor, getDiscreteRainbowColor, getElevationConfig, getElevationShadow, getElevationSurface, getGlowShadow, getHoverColors, getSemanticColors, getThemeCSSVars, getValidatedElevation, gluestackConfig, hexToRgb, hsvToRgb, isCssPropertyManifest, isDark, lightThemeCSSVars, lighten, linearGradient, neumorphicShadows, primitiveBorderRadius, primitiveBreakpoints, primitiveColors, primitiveRamps, primitiveShadows, primitiveSpacing, primitiveTypography, primitiveZIndex, resolveColor, rgbToHex, rgbToHsv, semanticColorsDark, semanticColorsLight, semanticTypography, sequentialEffort, shadowColors, surfaceGradient, validateCssPropertyManifest } from './theme/index.mjs';
|
|
6
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-MO0JCySL.mjs';
|
|
7
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.mjs';
|
|
8
8
|
export { BodyMapData, BodyMapDetailPanelProps, BodyMapProps, ContributingExercise, MovementCategory, MuscleGroup, SimpleMuscleGroup, TrainingStatusMuscle, TrainingStatusPageProps, TrainingStatusSummary, UpcomingExercise, VolumeLandmarks } from './bodymap.mjs';
|
|
9
9
|
import { ClassValue } from 'clsx';
|
|
10
10
|
|
|
11
|
+
interface IconProps {
|
|
12
|
+
/** Rendered width/height in px (viewBox is fixed 24×24). */
|
|
13
|
+
size?: number;
|
|
14
|
+
/** Stroke color (or fill, for solid icons). Defaults to `currentColor` so a wrapper's text token drives it. */
|
|
15
|
+
color?: string;
|
|
16
|
+
/** Stroke width for outline icons. */
|
|
17
|
+
strokeWidth?: number;
|
|
18
|
+
/** Fill color; defaults to `none` (outline). */
|
|
19
|
+
fill?: string;
|
|
20
|
+
/** Accessible title — sets `role="img"` + `<title>`. Omit for a decorative icon (hidden from AT). */
|
|
21
|
+
title?: string;
|
|
22
|
+
}
|
|
23
|
+
interface SvgIconProps extends IconProps {
|
|
24
|
+
children: ReactNode;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Base SVG wrapper for the titan icon set — a 24×24 web-`<svg>` with the shared
|
|
28
|
+
* accessibility contract (titled → `role="img"` + `<title>`; untitled →
|
|
29
|
+
* `aria-hidden`) and `currentColor` inheritance. Icons pass their paths as
|
|
30
|
+
* children plus their stroke/fill defaults.
|
|
31
|
+
*/
|
|
32
|
+
declare function SvgIcon({ size, color, strokeWidth, fill, title, children, }: SvgIconProps): react_jsx_runtime.JSX.Element;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Voltras brand mark — the ◇ diamond (outline). Pass `fill` for a solid mark.
|
|
36
|
+
*/
|
|
37
|
+
declare function VoltrasMark({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
38
|
+
/**
|
|
39
|
+
* Bluetooth glyph (stroked) — e.g. device-connection state (color via `currentColor`).
|
|
40
|
+
*/
|
|
41
|
+
declare function BluetoothIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
42
|
+
/** Dumbbell glyph (mirrors lucide-react `Dumbbell`). Outline-only by default. */
|
|
43
|
+
declare function DumbbellIcon(props: IconProps): react_jsx_runtime.JSX.Element;
|
|
44
|
+
/** Star glyph (mirrors lucide-react `Star`). Pass `fill` for a solid star. */
|
|
45
|
+
declare function StarIcon(props: IconProps): react_jsx_runtime.JSX.Element;
|
|
46
|
+
|
|
11
47
|
type AlertStatus = 'success' | 'info' | 'warning' | 'error';
|
|
12
48
|
type AlertVariant = 'subtle' | 'outline' | 'solid';
|
|
13
49
|
interface AlertProps extends ViewProps {
|
|
@@ -315,7 +351,9 @@ interface CardSkeletonProps {
|
|
|
315
351
|
declare function CardSkeleton({ hasHeader, hasFooter, contentLines, className, }: CardSkeletonProps): react_jsx_runtime.JSX.Element;
|
|
316
352
|
|
|
317
353
|
type IndicatorSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
318
|
-
type IndicatorColor = 'default' | 'primary' | 'success' | 'error' | 'warning' | 'info';
|
|
354
|
+
type IndicatorColor = 'default' | 'primary' | 'success' | 'error' | 'warning' | 'info' | 'error-vivid';
|
|
355
|
+
/** How a pulsing indicator animates: a subtle opacity fade, or an expanding ring. */
|
|
356
|
+
type IndicatorPulse = 'opacity' | 'ping';
|
|
319
357
|
interface IndicatorProps extends ViewProps {
|
|
320
358
|
/** Dot size */
|
|
321
359
|
size?: IndicatorSize;
|
|
@@ -327,10 +365,12 @@ interface IndicatorProps extends ViewProps {
|
|
|
327
365
|
glow?: boolean;
|
|
328
366
|
/** Add a ring border */
|
|
329
367
|
ring?: boolean;
|
|
368
|
+
/** Animate for live/active status. `true` = opacity fade; `'ping'` = expanding ring. */
|
|
369
|
+
pulse?: boolean | IndicatorPulse;
|
|
330
370
|
/** Additional className */
|
|
331
371
|
className?: string;
|
|
332
372
|
}
|
|
333
|
-
declare function Indicator({ size, color, customColor, glow, ring, className, style, ...props }: IndicatorProps): react_jsx_runtime.JSX.Element;
|
|
373
|
+
declare function Indicator({ size, color, customColor, glow, ring, pulse, className, style, ...props }: IndicatorProps): react_jsx_runtime.JSX.Element;
|
|
334
374
|
|
|
335
375
|
type BadgeVariant = 'solid' | 'subtle' | 'outline';
|
|
336
376
|
type BadgeColor = 'default' | 'primary' | 'secondary' | 'success' | 'error' | 'warning' | 'info';
|
|
@@ -1986,7 +2026,7 @@ interface PillProps extends ViewProps {
|
|
|
1986
2026
|
}
|
|
1987
2027
|
declare function Pill({ children, variant, color, size, rounded, leftElement, onPress, className, ...props }: PillProps): react_jsx_runtime.JSX.Element;
|
|
1988
2028
|
|
|
1989
|
-
type TypographyVariant = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'body1' | 'body2' | 'subtitle1' | 'subtitle2' | 'caption' | 'overline' | 'button';
|
|
2029
|
+
type TypographyVariant = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'body1' | 'body2' | 'subtitle1' | 'subtitle2' | 'caption' | 'overline' | 'button' | 'mono' | 'monoLabel';
|
|
1990
2030
|
type TypographyColor = 'primary' | 'secondary' | 'tertiary' | 'disabled' | 'inverse' | 'success' | 'error' | 'warning' | 'info' | 'inherit';
|
|
1991
2031
|
type TypographyAlign = 'left' | 'center' | 'right' | 'justify';
|
|
1992
2032
|
type TypographyMarginBottom = 'none' | 'sm' | 'md' | 'lg';
|
|
@@ -2447,14 +2487,24 @@ declare function StepContent({ status, className, children }: StepContentProps):
|
|
|
2447
2487
|
|
|
2448
2488
|
type DateTimeFormat = 'date' | 'time' | 'datetime' | 'relative' | 'short' | 'medium' | 'long' | 'full';
|
|
2449
2489
|
interface DateTimeProps extends TextProps {
|
|
2450
|
-
/** Date value (timestamp in ms, Date object, or ISO string) */
|
|
2451
|
-
value
|
|
2490
|
+
/** Date value (timestamp in ms, Date object, or ISO string). Optional when `live`. */
|
|
2491
|
+
value?: number | Date | string | null | undefined;
|
|
2452
2492
|
/** Display format */
|
|
2453
2493
|
format?: DateTimeFormat;
|
|
2454
2494
|
/** Custom format string (overrides format) */
|
|
2455
2495
|
customFormat?: string;
|
|
2456
2496
|
/** Whether to show in UTC */
|
|
2457
2497
|
isUTC?: boolean;
|
|
2498
|
+
/** Force 12h (true) or 24h (false) for time/datetime formats; locale default when omitted. */
|
|
2499
|
+
hour12?: boolean;
|
|
2500
|
+
/** Include seconds in time/datetime formats. */
|
|
2501
|
+
seconds?: boolean;
|
|
2502
|
+
/** Render through Typography with this variant (e.g. 'mono'); plain inheriting Text when omitted. */
|
|
2503
|
+
variant?: TypographyVariant;
|
|
2504
|
+
/** Track the current time and re-render on an interval (ignores `value`). For clocks / relative time. */
|
|
2505
|
+
live?: boolean;
|
|
2506
|
+
/** Refresh interval in ms when `live` (default 1000). */
|
|
2507
|
+
refreshMs?: number;
|
|
2458
2508
|
/** Fallback text when value is null/undefined */
|
|
2459
2509
|
fallback?: string;
|
|
2460
2510
|
/** Text color */
|
|
@@ -2478,7 +2528,7 @@ interface DateTimeProps extends TextProps {
|
|
|
2478
2528
|
* // UTC time
|
|
2479
2529
|
* <DateTime value={timestamp} format="datetime" isUTC />
|
|
2480
2530
|
*/
|
|
2481
|
-
declare function DateTime({ value, format, customFormat, isUTC, fallback, color, className, ...props }: DateTimeProps): react_jsx_runtime.JSX.Element;
|
|
2531
|
+
declare function DateTime({ value, format, customFormat, isUTC, hour12, seconds, variant, live, refreshMs, fallback, color, className, ...props }: DateTimeProps): react_jsx_runtime.JSX.Element;
|
|
2482
2532
|
/**
|
|
2483
2533
|
* Utility function to format dates outside of React components.
|
|
2484
2534
|
*/
|
|
@@ -2935,6 +2985,112 @@ interface GaugeProps extends Omit<ViewProps, 'children'> {
|
|
|
2935
2985
|
*/
|
|
2936
2986
|
declare function Gauge({ value, min, max, size, label, unit, thresholds, color, className, ...props }: GaugeProps): react_jsx_runtime.JSX.Element;
|
|
2937
2987
|
|
|
2988
|
+
interface BrandLockupProps extends ViewProps {
|
|
2989
|
+
/** The "/ subtitle" that follows the wordmark. Default "wall dashboard". */
|
|
2990
|
+
subtitle?: string;
|
|
2991
|
+
/** Show the subtitle. Hidden at tablet width and below (S1-Q4 responsive). */
|
|
2992
|
+
showSubtitle?: boolean;
|
|
2993
|
+
className?: string;
|
|
2994
|
+
}
|
|
2995
|
+
/**
|
|
2996
|
+
* Product identity lockup for the top bar: ◇ mark + VOLTRAS wordmark + optional
|
|
2997
|
+
* subtitle. Composes the VoltrasMark icon + Typography. S1 · BrandLockup.
|
|
2998
|
+
*/
|
|
2999
|
+
declare function BrandLockup({ subtitle, showSubtitle, className, ...props }: BrandLockupProps): react_jsx_runtime.JSX.Element;
|
|
3000
|
+
|
|
3001
|
+
type SessionState = 'live' | 'rest' | 'idle';
|
|
3002
|
+
interface SessionStatePillProps extends ViewProps {
|
|
3003
|
+
/** Session state → dot color + pulse + label. */
|
|
3004
|
+
state: SessionState;
|
|
3005
|
+
/** Override the default label (LIVE / REST / IDLE). */
|
|
3006
|
+
label?: string;
|
|
3007
|
+
className?: string;
|
|
3008
|
+
}
|
|
3009
|
+
/**
|
|
3010
|
+
* The global session-state readout (dot + label). Shared: the top bar's status
|
|
3011
|
+
* and the Live-view header both use it (this is the ledger's "StatusPill",
|
|
3012
|
+
* Family C — built once). S1 · SessionStatePill.
|
|
3013
|
+
*/
|
|
3014
|
+
declare function SessionStatePill({ state, label, className, ...props }: SessionStatePillProps): react_jsx_runtime.JSX.Element;
|
|
3015
|
+
|
|
3016
|
+
type DeviceConnState = 'connected' | 'degraded' | 'lost';
|
|
3017
|
+
interface DeviceIndicatorProps extends ViewProps {
|
|
3018
|
+
/** Aggregate connection state (worst-of the bound devices) → glyph color. */
|
|
3019
|
+
status?: DeviceConnState;
|
|
3020
|
+
/** Tap handler. When omitted the glyph is non-interactive (e.g. inside a PopoverTrigger). */
|
|
3021
|
+
onPress?: () => void;
|
|
3022
|
+
/** Accessible label (names the glyph / the wrapping trigger button). */
|
|
3023
|
+
label?: string;
|
|
3024
|
+
className?: string;
|
|
3025
|
+
}
|
|
3026
|
+
/**
|
|
3027
|
+
* The device/BLE connection glyph — a color-coded bluetooth mark, no label.
|
|
3028
|
+
* Opens the DeviceMenu when tapped. S1 · DeviceIndicator.
|
|
3029
|
+
*/
|
|
3030
|
+
declare function DeviceIndicator({ status, onPress, label, className, ...props }: DeviceIndicatorProps): react_jsx_runtime.JSX.Element;
|
|
3031
|
+
|
|
3032
|
+
type DeviceRowState = 'connected' | 'available' | 'degraded' | 'lost';
|
|
3033
|
+
interface Device {
|
|
3034
|
+
/** Stable device id (e.g. "Voltra-A3F2"). */
|
|
3035
|
+
id: string;
|
|
3036
|
+
/** User-assigned slot/device name (e.g. "Left Cable"). */
|
|
3037
|
+
nickname: string;
|
|
3038
|
+
/** Bound slot, or null when unbound/available (used for the menu's bound/available tally). */
|
|
3039
|
+
slot?: 'L' | 'R' | null;
|
|
3040
|
+
/** Connection/availability state → the status dot color. */
|
|
3041
|
+
state: DeviceRowState;
|
|
3042
|
+
}
|
|
3043
|
+
interface DeviceRowProps extends ViewProps {
|
|
3044
|
+
device: Device;
|
|
3045
|
+
onPress?: () => void;
|
|
3046
|
+
className?: string;
|
|
3047
|
+
}
|
|
3048
|
+
/**
|
|
3049
|
+
* One device in the DeviceMenu: status dot · name · Bluetooth id. The dot color
|
|
3050
|
+
* carries the connection state (no redundant status text); the name is the one
|
|
3051
|
+
* slot label (no duplicate slot badge). S1 · DeviceRow.
|
|
3052
|
+
*/
|
|
3053
|
+
declare function DeviceRow({ device, onPress, className, ...props }: DeviceRowProps): react_jsx_runtime.JSX.Element;
|
|
3054
|
+
|
|
3055
|
+
interface DeviceMenuProps {
|
|
3056
|
+
devices: Device[];
|
|
3057
|
+
/** Controlled open state (optional — uncontrolled otherwise). */
|
|
3058
|
+
isOpen?: boolean;
|
|
3059
|
+
onOpenChange?: (open: boolean) => void;
|
|
3060
|
+
onSelectDevice?: (device: Device) => void;
|
|
3061
|
+
className?: string;
|
|
3062
|
+
}
|
|
3063
|
+
/**
|
|
3064
|
+
* The device glyph + its dropdown of individual devices (availability, slot
|
|
3065
|
+
* binding, id, connection state). Composes Popover + DeviceIndicator +
|
|
3066
|
+
* DeviceRow. S1 · DeviceMenu.
|
|
3067
|
+
*/
|
|
3068
|
+
declare function DeviceMenu({ devices, isOpen, onOpenChange, onSelectDevice, className, }: DeviceMenuProps): react_jsx_runtime.JSX.Element;
|
|
3069
|
+
|
|
3070
|
+
interface TopBarProps {
|
|
3071
|
+
/** Global session state → the status pill. */
|
|
3072
|
+
state: SessionState;
|
|
3073
|
+
/** Devices for the connection glyph + dropdown. */
|
|
3074
|
+
devices: Device[];
|
|
3075
|
+
/** The moment to display in the clock (Date/timestamp). Omit for a live ticking clock. */
|
|
3076
|
+
time?: number | Date;
|
|
3077
|
+
/** Brand subtitle. Default "wall dashboard". */
|
|
3078
|
+
subtitle?: string;
|
|
3079
|
+
/** Force the subtitle on/off; defaults to container-responsive (hidden below ~1024px). */
|
|
3080
|
+
showSubtitle?: boolean;
|
|
3081
|
+
/** Force the clock on/off; defaults to container-responsive (hidden below ~720px). */
|
|
3082
|
+
showClock?: boolean;
|
|
3083
|
+
onSelectDevice?: (device: Device) => void;
|
|
3084
|
+
className?: string;
|
|
3085
|
+
}
|
|
3086
|
+
/**
|
|
3087
|
+
* S1 · TopBar — the persistent shell chrome band. Brand (left) + a right cluster
|
|
3088
|
+
* of session state · device glyph · clock (clock edge-pinned so spacing stays
|
|
3089
|
+
* stable as the state text changes). Collapses subtitle then clock as its
|
|
3090
|
+
* container narrows.
|
|
3091
|
+
*/
|
|
3092
|
+
declare function TopBar({ state, devices, time, subtitle, showSubtitle, showClock, onSelectDevice, className, }: TopBarProps): react_jsx_runtime.JSX.Element;
|
|
3093
|
+
|
|
2938
3094
|
/**
|
|
2939
3095
|
* Utility function to merge Tailwind CSS classes with proper conflict resolution.
|
|
2940
3096
|
* Combines clsx for conditional classes with tailwind-merge for deduplication.
|
|
@@ -3143,4 +3299,4 @@ interface PrescriptionInput {
|
|
|
3143
3299
|
*/
|
|
3144
3300
|
declare function formatPrescription(p: PrescriptionInput | null | undefined): string | null;
|
|
3145
3301
|
|
|
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 };
|
|
3302
|
+
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, BluetoothIcon, BrandLockup, type BrandLockupProps, 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, type Device, type DeviceConnState, DeviceIndicator, type DeviceIndicatorProps, DeviceMenu, type DeviceMenuProps, DeviceRow, type DeviceRowProps, type DeviceRowState, Divider, type DividerOrientation, type DividerProps, Drawer, DrawerBody, type DrawerBodyProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerPlacement, type DrawerProps, type DrawerSize, DumbbellIcon, 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, type IconProps, Indicator, type IndicatorColor, type IndicatorProps, type IndicatorPulse, 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, type SessionState, SessionStatePill, type SessionStatePillProps, 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, StarIcon, 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, SvgIcon, type SvgIconProps, 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, TopBar, type TopBarProps, Treemap, type TreemapDatum, type TreemapProps, type TreemapScale, Typography, type TypographyAlign, type TypographyColor, type TypographyProps, type TypographyVariant, type UseTableOptions, type UseTableReturn, VStack, VoltrasMark, 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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -2,12 +2,48 @@ 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, 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';
|
|
5
|
+
export { CATEGORICAL_CVD_SAFE_MAX, CategoricalVariant, ComponentType, CssPropertyEntry, CssPropertyManifest, ElevationConfig, GradientStyle, ManifestValidationResult, ShadowIntensity, ShadowSurface, ThemeConfig, ThemeMode, ThemePreset, ThemePresetColors, ThemePresetFonts, ThemePresetRadii, ThemePresetShadows, ThemeProviderMode, ThemeProviderProps, VariantAxes, VariantOverride, applyThemePreset, audiobookPreset, bestTextColor, buttonSizes, categoricalPalette, componentElevationRanges, createFlatShadow, createPressedHoverShadow, createPressedShadow, createRaisedHoverShadow, createRaisedShadow, darkThemeCSSVars, darken, defaultPreset, discreteRainbow, divergingScale, elevationSystem, getBaseSurfaceColor, getCategoricalColor, getDiscreteRainbowColor, getElevationConfig, getElevationShadow, getElevationSurface, getGlowShadow, getHoverColors, getSemanticColors, getThemeCSSVars, getValidatedElevation, gluestackConfig, hexToRgb, hsvToRgb, isCssPropertyManifest, isDark, lightThemeCSSVars, lighten, linearGradient, neumorphicShadows, primitiveBorderRadius, primitiveBreakpoints, primitiveColors, primitiveRamps, primitiveShadows, primitiveSpacing, primitiveTypography, primitiveZIndex, resolveColor, rgbToHex, rgbToHsv, semanticColorsDark, semanticColorsLight, semanticTypography, sequentialEffort, shadowColors, surfaceGradient, validateCssPropertyManifest } from './theme/index.js';
|
|
6
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
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
8
|
export { BodyMapData, BodyMapDetailPanelProps, BodyMapProps, ContributingExercise, MovementCategory, MuscleGroup, SimpleMuscleGroup, TrainingStatusMuscle, TrainingStatusPageProps, TrainingStatusSummary, UpcomingExercise, VolumeLandmarks } from './bodymap.js';
|
|
9
9
|
import { ClassValue } from 'clsx';
|
|
10
10
|
|
|
11
|
+
interface IconProps {
|
|
12
|
+
/** Rendered width/height in px (viewBox is fixed 24×24). */
|
|
13
|
+
size?: number;
|
|
14
|
+
/** Stroke color (or fill, for solid icons). Defaults to `currentColor` so a wrapper's text token drives it. */
|
|
15
|
+
color?: string;
|
|
16
|
+
/** Stroke width for outline icons. */
|
|
17
|
+
strokeWidth?: number;
|
|
18
|
+
/** Fill color; defaults to `none` (outline). */
|
|
19
|
+
fill?: string;
|
|
20
|
+
/** Accessible title — sets `role="img"` + `<title>`. Omit for a decorative icon (hidden from AT). */
|
|
21
|
+
title?: string;
|
|
22
|
+
}
|
|
23
|
+
interface SvgIconProps extends IconProps {
|
|
24
|
+
children: ReactNode;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Base SVG wrapper for the titan icon set — a 24×24 web-`<svg>` with the shared
|
|
28
|
+
* accessibility contract (titled → `role="img"` + `<title>`; untitled →
|
|
29
|
+
* `aria-hidden`) and `currentColor` inheritance. Icons pass their paths as
|
|
30
|
+
* children plus their stroke/fill defaults.
|
|
31
|
+
*/
|
|
32
|
+
declare function SvgIcon({ size, color, strokeWidth, fill, title, children, }: SvgIconProps): react_jsx_runtime.JSX.Element;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Voltras brand mark — the ◇ diamond (outline). Pass `fill` for a solid mark.
|
|
36
|
+
*/
|
|
37
|
+
declare function VoltrasMark({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
38
|
+
/**
|
|
39
|
+
* Bluetooth glyph (stroked) — e.g. device-connection state (color via `currentColor`).
|
|
40
|
+
*/
|
|
41
|
+
declare function BluetoothIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
42
|
+
/** Dumbbell glyph (mirrors lucide-react `Dumbbell`). Outline-only by default. */
|
|
43
|
+
declare function DumbbellIcon(props: IconProps): react_jsx_runtime.JSX.Element;
|
|
44
|
+
/** Star glyph (mirrors lucide-react `Star`). Pass `fill` for a solid star. */
|
|
45
|
+
declare function StarIcon(props: IconProps): react_jsx_runtime.JSX.Element;
|
|
46
|
+
|
|
11
47
|
type AlertStatus = 'success' | 'info' | 'warning' | 'error';
|
|
12
48
|
type AlertVariant = 'subtle' | 'outline' | 'solid';
|
|
13
49
|
interface AlertProps extends ViewProps {
|
|
@@ -315,7 +351,9 @@ interface CardSkeletonProps {
|
|
|
315
351
|
declare function CardSkeleton({ hasHeader, hasFooter, contentLines, className, }: CardSkeletonProps): react_jsx_runtime.JSX.Element;
|
|
316
352
|
|
|
317
353
|
type IndicatorSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
318
|
-
type IndicatorColor = 'default' | 'primary' | 'success' | 'error' | 'warning' | 'info';
|
|
354
|
+
type IndicatorColor = 'default' | 'primary' | 'success' | 'error' | 'warning' | 'info' | 'error-vivid';
|
|
355
|
+
/** How a pulsing indicator animates: a subtle opacity fade, or an expanding ring. */
|
|
356
|
+
type IndicatorPulse = 'opacity' | 'ping';
|
|
319
357
|
interface IndicatorProps extends ViewProps {
|
|
320
358
|
/** Dot size */
|
|
321
359
|
size?: IndicatorSize;
|
|
@@ -327,10 +365,12 @@ interface IndicatorProps extends ViewProps {
|
|
|
327
365
|
glow?: boolean;
|
|
328
366
|
/** Add a ring border */
|
|
329
367
|
ring?: boolean;
|
|
368
|
+
/** Animate for live/active status. `true` = opacity fade; `'ping'` = expanding ring. */
|
|
369
|
+
pulse?: boolean | IndicatorPulse;
|
|
330
370
|
/** Additional className */
|
|
331
371
|
className?: string;
|
|
332
372
|
}
|
|
333
|
-
declare function Indicator({ size, color, customColor, glow, ring, className, style, ...props }: IndicatorProps): react_jsx_runtime.JSX.Element;
|
|
373
|
+
declare function Indicator({ size, color, customColor, glow, ring, pulse, className, style, ...props }: IndicatorProps): react_jsx_runtime.JSX.Element;
|
|
334
374
|
|
|
335
375
|
type BadgeVariant = 'solid' | 'subtle' | 'outline';
|
|
336
376
|
type BadgeColor = 'default' | 'primary' | 'secondary' | 'success' | 'error' | 'warning' | 'info';
|
|
@@ -1986,7 +2026,7 @@ interface PillProps extends ViewProps {
|
|
|
1986
2026
|
}
|
|
1987
2027
|
declare function Pill({ children, variant, color, size, rounded, leftElement, onPress, className, ...props }: PillProps): react_jsx_runtime.JSX.Element;
|
|
1988
2028
|
|
|
1989
|
-
type TypographyVariant = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'body1' | 'body2' | 'subtitle1' | 'subtitle2' | 'caption' | 'overline' | 'button';
|
|
2029
|
+
type TypographyVariant = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'body1' | 'body2' | 'subtitle1' | 'subtitle2' | 'caption' | 'overline' | 'button' | 'mono' | 'monoLabel';
|
|
1990
2030
|
type TypographyColor = 'primary' | 'secondary' | 'tertiary' | 'disabled' | 'inverse' | 'success' | 'error' | 'warning' | 'info' | 'inherit';
|
|
1991
2031
|
type TypographyAlign = 'left' | 'center' | 'right' | 'justify';
|
|
1992
2032
|
type TypographyMarginBottom = 'none' | 'sm' | 'md' | 'lg';
|
|
@@ -2447,14 +2487,24 @@ declare function StepContent({ status, className, children }: StepContentProps):
|
|
|
2447
2487
|
|
|
2448
2488
|
type DateTimeFormat = 'date' | 'time' | 'datetime' | 'relative' | 'short' | 'medium' | 'long' | 'full';
|
|
2449
2489
|
interface DateTimeProps extends TextProps {
|
|
2450
|
-
/** Date value (timestamp in ms, Date object, or ISO string) */
|
|
2451
|
-
value
|
|
2490
|
+
/** Date value (timestamp in ms, Date object, or ISO string). Optional when `live`. */
|
|
2491
|
+
value?: number | Date | string | null | undefined;
|
|
2452
2492
|
/** Display format */
|
|
2453
2493
|
format?: DateTimeFormat;
|
|
2454
2494
|
/** Custom format string (overrides format) */
|
|
2455
2495
|
customFormat?: string;
|
|
2456
2496
|
/** Whether to show in UTC */
|
|
2457
2497
|
isUTC?: boolean;
|
|
2498
|
+
/** Force 12h (true) or 24h (false) for time/datetime formats; locale default when omitted. */
|
|
2499
|
+
hour12?: boolean;
|
|
2500
|
+
/** Include seconds in time/datetime formats. */
|
|
2501
|
+
seconds?: boolean;
|
|
2502
|
+
/** Render through Typography with this variant (e.g. 'mono'); plain inheriting Text when omitted. */
|
|
2503
|
+
variant?: TypographyVariant;
|
|
2504
|
+
/** Track the current time and re-render on an interval (ignores `value`). For clocks / relative time. */
|
|
2505
|
+
live?: boolean;
|
|
2506
|
+
/** Refresh interval in ms when `live` (default 1000). */
|
|
2507
|
+
refreshMs?: number;
|
|
2458
2508
|
/** Fallback text when value is null/undefined */
|
|
2459
2509
|
fallback?: string;
|
|
2460
2510
|
/** Text color */
|
|
@@ -2478,7 +2528,7 @@ interface DateTimeProps extends TextProps {
|
|
|
2478
2528
|
* // UTC time
|
|
2479
2529
|
* <DateTime value={timestamp} format="datetime" isUTC />
|
|
2480
2530
|
*/
|
|
2481
|
-
declare function DateTime({ value, format, customFormat, isUTC, fallback, color, className, ...props }: DateTimeProps): react_jsx_runtime.JSX.Element;
|
|
2531
|
+
declare function DateTime({ value, format, customFormat, isUTC, hour12, seconds, variant, live, refreshMs, fallback, color, className, ...props }: DateTimeProps): react_jsx_runtime.JSX.Element;
|
|
2482
2532
|
/**
|
|
2483
2533
|
* Utility function to format dates outside of React components.
|
|
2484
2534
|
*/
|
|
@@ -2935,6 +2985,112 @@ interface GaugeProps extends Omit<ViewProps, 'children'> {
|
|
|
2935
2985
|
*/
|
|
2936
2986
|
declare function Gauge({ value, min, max, size, label, unit, thresholds, color, className, ...props }: GaugeProps): react_jsx_runtime.JSX.Element;
|
|
2937
2987
|
|
|
2988
|
+
interface BrandLockupProps extends ViewProps {
|
|
2989
|
+
/** The "/ subtitle" that follows the wordmark. Default "wall dashboard". */
|
|
2990
|
+
subtitle?: string;
|
|
2991
|
+
/** Show the subtitle. Hidden at tablet width and below (S1-Q4 responsive). */
|
|
2992
|
+
showSubtitle?: boolean;
|
|
2993
|
+
className?: string;
|
|
2994
|
+
}
|
|
2995
|
+
/**
|
|
2996
|
+
* Product identity lockup for the top bar: ◇ mark + VOLTRAS wordmark + optional
|
|
2997
|
+
* subtitle. Composes the VoltrasMark icon + Typography. S1 · BrandLockup.
|
|
2998
|
+
*/
|
|
2999
|
+
declare function BrandLockup({ subtitle, showSubtitle, className, ...props }: BrandLockupProps): react_jsx_runtime.JSX.Element;
|
|
3000
|
+
|
|
3001
|
+
type SessionState = 'live' | 'rest' | 'idle';
|
|
3002
|
+
interface SessionStatePillProps extends ViewProps {
|
|
3003
|
+
/** Session state → dot color + pulse + label. */
|
|
3004
|
+
state: SessionState;
|
|
3005
|
+
/** Override the default label (LIVE / REST / IDLE). */
|
|
3006
|
+
label?: string;
|
|
3007
|
+
className?: string;
|
|
3008
|
+
}
|
|
3009
|
+
/**
|
|
3010
|
+
* The global session-state readout (dot + label). Shared: the top bar's status
|
|
3011
|
+
* and the Live-view header both use it (this is the ledger's "StatusPill",
|
|
3012
|
+
* Family C — built once). S1 · SessionStatePill.
|
|
3013
|
+
*/
|
|
3014
|
+
declare function SessionStatePill({ state, label, className, ...props }: SessionStatePillProps): react_jsx_runtime.JSX.Element;
|
|
3015
|
+
|
|
3016
|
+
type DeviceConnState = 'connected' | 'degraded' | 'lost';
|
|
3017
|
+
interface DeviceIndicatorProps extends ViewProps {
|
|
3018
|
+
/** Aggregate connection state (worst-of the bound devices) → glyph color. */
|
|
3019
|
+
status?: DeviceConnState;
|
|
3020
|
+
/** Tap handler. When omitted the glyph is non-interactive (e.g. inside a PopoverTrigger). */
|
|
3021
|
+
onPress?: () => void;
|
|
3022
|
+
/** Accessible label (names the glyph / the wrapping trigger button). */
|
|
3023
|
+
label?: string;
|
|
3024
|
+
className?: string;
|
|
3025
|
+
}
|
|
3026
|
+
/**
|
|
3027
|
+
* The device/BLE connection glyph — a color-coded bluetooth mark, no label.
|
|
3028
|
+
* Opens the DeviceMenu when tapped. S1 · DeviceIndicator.
|
|
3029
|
+
*/
|
|
3030
|
+
declare function DeviceIndicator({ status, onPress, label, className, ...props }: DeviceIndicatorProps): react_jsx_runtime.JSX.Element;
|
|
3031
|
+
|
|
3032
|
+
type DeviceRowState = 'connected' | 'available' | 'degraded' | 'lost';
|
|
3033
|
+
interface Device {
|
|
3034
|
+
/** Stable device id (e.g. "Voltra-A3F2"). */
|
|
3035
|
+
id: string;
|
|
3036
|
+
/** User-assigned slot/device name (e.g. "Left Cable"). */
|
|
3037
|
+
nickname: string;
|
|
3038
|
+
/** Bound slot, or null when unbound/available (used for the menu's bound/available tally). */
|
|
3039
|
+
slot?: 'L' | 'R' | null;
|
|
3040
|
+
/** Connection/availability state → the status dot color. */
|
|
3041
|
+
state: DeviceRowState;
|
|
3042
|
+
}
|
|
3043
|
+
interface DeviceRowProps extends ViewProps {
|
|
3044
|
+
device: Device;
|
|
3045
|
+
onPress?: () => void;
|
|
3046
|
+
className?: string;
|
|
3047
|
+
}
|
|
3048
|
+
/**
|
|
3049
|
+
* One device in the DeviceMenu: status dot · name · Bluetooth id. The dot color
|
|
3050
|
+
* carries the connection state (no redundant status text); the name is the one
|
|
3051
|
+
* slot label (no duplicate slot badge). S1 · DeviceRow.
|
|
3052
|
+
*/
|
|
3053
|
+
declare function DeviceRow({ device, onPress, className, ...props }: DeviceRowProps): react_jsx_runtime.JSX.Element;
|
|
3054
|
+
|
|
3055
|
+
interface DeviceMenuProps {
|
|
3056
|
+
devices: Device[];
|
|
3057
|
+
/** Controlled open state (optional — uncontrolled otherwise). */
|
|
3058
|
+
isOpen?: boolean;
|
|
3059
|
+
onOpenChange?: (open: boolean) => void;
|
|
3060
|
+
onSelectDevice?: (device: Device) => void;
|
|
3061
|
+
className?: string;
|
|
3062
|
+
}
|
|
3063
|
+
/**
|
|
3064
|
+
* The device glyph + its dropdown of individual devices (availability, slot
|
|
3065
|
+
* binding, id, connection state). Composes Popover + DeviceIndicator +
|
|
3066
|
+
* DeviceRow. S1 · DeviceMenu.
|
|
3067
|
+
*/
|
|
3068
|
+
declare function DeviceMenu({ devices, isOpen, onOpenChange, onSelectDevice, className, }: DeviceMenuProps): react_jsx_runtime.JSX.Element;
|
|
3069
|
+
|
|
3070
|
+
interface TopBarProps {
|
|
3071
|
+
/** Global session state → the status pill. */
|
|
3072
|
+
state: SessionState;
|
|
3073
|
+
/** Devices for the connection glyph + dropdown. */
|
|
3074
|
+
devices: Device[];
|
|
3075
|
+
/** The moment to display in the clock (Date/timestamp). Omit for a live ticking clock. */
|
|
3076
|
+
time?: number | Date;
|
|
3077
|
+
/** Brand subtitle. Default "wall dashboard". */
|
|
3078
|
+
subtitle?: string;
|
|
3079
|
+
/** Force the subtitle on/off; defaults to container-responsive (hidden below ~1024px). */
|
|
3080
|
+
showSubtitle?: boolean;
|
|
3081
|
+
/** Force the clock on/off; defaults to container-responsive (hidden below ~720px). */
|
|
3082
|
+
showClock?: boolean;
|
|
3083
|
+
onSelectDevice?: (device: Device) => void;
|
|
3084
|
+
className?: string;
|
|
3085
|
+
}
|
|
3086
|
+
/**
|
|
3087
|
+
* S1 · TopBar — the persistent shell chrome band. Brand (left) + a right cluster
|
|
3088
|
+
* of session state · device glyph · clock (clock edge-pinned so spacing stays
|
|
3089
|
+
* stable as the state text changes). Collapses subtitle then clock as its
|
|
3090
|
+
* container narrows.
|
|
3091
|
+
*/
|
|
3092
|
+
declare function TopBar({ state, devices, time, subtitle, showSubtitle, showClock, onSelectDevice, className, }: TopBarProps): react_jsx_runtime.JSX.Element;
|
|
3093
|
+
|
|
2938
3094
|
/**
|
|
2939
3095
|
* Utility function to merge Tailwind CSS classes with proper conflict resolution.
|
|
2940
3096
|
* Combines clsx for conditional classes with tailwind-merge for deduplication.
|
|
@@ -3143,4 +3299,4 @@ interface PrescriptionInput {
|
|
|
3143
3299
|
*/
|
|
3144
3300
|
declare function formatPrescription(p: PrescriptionInput | null | undefined): string | null;
|
|
3145
3301
|
|
|
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 };
|
|
3302
|
+
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, BluetoothIcon, BrandLockup, type BrandLockupProps, 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, type Device, type DeviceConnState, DeviceIndicator, type DeviceIndicatorProps, DeviceMenu, type DeviceMenuProps, DeviceRow, type DeviceRowProps, type DeviceRowState, Divider, type DividerOrientation, type DividerProps, Drawer, DrawerBody, type DrawerBodyProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerPlacement, type DrawerProps, type DrawerSize, DumbbellIcon, 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, type IconProps, Indicator, type IndicatorColor, type IndicatorProps, type IndicatorPulse, 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, type SessionState, SessionStatePill, type SessionStatePillProps, 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, StarIcon, 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, SvgIcon, type SvgIconProps, 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, TopBar, type TopBarProps, Treemap, type TreemapDatum, type TreemapProps, type TreemapScale, Typography, type TypographyAlign, type TypographyColor, type TypographyProps, type TypographyVariant, type UseTableOptions, type UseTableReturn, VStack, VoltrasMark, 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 };
|