UNPKG

@hhgtech/hhg-components

Version:
58 lines (57 loc) 1.63 kB
import { LOCALE } from "../../../interfaces/types"; export declare const GlobalInputStyle: (locale: LOCALE) => { InputWrapper: { styles: { label: { display: string; gap: number; marginBottom: string; fontWeight: number; fontSize: string; lineHeight: string; color: string; }; description: { fontWeight: number; fontSize: string; lineHeight: string; color: string; marginBottom: string; }; error: { marginTop: string; }; }; }; NumberInput: { defaultProps: { decimalSeparator: "," | "."; }; }; Input: { styles: (_theme: any, _: any, { size }: { size: any; }) => { input: { border: string; transition: string; "&:not(.mantine-Textarea-input)": { height: number; fontSize: number; minHeight: string; lineHeight: string; }; '&:hover': { border: string; }; '&:focus': { boxShadow: string; }; }; '&[data-invalid="true"]': { border: string; color: string; }; }; }; };