"src/components/Knob/Knob.stories.ts" did not exist on "7e6482055b1a44fb9c4d790faba3fd991a2c5c5d"
Newer
Older
import type { TDarkness, TIcon, TPosition, TTextStyle, TThemeColor } from '@interfaces/common';
Дмитрий Малюгин
committed
export interface ITableColumn {
name: string;
type?: TTableColumnType;
editable?: boolean;
filterable?: boolean;
sortable?: boolean;
initSort?: 'up' | 'down' | 'none';
Дмитрий Малюгин
committed
}
export interface ITableItem {
value: string;
editable?: boolean;
}
export type TTableColumnType =
| 'checkbox'
Дмитрий Малюгин
committed
| 'text'
| 'date'
| 'select'
| 'rating'
| 'progressBar'
| 'knob'
| 'avatar'
| 'image';
export interface ITreeItem {
label: string;
link?: string;
linkBlank?: boolean;
color?: TThemeColor;
textStyle?: TTextStyle;
isTriangleToColor?: boolean;
iconColor?: TThemeColor;
children?: ITreeItem[];
darknessColor?: TDarkness;
darknessIconColor?: TDarkness;
export interface IMDItemProps {
label: string;
theme?: TThemeColor;
Дмитрий Малюгин
committed
color?: TThemeColor;
darknessTheme?: TDarkness;
Дмитрий Малюгин
committed
darknessColor?: TDarkness;
textStyle?: TTextStyle;
link?: string;
linkBlank?: boolean;
onClick?: () => void;
}
start: number;
end: number;
color: TThemeColor;
darknessColor?: TDarkness;
}
Дмитрий Малюгин
committed
export interface ISelectOption {
value: string;
label?: string;
group?: string;
iconLeftColor?: TThemeColor;
iconRightColor?: TThemeColor;
Дмитрий Малюгин
committed
color?: TThemeColor;
darknessColor?: TDarkness;
background?: TThemeColor;
darknessBackground?: TDarkness;
}
export interface ISelectGroup {
name: string;
nameColor?: TThemeColor;
background?: TThemeColor;
items?: ISelectOption[];
iconLeftColor?: TThemeColor;
iconRightColor?: TThemeColor;
Дмитрий Малюгин
committed
}
export interface ISBOption {
label: string;
value?: never;
color?: TThemeColor;
activeColor?: TThemeColor;
backgroundColor?: TThemeColor;
darknessColor?: TDarkness;
darknessActiveColor?: TDarkness;
darknessBackgroundColor?: TDarkness;
isLabelHidden?: boolean;
iconPosition?: TPosition;
textStyle?: TTextStyle;
}
export interface ISliderOptions {
label: string | number | boolean;
color?: TThemeColor;
darknessColor?: TDarkness;