x-ui-design 0.8.60 → 0.8.61

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 CHANGED
@@ -5395,14 +5395,7 @@ const Dropdown = ({
5395
5395
  const onTriggerClick = e => {
5396
5396
  e.preventDefault();
5397
5397
  e.stopPropagation();
5398
- console.log({
5399
- triggers,
5400
- triggerRef: triggerRef.current,
5401
- popupRef: popupRef.current,
5402
- t: triggerRef.current?.contains(e.target),
5403
- p: popupRef.current?.contains(e.target)
5404
- });
5405
- if (popupRef.current && !popupRef.current.contains(e.target) && triggerRef.current && !triggerRef.current.contains(e.target) && triggers.includes('click')) {
5398
+ if (triggerRef.current && !triggerRef.current.contains(e.target) && triggers.includes('click')) {
5406
5399
  setOpenInternal(!open);
5407
5400
  }
5408
5401
  };
@@ -5448,6 +5441,10 @@ const Dropdown = ({
5448
5441
  padding: 8
5449
5442
  }
5450
5443
  }, "Empty menu")));
5444
+ console.log({
5445
+ open,
5446
+ popup
5447
+ });
5451
5448
  return /*#__PURE__*/React.createElement("div", {
5452
5449
  ref: triggerRef,
5453
5450
  className: className,