tenjin-ui-kit 0.2.43 → 0.2.44
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.
|
@@ -22,7 +22,7 @@ function BreadCrumbs(props) {
|
|
|
22
22
|
function handleClick(event, data) {
|
|
23
23
|
event.preventDefault();
|
|
24
24
|
if (data !== undefined) {
|
|
25
|
-
navigate(data
|
|
25
|
+
navigate(data);
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -30,7 +30,7 @@ var Button = function Button(props) {
|
|
|
30
30
|
buttonColor: color,
|
|
31
31
|
size: size,
|
|
32
32
|
loadingText: loadingText
|
|
33
|
-
}),
|
|
33
|
+
}), loadingText && /*#__PURE__*/_react.default.createElement("span", null, loadingText)) : children);
|
|
34
34
|
};
|
|
35
35
|
var ButtonLoader = function ButtonLoader(_ref) {
|
|
36
36
|
var buttonColor = _ref.buttonColor,
|
|
@@ -38,9 +38,11 @@ var Input = function Input(_ref) {
|
|
|
38
38
|
},
|
|
39
39
|
size: "small",
|
|
40
40
|
shrink: true,
|
|
41
|
-
htmlFor: id
|
|
41
|
+
htmlFor: id,
|
|
42
|
+
required: isRequired
|
|
42
43
|
}, label), !error && /*#__PURE__*/_react.default.createElement(_material.OutlinedInput, _extends({}, rest, {
|
|
43
44
|
id: id,
|
|
45
|
+
required: isRequired,
|
|
44
46
|
autoComplete: disableAutocomplete ? "nothing" : null,
|
|
45
47
|
sx: {
|
|
46
48
|
marginTop: label ? theme.spacing(2.5) : 0,
|