@wistia/ui 0.15.13-beta.a8953353.4dacd3e → 0.15.13-beta.e65c0481.a780530
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 +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.mjs +4 -2
- 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.13-beta.
|
|
3
|
+
* @license @wistia/ui v0.15.13-beta.e65c0481.a780530
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -13709,7 +13709,8 @@ var ContextMenu = ({
|
|
|
13709
13709
|
triggerRef,
|
|
13710
13710
|
children,
|
|
13711
13711
|
side = "bottom",
|
|
13712
|
-
onRequestClose = () => null
|
|
13712
|
+
onRequestClose = () => null,
|
|
13713
|
+
compact = false
|
|
13713
13714
|
}) => {
|
|
13714
13715
|
const [isRightClicked, setIsRightClicked] = (0, import_react61.useState)(false);
|
|
13715
13716
|
const [menuPosition, setMenuPosition] = (0, import_react61.useState)(position ?? { x: 0, y: 0 });
|
|
@@ -13735,6 +13736,7 @@ var ContextMenu = ({
|
|
|
13735
13736
|
const menu = /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(
|
|
13736
13737
|
Menu,
|
|
13737
13738
|
{
|
|
13739
|
+
compact,
|
|
13738
13740
|
isOpen,
|
|
13739
13741
|
onOpenChange: (next) => {
|
|
13740
13742
|
setIsRightClicked(next);
|