///
import React$1 from 'react';
import { enUS } from 'date-fns/locale';
type ValueFormatter = {
(value: number): string;
};
declare const iconVariantValues: readonly ["simple", "light", "shadow", "solid", "outlined"];
type IconVariant = (typeof iconVariantValues)[number];
type HorizontalPosition = "left" | "right";
type VerticalPosition = "top" | "bottom";
type ButtonVariant = "primary" | "secondary" | "light";
declare const deltaTypeValues: readonly ["increase", "moderateIncrease", "decrease", "moderateDecrease", "unchanged"];
type DeltaType = (typeof deltaTypeValues)[number];
declare const sizeValues: readonly ["xs", "sm", "md", "lg", "xl"];
type Size = (typeof sizeValues)[number];
declare const colorValues: readonly ["slate", "gray", "zinc", "neutral", "stone", "red", "orange", "amber", "yellow", "lime", "green", "emerald", "teal", "cyan", "sky", "blue", "indigo", "violet", "purple", "fuchsia", "pink", "rose"];
type Color = (typeof colorValues)[number];
declare const justifyContentValues: readonly ["start", "end", "center", "between", "around", "evenly"];
type JustifyContent = (typeof justifyContentValues)[number];
declare const alignItemsValues: readonly ["start", "end", "center", "baseline", "stretch"];
type AlignItems = (typeof alignItemsValues)[number];
type FlexDirection = "row" | "col" | "row-reverse" | "col-reverse";
interface BaseChartProps extends React.HTMLAttributes {
data: any[];
categories: string[];
index: string;
colors?: Color[];
valueFormatter?: ValueFormatter;
startEndOnly?: boolean;
showXAxis?: boolean;
showYAxis?: boolean;
yAxisWidth?: number;
showAnimation?: boolean;
showTooltip?: boolean;
showGradient?: boolean;
showLegend?: boolean;
showGridLines?: boolean;
autoMinValue?: boolean;
minValue?: number;
maxValue?: number;
}
interface AreaChartProps extends BaseChartProps {
stack?: boolean;
}
declare const AreaChart: React$1.ForwardRefExoticComponent>;
interface BarChartProps extends BaseChartProps {
layout?: "vertical" | "horizontal";
stack?: boolean;
relative?: boolean;
}
declare const BarChart: React$1.ForwardRefExoticComponent>;
declare const LineChart: React$1.ForwardRefExoticComponent>;
type DonutChartVariant = "donut" | "pie";
interface DonutChartProps extends React$1.HTMLAttributes {
data: any[];
category?: string;
index?: string;
colors?: Color[];
variant?: DonutChartVariant;
valueFormatter?: ValueFormatter;
label?: string;
showLabel?: boolean;
showAnimation?: boolean;
showTooltip?: boolean;
}
declare const DonutChart: React$1.ForwardRefExoticComponent>;
interface BadgeProps extends React$1.HTMLAttributes {
color?: Color;
size?: Size;
icon?: React$1.ElementType;
tooltip?: string;
}
declare const Badge: React$1.ForwardRefExoticComponent>;
interface BadgeDeltaProps extends React$1.HTMLAttributes {
deltaType?: DeltaType;
isIncreasePositive?: boolean;
size?: Size;
}
declare const BadgeDelta: React$1.ForwardRefExoticComponent>;
interface IconProps extends React$1.HTMLAttributes {
icon: React$1.ElementType;
variant?: IconVariant;
tooltip?: string;
size?: Size;
color?: Color;
}
declare const Icon: React$1.ForwardRefExoticComponent>;
interface AccordionProps extends React$1.HTMLAttributes {
expanded?: boolean;
children: React$1.ReactElement[] | React$1.ReactElement;
}
declare const Accordion: React$1.ForwardRefExoticComponent>;
interface AccordionBodyProps extends React$1.HTMLAttributes {
children: React$1.ReactNode;
}
declare const AccordionBody: React$1.ForwardRefExoticComponent>;
interface AccordionHeaderProps extends React$1.ButtonHTMLAttributes {
children: React$1.ReactNode;
}
declare const AccordionHeader: React$1.ForwardRefExoticComponent>;
interface AccordionListProps extends React$1.HTMLAttributes {
children: React$1.ReactElement[] | React$1.ReactElement;
}
declare const AccordionList: React$1.ForwardRefExoticComponent>;
interface ColProps extends React$1.HTMLAttributes {
numColSpan?: number;
numColSpanSm?: number;
numColSpanMd?: number;
numColSpanLg?: number;
}
declare const Col: React$1.ForwardRefExoticComponent>;
interface GridProps extends React$1.HTMLAttributes {
numCols?: number;
numColsSm?: number;
numColsMd?: number;
numColsLg?: number;
children: React$1.ReactNode;
}
declare const Grid: React$1.ForwardRefExoticComponent>;
interface CardProps extends React$1.HTMLAttributes {
decoration?: HorizontalPosition | VerticalPosition | "";
decorationColor?: Color;
}
declare const Card: React$1.ForwardRefExoticComponent>;
declare const Divider: React$1.ForwardRefExoticComponent & React$1.RefAttributes>;
interface FlexProps extends React$1.HTMLAttributes {
flexDirection?: FlexDirection;
justifyContent?: JustifyContent;
alignItems?: AlignItems;
children: React$1.ReactNode;
}
declare const Flex: React$1.ForwardRefExoticComponent>;
declare const List: React$1.ForwardRefExoticComponent & React$1.RefAttributes>;
declare const ListItem: React$1.ForwardRefExoticComponent & React$1.RefAttributes>;
declare const Table: React$1.ForwardRefExoticComponent & React$1.RefAttributes>;
declare const TableBody: React$1.ForwardRefExoticComponent & React$1.RefAttributes>;
declare const TableCell: React$1.ForwardRefExoticComponent & React$1.RefAttributes>;
declare const TableHead: React$1.ForwardRefExoticComponent & React$1.RefAttributes>;
declare const TableHeaderCell: React$1.ForwardRefExoticComponent & React$1.RefAttributes>;
declare const TableRow: React$1.ForwardRefExoticComponent & React$1.RefAttributes>;
interface DropdownProps extends React$1.HTMLAttributes {
value?: string;
defaultValue?: string;
onValueChange?: (value: string) => void;
placeholder?: string;
icon?: React$1.JSXElementConstructor;
children: React$1.ReactElement[] | React$1.ReactElement;
}
declare const Dropdown: React$1.ForwardRefExoticComponent>;
interface DropdownItemProps extends React$1.ButtonHTMLAttributes {
value: string;
text?: string;
icon?: React$1.ElementType;
}
declare const DropdownItem: React$1.ForwardRefExoticComponent>;
interface MultiSelectBoxProps extends React$1.HTMLAttributes {
defaultValue?: string[];
value?: string[];
onValueChange?: (value: string[]) => void;
placeholder?: string;
icon?: React$1.ElementType | React$1.JSXElementConstructor;
children: React$1.ReactElement[] | React$1.ReactElement;
}
declare const MultiSelectBox: React$1.ForwardRefExoticComponent>;
interface MultiSelectBoxItemProps extends React$1.ButtonHTMLAttributes {
value: string;
text?: string;
}
declare const MultiSelectBoxItem: React$1.ForwardRefExoticComponent>;
interface SelectBoxProps extends React$1.HTMLAttributes {
defaultValue?: string;
value?: string;
onValueChange?: (value: string) => void;
placeholder?: string;
icon?: React$1.ElementType | React$1.JSXElementConstructor;
children: React$1.ReactElement[] | React$1.ReactElement;
}
declare const SelectBox: React$1.ForwardRefExoticComponent>;
interface SelectBoxItemProps extends React$1.ButtonHTMLAttributes {
value: string;
text?: string;
icon?: React$1.ElementType;
}
declare const SelectBoxItem: React$1.ForwardRefExoticComponent>;
interface TabProps extends React$1.ButtonHTMLAttributes {
value: string;
text: string;
icon?: React$1.ElementType;
}
declare const Tab: React$1.ForwardRefExoticComponent>;
interface TabListProps extends React$1.HTMLAttributes {
defaultValue?: string;
value?: string;
onValueChange?: (value: string) => void;
color?: Color;
children: React$1.ReactElement[] | React$1.ReactElement;
}
declare const TabList: React$1.ForwardRefExoticComponent>;
interface ToggleProps extends React$1.HTMLAttributes {
defaultValue?: string;
value?: string;
onValueChange?: (value: string) => void;
color?: Color;
children: React$1.ReactElement[] | React$1.ReactElement;
}
declare const Toggle: React$1.ForwardRefExoticComponent>;
interface ToggleItemProps extends React$1.ButtonHTMLAttributes {
value: string;
text?: string;
icon?: React$1.ElementType;
}
declare const ToggleItem: React$1.ForwardRefExoticComponent>;
interface ButtonProps extends React$1.ButtonHTMLAttributes {
icon?: React$1.ElementType;
iconPosition?: HorizontalPosition;
size?: Size;
color?: Color;
variant?: ButtonVariant;
disabled?: boolean;
loading?: boolean;
loadingText?: string;
}
declare const Button: React$1.ForwardRefExoticComponent>;
type Locale = typeof enUS;
type DateRangePickerValue = [(Date | null)?, (Date | null)?, (string | null)?];
type DateRangePickerOption = {
value: string;
text: string;
startDate: Date;
endDate?: Date;
};
interface DateRangePickerProps extends Omit, "value" | "defaultValue"> {
value?: DateRangePickerValue;
defaultValue?: DateRangePickerValue;
onValueChange?: (value: DateRangePickerValue) => void;
enableDropdown?: boolean;
options?: DateRangePickerOption[];
minDate?: Date | null;
maxDate?: Date | null;
placeholder?: string;
dropdownPlaceholder?: string;
enableYearPagination?: boolean;
color?: Color;
locale?: Locale;
}
declare const DateRangePicker: React$1.ForwardRefExoticComponent>;
interface TextInputProps extends Omit, "type"> {
defaultValue?: string;
value?: string;
icon?: React$1.ElementType | React$1.JSXElementConstructor;
error?: boolean;
errorMessage?: string;
disabled?: boolean;
}
declare const TextInput: React$1.ForwardRefExoticComponent>;
declare const Bold: React$1.ForwardRefExoticComponent & React$1.RefAttributes>;
declare const Italic: React$1.ForwardRefExoticComponent & React$1.RefAttributes>;
interface MetricProps extends React$1.HTMLAttributes {
color?: Color;
}
declare const Metric: React$1.ForwardRefExoticComponent>;
interface SubtitleProps extends React$1.HTMLAttributes {
color?: Color;
}
declare const Subtitle: React$1.ForwardRefExoticComponent>;
interface TextProps extends React$1.HTMLAttributes {
color?: Color;
}
declare const Text: React$1.ForwardRefExoticComponent>;
interface TitleProps extends React$1.HTMLAttributes {
color?: Color;
}
declare const Title: React$1.ForwardRefExoticComponent>;
interface CalloutProps extends React$1.HTMLAttributes {
title: string;
icon?: React$1.ElementType;
color?: Color;
}
declare const Callout: React$1.ForwardRefExoticComponent>;
interface LegendProps extends React$1.OlHTMLAttributes {
categories: string[];
colors?: Color[];
}
declare const Legend: React$1.ForwardRefExoticComponent>;
interface CategoryBarProps extends React$1.HTMLAttributes {
categoryPercentageValues: number[];
colors?: Color[];
percentageValue?: number;
showLabels?: boolean;
tooltip?: string;
showAnimation?: boolean;
}
declare const CategoryBar: React$1.ForwardRefExoticComponent>;
interface DeltaBarProps extends React$1.HTMLAttributes {
percentageValue: number;
isIncreasePositive?: boolean;
tooltip?: string;
showAnimation?: boolean;
}
declare const DeltaBar: React$1.ForwardRefExoticComponent>;
interface MarkerBarProps extends React$1.HTMLAttributes {
percentageValue: number;
color?: Color;
tooltip?: string;
showAnimation?: boolean;
}
declare const MarkerBar: React$1.ForwardRefExoticComponent>;
interface ProgressBarProps extends React$1.HTMLAttributes {
percentageValue: number;
label?: string;
tooltip?: string;
showAnimation?: boolean;
color?: Color;
}
declare const ProgressBar: React$1.ForwardRefExoticComponent>;
interface RangeBarProps extends React$1.HTMLAttributes {
percentageValue: number;
minPercentageValue: number;
maxPercentageValue: number;
markerTooltip?: string;
rangeTooltip?: string;
showAnimation?: boolean;
color?: Color;
}
declare const RangeBar: React$1.ForwardRefExoticComponent>;
type BarListData = {
key?: string;
value: number;
name: string;
icon?: React$1.ElementType;
href?: string;
};
interface BarListProps extends React$1.HTMLAttributes {
data: BarListData[];
valueFormatter?: ValueFormatter;
color?: Color;
showAnimation?: boolean;
}
declare const BarList: React$1.ForwardRefExoticComponent>;
interface TrackingBlockProps$1 {
key?: string;
color?: Color;
tooltip?: string;
}
interface TrackingProps extends React$1.HTMLAttributes {
data: TrackingBlockProps$1[];
}
declare const Tracking: React$1.ForwardRefExoticComponent>;
interface TrackingBlockProps extends React$1.HTMLAttributes {
color: Color;
tooltip?: string;
}
declare const TrackingBlock: React$1.ForwardRefExoticComponent>;
export { Accordion, AccordionBody, AccordionHeader, AccordionList, AlignItems, AreaChart, Badge, BadgeDelta, BarChart, BarList, Bold, Button, ButtonVariant, Callout, Card, CategoryBar, Col, Color, DateRangePicker, DateRangePickerValue, DeltaBar, DeltaType, Divider, DonutChart, Dropdown, DropdownItem, Flex, FlexDirection, Grid, HorizontalPosition, Icon, IconVariant, Italic, JustifyContent, Legend, LineChart, List, ListItem, MarkerBar, Metric, MultiSelectBox, MultiSelectBoxItem, ProgressBar, RangeBar, SelectBox, SelectBoxItem, Size, Subtitle, Tab, TabList, Table, TableBody, TableCell, TableHead, TableHeaderCell, TableRow, Text, TextInput, Title, Toggle, ToggleItem, Tracking, TrackingBlock, ValueFormatter, VerticalPosition };