@wistia/ui 0.15.12-beta.4ccc4307.9870827 → 0.15.12-beta.7449a1fd.5896c8b
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.cjs +2 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +1 -5
- package/dist/index.d.ts +1 -5
- package/dist/index.mjs +2 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v0.15.12-beta.
|
|
3
|
+
* @license @wistia/ui v0.15.12-beta.7449a1fd.5896c8b
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -13666,8 +13666,7 @@ var ContextMenu = ({
|
|
|
13666
13666
|
triggerRef,
|
|
13667
13667
|
children,
|
|
13668
13668
|
side = "bottom",
|
|
13669
|
-
onRequestClose = () => null
|
|
13670
|
-
compact = false
|
|
13669
|
+
onRequestClose = () => null
|
|
13671
13670
|
}) => {
|
|
13672
13671
|
const [isRightClicked, setIsRightClicked] = (0, import_react61.useState)(false);
|
|
13673
13672
|
const [menuPosition, setMenuPosition] = (0, import_react61.useState)(position ?? { x: 0, y: 0 });
|
|
@@ -13690,7 +13689,6 @@ var ContextMenu = ({
|
|
|
13690
13689
|
return isOpen ? /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(
|
|
13691
13690
|
Menu,
|
|
13692
13691
|
{
|
|
13693
|
-
compact,
|
|
13694
13692
|
isOpen,
|
|
13695
13693
|
onOpenChange: (next) => {
|
|
13696
13694
|
setIsRightClicked(next);
|