@shuffleio/shuffle-mcps 0.0.58 → 0.0.59
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 +2 -0
- package/dist/index.mjs +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9752,6 +9752,7 @@ var useOverlayLayer = (open, options) => {
|
|
|
9752
9752
|
return zIndex;
|
|
9753
9753
|
};
|
|
9754
9754
|
var useDrawerLayer = (open, base3 = DRAWER_LAYER_BASE) => useOverlayLayer(open, { base: base3 });
|
|
9755
|
+
var isShuffleOwnedOverlay = (el) => el.classList.contains("shuffle-core-scope") || el.classList.contains("shuffle-mcp-scope") || el.querySelector(".shuffle-core-scope, .shuffle-mcp-scope") !== null || el.closest("[data-radix-portal]") !== null;
|
|
9755
9756
|
var isSurfaceElement = (el) => {
|
|
9756
9757
|
if (!(el instanceof HTMLElement)) return false;
|
|
9757
9758
|
return el.classList.contains("MuiDialog-root") || el.classList.contains("MuiDrawer-root") || el.classList.contains("MuiModal-root") && !el.classList.contains("MuiPopover-root") && !el.classList.contains("MuiMenu-root") || el.getAttribute("role") === "dialog" || el.getAttribute("role") === "alertdialog" || Boolean(el.closest("[data-radix-portal]"));
|
|
@@ -9779,6 +9780,7 @@ var installGlobalOverlayAutoLayer = () => {
|
|
|
9779
9780
|
if (store[AUTO_LAYER_KEY]) return;
|
|
9780
9781
|
store[AUTO_LAYER_KEY] = true;
|
|
9781
9782
|
const handleElementOpen = (el) => {
|
|
9783
|
+
if (!isShuffleOwnedOverlay(el)) return;
|
|
9782
9784
|
if (isSurfaceElement(el)) {
|
|
9783
9785
|
let layerId = el.dataset.shuffleLayerId;
|
|
9784
9786
|
if (!layerId) {
|
package/dist/index.mjs
CHANGED
|
@@ -8598,6 +8598,7 @@ var useOverlayLayer = (open, options) => {
|
|
|
8598
8598
|
return zIndex;
|
|
8599
8599
|
};
|
|
8600
8600
|
var useDrawerLayer = (open, base3 = DRAWER_LAYER_BASE) => useOverlayLayer(open, { base: base3 });
|
|
8601
|
+
var isShuffleOwnedOverlay = (el) => el.classList.contains("shuffle-core-scope") || el.classList.contains("shuffle-mcp-scope") || el.querySelector(".shuffle-core-scope, .shuffle-mcp-scope") !== null || el.closest("[data-radix-portal]") !== null;
|
|
8601
8602
|
var isSurfaceElement = (el) => {
|
|
8602
8603
|
if (!(el instanceof HTMLElement)) return false;
|
|
8603
8604
|
return el.classList.contains("MuiDialog-root") || el.classList.contains("MuiDrawer-root") || el.classList.contains("MuiModal-root") && !el.classList.contains("MuiPopover-root") && !el.classList.contains("MuiMenu-root") || el.getAttribute("role") === "dialog" || el.getAttribute("role") === "alertdialog" || Boolean(el.closest("[data-radix-portal]"));
|
|
@@ -8625,6 +8626,7 @@ var installGlobalOverlayAutoLayer = () => {
|
|
|
8625
8626
|
if (store[AUTO_LAYER_KEY]) return;
|
|
8626
8627
|
store[AUTO_LAYER_KEY] = true;
|
|
8627
8628
|
const handleElementOpen = (el) => {
|
|
8629
|
+
if (!isShuffleOwnedOverlay(el)) return;
|
|
8628
8630
|
if (isSurfaceElement(el)) {
|
|
8629
8631
|
let layerId = el.dataset.shuffleLayerId;
|
|
8630
8632
|
if (!layerId) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shuffleio/shuffle-mcps",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.59",
|
|
4
4
|
"description": "Turn 3,000+ SaaS tools into MCP servers your agents can use. Headless React component for search, selection, and OAuth handoff.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|