@wulperstudio/cms
Version:
Wulper Studio Library Components CMS
26 lines (25 loc) • 1.02 kB
TypeScript
import { BaseInputVariantProps } from '../base/input';
export type InputVariantType = 'float' | 'pipe' | 'outlined' | 'divider' | 'labelOut' | 'filled' | 'unfilled' | 'ghost' | 'floatBox';
export type InputSizeType = 'small' | 'medium' | 'large' | 'auto';
export interface InputErrorProps {
errorVariant?: 'filled' | 'text';
error?: boolean;
errorMessage?: string;
}
export type InputRmVariant = Omit<BaseInputVariantProps, 'variant' | 'helperText' | 'size' | 'color' | 'margin' | 'hiddenLabel' | 'focused' | 'InputLabelProps'>;
export type ModifierInputVariantModel = {
[key in InputVariantType]: {
showDivider?: boolean;
showBorder?: boolean;
showBoxShadow?: boolean;
borderColor?: string;
disablePadding?: boolean;
};
};
export type ModifierInputSizeModel = {
[key in InputSizeType]: {
height?: number | string;
};
};
export declare const InputsSizes: ModifierInputSizeModel;
export declare const InputsVariants: ModifierInputVariantModel;