@burdenoff/fluidgrids-fe-sdk 2026.801.4 → 2026.801.5
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/{WorkflowBuilder-3TDGFGTP.js → WorkflowBuilder-CDCGKFJW.js} +3 -3
- package/dist/{WorkflowBuilder-3TDGFGTP.js.map → WorkflowBuilder-CDCGKFJW.js.map} +1 -1
- package/dist/{chunk-6I77TPCY.js → chunk-CUCRQ7BD.js} +75 -3
- package/dist/chunk-CUCRQ7BD.js.map +1 -0
- package/dist/index.js +3 -3
- package/package.json +2 -1
- package/dist/chunk-6I77TPCY.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { WorkflowBuilder } from './chunk-
|
|
1
|
+
export { WorkflowBuilder } from './chunk-CUCRQ7BD.js';
|
|
2
2
|
import './chunk-MRVS73S2.js';
|
|
3
3
|
import './chunk-DBOMRIP5.js';
|
|
4
4
|
import './chunk-33QRAWG2.js';
|
|
@@ -12,5 +12,5 @@ import './chunk-XEYNX7YJ.js';
|
|
|
12
12
|
import './chunk-5BDQNSP3.js';
|
|
13
13
|
import './chunk-WWU2O2SR.js';
|
|
14
14
|
import './chunk-XQP33UJR.js';
|
|
15
|
-
//# sourceMappingURL=WorkflowBuilder-
|
|
16
|
-
//# sourceMappingURL=WorkflowBuilder-
|
|
15
|
+
//# sourceMappingURL=WorkflowBuilder-CDCGKFJW.js.map
|
|
16
|
+
//# sourceMappingURL=WorkflowBuilder-CDCGKFJW.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"WorkflowBuilder-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"WorkflowBuilder-CDCGKFJW.js"}
|
|
@@ -28,6 +28,7 @@ import { ApolloProvider, useQuery, useMutation } from '@apollo/client/react';
|
|
|
28
28
|
import 'jszip';
|
|
29
29
|
import { gql as gql$1 } from '@apollo/client/core';
|
|
30
30
|
import { Sparkles, Star, Download, Eye, History, Loader2, Play, RotateCcw, Trash2, Maximize2, LayoutGrid, Plus, GitBranch, AlertCircle, Search, RefreshCw, CheckCircle2, Package, Info, Copy, BadgeCheck, DollarSign, PlusCircle, ChevronDown, Type, Code, Hash, List, Braces, Workflow, ChevronRight, Layers, X, AlertTriangle } from 'lucide-react';
|
|
31
|
+
import ReactMarkdown from 'react-markdown';
|
|
31
32
|
import { animate, easeOut } from 'popmotion';
|
|
32
33
|
import { createPortal } from 'react-dom';
|
|
33
34
|
import { ThemeProvider as ThemeProvider$1 } from '@burdenoff/fe-libs/shared/providers/shell';
|
|
@@ -3042,6 +3043,77 @@ function StoreNodeOperations({ nodeType }) {
|
|
|
3042
3043
|
}) })
|
|
3043
3044
|
] });
|
|
3044
3045
|
}
|
|
3046
|
+
var COLLAPSED_MAX_PX = 126;
|
|
3047
|
+
var MD_COMPONENTS = {
|
|
3048
|
+
h1: ({ children }) => /* @__PURE__ */ jsx("p", { className: "mb-1 mt-3 text-[13px] font-semibold text-foreground", children }),
|
|
3049
|
+
h2: ({ children }) => /* @__PURE__ */ jsx("p", { className: "mb-1 mt-3 text-[13px] font-semibold text-foreground", children }),
|
|
3050
|
+
h3: ({ children }) => /* @__PURE__ */ jsx("p", { className: "mb-1 mt-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground", children }),
|
|
3051
|
+
p: ({ children }) => /* @__PURE__ */ jsx("p", { className: "mb-2 last:mb-0", children }),
|
|
3052
|
+
ul: ({ children }) => /* @__PURE__ */ jsx("ul", { className: "mb-2 list-disc space-y-0.5 pl-4 last:mb-0", children }),
|
|
3053
|
+
ol: ({ children }) => /* @__PURE__ */ jsx("ol", { className: "mb-2 list-decimal space-y-0.5 pl-4 last:mb-0", children }),
|
|
3054
|
+
li: ({ children }) => /* @__PURE__ */ jsx("li", { className: "leading-snug", children }),
|
|
3055
|
+
strong: ({ children }) => /* @__PURE__ */ jsx("strong", { className: "font-semibold text-foreground", children }),
|
|
3056
|
+
em: ({ children }) => /* @__PURE__ */ jsx("em", { className: "italic", children }),
|
|
3057
|
+
a: ({ children, href }) => /* @__PURE__ */ jsx(
|
|
3058
|
+
"a",
|
|
3059
|
+
{
|
|
3060
|
+
href,
|
|
3061
|
+
target: "_blank",
|
|
3062
|
+
rel: "noreferrer noopener",
|
|
3063
|
+
className: "text-primary underline underline-offset-2 hover:opacity-80",
|
|
3064
|
+
children
|
|
3065
|
+
}
|
|
3066
|
+
),
|
|
3067
|
+
code: ({ children }) => /* @__PURE__ */ jsx("code", { className: "rounded bg-muted px-1 py-0.5 font-mono text-[11px] text-foreground", children }),
|
|
3068
|
+
hr: () => /* @__PURE__ */ jsx("hr", { className: "my-2 border-border/60" })
|
|
3069
|
+
};
|
|
3070
|
+
function StoreNodeDescription({ text }) {
|
|
3071
|
+
const [expanded, setExpanded] = useState(false);
|
|
3072
|
+
const [overflows, setOverflows] = useState(false);
|
|
3073
|
+
const contentRef = useRef(null);
|
|
3074
|
+
useLayoutEffect(() => {
|
|
3075
|
+
const el = contentRef.current;
|
|
3076
|
+
if (!el) return;
|
|
3077
|
+
setOverflows(el.scrollHeight > COLLAPSED_MAX_PX + 8);
|
|
3078
|
+
}, [text]);
|
|
3079
|
+
const markdown = useMemo(
|
|
3080
|
+
() => /* @__PURE__ */ jsx(ReactMarkdown, { components: MD_COMPONENTS, children: text }),
|
|
3081
|
+
[text]
|
|
3082
|
+
);
|
|
3083
|
+
return /* @__PURE__ */ jsxs("div", { className: "mb-4", children: [
|
|
3084
|
+
/* @__PURE__ */ jsxs(
|
|
3085
|
+
"div",
|
|
3086
|
+
{
|
|
3087
|
+
ref: contentRef,
|
|
3088
|
+
className: "relative overflow-hidden text-sm leading-relaxed text-foreground/80",
|
|
3089
|
+
style: { maxHeight: expanded ? void 0 : COLLAPSED_MAX_PX },
|
|
3090
|
+
children: [
|
|
3091
|
+
markdown,
|
|
3092
|
+
!expanded && overflows && /* @__PURE__ */ jsx(
|
|
3093
|
+
"div",
|
|
3094
|
+
{
|
|
3095
|
+
"aria-hidden": true,
|
|
3096
|
+
className: "pointer-events-none absolute inset-x-0 bottom-0 h-8",
|
|
3097
|
+
style: {
|
|
3098
|
+
background: "linear-gradient(to top, var(--background), transparent)"
|
|
3099
|
+
}
|
|
3100
|
+
}
|
|
3101
|
+
)
|
|
3102
|
+
]
|
|
3103
|
+
}
|
|
3104
|
+
),
|
|
3105
|
+
overflows && /* @__PURE__ */ jsx(
|
|
3106
|
+
"button",
|
|
3107
|
+
{
|
|
3108
|
+
type: "button",
|
|
3109
|
+
onClick: () => setExpanded((v) => !v),
|
|
3110
|
+
className: "mt-1 text-xs font-medium text-primary hover:underline",
|
|
3111
|
+
"data-testid": "store-desc-toggle",
|
|
3112
|
+
children: expanded ? "Show less" : "Read more"
|
|
3113
|
+
}
|
|
3114
|
+
)
|
|
3115
|
+
] });
|
|
3116
|
+
}
|
|
3045
3117
|
function formatDownloads(count2) {
|
|
3046
3118
|
if (count2 >= 1e6) return `${(count2 / 1e6).toFixed(1)}M`;
|
|
3047
3119
|
if (count2 >= 1e3) return `${(count2 / 1e3).toFixed(1)}k`;
|
|
@@ -3303,7 +3375,7 @@ function StoreNodeDetail({ node, onBack }) {
|
|
|
3303
3375
|
latestVersion
|
|
3304
3376
|
] })
|
|
3305
3377
|
] }),
|
|
3306
|
-
node.description && /* @__PURE__ */ jsx(
|
|
3378
|
+
node.description && /* @__PURE__ */ jsx(StoreNodeDescription, { text: node.description }),
|
|
3307
3379
|
(isInstalled || isPrebuilt) && /* @__PURE__ */ jsx("div", { className: "mb-4 -mx-3 rounded-lg border border-border/50", children: /* @__PURE__ */ jsx(StoreNodeOperations, { nodeType }) }),
|
|
3308
3380
|
node.publisher && /* @__PURE__ */ jsxs("div", { className: "mb-4 p-2.5 rounded-lg bg-muted/50 flex items-center gap-2", children: [
|
|
3309
3381
|
/* @__PURE__ */ jsx("div", { className: "size-6 rounded bg-muted flex items-center justify-center shrink-0", children: /* @__PURE__ */ jsx("span", { className: "text-xs font-bold text-muted-foreground", children: node.publisher.name.charAt(0) }) }),
|
|
@@ -15120,5 +15192,5 @@ function WorkflowBuilder() {
|
|
|
15120
15192
|
}
|
|
15121
15193
|
|
|
15122
15194
|
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, FlowBuilderPage, FluidGridsProvider, TemplateCard, WorkflowBuilder, useFluidGridsContext, useImportWorkflowTemplate, useWorkflowTemplates };
|
|
15123
|
-
//# sourceMappingURL=chunk-
|
|
15124
|
-
//# sourceMappingURL=chunk-
|
|
15195
|
+
//# sourceMappingURL=chunk-CUCRQ7BD.js.map
|
|
15196
|
+
//# sourceMappingURL=chunk-CUCRQ7BD.js.map
|