UNPKG

@kubit-ui-web/react-components

Version:

Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience

42 lines 1.33 kB
import { InputState } from '../../../../../components/input/types/inputTheme'; import { InputPasswordVariant } from './variants'; const defaultCommonProps = { inputVariant: InputPasswordVariant.DEFAULT, }; export const getInputPasswordStyles = (COLORS) => { return { [InputPasswordVariant.DEFAULT]: { [InputState.EMPTY]: { ...defaultCommonProps, }, [InputState.FILLED]: { ...defaultCommonProps, }, [InputState.ACTIVE]: { ...defaultCommonProps, }, [InputState.DISABLED_EMPTY]: { ...defaultCommonProps, }, [InputState.DISABLED_FILLED]: { ...defaultCommonProps, }, [InputState.DISABLED_FILLED_WITH_INFO]: { ...defaultCommonProps, }, [InputState.ERROR_EMPTY]: { ...defaultCommonProps, }, [InputState.ERROR_FILLED]: { ...defaultCommonProps, }, [InputState.ERROR_ACTIVE]: { ...defaultCommonProps, }, [InputState.ERROR_FILLED_WITH_INFO]: { ...defaultCommonProps, }, }, }; }; //# sourceMappingURL=styles.js.map