sag_components 2.0.0-beta186 → 2.0.0-beta187
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.
- package/dist/index.esm.js +6 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -35658,6 +35658,11 @@ const Input$2 = _ref => {
|
|
|
35658
35658
|
newValue: e.target.value || ""
|
|
35659
35659
|
});
|
|
35660
35660
|
};
|
|
35661
|
+
const handleContainerClick = e => {
|
|
35662
|
+
if (onClick && typeof onClick === "function") {
|
|
35663
|
+
onClick(e);
|
|
35664
|
+
}
|
|
35665
|
+
};
|
|
35661
35666
|
const handleFocus = () => {
|
|
35662
35667
|
setIsFocused(true);
|
|
35663
35668
|
if (inputRef?.current) {
|
|
@@ -35723,7 +35728,7 @@ const Input$2 = _ref => {
|
|
|
35723
35728
|
disabled: disabled,
|
|
35724
35729
|
isDarkerBackground: isDarkerBackground,
|
|
35725
35730
|
multiline: multiline,
|
|
35726
|
-
onClick:
|
|
35731
|
+
onClick: handleContainerClick
|
|
35727
35732
|
}, /*#__PURE__*/React__default["default"].createElement(InputContainer, {
|
|
35728
35733
|
className: "InputContainer",
|
|
35729
35734
|
labelColor: labelColor,
|