hplx-react-elements-dev 1.0.47 → 1.0.48
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/esm/index.js +7 -2
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -2079,9 +2079,14 @@ var DropdownItems = function DropdownItems(_a) {
|
|
|
2079
2079
|
return false;
|
|
2080
2080
|
};
|
|
2081
2081
|
|
|
2082
|
+
var handleOnSelect = function handleOnSelect(e) {
|
|
2083
|
+
e.stopPropagation();
|
|
2084
|
+
onSelect && onSelect(value);
|
|
2085
|
+
};
|
|
2086
|
+
|
|
2082
2087
|
return jsxRuntime.exports.jsxs("div", __assign({
|
|
2083
|
-
|
|
2084
|
-
!disabled &&
|
|
2088
|
+
onMouseDown: function onMouseDown(e) {
|
|
2089
|
+
!disabled && handleOnSelect(e);
|
|
2085
2090
|
},
|
|
2086
2091
|
className: "hplxt-h-10 hplxt-flex hplxt-items-center hplxt-px-2 ".concat(disabled ? "hplxt-cursor-not-allowed" : "hover:hplxt-bg-Blue_gray-100 hplxt-cursor-pointer"),
|
|
2087
2092
|
onMouseEnter: onMouseEnterHandler,
|