oolib 2.42.3 → 2.43.0
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.
|
@@ -151,7 +151,7 @@ var TextInput = function (props) {
|
|
|
151
151
|
react_1.default.createElement(index_styled_1.InputStyled, { ref: inputRef, className: size === 'S' ? 'SANS_2' : 'SANS_3', id: id, type: type, name: type, placeholder: placeholder, value: value, onChange: handleOnChange, maxLength: maxLength || DEPRECATED_maxNumLimiter, onBlur: handleValidate, onFocus: onFocus, size: size, autoComplete: 'off' }),
|
|
152
152
|
inputStatus === 'loading' && (react_1.default.createElement("div", null,
|
|
153
153
|
react_1.default.createElement(LoadersAndProgress_1.LoaderCircle, { S: true, invert: invert }))),
|
|
154
|
-
actionBtn && (react_1.default.createElement(Buttons_1.ButtonPrimary, { value: actionBtn.text, invert: actionBtn.invert, onClick: actionBtnEnabaled && actionBtn.onClick, disabled: !actionBtnEnabaled, style: { marginRight: '-2rem' } }))),
|
|
154
|
+
actionBtn && (react_1.default.createElement(Buttons_1.ButtonPrimary, { M: true, value: actionBtn.text, invert: actionBtn.invert, onClick: actionBtnEnabaled && actionBtn.onClick, disabled: !actionBtnEnabaled, style: { marginRight: '-2rem' }, icon: actionBtn.icon }))),
|
|
155
155
|
(inputStatus === null || inputStatus === void 0 ? void 0 : inputStatus.msg) && (react_1.default.createElement(index_styled_1.MsgContainer, { invert: invert, status: inputStatus === null || inputStatus === void 0 ? void 0 : inputStatus.type },
|
|
156
156
|
react_1.default.createElement(Typo_1.SANS_3, null,
|
|
157
157
|
inputStatus.msg,
|
package/dist/index.js
CHANGED
|
@@ -25,7 +25,7 @@ Object.defineProperty(exports, "colors", { enumerable: true, get: function () {
|
|
|
25
25
|
var icons_1 = require("./icons");
|
|
26
26
|
Object.defineProperty(exports, "icons", { enumerable: true, get: function () { return icons_1.icons; } });
|
|
27
27
|
__exportStar(require("./components/Typo"), exports);
|
|
28
|
-
|
|
28
|
+
////components
|
|
29
29
|
var LoadersAndProgress_1 = require("./components/LoadersAndProgress");
|
|
30
30
|
Object.defineProperty(exports, "LoaderCircle", { enumerable: true, get: function () { return LoadersAndProgress_1.LoaderCircle; } });
|
|
31
31
|
Object.defineProperty(exports, "ProgressBar", { enumerable: true, get: function () { return LoadersAndProgress_1.ProgressBar; } });
|