@titan-design/react-ui 0.9.1 → 0.9.3
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/index.d.mts +205 -126
- package/dist/index.d.ts +205 -126
- package/dist/index.js +302 -255
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +157 -117
- package/dist/index.mjs.map +1 -1
- package/dist/pages.js +2 -1
- package/dist/pages.js.map +1 -1
- package/dist/pages.mjs +2 -1
- package/dist/pages.mjs.map +1 -1
- package/dist/theme/index.d.mts +774 -769
- package/dist/theme/index.d.ts +774 -769
- package/dist/theme/index.js +6 -1
- package/dist/theme/index.js.map +1 -1
- package/dist/theme/index.mjs +7 -2
- package/dist/theme/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/custom/Workout/ExerciseHeading.tsx +5 -3
- package/src/components/custom/Workout/SessionHeader.tsx +11 -12
- package/src/components/custom/Workout/SessionRail.tsx +26 -13
- package/src/components/custom/Workout/SetsRepsLoad.tsx +2 -1
- package/src/components/shell/DashboardShell.tsx +11 -10
- package/src/components/shell/NavItem.tsx +6 -1
- package/src/components/ui/surface/Surface.stories.tsx +50 -1
- package/src/components/ui/surface/Surface.test.tsx +105 -1
- package/src/components/ui/surface/Surface.tsx +69 -19
- package/src/components/ui/surface/SurfaceContext.ts +86 -0
- package/src/components/ui/surface/index.ts +12 -0
- package/src/test/nativewind-stub.ts +13 -0
- package/src/theme/ThemeProvider.test.tsx +24 -0
- package/src/theme/ThemeProvider.tsx +23 -6
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import React$1
|
|
2
|
+
import * as React$1 from 'react';
|
|
3
|
+
import React__default, { ReactNode } from 'react';
|
|
3
4
|
import { ViewProps, PressableProps, View, TextInputProps, TextInput, ImageSourcePropType, ModalProps as ModalProps$1, TextProps } from 'react-native';
|
|
4
|
-
import { ElevationLevel, GlowIntensity } from './theme/index.mjs';
|
|
5
|
-
export { CATEGORICAL_CVD_SAFE_MAX, CategoricalVariant, ComponentType, CssPropertyEntry, CssPropertyManifest, ElevationConfig, GradientStyle, ManifestValidationResult, ShadowIntensity, ShadowSurface, ThemeConfig,
|
|
5
|
+
import { ThemeMode, ElevationLevel, GlowIntensity } from './theme/index.mjs';
|
|
6
|
+
export { CATEGORICAL_CVD_SAFE_MAX, CategoricalVariant, ComponentType, CssPropertyEntry, CssPropertyManifest, ElevationConfig, GradientStyle, ManifestValidationResult, ShadowIntensity, ShadowSurface, ThemeConfig, 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
7
|
import { S as SetStripSet, E as ExerciseIndicatorKind } from './pages-D7hOD4Vj.mjs';
|
|
7
8
|
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, i as ExerciseCard, j as ExerciseCardProps, k as ExerciseDetailEntry, l as ExerciseDetailHeader, m as ExerciseDetailPageProps, n as ExerciseDetailStats, o as ExerciseDetailTab, p as ExerciseIndicator, q as ExerciseIndicatorProps, r as ExerciseTrend, s as ExerciseVbt, t as ExerciseVbtSet, I as INDICATOR_PRECEDENCE, M as Meso, u as MesoCard, v as MesoCardProps, w as MesoProgressBar, x as MesoProgressBarProps, y as MesoStatus, z as MesoVolumeHeatmapEntry, P as PlanMeso, B as PlanWeek, D as PlanWorkout, F as ProgramBreadcrumb, G as ProgramNavLevel, H as ProgramPlanningPageProps, J as ProgramSelection, K as SET_STRIP_VARIABLE_COLOR, L as SET_STRIP_ZONES, N as SetBar, O as SetBarProps, Q as SetRow, R as SetRowProps, T as SetRowState, U as SetRowUnit, V as StrengthTrendChart, W as StrengthTrendChartMesoBoundary, X as StrengthTrendChartProps, Y as StrengthTrendDataPoint, Z as VbtSummary, _ as VelocitySet, $ as VelocityStrip, a0 as VelocityStripProps, a1 as VelocityZoneBandProp, a2 as WeekRow, a3 as WeekRowProps, a4 as WeekRowWorkout, a5 as WorkoutCard, a6 as WorkoutCardProps, a7 as WorkoutDot, a8 as WorkoutDotStatus, a9 as WorkoutGroup, aa as WorkoutMuscleGroup, ab as WorkoutMuscleVolumeStatus, ac as WorkoutPill, ad as WorkoutPillProps, ae as WorkoutPillStatus, af as WorkoutProgress, ag as WorkoutStatus, ah as calculateMeanVelocity, ai as calculateVelocityLoss, aj as getVelocityZoneColor, ak as getVelocityZoneName, al as resolveIndicator, am as velocityZoneColor } from './pages-D7hOD4Vj.mjs';
|
|
8
9
|
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';
|
|
@@ -91,14 +92,14 @@ interface AlertProps extends ViewProps {
|
|
|
91
92
|
*/
|
|
92
93
|
message?: string;
|
|
93
94
|
/** Custom icon element */
|
|
94
|
-
icon?:
|
|
95
|
+
icon?: React__default.ReactNode;
|
|
95
96
|
/** Whether to show the default icon */
|
|
96
97
|
showIcon?: boolean;
|
|
97
98
|
/** Callback when close button is pressed */
|
|
98
99
|
onClose?: () => void;
|
|
99
100
|
/** Additional className */
|
|
100
101
|
className?: string;
|
|
101
|
-
children?:
|
|
102
|
+
children?: React__default.ReactNode;
|
|
102
103
|
}
|
|
103
104
|
/**
|
|
104
105
|
* Alert component for displaying status messages.
|
|
@@ -115,7 +116,7 @@ interface AlertProps extends ViewProps {
|
|
|
115
116
|
*/
|
|
116
117
|
declare function Alert({ status, variant, size, message, icon, showIcon, onClose, className, children, ...props }: AlertProps): react_jsx_runtime.JSX.Element;
|
|
117
118
|
interface AlertTitleProps {
|
|
118
|
-
children?:
|
|
119
|
+
children?: React__default.ReactNode;
|
|
119
120
|
className?: string;
|
|
120
121
|
}
|
|
121
122
|
/**
|
|
@@ -123,7 +124,7 @@ interface AlertTitleProps {
|
|
|
123
124
|
*/
|
|
124
125
|
declare function AlertTitle({ children, className }: AlertTitleProps): react_jsx_runtime.JSX.Element;
|
|
125
126
|
interface AlertDescriptionProps {
|
|
126
|
-
children?:
|
|
127
|
+
children?: React__default.ReactNode;
|
|
127
128
|
className?: string;
|
|
128
129
|
}
|
|
129
130
|
/**
|
|
@@ -154,7 +155,7 @@ interface ButtonProps extends Omit<PressableProps, 'children'> {
|
|
|
154
155
|
/** Additional className for styling */
|
|
155
156
|
className?: string;
|
|
156
157
|
/** Button content */
|
|
157
|
-
children?:
|
|
158
|
+
children?: React__default.ReactNode;
|
|
158
159
|
}
|
|
159
160
|
/**
|
|
160
161
|
* Button component following compound component pattern.
|
|
@@ -170,9 +171,9 @@ interface ButtonProps extends Omit<PressableProps, 'children'> {
|
|
|
170
171
|
* <ButtonText>Add item</ButtonText>
|
|
171
172
|
* </Button>
|
|
172
173
|
*/
|
|
173
|
-
declare const Button:
|
|
174
|
+
declare const Button: React__default.ForwardRefExoticComponent<ButtonProps & React__default.RefAttributes<View>>;
|
|
174
175
|
interface ButtonTextProps {
|
|
175
|
-
children:
|
|
176
|
+
children: React__default.ReactNode;
|
|
176
177
|
className?: string;
|
|
177
178
|
}
|
|
178
179
|
/**
|
|
@@ -181,7 +182,7 @@ interface ButtonTextProps {
|
|
|
181
182
|
declare function ButtonText({ children, className }: ButtonTextProps): react_jsx_runtime.JSX.Element;
|
|
182
183
|
interface ButtonIconProps {
|
|
183
184
|
/** Icon component to render */
|
|
184
|
-
as:
|
|
185
|
+
as: React__default.ComponentType<{
|
|
185
186
|
size?: number;
|
|
186
187
|
color?: string;
|
|
187
188
|
className?: string;
|
|
@@ -229,9 +230,9 @@ interface InputProps extends Omit<TextInputProps, 'editable'> {
|
|
|
229
230
|
/** Error message (shown when isInvalid is true) */
|
|
230
231
|
errorMessage?: string;
|
|
231
232
|
/** Left element/icon */
|
|
232
|
-
leftElement?:
|
|
233
|
+
leftElement?: React__default.ReactNode;
|
|
233
234
|
/** Right element/icon */
|
|
234
|
-
rightElement?:
|
|
235
|
+
rightElement?: React__default.ReactNode;
|
|
235
236
|
/** Additional className for the container */
|
|
236
237
|
className?: string;
|
|
237
238
|
/** Additional className for the input */
|
|
@@ -254,9 +255,9 @@ interface InputProps extends Omit<TextInputProps, 'editable'> {
|
|
|
254
255
|
* errorMessage="Password is required"
|
|
255
256
|
* />
|
|
256
257
|
*/
|
|
257
|
-
declare const Input:
|
|
258
|
+
declare const Input: React__default.ForwardRefExoticComponent<InputProps & React__default.RefAttributes<TextInput>>;
|
|
258
259
|
interface InputGroupProps {
|
|
259
|
-
children:
|
|
260
|
+
children: React__default.ReactNode;
|
|
260
261
|
className?: string;
|
|
261
262
|
}
|
|
262
263
|
/**
|
|
@@ -265,9 +266,9 @@ interface InputGroupProps {
|
|
|
265
266
|
declare function InputGroup({ children, className }: InputGroupProps): react_jsx_runtime.JSX.Element;
|
|
266
267
|
interface PasswordInputProps extends Omit<InputProps, 'secureTextEntry' | 'rightElement'> {
|
|
267
268
|
/** Custom show password icon */
|
|
268
|
-
showIcon?:
|
|
269
|
+
showIcon?: React__default.ReactNode;
|
|
269
270
|
/** Custom hide password icon */
|
|
270
|
-
hideIcon?:
|
|
271
|
+
hideIcon?: React__default.ReactNode;
|
|
271
272
|
}
|
|
272
273
|
/**
|
|
273
274
|
* Password input with visibility toggle.
|
|
@@ -278,7 +279,7 @@ interface PasswordInputProps extends Omit<InputProps, 'secureTextEntry' | 'right
|
|
|
278
279
|
* placeholder="Enter your password"
|
|
279
280
|
* />
|
|
280
281
|
*/
|
|
281
|
-
declare const PasswordInput:
|
|
282
|
+
declare const PasswordInput: React__default.ForwardRefExoticComponent<PasswordInputProps & React__default.RefAttributes<TextInput>>;
|
|
282
283
|
|
|
283
284
|
type CardVariant = 'elevated' | 'outline' | 'filled' | 'accent' | 'subtle';
|
|
284
285
|
type CardElevation = 1 | 2 | 3;
|
|
@@ -303,7 +304,7 @@ interface CardProps extends ViewProps {
|
|
|
303
304
|
accentWidth?: number;
|
|
304
305
|
/** Additional className */
|
|
305
306
|
className?: string;
|
|
306
|
-
children?:
|
|
307
|
+
children?: React__default.ReactNode;
|
|
307
308
|
/** Show header skeleton when loading (default: true) */
|
|
308
309
|
skeletonHasHeader?: boolean;
|
|
309
310
|
/** Show footer skeleton when loading (default: false) */
|
|
@@ -335,7 +336,7 @@ interface CardProps extends ViewProps {
|
|
|
335
336
|
*/
|
|
336
337
|
declare function Card({ variant, elevation, isInteractive, isLoading, onPress, borderColor, bgColor, accentColor, accentWidth, className, children, style, skeletonHasHeader, skeletonHasFooter, skeletonContentLines, ...props }: CardProps): react_jsx_runtime.JSX.Element;
|
|
337
338
|
interface CardHeaderProps {
|
|
338
|
-
children?:
|
|
339
|
+
children?: React__default.ReactNode;
|
|
339
340
|
className?: string;
|
|
340
341
|
}
|
|
341
342
|
/**
|
|
@@ -343,7 +344,7 @@ interface CardHeaderProps {
|
|
|
343
344
|
*/
|
|
344
345
|
declare function CardHeader({ children, className }: CardHeaderProps): react_jsx_runtime.JSX.Element;
|
|
345
346
|
interface CardTitleProps {
|
|
346
|
-
children?:
|
|
347
|
+
children?: React__default.ReactNode;
|
|
347
348
|
className?: string;
|
|
348
349
|
}
|
|
349
350
|
/**
|
|
@@ -351,7 +352,7 @@ interface CardTitleProps {
|
|
|
351
352
|
*/
|
|
352
353
|
declare function CardTitle({ children, className }: CardTitleProps): react_jsx_runtime.JSX.Element;
|
|
353
354
|
interface CardDescriptionProps {
|
|
354
|
-
children?:
|
|
355
|
+
children?: React__default.ReactNode;
|
|
355
356
|
className?: string;
|
|
356
357
|
}
|
|
357
358
|
/**
|
|
@@ -359,7 +360,7 @@ interface CardDescriptionProps {
|
|
|
359
360
|
*/
|
|
360
361
|
declare function CardDescription({ children, className }: CardDescriptionProps): react_jsx_runtime.JSX.Element;
|
|
361
362
|
interface CardContentProps {
|
|
362
|
-
children?:
|
|
363
|
+
children?: React__default.ReactNode;
|
|
363
364
|
className?: string;
|
|
364
365
|
}
|
|
365
366
|
/**
|
|
@@ -367,7 +368,7 @@ interface CardContentProps {
|
|
|
367
368
|
*/
|
|
368
369
|
declare function CardContent({ children, className }: CardContentProps): react_jsx_runtime.JSX.Element;
|
|
369
370
|
interface CardFooterProps {
|
|
370
|
-
children?:
|
|
371
|
+
children?: React__default.ReactNode;
|
|
371
372
|
className?: string;
|
|
372
373
|
}
|
|
373
374
|
/**
|
|
@@ -427,7 +428,7 @@ interface BadgeProps extends ViewProps {
|
|
|
427
428
|
dotColor?: IndicatorColor;
|
|
428
429
|
/** Additional className */
|
|
429
430
|
className?: string;
|
|
430
|
-
children?:
|
|
431
|
+
children?: React__default.ReactNode;
|
|
431
432
|
}
|
|
432
433
|
/**
|
|
433
434
|
* Badge component for status indicators and labels.
|
|
@@ -438,7 +439,7 @@ interface BadgeProps extends ViewProps {
|
|
|
438
439
|
*/
|
|
439
440
|
declare function Badge({ variant, color, size, dot, dotColor, className, children, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
440
441
|
interface BadgeTextProps {
|
|
441
|
-
children:
|
|
442
|
+
children: React__default.ReactNode;
|
|
442
443
|
className?: string;
|
|
443
444
|
}
|
|
444
445
|
/**
|
|
@@ -516,7 +517,7 @@ interface AvatarBadgeProps {
|
|
|
516
517
|
*/
|
|
517
518
|
declare function AvatarBadge({ color, className }: AvatarBadgeProps): react_jsx_runtime.JSX.Element;
|
|
518
519
|
interface AvatarGroupProps {
|
|
519
|
-
children:
|
|
520
|
+
children: React__default.ReactNode;
|
|
520
521
|
/** Maximum avatars to show before +N indicator */
|
|
521
522
|
max?: number;
|
|
522
523
|
/** Size of avatars */
|
|
@@ -578,9 +579,9 @@ interface CheckboxProps extends Omit<PressableProps, 'children'> {
|
|
|
578
579
|
* label="Accept terms and conditions"
|
|
579
580
|
* />
|
|
580
581
|
*/
|
|
581
|
-
declare const Checkbox:
|
|
582
|
+
declare const Checkbox: React__default.ForwardRefExoticComponent<CheckboxProps & React__default.RefAttributes<View>>;
|
|
582
583
|
interface CheckboxGroupProps {
|
|
583
|
-
children:
|
|
584
|
+
children: React__default.ReactNode;
|
|
584
585
|
/** Label for the group */
|
|
585
586
|
label?: string;
|
|
586
587
|
/** Orientation of checkboxes */
|
|
@@ -620,7 +621,7 @@ interface SwitchProps extends Omit<PressableProps, 'children'> {
|
|
|
620
621
|
* label="Enable notifications"
|
|
621
622
|
* />
|
|
622
623
|
*/
|
|
623
|
-
declare const Switch:
|
|
624
|
+
declare const Switch: React__default.ForwardRefExoticComponent<SwitchProps & React__default.RefAttributes<View>>;
|
|
624
625
|
|
|
625
626
|
type ModalSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
626
627
|
type ModalScrollBehavior = 'inside' | 'outside';
|
|
@@ -641,7 +642,7 @@ interface ModalProps extends Omit<ModalProps$1, 'visible'> {
|
|
|
641
642
|
backdropClassName?: string;
|
|
642
643
|
/** Animation type */
|
|
643
644
|
animationType?: 'none' | 'fade' | 'slide';
|
|
644
|
-
children?:
|
|
645
|
+
children?: React__default.ReactNode;
|
|
645
646
|
}
|
|
646
647
|
/**
|
|
647
648
|
* Modal component for dialogs and overlays.
|
|
@@ -664,7 +665,7 @@ interface ModalProps extends Omit<ModalProps$1, 'visible'> {
|
|
|
664
665
|
*/
|
|
665
666
|
declare function Modal({ isOpen, onClose, size, scrollBehavior, closeOnOverlayClick, backdropBlur, backdropClassName, animationType, children, ...props }: ModalProps): react_jsx_runtime.JSX.Element;
|
|
666
667
|
interface ModalContentProps {
|
|
667
|
-
children?:
|
|
668
|
+
children?: React__default.ReactNode;
|
|
668
669
|
className?: string;
|
|
669
670
|
}
|
|
670
671
|
/**
|
|
@@ -672,7 +673,7 @@ interface ModalContentProps {
|
|
|
672
673
|
*/
|
|
673
674
|
declare function ModalContent({ children, className }: ModalContentProps): react_jsx_runtime.JSX.Element;
|
|
674
675
|
interface ModalHeaderProps {
|
|
675
|
-
children?:
|
|
676
|
+
children?: React__default.ReactNode;
|
|
676
677
|
className?: string;
|
|
677
678
|
}
|
|
678
679
|
/**
|
|
@@ -680,7 +681,7 @@ interface ModalHeaderProps {
|
|
|
680
681
|
*/
|
|
681
682
|
declare function ModalHeader({ children, className }: ModalHeaderProps): react_jsx_runtime.JSX.Element;
|
|
682
683
|
interface ModalTitleProps {
|
|
683
|
-
children?:
|
|
684
|
+
children?: React__default.ReactNode;
|
|
684
685
|
className?: string;
|
|
685
686
|
}
|
|
686
687
|
/**
|
|
@@ -695,7 +696,7 @@ interface ModalCloseButtonProps {
|
|
|
695
696
|
*/
|
|
696
697
|
declare function ModalCloseButton({ className }: ModalCloseButtonProps): react_jsx_runtime.JSX.Element;
|
|
697
698
|
interface ModalBodyProps {
|
|
698
|
-
children?:
|
|
699
|
+
children?: React__default.ReactNode;
|
|
699
700
|
/** Maximum height for scrollable content (when scrollBehavior="inside") */
|
|
700
701
|
maxHeight?: number;
|
|
701
702
|
className?: string;
|
|
@@ -705,7 +706,7 @@ interface ModalBodyProps {
|
|
|
705
706
|
*/
|
|
706
707
|
declare function ModalBody({ children, maxHeight, className }: ModalBodyProps): react_jsx_runtime.JSX.Element;
|
|
707
708
|
interface ModalFooterProps {
|
|
708
|
-
children?:
|
|
709
|
+
children?: React__default.ReactNode;
|
|
709
710
|
className?: string;
|
|
710
711
|
}
|
|
711
712
|
/**
|
|
@@ -815,7 +816,7 @@ interface TabsProps extends ViewProps {
|
|
|
815
816
|
orientation?: TabsOrientation;
|
|
816
817
|
/** Additional className */
|
|
817
818
|
className?: string;
|
|
818
|
-
children?:
|
|
819
|
+
children?: React__default.ReactNode;
|
|
819
820
|
}
|
|
820
821
|
/**
|
|
821
822
|
* Tabs component for tabbed navigation.
|
|
@@ -836,7 +837,7 @@ interface TabsProps extends ViewProps {
|
|
|
836
837
|
*/
|
|
837
838
|
declare function Tabs({ defaultIndex, index, onChange, variant, orientation, className, children, ...props }: TabsProps): react_jsx_runtime.JSX.Element;
|
|
838
839
|
interface TabListProps {
|
|
839
|
-
children?:
|
|
840
|
+
children?: React__default.ReactNode;
|
|
840
841
|
className?: string;
|
|
841
842
|
}
|
|
842
843
|
/**
|
|
@@ -850,14 +851,14 @@ interface TabProps {
|
|
|
850
851
|
isDisabled?: boolean;
|
|
851
852
|
/** Additional className */
|
|
852
853
|
className?: string;
|
|
853
|
-
children?:
|
|
854
|
+
children?: React__default.ReactNode;
|
|
854
855
|
}
|
|
855
856
|
/**
|
|
856
857
|
* Individual tab button.
|
|
857
858
|
*/
|
|
858
859
|
declare function Tab({ index, isDisabled, className, children, }: TabProps): react_jsx_runtime.JSX.Element;
|
|
859
860
|
interface TabPanelsProps {
|
|
860
|
-
children?:
|
|
861
|
+
children?: React__default.ReactNode;
|
|
861
862
|
className?: string;
|
|
862
863
|
}
|
|
863
864
|
/**
|
|
@@ -865,7 +866,7 @@ interface TabPanelsProps {
|
|
|
865
866
|
*/
|
|
866
867
|
declare function TabPanels({ children, className }: TabPanelsProps): react_jsx_runtime.JSX.Element;
|
|
867
868
|
interface TabPanelProps {
|
|
868
|
-
children?:
|
|
869
|
+
children?: React__default.ReactNode;
|
|
869
870
|
className?: string;
|
|
870
871
|
}
|
|
871
872
|
/**
|
|
@@ -884,7 +885,7 @@ interface ChipProps extends ViewProps {
|
|
|
884
885
|
/** Size */
|
|
885
886
|
size?: ChipSize;
|
|
886
887
|
/** Left element (icon, avatar) */
|
|
887
|
-
leftElement?:
|
|
888
|
+
leftElement?: React__default.ReactNode;
|
|
888
889
|
/** Whether the chip is dismissible */
|
|
889
890
|
onDelete?: () => void;
|
|
890
891
|
/** Whether the chip is clickable */
|
|
@@ -893,7 +894,7 @@ interface ChipProps extends ViewProps {
|
|
|
893
894
|
isDisabled?: boolean;
|
|
894
895
|
/** Additional className */
|
|
895
896
|
className?: string;
|
|
896
|
-
children?:
|
|
897
|
+
children?: React__default.ReactNode;
|
|
897
898
|
}
|
|
898
899
|
/**
|
|
899
900
|
* Chip component for tags, labels, and filters.
|
|
@@ -923,7 +924,7 @@ interface LinkProps extends Omit<TextProps, 'onPress'> {
|
|
|
923
924
|
isDisabled?: boolean;
|
|
924
925
|
/** Additional className */
|
|
925
926
|
className?: string;
|
|
926
|
-
children?:
|
|
927
|
+
children?: React__default.ReactNode;
|
|
927
928
|
}
|
|
928
929
|
/**
|
|
929
930
|
* Link component for navigation.
|
|
@@ -940,9 +941,9 @@ interface TooltipProps extends ViewProps {
|
|
|
940
941
|
/** Plain-text tooltip content */
|
|
941
942
|
label?: string;
|
|
942
943
|
/** Rich tooltip content (takes precedence over label) */
|
|
943
|
-
content?:
|
|
944
|
+
content?: React__default.ReactNode;
|
|
944
945
|
/** Trigger element */
|
|
945
|
-
children:
|
|
946
|
+
children: React__default.ReactNode;
|
|
946
947
|
/** Tooltip placement */
|
|
947
948
|
placement?: TooltipPlacement;
|
|
948
949
|
/** Delay before showing (ms) */
|
|
@@ -985,7 +986,7 @@ interface CollapseProps extends ViewProps {
|
|
|
985
986
|
onToggle?: (isOpen: boolean) => void;
|
|
986
987
|
/** Additional className */
|
|
987
988
|
className?: string;
|
|
988
|
-
children?:
|
|
989
|
+
children?: React__default.ReactNode;
|
|
989
990
|
}
|
|
990
991
|
/**
|
|
991
992
|
* Collapsible content container.
|
|
@@ -1002,7 +1003,7 @@ interface CollapseProps extends ViewProps {
|
|
|
1002
1003
|
*/
|
|
1003
1004
|
declare function Collapse({ defaultIsOpen, isOpen: controlledIsOpen, onToggle, className, children, ...props }: CollapseProps): react_jsx_runtime.JSX.Element;
|
|
1004
1005
|
interface CollapseButtonProps {
|
|
1005
|
-
children?:
|
|
1006
|
+
children?: React__default.ReactNode;
|
|
1006
1007
|
className?: string;
|
|
1007
1008
|
}
|
|
1008
1009
|
/**
|
|
@@ -1010,7 +1011,7 @@ interface CollapseButtonProps {
|
|
|
1010
1011
|
*/
|
|
1011
1012
|
declare function CollapseButton({ children, className }: CollapseButtonProps): react_jsx_runtime.JSX.Element;
|
|
1012
1013
|
interface CollapseContentProps {
|
|
1013
|
-
children?:
|
|
1014
|
+
children?: React__default.ReactNode;
|
|
1014
1015
|
className?: string;
|
|
1015
1016
|
}
|
|
1016
1017
|
/**
|
|
@@ -1024,7 +1025,7 @@ interface AccordionProps extends ViewProps {
|
|
|
1024
1025
|
defaultIndex?: number[];
|
|
1025
1026
|
/** Additional className */
|
|
1026
1027
|
className?: string;
|
|
1027
|
-
children?:
|
|
1028
|
+
children?: React__default.ReactNode;
|
|
1028
1029
|
}
|
|
1029
1030
|
/**
|
|
1030
1031
|
* Accordion component for multiple collapsible sections.
|
|
@@ -1044,7 +1045,7 @@ interface AccordionProps extends ViewProps {
|
|
|
1044
1045
|
declare function Accordion({ allowMultiple, defaultIndex, className, children, ...props }: AccordionProps): react_jsx_runtime.JSX.Element;
|
|
1045
1046
|
interface AccordionItemProps {
|
|
1046
1047
|
index?: number;
|
|
1047
|
-
children?:
|
|
1048
|
+
children?: React__default.ReactNode;
|
|
1048
1049
|
className?: string;
|
|
1049
1050
|
}
|
|
1050
1051
|
/**
|
|
@@ -1054,7 +1055,7 @@ declare function AccordionItem({ index, children, className }: AccordionItemProp
|
|
|
1054
1055
|
interface AccordionButtonProps {
|
|
1055
1056
|
isOpen?: boolean;
|
|
1056
1057
|
onToggle?: () => void;
|
|
1057
|
-
children?:
|
|
1058
|
+
children?: React__default.ReactNode;
|
|
1058
1059
|
className?: string;
|
|
1059
1060
|
}
|
|
1060
1061
|
/**
|
|
@@ -1063,7 +1064,7 @@ interface AccordionButtonProps {
|
|
|
1063
1064
|
declare function AccordionButton({ isOpen, onToggle, children, className, }: AccordionButtonProps): react_jsx_runtime.JSX.Element;
|
|
1064
1065
|
interface AccordionPanelProps {
|
|
1065
1066
|
isOpen?: boolean;
|
|
1066
|
-
children?:
|
|
1067
|
+
children?: React__default.ReactNode;
|
|
1067
1068
|
className?: string;
|
|
1068
1069
|
}
|
|
1069
1070
|
/**
|
|
@@ -1073,12 +1074,12 @@ declare function AccordionPanel({ isOpen, children, className }: AccordionPanelP
|
|
|
1073
1074
|
|
|
1074
1075
|
interface BreadcrumbsProps extends ViewProps {
|
|
1075
1076
|
/** Custom separator */
|
|
1076
|
-
separator?:
|
|
1077
|
+
separator?: React__default.ReactNode;
|
|
1077
1078
|
/** Maximum items to show (with collapse) */
|
|
1078
1079
|
maxItems?: number;
|
|
1079
1080
|
/** Additional className */
|
|
1080
1081
|
className?: string;
|
|
1081
|
-
children?:
|
|
1082
|
+
children?: React__default.ReactNode;
|
|
1082
1083
|
}
|
|
1083
1084
|
/**
|
|
1084
1085
|
* Breadcrumbs navigation component.
|
|
@@ -1100,7 +1101,7 @@ interface BreadcrumbItemProps {
|
|
|
1100
1101
|
onPress?: () => void;
|
|
1101
1102
|
/** Additional className */
|
|
1102
1103
|
className?: string;
|
|
1103
|
-
children?:
|
|
1104
|
+
children?: React__default.ReactNode;
|
|
1104
1105
|
}
|
|
1105
1106
|
/**
|
|
1106
1107
|
* Individual breadcrumb item.
|
|
@@ -1123,7 +1124,7 @@ interface PopoverProps extends ViewProps {
|
|
|
1123
1124
|
closeDelay?: number;
|
|
1124
1125
|
/** Additional className */
|
|
1125
1126
|
className?: string;
|
|
1126
|
-
children?:
|
|
1127
|
+
children?: React__default.ReactNode;
|
|
1127
1128
|
}
|
|
1128
1129
|
/**
|
|
1129
1130
|
* Popover component for displaying floating content.
|
|
@@ -1140,7 +1141,7 @@ interface PopoverProps extends ViewProps {
|
|
|
1140
1141
|
*/
|
|
1141
1142
|
declare function Popover({ placement, isOpen: controlledIsOpen, onOpenChange, closeOnClickOutside, triggerMode, closeDelay, className, children, ...props }: PopoverProps): react_jsx_runtime.JSX.Element;
|
|
1142
1143
|
interface PopoverTriggerProps {
|
|
1143
|
-
children:
|
|
1144
|
+
children: React__default.ReactNode;
|
|
1144
1145
|
className?: string;
|
|
1145
1146
|
}
|
|
1146
1147
|
/**
|
|
@@ -1148,7 +1149,7 @@ interface PopoverTriggerProps {
|
|
|
1148
1149
|
*/
|
|
1149
1150
|
declare function PopoverTrigger({ children, className }: PopoverTriggerProps): react_jsx_runtime.JSX.Element;
|
|
1150
1151
|
interface PopoverContentProps {
|
|
1151
|
-
children?:
|
|
1152
|
+
children?: React__default.ReactNode;
|
|
1152
1153
|
className?: string;
|
|
1153
1154
|
}
|
|
1154
1155
|
/**
|
|
@@ -1156,7 +1157,7 @@ interface PopoverContentProps {
|
|
|
1156
1157
|
*/
|
|
1157
1158
|
declare function PopoverContent({ children, className }: PopoverContentProps): react_jsx_runtime.JSX.Element | null;
|
|
1158
1159
|
interface PopoverCloseButtonProps {
|
|
1159
|
-
children?:
|
|
1160
|
+
children?: React__default.ReactNode;
|
|
1160
1161
|
className?: string;
|
|
1161
1162
|
}
|
|
1162
1163
|
/**
|
|
@@ -1171,7 +1172,7 @@ interface MenuProps extends ViewProps {
|
|
|
1171
1172
|
onOpenChange?: (isOpen: boolean) => void;
|
|
1172
1173
|
/** Additional className */
|
|
1173
1174
|
className?: string;
|
|
1174
|
-
children?:
|
|
1175
|
+
children?: React__default.ReactNode;
|
|
1175
1176
|
}
|
|
1176
1177
|
/**
|
|
1177
1178
|
* Menu component for dropdown menus.
|
|
@@ -1191,7 +1192,7 @@ interface MenuProps extends ViewProps {
|
|
|
1191
1192
|
*/
|
|
1192
1193
|
declare function Menu({ isOpen: controlledIsOpen, onOpenChange, className, children, ...props }: MenuProps): react_jsx_runtime.JSX.Element;
|
|
1193
1194
|
interface MenuTriggerProps {
|
|
1194
|
-
children:
|
|
1195
|
+
children: React__default.ReactNode;
|
|
1195
1196
|
className?: string;
|
|
1196
1197
|
}
|
|
1197
1198
|
/**
|
|
@@ -1199,7 +1200,7 @@ interface MenuTriggerProps {
|
|
|
1199
1200
|
*/
|
|
1200
1201
|
declare function MenuTrigger({ children, className }: MenuTriggerProps): react_jsx_runtime.JSX.Element;
|
|
1201
1202
|
interface MenuListProps {
|
|
1202
|
-
children?:
|
|
1203
|
+
children?: React__default.ReactNode;
|
|
1203
1204
|
className?: string;
|
|
1204
1205
|
}
|
|
1205
1206
|
/**
|
|
@@ -1214,10 +1215,10 @@ interface MenuItemProps {
|
|
|
1214
1215
|
/** Whether the item is destructive (shows in red) */
|
|
1215
1216
|
isDestructive?: boolean;
|
|
1216
1217
|
/** Icon element */
|
|
1217
|
-
icon?:
|
|
1218
|
+
icon?: React__default.ReactNode;
|
|
1218
1219
|
/** Additional className */
|
|
1219
1220
|
className?: string;
|
|
1220
|
-
children?:
|
|
1221
|
+
children?: React__default.ReactNode;
|
|
1221
1222
|
}
|
|
1222
1223
|
/**
|
|
1223
1224
|
* Individual menu item.
|
|
@@ -1233,7 +1234,7 @@ declare function MenuDivider({ className }: MenuDividerProps): react_jsx_runtime
|
|
|
1233
1234
|
interface MenuGroupProps {
|
|
1234
1235
|
/** Group label */
|
|
1235
1236
|
label?: string;
|
|
1236
|
-
children?:
|
|
1237
|
+
children?: React__default.ReactNode;
|
|
1237
1238
|
className?: string;
|
|
1238
1239
|
}
|
|
1239
1240
|
/**
|
|
@@ -1304,7 +1305,7 @@ interface ToolbarButtonProps extends ViewProps {
|
|
|
1304
1305
|
/** Button label */
|
|
1305
1306
|
label: string;
|
|
1306
1307
|
/** Icon component */
|
|
1307
|
-
icon?:
|
|
1308
|
+
icon?: React__default.ReactNode;
|
|
1308
1309
|
/**
|
|
1309
1310
|
* Whether the button is in active/selected state.
|
|
1310
1311
|
* - `true`: pressed/active appearance (darker, white text, orange icon)
|
|
@@ -1325,7 +1326,7 @@ interface ToolbarButtonProps extends ViewProps {
|
|
|
1325
1326
|
/** Press handler */
|
|
1326
1327
|
onPress?: () => void;
|
|
1327
1328
|
/** Menu content (renders in popover) */
|
|
1328
|
-
menuContent?:
|
|
1329
|
+
menuContent?: React__default.ReactNode;
|
|
1329
1330
|
/** Additional className */
|
|
1330
1331
|
className?: string;
|
|
1331
1332
|
}
|
|
@@ -1364,7 +1365,7 @@ interface ToolbarButtonGroupProps extends ViewProps {
|
|
|
1364
1365
|
gap?: 'none' | 'sm' | 'md';
|
|
1365
1366
|
/** Additional className */
|
|
1366
1367
|
className?: string;
|
|
1367
|
-
children?:
|
|
1368
|
+
children?: React__default.ReactNode;
|
|
1368
1369
|
}
|
|
1369
1370
|
/**
|
|
1370
1371
|
* Container for grouping toolbar buttons together.
|
|
@@ -1398,7 +1399,7 @@ interface RadioGroupProps extends ViewProps {
|
|
|
1398
1399
|
label?: string;
|
|
1399
1400
|
/** Additional className */
|
|
1400
1401
|
className?: string;
|
|
1401
|
-
children?:
|
|
1402
|
+
children?: React__default.ReactNode;
|
|
1402
1403
|
}
|
|
1403
1404
|
/**
|
|
1404
1405
|
* RadioGroup component for grouping radio buttons.
|
|
@@ -1422,7 +1423,7 @@ interface RadioProps extends ViewProps {
|
|
|
1422
1423
|
color?: RadioColor;
|
|
1423
1424
|
/** Additional className */
|
|
1424
1425
|
className?: string;
|
|
1425
|
-
children?:
|
|
1426
|
+
children?: React__default.ReactNode;
|
|
1426
1427
|
}
|
|
1427
1428
|
/**
|
|
1428
1429
|
* Radio button component.
|
|
@@ -1451,7 +1452,7 @@ interface DrawerProps extends ViewProps {
|
|
|
1451
1452
|
title?: string;
|
|
1452
1453
|
/** Additional className for the drawer content */
|
|
1453
1454
|
className?: string;
|
|
1454
|
-
children?:
|
|
1455
|
+
children?: React__default.ReactNode;
|
|
1455
1456
|
}
|
|
1456
1457
|
/**
|
|
1457
1458
|
* Drawer component for side panel overlays.
|
|
@@ -1472,7 +1473,7 @@ declare function Drawer({ isOpen, onClose, placement, size, closeOnOverlayClick,
|
|
|
1472
1473
|
interface DrawerHeaderProps extends ViewProps {
|
|
1473
1474
|
/** Additional className */
|
|
1474
1475
|
className?: string;
|
|
1475
|
-
children?:
|
|
1476
|
+
children?: React__default.ReactNode;
|
|
1476
1477
|
}
|
|
1477
1478
|
/**
|
|
1478
1479
|
* Header section for the drawer.
|
|
@@ -1483,7 +1484,7 @@ interface DrawerBodyProps extends ViewProps {
|
|
|
1483
1484
|
scrollable?: boolean;
|
|
1484
1485
|
/** Additional className */
|
|
1485
1486
|
className?: string;
|
|
1486
|
-
children?:
|
|
1487
|
+
children?: React__default.ReactNode;
|
|
1487
1488
|
}
|
|
1488
1489
|
/**
|
|
1489
1490
|
* Body/content section for the drawer.
|
|
@@ -1492,7 +1493,7 @@ declare function DrawerBody({ scrollable, className, children, ...props }: Drawe
|
|
|
1492
1493
|
interface DrawerFooterProps extends ViewProps {
|
|
1493
1494
|
/** Additional className */
|
|
1494
1495
|
className?: string;
|
|
1495
|
-
children?:
|
|
1496
|
+
children?: React__default.ReactNode;
|
|
1496
1497
|
}
|
|
1497
1498
|
/**
|
|
1498
1499
|
* Footer section for the drawer, typically for action buttons.
|
|
@@ -1564,7 +1565,7 @@ interface CircularProgressProps extends ViewProps {
|
|
|
1564
1565
|
* replaces the {@link showValue} text — the ring becomes a generic container for
|
|
1565
1566
|
* any centered element. See {@link CircularTimer} for the batteries-included timer.
|
|
1566
1567
|
*/
|
|
1567
|
-
children?:
|
|
1568
|
+
children?: React__default.ReactNode;
|
|
1568
1569
|
/**
|
|
1569
1570
|
* Fill the parent container (responsive) instead of drawing a fixed `size` box.
|
|
1570
1571
|
* The SVG uses a `0 0 size size` viewBox scaled to the container, so `size` still
|
|
@@ -1635,7 +1636,7 @@ interface ToastProviderProps {
|
|
|
1635
1636
|
defaultDuration?: number;
|
|
1636
1637
|
/** Maximum number of visible toasts */
|
|
1637
1638
|
maxToasts?: number;
|
|
1638
|
-
children?:
|
|
1639
|
+
children?: React__default.ReactNode;
|
|
1639
1640
|
}
|
|
1640
1641
|
/**
|
|
1641
1642
|
* Provider component for the toast notification system.
|
|
@@ -1729,7 +1730,7 @@ interface AutocompleteProps<T = string> extends ViewProps {
|
|
|
1729
1730
|
/** Custom filter function */
|
|
1730
1731
|
filterFn?: (option: AutocompleteOption<T>, inputValue: string) => boolean;
|
|
1731
1732
|
/** Custom render function for options */
|
|
1732
|
-
renderOption?: (option: AutocompleteOption<T>, isHighlighted: boolean) =>
|
|
1733
|
+
renderOption?: (option: AutocompleteOption<T>, isHighlighted: boolean) => React__default.ReactNode;
|
|
1733
1734
|
/** Text to show when no options match */
|
|
1734
1735
|
noOptionsText?: string;
|
|
1735
1736
|
/** Text to show when loading */
|
|
@@ -1775,7 +1776,7 @@ type HelpTipPlacement = 'top' | 'bottom' | 'left' | 'right';
|
|
|
1775
1776
|
type HelpTipIcon = 'help' | 'info' | 'warning';
|
|
1776
1777
|
interface HelpTipProps extends ViewProps {
|
|
1777
1778
|
/** Tooltip content */
|
|
1778
|
-
content:
|
|
1779
|
+
content: React__default.ReactNode;
|
|
1779
1780
|
/** Size of the icon */
|
|
1780
1781
|
size?: HelpTipSize;
|
|
1781
1782
|
/** Placement of the tooltip */
|
|
@@ -1826,7 +1827,7 @@ interface LabelWithHelpProps extends ViewProps {
|
|
|
1826
1827
|
/** Label text */
|
|
1827
1828
|
label: string;
|
|
1828
1829
|
/** Help content */
|
|
1829
|
-
helpContent:
|
|
1830
|
+
helpContent: React__default.ReactNode;
|
|
1830
1831
|
/** Whether the field is required */
|
|
1831
1832
|
isRequired?: boolean;
|
|
1832
1833
|
/** Size of the help icon */
|
|
@@ -1860,7 +1861,7 @@ interface FormFieldProps extends ViewProps {
|
|
|
1860
1861
|
/** Whether the field is read-only */
|
|
1861
1862
|
isReadOnly?: boolean;
|
|
1862
1863
|
/** Help tooltip content */
|
|
1863
|
-
helpContent?:
|
|
1864
|
+
helpContent?: React__default.ReactNode;
|
|
1864
1865
|
/** Size of the label */
|
|
1865
1866
|
labelSize?: 'sm' | 'md' | 'lg';
|
|
1866
1867
|
/** Direction of the layout */
|
|
@@ -1869,7 +1870,7 @@ interface FormFieldProps extends ViewProps {
|
|
|
1869
1870
|
labelWidth?: number | string;
|
|
1870
1871
|
/** Additional className */
|
|
1871
1872
|
className?: string;
|
|
1872
|
-
children?:
|
|
1873
|
+
children?: React__default.ReactNode;
|
|
1873
1874
|
}
|
|
1874
1875
|
/**
|
|
1875
1876
|
* FormField component for wrapping form inputs with label, help text, and error states.
|
|
@@ -1904,7 +1905,7 @@ interface FormSectionProps extends ViewProps {
|
|
|
1904
1905
|
description?: string;
|
|
1905
1906
|
/** Additional className */
|
|
1906
1907
|
className?: string;
|
|
1907
|
-
children?:
|
|
1908
|
+
children?: React__default.ReactNode;
|
|
1908
1909
|
}
|
|
1909
1910
|
/**
|
|
1910
1911
|
* FormSection component for grouping related form fields.
|
|
@@ -1925,7 +1926,7 @@ interface FormActionsProps extends ViewProps {
|
|
|
1925
1926
|
align?: 'left' | 'center' | 'right' | 'between';
|
|
1926
1927
|
/** Additional className */
|
|
1927
1928
|
className?: string;
|
|
1928
|
-
children?:
|
|
1929
|
+
children?: React__default.ReactNode;
|
|
1929
1930
|
}
|
|
1930
1931
|
/**
|
|
1931
1932
|
* FormActions component for form action buttons.
|
|
@@ -1942,7 +1943,7 @@ interface FormRowProps extends ViewProps {
|
|
|
1942
1943
|
gap?: 'sm' | 'md' | 'lg';
|
|
1943
1944
|
/** Additional className */
|
|
1944
1945
|
className?: string;
|
|
1945
|
-
children?:
|
|
1946
|
+
children?: React__default.ReactNode;
|
|
1946
1947
|
}
|
|
1947
1948
|
/**
|
|
1948
1949
|
* FormRow component for laying out multiple form fields horizontally.
|
|
@@ -1966,7 +1967,7 @@ interface StackProps extends ViewProps {
|
|
|
1966
1967
|
justify?: 'start' | 'center' | 'end' | 'between' | 'around';
|
|
1967
1968
|
wrap?: boolean;
|
|
1968
1969
|
className?: string;
|
|
1969
|
-
children:
|
|
1970
|
+
children: React__default.ReactNode;
|
|
1970
1971
|
}
|
|
1971
1972
|
declare function Stack({ gap, align, justify, wrap, className, children, ...props }: StackProps): react_jsx_runtime.JSX.Element;
|
|
1972
1973
|
declare function HStack(props: StackProps): react_jsx_runtime.JSX.Element;
|
|
@@ -1974,19 +1975,19 @@ declare function VStack(props: StackProps): react_jsx_runtime.JSX.Element;
|
|
|
1974
1975
|
|
|
1975
1976
|
interface SectionProps extends ViewProps {
|
|
1976
1977
|
className?: string;
|
|
1977
|
-
children:
|
|
1978
|
+
children: React__default.ReactNode;
|
|
1978
1979
|
}
|
|
1979
1980
|
declare function Section({ className, children, ...props }: SectionProps): react_jsx_runtime.JSX.Element;
|
|
1980
1981
|
interface SectionHeaderProps {
|
|
1981
1982
|
title: string;
|
|
1982
1983
|
subtitle?: string;
|
|
1983
|
-
trailing?:
|
|
1984
|
+
trailing?: React__default.ReactNode;
|
|
1984
1985
|
className?: string;
|
|
1985
1986
|
}
|
|
1986
1987
|
declare function SectionHeader({ title, subtitle, trailing, className }: SectionHeaderProps): react_jsx_runtime.JSX.Element;
|
|
1987
1988
|
interface SectionContentProps extends ViewProps {
|
|
1988
1989
|
className?: string;
|
|
1989
|
-
children:
|
|
1990
|
+
children: React__default.ReactNode;
|
|
1990
1991
|
}
|
|
1991
1992
|
declare function SectionContent({ className, children, ...props }: SectionContentProps): react_jsx_runtime.JSX.Element;
|
|
1992
1993
|
|
|
@@ -1994,7 +1995,7 @@ interface DataRowProps extends ViewProps {
|
|
|
1994
1995
|
/** Descriptive label shown on the left */
|
|
1995
1996
|
label: string;
|
|
1996
1997
|
/** Value shown on the right -- string renders as Text, ReactNode renders inside a View */
|
|
1997
|
-
value:
|
|
1998
|
+
value: React__default.ReactNode;
|
|
1998
1999
|
/** Additional className applied to the value element */
|
|
1999
2000
|
valueClassName?: string;
|
|
2000
2001
|
/** Additional className applied to the root container */
|
|
@@ -2005,7 +2006,7 @@ declare function DataRow({ label, value, valueClassName, className, ...props }:
|
|
|
2005
2006
|
type IconBoxColor = 'primary' | 'secondary' | 'success' | 'error' | 'warning' | 'info' | 'neutral';
|
|
2006
2007
|
type IconBoxSize = 'sm' | 'md' | 'lg';
|
|
2007
2008
|
interface IconBoxProps extends ViewProps {
|
|
2008
|
-
icon:
|
|
2009
|
+
icon: React__default.ComponentType<{
|
|
2009
2010
|
size?: number;
|
|
2010
2011
|
className?: string;
|
|
2011
2012
|
}>;
|
|
@@ -2015,23 +2016,91 @@ interface IconBoxProps extends ViewProps {
|
|
|
2015
2016
|
}
|
|
2016
2017
|
declare function IconBox({ icon: Icon, color, size, className, ...props }: IconBoxProps): react_jsx_runtime.JSX.Element;
|
|
2017
2018
|
|
|
2019
|
+
/**
|
|
2020
|
+
* A Surface's depth on the dark charcoal ramp. Each level maps to an EXISTING
|
|
2021
|
+
* semantic surface/background token (already grounded in the charcoal ramp and
|
|
2022
|
+
* theme-aware) — Surface introduces no new hexes. Darkest → lightest:
|
|
2023
|
+
* background (#101010) < base (#161616) < elevated (#191919) < raised (#1C1C1C)
|
|
2024
|
+
*/
|
|
2025
|
+
type SurfaceLevel = 'background' | 'base' | 'elevated' | 'raised' | 'overlay';
|
|
2026
|
+
/** On-surface neutral text roles, resolved for the current surface + theme. */
|
|
2027
|
+
type OnSurfaceRole = 'primary' | 'secondary' | 'tertiary';
|
|
2028
|
+
declare const SURFACE_LEVEL_TOKEN: {
|
|
2029
|
+
readonly background: "background-base";
|
|
2030
|
+
readonly base: "surface-base";
|
|
2031
|
+
readonly elevated: "surface-elevated";
|
|
2032
|
+
readonly raised: "surface-raised";
|
|
2033
|
+
readonly overlay: "surface-overlay";
|
|
2034
|
+
};
|
|
2035
|
+
interface SurfaceContextValue {
|
|
2036
|
+
/** Active theme mode. Defaults to dark (the wall). */
|
|
2037
|
+
mode: ThemeMode;
|
|
2038
|
+
/** Depth of the nearest enclosing Surface. */
|
|
2039
|
+
level: SurfaceLevel;
|
|
2040
|
+
}
|
|
2041
|
+
declare const SurfaceContext: React$1.Context<SurfaceContextValue>;
|
|
2042
|
+
/** The nearest surface context ({ mode, level }); default dark 'base'. */
|
|
2043
|
+
declare function useSurface(): SurfaceContextValue;
|
|
2044
|
+
/** The active theme mode from the nearest Surface/provider (default dark). */
|
|
2045
|
+
declare function useSurfaceMode(): ThemeMode;
|
|
2046
|
+
/**
|
|
2047
|
+
* Literal-hex on-surface neutral text colours for a theme mode. Uses
|
|
2048
|
+
* `getSemanticColors` (literal hex — the TempoBar pattern), never `resolveColor`
|
|
2049
|
+
* (which returns `var()` under the RNW vitest alias), so values stay real in
|
|
2050
|
+
* tested component code and on raw-RN surfaces alike.
|
|
2051
|
+
*/
|
|
2052
|
+
declare function onSurfaceColors(mode: ThemeMode): Record<OnSurfaceRole, string>;
|
|
2053
|
+
/** Resolve one on-surface text colour for descendants of a Surface. */
|
|
2054
|
+
declare function useOnSurfaceColor(role?: OnSurfaceRole): string;
|
|
2055
|
+
/** The background hex for a surface level under a theme mode (literal hex). */
|
|
2056
|
+
declare function surfaceBackground(level: SurfaceLevel, mode: ThemeMode): string;
|
|
2057
|
+
|
|
2018
2058
|
interface SurfaceProps extends ViewProps {
|
|
2059
|
+
/**
|
|
2060
|
+
* Numeric depth → a computed lighten + shadow (the raised-card model). The
|
|
2061
|
+
* background is derived from the base surface by lightening. Ignored for the
|
|
2062
|
+
* background when `level` is set. Default 0 (flat card).
|
|
2063
|
+
*/
|
|
2019
2064
|
elevation?: ElevationLevel;
|
|
2065
|
+
/**
|
|
2066
|
+
* Named charcoal plane (shell / rail / stage). Sets the background directly
|
|
2067
|
+
* from a semantic surface token — reaching the darker nav/page planes the
|
|
2068
|
+
* lighten model can't — and drops the default rounding + auto shadow so the
|
|
2069
|
+
* plane reads full-bleed. Composable with `elevation`'s glow.
|
|
2070
|
+
*/
|
|
2071
|
+
level?: SurfaceLevel;
|
|
2020
2072
|
glowColor?: string;
|
|
2021
2073
|
glowIntensity?: GlowIntensity;
|
|
2022
|
-
|
|
2074
|
+
/**
|
|
2075
|
+
* Theme mode. Also seeds the on-surface colour CONTEXT so descendant text /
|
|
2076
|
+
* icons resolve their colour from this surface instead of a `text-*` className
|
|
2077
|
+
* that silently fails to black on raw RN. Inherits the nearest Surface /
|
|
2078
|
+
* ThemeProvider when omitted (default dark — the wall).
|
|
2079
|
+
*/
|
|
2080
|
+
theme?: ThemeMode;
|
|
2081
|
+
/** Round the corners. Defaults on for the card model, off for a `level` plane. */
|
|
2082
|
+
rounded?: boolean;
|
|
2023
2083
|
className?: string;
|
|
2024
|
-
children
|
|
2084
|
+
children?: React__default.ReactNode;
|
|
2025
2085
|
}
|
|
2026
|
-
|
|
2086
|
+
/**
|
|
2087
|
+
* A container that OWNS its background and establishes an on-surface colour
|
|
2088
|
+
* context. Two grounded ways to pick the background:
|
|
2089
|
+
* - `elevation` (numeric): the raised-card model — lighten-from-base + shadow.
|
|
2090
|
+
* - `level` (named): a flat charcoal plane straight from a semantic token,
|
|
2091
|
+
* for the shell / rail / stage backgrounds.
|
|
2092
|
+
* Either way, descendants read the surface via {@link useOnSurfaceColor} /
|
|
2093
|
+
* {@link useSurfaceMode} rather than hard-coding `getSemanticColors('dark')`.
|
|
2094
|
+
*/
|
|
2095
|
+
declare function Surface({ elevation, level, glowColor, glowIntensity, theme, rounded, className, style, children, ...props }: SurfaceProps): react_jsx_runtime.JSX.Element;
|
|
2027
2096
|
|
|
2028
2097
|
interface ListItemProps extends PressableProps {
|
|
2029
2098
|
className?: string;
|
|
2030
|
-
children:
|
|
2099
|
+
children: React__default.ReactNode;
|
|
2031
2100
|
}
|
|
2032
2101
|
declare function ListItem({ className, children, onPress, ...props }: ListItemProps): react_jsx_runtime.JSX.Element;
|
|
2033
2102
|
interface ListItemIconProps extends ViewProps {
|
|
2034
|
-
icon:
|
|
2103
|
+
icon: React__default.ComponentType<{
|
|
2035
2104
|
size?: number;
|
|
2036
2105
|
className?: string;
|
|
2037
2106
|
}>;
|
|
@@ -2046,7 +2115,7 @@ interface ListItemContentProps extends ViewProps {
|
|
|
2046
2115
|
declare function ListItemContent({ title, subtitle, className, ...props }: ListItemContentProps): react_jsx_runtime.JSX.Element;
|
|
2047
2116
|
interface ListItemTrailingProps extends ViewProps {
|
|
2048
2117
|
className?: string;
|
|
2049
|
-
children:
|
|
2118
|
+
children: React__default.ReactNode;
|
|
2050
2119
|
}
|
|
2051
2120
|
declare function ListItemTrailing({ className, children, ...props }: ListItemTrailingProps): react_jsx_runtime.JSX.Element;
|
|
2052
2121
|
interface ListItemDividerProps extends ViewProps {
|
|
@@ -2060,7 +2129,7 @@ type PillColor = 'default' | 'primary' | 'secondary' | 'success' | 'error' | 'wa
|
|
|
2060
2129
|
type PillSize = 'xs' | 'sm' | 'md';
|
|
2061
2130
|
interface PillProps extends ViewProps {
|
|
2062
2131
|
/** Pill content */
|
|
2063
|
-
children:
|
|
2132
|
+
children: React__default.ReactNode;
|
|
2064
2133
|
/** Visual variant */
|
|
2065
2134
|
variant?: PillVariant;
|
|
2066
2135
|
/** Color scheme */
|
|
@@ -2070,7 +2139,7 @@ interface PillProps extends ViewProps {
|
|
|
2070
2139
|
/** Fully rounded (default true) or slight radius */
|
|
2071
2140
|
rounded?: boolean;
|
|
2072
2141
|
/** Element before the label (e.g., Indicator dot) */
|
|
2073
|
-
leftElement?:
|
|
2142
|
+
leftElement?: React__default.ReactNode;
|
|
2074
2143
|
/** Press handler (makes pill interactive) */
|
|
2075
2144
|
onPress?: () => void;
|
|
2076
2145
|
/** Additional className */
|
|
@@ -2125,7 +2194,7 @@ interface TypographyProps extends TextProps {
|
|
|
2125
2194
|
maxLines?: number;
|
|
2126
2195
|
/** Additional className */
|
|
2127
2196
|
className?: string;
|
|
2128
|
-
children?:
|
|
2197
|
+
children?: React__default.ReactNode;
|
|
2129
2198
|
}
|
|
2130
2199
|
/**
|
|
2131
2200
|
* Typography component for consistent text styling.
|
|
@@ -2195,7 +2264,7 @@ interface SidebarProps extends ViewProps {
|
|
|
2195
2264
|
collapsedWidth?: number;
|
|
2196
2265
|
/** Additional className */
|
|
2197
2266
|
className?: string;
|
|
2198
|
-
children?:
|
|
2267
|
+
children?: React__default.ReactNode;
|
|
2199
2268
|
}
|
|
2200
2269
|
/**
|
|
2201
2270
|
* Sidebar navigation component.
|
|
@@ -2218,7 +2287,7 @@ interface SidebarProps extends ViewProps {
|
|
|
2218
2287
|
*/
|
|
2219
2288
|
declare function Sidebar({ isCollapsed, activeItem, onItemSelect, width, collapsedWidth, className, children, ...props }: SidebarProps): react_jsx_runtime.JSX.Element;
|
|
2220
2289
|
interface SidebarHeaderProps {
|
|
2221
|
-
children?:
|
|
2290
|
+
children?: React__default.ReactNode;
|
|
2222
2291
|
className?: string;
|
|
2223
2292
|
}
|
|
2224
2293
|
/**
|
|
@@ -2226,7 +2295,7 @@ interface SidebarHeaderProps {
|
|
|
2226
2295
|
*/
|
|
2227
2296
|
declare function SidebarHeader({ children, className }: SidebarHeaderProps): react_jsx_runtime.JSX.Element;
|
|
2228
2297
|
interface SidebarContentProps {
|
|
2229
|
-
children?:
|
|
2298
|
+
children?: React__default.ReactNode;
|
|
2230
2299
|
className?: string;
|
|
2231
2300
|
}
|
|
2232
2301
|
/**
|
|
@@ -2234,7 +2303,7 @@ interface SidebarContentProps {
|
|
|
2234
2303
|
*/
|
|
2235
2304
|
declare function SidebarContent({ children, className }: SidebarContentProps): react_jsx_runtime.JSX.Element;
|
|
2236
2305
|
interface SidebarFooterProps {
|
|
2237
|
-
children?:
|
|
2306
|
+
children?: React__default.ReactNode;
|
|
2238
2307
|
className?: string;
|
|
2239
2308
|
}
|
|
2240
2309
|
/**
|
|
@@ -2244,7 +2313,7 @@ declare function SidebarFooter({ children, className }: SidebarFooterProps): rea
|
|
|
2244
2313
|
interface SidebarSectionProps {
|
|
2245
2314
|
/** Section title */
|
|
2246
2315
|
title?: string;
|
|
2247
|
-
children?:
|
|
2316
|
+
children?: React__default.ReactNode;
|
|
2248
2317
|
className?: string;
|
|
2249
2318
|
}
|
|
2250
2319
|
/**
|
|
@@ -2255,14 +2324,14 @@ interface SidebarItemProps extends Omit<PressableProps, 'children'> {
|
|
|
2255
2324
|
/** Unique identifier for the item */
|
|
2256
2325
|
id: string;
|
|
2257
2326
|
/** Icon component */
|
|
2258
|
-
icon?:
|
|
2327
|
+
icon?: React__default.ComponentType<{
|
|
2259
2328
|
size?: number;
|
|
2260
2329
|
className?: string;
|
|
2261
2330
|
}>;
|
|
2262
2331
|
/** Label text */
|
|
2263
2332
|
label: string;
|
|
2264
2333
|
/** Badge content (e.g., notification count) */
|
|
2265
|
-
badge?:
|
|
2334
|
+
badge?: React__default.ReactNode;
|
|
2266
2335
|
/** Whether this item has nested items */
|
|
2267
2336
|
hasChildren?: boolean;
|
|
2268
2337
|
/** Whether nested items are expanded */
|
|
@@ -2306,7 +2375,7 @@ interface TableProps extends ViewProps {
|
|
|
2306
2375
|
loadingRowCount?: number;
|
|
2307
2376
|
/** Additional className */
|
|
2308
2377
|
className?: string;
|
|
2309
|
-
children?:
|
|
2378
|
+
children?: React__default.ReactNode;
|
|
2310
2379
|
}
|
|
2311
2380
|
/**
|
|
2312
2381
|
* Table component with sorting support.
|
|
@@ -2333,7 +2402,7 @@ interface TableProps extends ViewProps {
|
|
|
2333
2402
|
*/
|
|
2334
2403
|
declare function Table({ sortColumn, sortDirection, onSort, selectedRows, onSelectRow, onSelectAll, selectable, rowIds, isLoading, loadingRowCount, className, children, ...props }: TableProps): react_jsx_runtime.JSX.Element;
|
|
2335
2404
|
interface TableHeaderProps {
|
|
2336
|
-
children?:
|
|
2405
|
+
children?: React__default.ReactNode;
|
|
2337
2406
|
className?: string;
|
|
2338
2407
|
}
|
|
2339
2408
|
/**
|
|
@@ -2341,7 +2410,7 @@ interface TableHeaderProps {
|
|
|
2341
2410
|
*/
|
|
2342
2411
|
declare function TableHeader({ children, className }: TableHeaderProps): react_jsx_runtime.JSX.Element;
|
|
2343
2412
|
interface TableBodyProps {
|
|
2344
|
-
children?:
|
|
2413
|
+
children?: React__default.ReactNode;
|
|
2345
2414
|
className?: string;
|
|
2346
2415
|
}
|
|
2347
2416
|
/**
|
|
@@ -2355,7 +2424,7 @@ interface TableRowProps extends ViewProps {
|
|
|
2355
2424
|
isHoverable?: boolean;
|
|
2356
2425
|
/** Additional className */
|
|
2357
2426
|
className?: string;
|
|
2358
|
-
children?:
|
|
2427
|
+
children?: React__default.ReactNode;
|
|
2359
2428
|
}
|
|
2360
2429
|
/**
|
|
2361
2430
|
* Table row.
|
|
@@ -2370,7 +2439,7 @@ interface TableHeaderCellProps extends Omit<PressableProps, 'children'> {
|
|
|
2370
2439
|
width?: number;
|
|
2371
2440
|
/** Additional className */
|
|
2372
2441
|
className?: string;
|
|
2373
|
-
children?:
|
|
2442
|
+
children?: React__default.ReactNode;
|
|
2374
2443
|
}
|
|
2375
2444
|
/**
|
|
2376
2445
|
* Table header cell with optional sorting.
|
|
@@ -2383,7 +2452,7 @@ interface TableCellProps extends ViewProps {
|
|
|
2383
2452
|
width?: number;
|
|
2384
2453
|
/** Additional className */
|
|
2385
2454
|
className?: string;
|
|
2386
|
-
children?:
|
|
2455
|
+
children?: React__default.ReactNode;
|
|
2387
2456
|
}
|
|
2388
2457
|
/**
|
|
2389
2458
|
* Table data cell.
|
|
@@ -2454,7 +2523,7 @@ declare function useTable<T extends Record<string, any>>({ data, defaultPageSize
|
|
|
2454
2523
|
|
|
2455
2524
|
interface EmptyStateProps extends ViewProps {
|
|
2456
2525
|
/** Icon component to display */
|
|
2457
|
-
icon?:
|
|
2526
|
+
icon?: React__default.ComponentType<{
|
|
2458
2527
|
size?: number;
|
|
2459
2528
|
className?: string;
|
|
2460
2529
|
}>;
|
|
@@ -2463,7 +2532,7 @@ interface EmptyStateProps extends ViewProps {
|
|
|
2463
2532
|
/** Description text */
|
|
2464
2533
|
description?: string;
|
|
2465
2534
|
/** Action element (usually a button) */
|
|
2466
|
-
action?:
|
|
2535
|
+
action?: React__default.ReactNode;
|
|
2467
2536
|
/** Additional className */
|
|
2468
2537
|
className?: string;
|
|
2469
2538
|
}
|
|
@@ -2489,7 +2558,7 @@ interface StepperProps extends ViewProps {
|
|
|
2489
2558
|
orientation?: StepperOrientation;
|
|
2490
2559
|
/** Additional className */
|
|
2491
2560
|
className?: string;
|
|
2492
|
-
children?:
|
|
2561
|
+
children?: React__default.ReactNode;
|
|
2493
2562
|
}
|
|
2494
2563
|
/**
|
|
2495
2564
|
* Stepper component for multi-step flows.
|
|
@@ -2518,7 +2587,7 @@ interface StepProps {
|
|
|
2518
2587
|
status?: StepStatus;
|
|
2519
2588
|
/** Additional className */
|
|
2520
2589
|
className?: string;
|
|
2521
|
-
children?:
|
|
2590
|
+
children?: React__default.ReactNode;
|
|
2522
2591
|
}
|
|
2523
2592
|
/**
|
|
2524
2593
|
* Individual step in the stepper.
|
|
@@ -2530,7 +2599,7 @@ interface StepIndicatorProps {
|
|
|
2530
2599
|
/** Step index (injected by Step) */
|
|
2531
2600
|
index?: number;
|
|
2532
2601
|
/** Custom icon */
|
|
2533
|
-
icon?:
|
|
2602
|
+
icon?: React__default.ReactNode;
|
|
2534
2603
|
/** Additional className */
|
|
2535
2604
|
className?: string;
|
|
2536
2605
|
}
|
|
@@ -2543,7 +2612,7 @@ interface StepLabelProps {
|
|
|
2543
2612
|
status?: StepStatus;
|
|
2544
2613
|
/** Additional className */
|
|
2545
2614
|
className?: string;
|
|
2546
|
-
children?:
|
|
2615
|
+
children?: React__default.ReactNode;
|
|
2547
2616
|
}
|
|
2548
2617
|
/**
|
|
2549
2618
|
* Label for a step.
|
|
@@ -2554,7 +2623,7 @@ interface StepContentProps {
|
|
|
2554
2623
|
status?: StepStatus;
|
|
2555
2624
|
/** Additional className */
|
|
2556
2625
|
className?: string;
|
|
2557
|
-
children?:
|
|
2626
|
+
children?: React__default.ReactNode;
|
|
2558
2627
|
}
|
|
2559
2628
|
/**
|
|
2560
2629
|
* Content area for vertical stepper.
|
|
@@ -2714,7 +2783,7 @@ interface MetricProps extends ViewProps {
|
|
|
2714
2783
|
declare function Metric({ value, label, unit, trend, size, className, ...props }: MetricProps): react_jsx_runtime.JSX.Element;
|
|
2715
2784
|
interface MetricGroupProps extends ViewProps {
|
|
2716
2785
|
className?: string;
|
|
2717
|
-
children:
|
|
2786
|
+
children: React__default.ReactNode;
|
|
2718
2787
|
}
|
|
2719
2788
|
declare function MetricGroup({ className, children, ...props }: MetricGroupProps): react_jsx_runtime.JSX.Element;
|
|
2720
2789
|
|
|
@@ -2939,7 +3008,8 @@ declare function MetricCell({ children, color, fontSize }: MetricCellProps): rea
|
|
|
2939
3008
|
interface SetsRepsLoadProps extends ViewProps {
|
|
2940
3009
|
sets: number;
|
|
2941
3010
|
reps: number | string;
|
|
2942
|
-
load
|
|
3011
|
+
/** Load value; a string (e.g. "—") passes through verbatim for an unset/discovery load. */
|
|
3012
|
+
load: number | string;
|
|
2943
3013
|
/** Displayed load unit label (e.g. "lb", "kg"). */
|
|
2944
3014
|
unit?: string;
|
|
2945
3015
|
/** Cell font size (px). Default 11 — the compact rail/card scale. Raise for a wall read-out. */
|
|
@@ -3117,7 +3187,8 @@ interface ExerciseHeadingProps {
|
|
|
3117
3187
|
/** Prescription line values (sets × reps @ load). */
|
|
3118
3188
|
sets: number;
|
|
3119
3189
|
reps: number | string;
|
|
3120
|
-
load
|
|
3190
|
+
/** Load value; a string (e.g. "—") passes through verbatim for an unset/discovery load. */
|
|
3191
|
+
load: number | string;
|
|
3121
3192
|
unit?: 'lbs' | 'kg';
|
|
3122
3193
|
/** Tempo tuple [eccentric, pauseBottom, concentric, pauseTop]; hidden when absent. */
|
|
3123
3194
|
tempo?: [number, number, number, number];
|
|
@@ -3211,12 +3282,20 @@ interface SessionRailExercise {
|
|
|
3211
3282
|
/** Stable key + press payload. Falls back to list index when absent. */
|
|
3212
3283
|
id?: string;
|
|
3213
3284
|
name: string;
|
|
3285
|
+
/** `weight` accepts a string (e.g. "—") for an unset/discovery load — never a faked 0. */
|
|
3214
3286
|
summary: {
|
|
3215
3287
|
sets: number;
|
|
3216
3288
|
reps: number | string;
|
|
3217
|
-
weight: number;
|
|
3289
|
+
weight: number | string;
|
|
3218
3290
|
unit: 'lbs' | 'kg';
|
|
3219
3291
|
};
|
|
3292
|
+
/**
|
|
3293
|
+
* Prescribed set count for the header total + pace-bar segment width. Distinct from
|
|
3294
|
+
* `summary.sets`, which is the row's live DONE count (0 for the active exercise before
|
|
3295
|
+
* its first set) — using that for the total under-counts by the active exercise's
|
|
3296
|
+
* remaining sets. Falls back to `summary.sets` when absent.
|
|
3297
|
+
*/
|
|
3298
|
+
plannedSets?: number;
|
|
3220
3299
|
tempo?: [number, number, number, number];
|
|
3221
3300
|
indicator?: ExerciseIndicatorKind;
|
|
3222
3301
|
/** Per-set performance data driving the heading strip. */
|
|
@@ -3258,7 +3337,7 @@ declare function SessionRail({ title, exercises, setsDone, elapsedMs, budgetMs,
|
|
|
3258
3337
|
interface SupersetWrapperProps {
|
|
3259
3338
|
label?: string;
|
|
3260
3339
|
color?: string;
|
|
3261
|
-
children:
|
|
3340
|
+
children: React__default.ReactNode;
|
|
3262
3341
|
}
|
|
3263
3342
|
declare function SupersetWrapper({ label, color, children, }: SupersetWrapperProps): react_jsx_runtime.JSX.Element;
|
|
3264
3343
|
|
|
@@ -4087,4 +4166,4 @@ interface PrescriptionInput {
|
|
|
4087
4166
|
*/
|
|
4088
4167
|
declare function formatPrescription(p: PrescriptionInput | null | undefined): string | null;
|
|
4089
4168
|
|
|
4090
|
-
export { Accordion, AccordionButton, type AccordionButtonProps, AccordionItem, type AccordionItemProps, AccordionPanel, type AccordionPanelProps, type AccordionProps, ActivityIcon, Alert, AlertDescription, type AlertDescriptionProps, type AlertProps, type AlertStatus, AlertTitle, type AlertTitleProps, AlertTriangleIcon, type AlertVariant, Autocomplete, type AutocompleteOption, type AutocompleteProps, Avatar, AvatarBadge, type AvatarBadgeProps, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, AwardIcon, 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, CircleSlashIcon, CircularProgress, type CircularProgressProps, CircularTimer, type CircularTimerProps, Collapse, CollapseButton, type CollapseButtonProps, CollapseContent, type CollapseContentProps, type CollapseProps, DashboardShell, type DashboardShellProps, 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, ExerciseCardHeading, type ExerciseCardHeadingProps, ExerciseHeading, type ExerciseHeadingProps, ExerciseIndicatorKind, FatigueMeter, type FatigueMeterProps, 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, HistoryIcon, IconBox, type IconBoxProps, type IconProps, Indicator, type IndicatorColor, type IndicatorProps, type IndicatorPulse, type IndicatorSize, InfoIcon, Input, InputBar, type InputBarProps, InputGroup, type InputGroupProps, type InputProps, type InputSize, type InputVariant, IntensityBar, type IntensityBarProps, Label, type LabelProps, LabelWithHelp, type LabelWithHelpProps, LayersIcon, Link, type LinkColor, type LinkProps, type LinkUnderline, ListItem, ListItemContent, type ListItemContentProps, ListItemDivider, type ListItemDividerProps, ListItemIcon, type ListItemIconProps, type ListItemProps, ListItemTrailing, type ListItemTrailingProps, type LiveAuraCategory, LiveAuraFrame, type LiveAuraFrameProps, METRIC_FONT, Menu, MenuDivider, type MenuDividerProps, MenuGroup, type MenuGroupProps, MenuItem, type MenuItemProps, MenuList, type MenuListProps, type MenuProps, MenuTrigger, type MenuTriggerProps, Metric, MetricCell, type MetricCellProps, MetricGroup, type MetricGroupProps, type MetricProps, type MetricTileData, MetricTiles, type MetricTilesProps, 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, NavItem, type NavItemProps, Overline, type OverlineProps, type PRType, type PaceTone, Paragraph, type ParagraphProps, PasswordInput, type PasswordInputProps, PersonStandingIcon, 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, PrBadge, type PrBadgeProps, 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, ScaleIcon, Scatter, type ScatterAxis, type ScatterDatum, type ScatterProps, ScheduleTiles, type ScheduleTilesProps, Section, SectionContent, type SectionContentProps, SectionHeader, type SectionHeaderProps, type SectionProps, SegmentedBar, type SegmentedBarProps, type SegmentedBarSegment, SegmentedProgressBar, type SegmentedProgressBarProps, type SegmentedProgressBarSegment, Select, type SelectOption, type SelectProps, SessionHeader, type SessionHeaderPlanEntry, type SessionHeaderProps, SessionRail, type SessionRailExercise, type SessionRailProps, type SessionState, SessionStatePill, type SessionStatePillProps, SetStrip, type SetStripProps, SetStripSet, SetTableHeader, type SetTableHeaderProps, SetsRepsLoad, type SetsRepsLoadProps, SideNav, type SideNavItem, type SideNavProps, 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, StatusPill, type StatusPillProps, type StatusPillStatus, 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, 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, type TempoLivePhase, type TempoLiveReadout, type TempoLiveState, Tile, type TileProps, type TimerMode, TimerReadout, type TimerReadoutProps, type TimerState, 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, TrendingDownIcon, Typography, type TypographyAlign, type TypographyColor, type TypographyProps, type TypographyVariant, type UseTableOptions, type UseTableReturn, type UseTimerOptions, VStack, VoltrasMark, VolumeLandmarkBar, type VolumeLandmarkBarProps, VolumeLandmarks, type VolumeStatus, type VolumeZone, type WarmUpStatus, type WarmUpValidation, WeightBadge, type WeightBadgeProps, type WeightBadgeSize, ZoneTrack, type ZoneTrackBand, type ZoneTrackMarker, type ZoneTrackProps, type ZoneTrackTick, type ZoneTrackZone, alpha, cn, composeValidators, createFieldId, defaultNavItems, formatDateTime, formatDuration, formatPrescription, formatSignedPct, formatVelocity, getContrastText, getFieldAriaProps, getFieldValidationProps, getLuminance, getResultColor, getStatusColor, hasMaxLength, hasMinLength, isEmpty, isValidEmail, liveAuraColor, paceTone, paceToneColor, roundRpe, roundTempo, roundWeight, rpeColor, statusPillColor, useTable, useTimer, useToast, useToolbarButton, validationRules };
|
|
4169
|
+
export { Accordion, AccordionButton, type AccordionButtonProps, AccordionItem, type AccordionItemProps, AccordionPanel, type AccordionPanelProps, type AccordionProps, ActivityIcon, Alert, AlertDescription, type AlertDescriptionProps, type AlertProps, type AlertStatus, AlertTitle, type AlertTitleProps, AlertTriangleIcon, type AlertVariant, Autocomplete, type AutocompleteOption, type AutocompleteProps, Avatar, AvatarBadge, type AvatarBadgeProps, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, AwardIcon, 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, CircleSlashIcon, CircularProgress, type CircularProgressProps, CircularTimer, type CircularTimerProps, Collapse, CollapseButton, type CollapseButtonProps, CollapseContent, type CollapseContentProps, type CollapseProps, DashboardShell, type DashboardShellProps, 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, ExerciseCardHeading, type ExerciseCardHeadingProps, ExerciseHeading, type ExerciseHeadingProps, ExerciseIndicatorKind, FatigueMeter, type FatigueMeterProps, 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, HistoryIcon, IconBox, type IconBoxProps, type IconProps, Indicator, type IndicatorColor, type IndicatorProps, type IndicatorPulse, type IndicatorSize, InfoIcon, Input, InputBar, type InputBarProps, InputGroup, type InputGroupProps, type InputProps, type InputSize, type InputVariant, IntensityBar, type IntensityBarProps, Label, type LabelProps, LabelWithHelp, type LabelWithHelpProps, LayersIcon, Link, type LinkColor, type LinkProps, type LinkUnderline, ListItem, ListItemContent, type ListItemContentProps, ListItemDivider, type ListItemDividerProps, ListItemIcon, type ListItemIconProps, type ListItemProps, ListItemTrailing, type ListItemTrailingProps, type LiveAuraCategory, LiveAuraFrame, type LiveAuraFrameProps, METRIC_FONT, Menu, MenuDivider, type MenuDividerProps, MenuGroup, type MenuGroupProps, MenuItem, type MenuItemProps, MenuList, type MenuListProps, type MenuProps, MenuTrigger, type MenuTriggerProps, Metric, MetricCell, type MetricCellProps, MetricGroup, type MetricGroupProps, type MetricProps, type MetricTileData, MetricTiles, type MetricTilesProps, 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, NavItem, type NavItemProps, type OnSurfaceRole, Overline, type OverlineProps, type PRType, type PaceTone, Paragraph, type ParagraphProps, PasswordInput, type PasswordInputProps, PersonStandingIcon, 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, PrBadge, type PrBadgeProps, 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, SURFACE_LEVEL_TOKEN, ScaleIcon, Scatter, type ScatterAxis, type ScatterDatum, type ScatterProps, ScheduleTiles, type ScheduleTilesProps, Section, SectionContent, type SectionContentProps, SectionHeader, type SectionHeaderProps, type SectionProps, SegmentedBar, type SegmentedBarProps, type SegmentedBarSegment, SegmentedProgressBar, type SegmentedProgressBarProps, type SegmentedProgressBarSegment, Select, type SelectOption, type SelectProps, SessionHeader, type SessionHeaderPlanEntry, type SessionHeaderProps, SessionRail, type SessionRailExercise, type SessionRailProps, type SessionState, SessionStatePill, type SessionStatePillProps, SetStrip, type SetStripProps, SetStripSet, SetTableHeader, type SetTableHeaderProps, SetsRepsLoad, type SetsRepsLoadProps, SideNav, type SideNavItem, type SideNavProps, 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, StatusPill, type StatusPillProps, type StatusPillStatus, 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, SurfaceContext, type SurfaceContextValue, type SurfaceLevel, type SurfaceProps, SvgIcon, type SvgIconProps, 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, type TempoLivePhase, type TempoLiveReadout, type TempoLiveState, ThemeMode, Tile, type TileProps, type TimerMode, TimerReadout, type TimerReadoutProps, type TimerState, 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, TrendingDownIcon, Typography, type TypographyAlign, type TypographyColor, type TypographyProps, type TypographyVariant, type UseTableOptions, type UseTableReturn, type UseTimerOptions, VStack, VoltrasMark, VolumeLandmarkBar, type VolumeLandmarkBarProps, VolumeLandmarks, type VolumeStatus, type VolumeZone, type WarmUpStatus, type WarmUpValidation, WeightBadge, type WeightBadgeProps, type WeightBadgeSize, ZoneTrack, type ZoneTrackBand, type ZoneTrackMarker, type ZoneTrackProps, type ZoneTrackTick, type ZoneTrackZone, alpha, cn, composeValidators, createFieldId, defaultNavItems, formatDateTime, formatDuration, formatPrescription, formatSignedPct, formatVelocity, getContrastText, getFieldAriaProps, getFieldValidationProps, getLuminance, getResultColor, getStatusColor, hasMaxLength, hasMinLength, isEmpty, isValidEmail, liveAuraColor, onSurfaceColors, paceTone, paceToneColor, roundRpe, roundTempo, roundWeight, rpeColor, statusPillColor, surfaceBackground, useOnSurfaceColor, useSurface, useSurfaceMode, useTable, useTimer, useToast, useToolbarButton, validationRules };
|