UNPKG

@kopexa/sight

Version:

Kopexa Sight Design System — React component library for GRC applications

37 lines (34 loc) 2.25 kB
import * as react_jsx_runtime from 'react/jsx-runtime'; import { StatVariantProps } from '@kopexa/theme'; import { ComponentProps, ReactNode } from 'react'; type StatRootProps = ComponentProps<"dl"> & StatVariantProps; declare function StatRoot({ className, size, trend, children, ...props }: StatRootProps): react_jsx_runtime.JSX.Element; type StatLabelProps = ComponentProps<"dt">; declare function StatLabel({ className, children, ...props }: StatLabelProps): react_jsx_runtime.JSX.Element; type StatValueTextProps = ComponentProps<"dd"> & Pick<StatVariantProps, "size">; declare function StatValueText({ className, size, children, ...props }: StatValueTextProps): react_jsx_runtime.JSX.Element; type StatValueUnitProps = ComponentProps<"span">; declare function StatValueUnit({ className, children, ...props }: StatValueUnitProps): react_jsx_runtime.JSX.Element; type StatHelpTextProps = ComponentProps<"span">; declare function StatHelpText({ className, children, ...props }: StatHelpTextProps): react_jsx_runtime.JSX.Element; type StatUpIndicatorProps = ComponentProps<"span"> & { icon?: ReactNode; }; declare function StatUpIndicator({ className, icon, children, ...props }: StatUpIndicatorProps): react_jsx_runtime.JSX.Element; type StatDownIndicatorProps = ComponentProps<"span"> & { icon?: ReactNode; }; declare function StatDownIndicator({ className, icon, children, ...props }: StatDownIndicatorProps): react_jsx_runtime.JSX.Element; type StatGroupProps = ComponentProps<"div">; declare function StatGroup({ className, children, ...props }: StatGroupProps): react_jsx_runtime.JSX.Element; declare const Stat: typeof StatRoot & { Root: typeof StatRoot; Label: typeof StatLabel; ValueText: typeof StatValueText; ValueUnit: typeof StatValueUnit; HelpText: typeof StatHelpText; UpIndicator: typeof StatUpIndicator; DownIndicator: typeof StatDownIndicator; Group: typeof StatGroup; }; export { Stat, StatDownIndicator, type StatDownIndicatorProps, StatGroup, type StatGroupProps, StatHelpText, type StatHelpTextProps, StatLabel, type StatLabelProps, StatRoot, type StatRootProps, StatUpIndicator, type StatUpIndicatorProps, StatValueText, type StatValueTextProps, StatValueUnit, type StatValueUnitProps };