pixelize-design-library 1.0.82 → 1.0.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -23,7 +23,7 @@ function TextInput(_a) {
|
|
|
23
23
|
return (react_2.default.createElement(react_1.FormControl, { isRequired: isRequired, isInvalid: error },
|
|
24
24
|
label && react_2.default.createElement(react_1.FormLabel, { color: theme.colors.gray[600], mb: "0.1rem", fontWeight: 600, fontSize: 14 }, label),
|
|
25
25
|
react_2.default.createElement(react_1.InputGroup, { width: width, style: inputGroupStyle },
|
|
26
|
-
react_2.default.createElement(react_1.Input, { type: type, variant: "flushed", placeholder: placeholder, onChange: onChange, onBlur: onBlur, onFocus: onFocus, value: value, errorBorderColor: error ? "crimson" : "", isDisabled: isDisabled, isReadOnly: isReadOnly, id: id, name: name, size: size, style: __assign(__assign({}, inputStyle), { backgroundColor: theme.colors.
|
|
26
|
+
react_2.default.createElement(react_1.Input, { type: type, variant: "flushed", placeholder: placeholder, onChange: onChange, onBlur: onBlur, onFocus: onFocus, value: value, errorBorderColor: error ? "crimson" : "", isDisabled: isDisabled, isReadOnly: isReadOnly, id: id, name: name, size: size, style: __assign(__assign({}, inputStyle), { backgroundColor: theme.colors.backgroundColor.main, fontWeight: 800, color: theme.colors.gray[700], padding: "0 0.5rem", fontSize: 15, letterSpacing: 0.7 }) }),
|
|
27
27
|
inputRightIcon && (react_2.default.createElement(react_1.InputRightElement, { onClick: onRightIconclick }, inputRightIcon))),
|
|
28
28
|
error && react_2.default.createElement(react_1.FormErrorMessage, { fontSize: 14 }, errorMessage),
|
|
29
29
|
helperText && !error && (react_2.default.createElement(react_1.FormHelperText, { fontSize: 14, color: theme.colors.gray[600] }, helperText))));
|
package/dist/Layout.js
CHANGED
|
@@ -579,8 +579,7 @@ var Layout = function () {
|
|
|
579
579
|
// padding={"0px"}
|
|
580
580
|
// inputStyle={{ border: "0px solid", padding: "0px" }}
|
|
581
581
|
// inputGroupStyle={{ border: "0px solid", padding: "0px" }}
|
|
582
|
-
|
|
583
|
-
errorMessage: "Required", onChange: function (e) {
|
|
582
|
+
error: true, errorMessage: "Required", onChange: function (e) {
|
|
584
583
|
console.log(e.target.files);
|
|
585
584
|
}, helperText: "sometibg", isRequired: true }),
|
|
586
585
|
react_1.default.createElement("br", null),
|