@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
46 lines • 1.64 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getInputPasswordStyles = void 0;
const inputTheme_1 = require("../../../../../components/input/types/inputTheme");
const variants_1 = require("./variants");
const defaultCommonProps = {
inputVariant: variants_1.InputPasswordVariant.DEFAULT,
};
const getInputPasswordStyles = (COLORS) => {
return {
[variants_1.InputPasswordVariant.DEFAULT]: {
[inputTheme_1.InputState.EMPTY]: {
...defaultCommonProps,
},
[inputTheme_1.InputState.FILLED]: {
...defaultCommonProps,
},
[inputTheme_1.InputState.ACTIVE]: {
...defaultCommonProps,
},
[inputTheme_1.InputState.DISABLED_EMPTY]: {
...defaultCommonProps,
},
[inputTheme_1.InputState.DISABLED_FILLED]: {
...defaultCommonProps,
},
[inputTheme_1.InputState.DISABLED_FILLED_WITH_INFO]: {
...defaultCommonProps,
},
[inputTheme_1.InputState.ERROR_EMPTY]: {
...defaultCommonProps,
},
[inputTheme_1.InputState.ERROR_FILLED]: {
...defaultCommonProps,
},
[inputTheme_1.InputState.ERROR_ACTIVE]: {
...defaultCommonProps,
},
[inputTheme_1.InputState.ERROR_FILLED_WITH_INFO]: {
...defaultCommonProps,
},
},
};
};
exports.getInputPasswordStyles = getInputPasswordStyles;
//# sourceMappingURL=styles.js.map