@tangle-network/sandbox-ui 0.133.7 → 0.133.8
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/{WorkflowGraph-m2uy9TDl.js → WorkflowGraph-CBVgTWX-.js} +1 -1
- package/dist/integrations.d.ts +0 -9
- package/dist/integrations.js +1 -1
- package/dist/{node-output-BC5ZQ8R6.js → node-output-jpe1KLea.js} +1 -1
- package/dist/{provider-logo-X9PkbMIX.js → provider-logo-BGCziCbM.js} +15 -0
- package/dist/workflows.js +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as triggerNodeIndex, B as fmtTokens, C as COMPACT_NODE_SIZE, D as buildWorkflowGraph, I as shortModel, L as clampPreview, M as worstSeverity, O as isStructuralKind, R as fmtCost, S as statusBorder, _ as emptySlotLabel, a as NodeMark, b as problemSurface, c as RESTING_BORDER, d as STATUS_LABEL, g as edgeColor, h as StatusPill, j as wfEdgeId, l as RESTING_SHADOW, m as StatusFooter, n as classifyOutput, o as ProblemMarker, s as ProblemMessages, t as NodeOutputBody, u as STATUS_COLOR, v as kindAccent, x as problemTitle, y as problemBorder, z as fmtDuration } from "./node-output-
|
|
1
|
+
import { A as triggerNodeIndex, B as fmtTokens, C as COMPACT_NODE_SIZE, D as buildWorkflowGraph, I as shortModel, L as clampPreview, M as worstSeverity, O as isStructuralKind, R as fmtCost, S as statusBorder, _ as emptySlotLabel, a as NodeMark, b as problemSurface, c as RESTING_BORDER, d as STATUS_LABEL, g as edgeColor, h as StatusPill, j as wfEdgeId, l as RESTING_SHADOW, m as StatusFooter, n as classifyOutput, o as ProblemMarker, s as ProblemMessages, t as NodeOutputBody, u as STATUS_COLOR, v as kindAccent, x as problemTitle, y as problemBorder, z as fmtDuration } from "./node-output-jpe1KLea.js";
|
|
2
2
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { createContext, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
4
4
|
import { Maximize2, Minimize2, Plus, X } from "lucide-react";
|
package/dist/integrations.d.ts
CHANGED
|
@@ -331,15 +331,6 @@ interface ConnectInput {
|
|
|
331
331
|
export declare function useIntegrations({ apiBaseUrl, fetchImpl, autoLoad, refreshOnReturn }: UseIntegrationsOptions): UseIntegrationsResult;
|
|
332
332
|
//#endregion
|
|
333
333
|
//#region src/integrations/provider-logo.d.ts
|
|
334
|
-
/**
|
|
335
|
-
* Ordered candidate logo URLs for a provider slug, most specific first. The
|
|
336
|
-
* renderer walks the chain on each `onError` until one loads, then falls back to
|
|
337
|
-
* the monogram tile.
|
|
338
|
-
*
|
|
339
|
-
* Order: explicit `iconUrl` → full-color vector mark for brands Simple Icons
|
|
340
|
-
* delisted (svgl.app) → a pinned override → the ActivePieces CDN by id (covers
|
|
341
|
-
* most of the hub catalog) → derived simpleicons slugs → monogram.
|
|
342
|
-
*/
|
|
343
334
|
export declare function providerLogoCandidates(opts: {
|
|
344
335
|
id: string;
|
|
345
336
|
iconUrl?: string | null;
|
package/dist/integrations.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as normalizeProviderId, r as providerLogoCandidates, t as ProviderIcon } from "./provider-logo-
|
|
1
|
+
import { n as normalizeProviderId, r as providerLogoCandidates, t as ProviderIcon } from "./provider-logo-BGCziCbM.js";
|
|
2
2
|
import { Alert, Button, Card, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, EmptyState, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, StatusPill } from "@tangle-network/ui/primitives";
|
|
3
3
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
import * as React$1 from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as modelBrandFor, t as ModelBrandStack } from "./model-brand-hMyDTUqB.js";
|
|
2
|
-
import { t as ProviderIcon } from "./provider-logo-
|
|
2
|
+
import { t as ProviderIcon } from "./provider-logo-BGCziCbM.js";
|
|
3
3
|
import { StatusPill } from "@tangle-network/ui/primitives";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { AlertTriangle, Bell, Box, Cable, Camera, Check, Circle, Clock, Code, GitBranch, Repeat, ScanSearch, Sparkles, UserCheck, Webhook, Zap } from "lucide-react";
|
|
@@ -131,6 +131,7 @@ const ACTIVEPIECES_CDN = "https://cdn.activepieces.com/pieces";
|
|
|
131
131
|
* to emit `iconUrl` per provider, after which this map can be retired.
|
|
132
132
|
*/
|
|
133
133
|
const PROVIDER_LOGO_URLS = {
|
|
134
|
+
adobesign: "https://www.google.com/s2/favicons?sz=64&domain_url=https://www.adobe.com/sign.html",
|
|
134
135
|
"cal-com": `${ACTIVEPIECES_CDN}/cal.com.png`,
|
|
135
136
|
"customer-io": `${ACTIVEPIECES_CDN}/customerio.png`,
|
|
136
137
|
anthropic: `${ACTIVEPIECES_CDN}/claude.png`,
|
|
@@ -228,11 +229,25 @@ const PROVIDER_VECTOR_LOGOS = {
|
|
|
228
229
|
* delisted (svgl.app) → a pinned override → the ActivePieces CDN by id (covers
|
|
229
230
|
* most of the hub catalog) → derived simpleicons slugs → monogram.
|
|
230
231
|
*/
|
|
232
|
+
/**
|
|
233
|
+
* Protocol connectors with no brand of their own. Every remote source 404s for
|
|
234
|
+
* them (production Connections logged two misses per load for `email`), so they
|
|
235
|
+
* go straight to the monogram unless the provider supplies an `iconUrl`.
|
|
236
|
+
*/
|
|
237
|
+
const GENERIC_PROVIDER_IDS = /* @__PURE__ */ new Set([
|
|
238
|
+
"email",
|
|
239
|
+
"smtp",
|
|
240
|
+
"imap",
|
|
241
|
+
"webhook",
|
|
242
|
+
"webhooks",
|
|
243
|
+
"http"
|
|
244
|
+
]);
|
|
231
245
|
function providerLogoCandidates(opts) {
|
|
232
246
|
const out = [];
|
|
233
247
|
if (opts.iconUrl) out.push(opts.iconUrl);
|
|
234
248
|
const raw = opts.id.toLowerCase();
|
|
235
249
|
const norm = normalizeProviderId(raw);
|
|
250
|
+
if (GENERIC_PROVIDER_IDS.has(raw) || GENERIC_PROVIDER_IDS.has(norm)) return out;
|
|
236
251
|
const curated = PROVIDER_LOGO_SLUGS[raw] ?? PROVIDER_LOGO_SLUGS[norm];
|
|
237
252
|
const vectorName = PROVIDER_VECTOR_LOGOS[raw] ?? PROVIDER_VECTOR_LOGOS[norm] ?? (curated ? PROVIDER_VECTOR_LOGOS[curated] : void 0);
|
|
238
253
|
if (vectorName) out.push(`https://svgl.app/library/${vectorName}.svg`);
|
package/dist/workflows.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as modelBrandFor, t as ModelBrandStack } from "./model-brand-hMyDTUqB.js";
|
|
2
|
-
import { A as triggerNodeIndex, D as buildWorkflowGraph, E as branchNodeId, F as parseActionPath, I as shortModel, N as actionPathLabel, P as humanizeIdentifier, T as actionNodeId, a as NodeMark, d as STATUS_LABEL, f as STATUS_PILL, h as StatusPill, i as KIND_ICON, k as triggerNodeId, n as classifyOutput, p as STATUS_TONE, r as condenseText, t as NodeOutputBody, u as STATUS_COLOR, w as TRIGGER_NODE_ID } from "./node-output-
|
|
2
|
+
import { A as triggerNodeIndex, D as buildWorkflowGraph, E as branchNodeId, F as parseActionPath, I as shortModel, N as actionPathLabel, P as humanizeIdentifier, T as actionNodeId, a as NodeMark, d as STATUS_LABEL, f as STATUS_PILL, h as StatusPill, i as KIND_ICON, k as triggerNodeId, n as classifyOutput, p as STATUS_TONE, r as condenseText, t as NodeOutputBody, u as STATUS_COLOR, w as TRIGGER_NODE_ID } from "./node-output-jpe1KLea.js";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
import { Component, Suspense, lazy, useMemo, useState } from "react";
|
|
5
5
|
//#region src/workflows/WorkflowGraphLazy.tsx
|
|
@@ -30,7 +30,7 @@ function retryImport(factory, retries = 2, delayMs = 350) {
|
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
32
|
function lazyWorkflowGraph() {
|
|
33
|
-
return lazy(() => retryImport(() => import("./WorkflowGraph-
|
|
33
|
+
return lazy(() => retryImport(() => import("./WorkflowGraph-CBVgTWX-.js").then((m) => ({ default: m.WorkflowGraph }))));
|
|
34
34
|
}
|
|
35
35
|
var GraphErrorBoundary = class extends Component {
|
|
36
36
|
state = { hasError: false };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox-ui",
|
|
3
|
-
"version": "0.133.
|
|
3
|
+
"version": "0.133.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Unified UI component library for Tangle Sandbox — primitives, chat, dashboard, terminal, editor, and workspace components",
|
|
6
6
|
"repository": {
|