@wistia/ui 0.25.6-beta.4e48d59a.9173605 → 0.25.6

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.js CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v0.25.6-beta.4e48d59a.9173605
3
+ * @license @wistia/ui v0.25.6
4
4
  *
5
5
  * Copyright (c) 2024-2026, Wistia, Inc. and its affiliates.
6
6
  *
@@ -9779,11 +9779,8 @@ const MenuPopup = styled(Menu$1.Popup)`
9779
9779
  */
9780
9780
  const Menu = forwardRef(({ align = "start", children, disabled = false, compact = false, trigger, label, isOpen, side = "bottom", triggerProps = {}, onOpenChange, ...props }, ref) => {
9781
9781
  const contextValue = useMemo(() => ({ compact }), [compact]);
9782
- const handleOpenChange = useCallback((nextOpen, eventDetails) => {
9783
- if (nextOpen !== isOpen) {
9784
- if (!nextOpen && eventDetails?.reason === "trigger-hover") return;
9785
- onOpenChange?.(nextOpen);
9786
- }
9782
+ const handleOpenChange = useCallback((nextOpen) => {
9783
+ if (nextOpen !== isOpen) onOpenChange?.(nextOpen);
9787
9784
  }, [isOpen, onOpenChange]);
9788
9785
  let controlProps = isNotNil(onOpenChange) && isNotNil(isOpen) ? {
9789
9786
  open: isOpen,