@design.estate/dees-catalog 24.8.0 → 24.8.1

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.
@@ -26,7 +26,7 @@ import {
26
26
  terminalFontFamily,
27
27
  terminalTheme,
28
28
  themeDefaultStyles
29
- } from "./chunk-2G2FY5BM.js";
29
+ } from "./chunk-LMA555B4.js";
30
30
  import {
31
31
  dcMessages,
32
32
  dist_ts_exports2 as dist_ts_exports
@@ -5820,4 +5820,4 @@ export {
5820
5820
  WebContainerEnvironment,
5821
5821
  DeesWorkspaceTerminal
5822
5822
  };
5823
- //# sourceMappingURL=chunk-BND2OLMT.js.map
5823
+ //# sourceMappingURL=chunk-DB22CLEN.js.map
@@ -63223,9 +63223,6 @@ var _DeesContextmenu = class _DeesContextmenu extends (_a15 = DeesElement, _menu
63223
63223
  }
63224
63224
  // allows opening of a contextmenu with options
63225
63225
  static async openContextMenuWithOptions(eventArg, menuItemsArg, options = {}) {
63226
- if (this.contextMenuDeactivated) {
63227
- return;
63228
- }
63229
63226
  eventArg.preventDefault();
63230
63227
  eventArg.stopPropagation();
63231
63228
  const contextMenu = new _DeesContextmenu();
@@ -63252,6 +63249,9 @@ var _DeesContextmenu = class _DeesContextmenu extends (_a15 = DeesElement, _menu
63252
63249
  await contextMenu.destroy();
63253
63250
  }
63254
63251
  });
63252
+ if (!contextMenu.windowLayer.isConnected || !contextMenu.windowLayer.parentElement) {
63253
+ return contextMenu;
63254
+ }
63255
63255
  contextMenu.windowLayer.parentElement.append(contextMenu);
63256
63256
  await contextMenu.updateComplete;
63257
63257
  await nextFrame();
@@ -67506,4 +67506,4 @@ lucide/dist/esm/lucide.js:
67506
67506
  * See the LICENSE file in the root directory of this source tree.
67507
67507
  *)
67508
67508
  */
67509
- //# sourceMappingURL=chunk-2G2FY5BM.js.map
67509
+ //# sourceMappingURL=chunk-LMA555B4.js.map