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.esm.js
CHANGED
|
@@ -35648,6 +35648,11 @@ const Input$2 = _ref => {
|
|
|
35648
35648
|
newValue: e.target.value || ""
|
|
35649
35649
|
});
|
|
35650
35650
|
};
|
|
35651
|
+
const handleContainerClick = e => {
|
|
35652
|
+
if (onClick && typeof onClick === "function") {
|
|
35653
|
+
onClick(e);
|
|
35654
|
+
}
|
|
35655
|
+
};
|
|
35651
35656
|
const handleFocus = () => {
|
|
35652
35657
|
setIsFocused(true);
|
|
35653
35658
|
if (inputRef?.current) {
|
|
@@ -35713,7 +35718,7 @@ const Input$2 = _ref => {
|
|
|
35713
35718
|
disabled: disabled,
|
|
35714
35719
|
isDarkerBackground: isDarkerBackground,
|
|
35715
35720
|
multiline: multiline,
|
|
35716
|
-
onClick:
|
|
35721
|
+
onClick: handleContainerClick
|
|
35717
35722
|
}, /*#__PURE__*/React$1.createElement(InputContainer, {
|
|
35718
35723
|
className: "InputContainer",
|
|
35719
35724
|
labelColor: labelColor,
|