@os-design/core
Advanced tools
Comparing version 0.0.53 to 0.0.54
@@ -12,7 +12,5 @@ import React from 'react'; | ||
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void; | ||
autoFocus?: boolean; | ||
onSubmit?: () => void; | ||
} | ||
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>; | ||
declare const Input: React.FC<InputProps>; | ||
export default Input; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -11,3 +11,3 @@ "use strict"; | ||
const InputField_1 = __importDefault(require("./InputField")); | ||
const Input = react_1.default.forwardRef((props, ref) => { | ||
const Input = props => { | ||
const addons = { | ||
@@ -20,6 +20,6 @@ left: props.left, | ||
renderInputAddon('left'), | ||
react_1.default.createElement(InputField_1.default, { darkMode: props.darkMode, placeholder: props.placeholder, type: props.type, value: props.value, onChange: props.onChange, left: props.left, right: props.right, "aria-label": props.placeholder, className: props.className, autoFocus: props.autoFocus, onSubmit: props.onSubmit, ref: ref }), | ||
react_1.default.createElement(InputField_1.default, { darkMode: props.darkMode, placeholder: props.placeholder, type: props.type, value: props.value, onChange: props.onChange, left: props.left, right: props.right, "aria-label": props.placeholder, className: props.className }), | ||
renderInputAddon('right'))); | ||
}); | ||
}; | ||
exports.default = Input; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@os-design/core", | ||
"version": "0.0.53", | ||
"version": "0.0.54", | ||
"license": "MIT", | ||
@@ -35,3 +35,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "8d39eafaf2aa87b903ccab8d33edf060456c905c" | ||
"gitHead": "df47bdfa0d6409b66848c86be0d01476e812d808" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
176690
2189