@burdenoff/fluidgrids-fe-sdk 2026.1102.3 → 2026.1103.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.
@@ -1,7 +1,7 @@
1
- export { WorkflowBuilder } from './chunk-37BKVPO7.js';
1
+ export { WorkflowBuilder } from './chunk-DQLSF6GB.js';
2
2
  import './chunk-JCHE4V55.js';
3
3
  import './chunk-PIKYQE7P.js';
4
- import './chunk-MY752OLT.js';
4
+ import './chunk-6O2B5NAK.js';
5
5
  import './chunk-GEMNVFPK.js';
6
6
  import './chunk-B6CCE2RW.js';
7
7
  import './chunk-IEVSFCFS.js';
@@ -1,4 +1,4 @@
1
- import { useImportWorkflowTemplate, FlowBuilderPage, useWorkflowTemplates, TEMPLATE_STORE_CATEGORIES, TemplateCard, useTemplateSubmissions, usePublishToStore } from './chunk-MY752OLT.js';
1
+ import { useImportWorkflowTemplate, FlowBuilderPage, useWorkflowTemplates, TEMPLATE_STORE_CATEGORIES, TemplateCard, useTemplateSubmissions, usePublishToStore } from './chunk-6O2B5NAK.js';
2
2
  import { QuotaExhaustedDialog } from './chunk-4FDMLKLL.js';
3
3
  import { templatesControls } from './chunk-FNZZ5JJL.js';
4
4
  import { useWorkflowDefinitions, useDuplicateWorkflow, useLazyWorkflowDefinition } from './chunk-EFOJEQDS.js';
@@ -3450,6 +3450,14 @@ function getStoreNodeAvailability(node, isInstalled, options = {}) {
3450
3450
  const isDraggable = available && userSelectableOperationCount(nodeType) <= 1;
3451
3451
  return { nodeType, isPrebuilt, isDraggable, isHidden: false };
3452
3452
  }
3453
+ function getStoreNodeIcon(listingIcon, nodeType) {
3454
+ if (listingIcon) return listingIcon;
3455
+ if (!nodeType) return null;
3456
+ const registered = AVAILABLE_NODES.find(
3457
+ (availableNode) => availableNode.type === nodeType
3458
+ );
3459
+ return registered?.icon || null;
3460
+ }
3453
3461
  function isStoreNodeHiddenFromPalette(node, durableFunctionsEnabled = false) {
3454
3462
  return isNodeTypeHiddenFromPalette(
3455
3463
  getStoreNodeType(node, false),
@@ -3474,6 +3482,7 @@ function StoreNodeListItem({
3474
3482
  onClick
3475
3483
  }) {
3476
3484
  const tr = useTr();
3485
+ const displayIcon = getStoreNodeIcon(icon, nodeType);
3477
3486
  const handleDragStart = useCallback(
3478
3487
  (e) => {
3479
3488
  if (!isDraggable || !nodeType) return;
@@ -3492,7 +3501,14 @@ function StoreNodeListItem({
3492
3501
  className: "w-full flex items-center gap-3 px-2 py-2.5 rounded-md hover:bg-muted/60 transition-colors text-left group",
3493
3502
  style: isDraggable ? { cursor: "grab" } : void 0,
3494
3503
  children: [
3495
- /* @__PURE__ */ jsx("div", { className: "relative size-9 shrink-0 rounded-lg bg-muted flex items-center justify-center overflow-hidden", children: icon ? isImageIcon(icon) ? /* @__PURE__ */ jsx("img", { src: icon, alt: name, className: "w-full h-full object-cover" }) : /* @__PURE__ */ jsx(Icon, { icon, className: "size-5 text-muted-foreground" }) : /* @__PURE__ */ jsx("span", { className: "text-sm font-bold text-muted-foreground", children: name.charAt(0).toUpperCase() }) }),
3504
+ /* @__PURE__ */ jsx("div", { className: "relative size-9 shrink-0 rounded-lg bg-muted flex items-center justify-center overflow-hidden", children: displayIcon ? isImageIcon(displayIcon) ? /* @__PURE__ */ jsx(
3505
+ "img",
3506
+ {
3507
+ src: displayIcon,
3508
+ alt: name,
3509
+ className: "w-full h-full object-cover"
3510
+ }
3511
+ ) : /* @__PURE__ */ jsx(Icon, { icon: displayIcon, className: "size-5 text-muted-foreground" }) : /* @__PURE__ */ jsx("span", { className: "text-sm font-bold text-muted-foreground", children: name.charAt(0).toUpperCase() }) }),
3496
3512
  /* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
3497
3513
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5 flex-wrap", children: [
3498
3514
  /* @__PURE__ */ jsx("span", { className: "text-sm font-medium text-foreground group-hover:text-primary transition-colors truncate", children: name }),
@@ -4599,6 +4615,7 @@ function StoreNodeDetail({ node, onBack }) {
4599
4615
  const { nodeType, isPrebuilt } = getStoreNodeAvailability(node, isInstalled, {
4600
4616
  durableFunctionsEnabled: paletteGates
4601
4617
  });
4618
+ const displayIcon = getStoreNodeIcon(node.icon, nodeType);
4602
4619
  const installation = installationsMap.get(node.id);
4603
4620
  const installedVersion = installation?.installedVersion;
4604
4621
  const installationId = installation?.installationId;
@@ -4823,17 +4840,17 @@ function StoreNodeDetail({ node, onBack }) {
4823
4840
  ) }),
4824
4841
  /* @__PURE__ */ jsxs("div", { className: "flex-1 overflow-y-auto px-3 pb-2", children: [
4825
4842
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center text-center py-4", children: [
4826
- /* @__PURE__ */ jsx("div", { className: "size-16 rounded-xl bg-muted flex items-center justify-center overflow-hidden mb-3", children: node.icon ? isImageIcon(node.icon) ? /* @__PURE__ */ jsx(
4843
+ /* @__PURE__ */ jsx("div", { className: "size-16 rounded-xl bg-muted flex items-center justify-center overflow-hidden mb-3", children: displayIcon ? isImageIcon(displayIcon) ? /* @__PURE__ */ jsx(
4827
4844
  "img",
4828
4845
  {
4829
- src: node.icon,
4846
+ src: displayIcon,
4830
4847
  alt: node.name,
4831
4848
  className: "w-full h-full object-cover"
4832
4849
  }
4833
4850
  ) : /* @__PURE__ */ jsx(
4834
4851
  Icon,
4835
4852
  {
4836
- icon: node.icon,
4853
+ icon: displayIcon,
4837
4854
  className: "size-8 text-muted-foreground"
4838
4855
  }
4839
4856
  ) : /* @__PURE__ */ jsx("span", { className: "text-2xl font-bold text-muted-foreground", children: node.name.charAt(0).toUpperCase() }) }),
@@ -1,6 +1,6 @@
1
1
  import { isGuidedTourIntent, pickGuidedTour, withoutGuidedTourIntent, isCreateIntent, CreateWorkflowRefusalDialog, decideMissingWorkflow } from './chunk-JCHE4V55.js';
2
2
  import { registerLiveCanvasHandler } from './chunk-PIKYQE7P.js';
3
- import { useWorkflowReloadStore, releaseLeaseKeptForReload, useInstalledNodes, buildNodeCheck, FlowBuilderPage, buildRequiredNodeTypes } from './chunk-MY752OLT.js';
3
+ import { useWorkflowReloadStore, releaseLeaseKeptForReload, useInstalledNodes, buildNodeCheck, FlowBuilderPage, buildRequiredNodeTypes } from './chunk-6O2B5NAK.js';
4
4
  import { canvasFromDefinition } from './chunk-PBCBDSVA.js';
5
5
  import { useLazyWorkflowDefinition, useCreateWorkflow } from './chunk-EFOJEQDS.js';
6
6
  import { useFlowStore, refetchStoreNodes, BILLING_PLANS_PATH, codeBuildIdOf, mergeStickyNotes, rememberRevision, blankWorkflowCreateInput, classifyCreateRefusal, useSaveStatusStore, workflowFingerprint, registerWorkflowNodeTypes, throwIfResultError } from './chunk-23LYGZ27.js';
@@ -1,4 +1,4 @@
1
- import { Card, FluidGridsMark } from './chunk-MY752OLT.js';
1
+ import { Card, FluidGridsMark } from './chunk-6O2B5NAK.js';
2
2
  import { Input } from './chunk-IEVSFCFS.js';
3
3
  import { Button } from './chunk-BQXVT32O.js';
4
4
  import { useWorkflowDefinition } from './chunk-EFOJEQDS.js';
package/dist/index.js CHANGED
@@ -2,8 +2,8 @@ export { Label } from './chunk-VTQVPNUQ.js';
2
2
  import { useRunners, useRunnerActions, RunnerStatusPill, runnerInstallCommand } from './chunk-OR7KZZ2D.js';
3
3
  export { RUNNER_INSTALL_SCRIPT_URL, RunOnSection, RunnerStatusPill, runnerInstallCommand, useRunnerActions, useRunners } from './chunk-OR7KZZ2D.js';
4
4
  export { Popover, PopoverContent, PopoverTrigger } from './chunk-GTEBQQ7J.js';
5
- export { WorkflowBuilder, WorkflowBuilderCore, WorkflowSearchRedirect } from './chunk-OZCJHPMH.js';
6
- export { GuidedTourStarter, WorkflowBuilder as WorkflowBuilderPage } from './chunk-37BKVPO7.js';
5
+ export { WorkflowBuilder, WorkflowBuilderCore, WorkflowSearchRedirect } from './chunk-SA474Y5U.js';
6
+ export { GuidedTourStarter, WorkflowBuilder as WorkflowBuilderPage } from './chunk-DQLSF6GB.js';
7
7
  export { FirstWorkflowChecklist, FirstWorkflowChecklistView, WorkflowsList, useCreateWorkflowFirst } from './chunk-7SY2SL5Y.js';
8
8
  import { CreateWorkflowRefusalDialog } from './chunk-JCHE4V55.js';
9
9
  export { CreateWorkflowRefusalDialog, GUIDED_FIRST_WORKFLOW_NAV, GUIDED_FIRST_WORKFLOW_STATE, GUIDED_TOUR_STATE, firstWorkflowProgress, isGuidedTourIntent, pickGuidedTour } from './chunk-JCHE4V55.js';
@@ -24,10 +24,10 @@ import './chunk-A7QPQ6MO.js';
24
24
  import './chunk-DLKGWGRN.js';
25
25
  export { useDataSinkData, useDataSinks, useInsightsData, useLogStreamDestinationActions, useLogStreamDestinations, useRunReplayActions } from './chunk-CXNJKM4D.js';
26
26
  import './chunk-5ERAJC2I.js';
27
- import { ThemeProvider, extractTemplateGraph } from './chunk-YVOHCC7J.js';
28
- export { TemplatePreview, TemplatesPage } from './chunk-YVOHCC7J.js';
29
- import { useAiWorkflowTemplates, AI_DRAFT_MAX_PROMPT_LENGTH, FlowBuilderPage, FluidGridsMark, draftToCanvas, enrichDraftNodes } from './chunk-MY752OLT.js';
30
- export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, RunsUsageMeter, RunsUsageMeterView, readRunsQuota, runsQuotaLevel, summarizeRunsQuota, useRunsQuota } from './chunk-MY752OLT.js';
27
+ import { ThemeProvider, extractTemplateGraph } from './chunk-4XV2DAVO.js';
28
+ export { TemplatePreview, TemplatesPage } from './chunk-4XV2DAVO.js';
29
+ import { useAiWorkflowTemplates, AI_DRAFT_MAX_PROMPT_LENGTH, FlowBuilderPage, FluidGridsMark, draftToCanvas, enrichDraftNodes } from './chunk-6O2B5NAK.js';
30
+ export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, RunsUsageMeter, RunsUsageMeterView, readRunsQuota, runsQuotaLevel, summarizeRunsQuota, useRunsQuota } from './chunk-6O2B5NAK.js';
31
31
  import './chunk-GEMNVFPK.js';
32
32
  import './chunk-B6CCE2RW.js';
33
33
  export { Input } from './chunk-IEVSFCFS.js';
@@ -97,7 +97,7 @@ var WorkflowsList2 = lazy(
97
97
  () => import('./WorkflowsList-NYSQEZWU.js').then((m) => ({ default: m.WorkflowsList }))
98
98
  );
99
99
  var WorkflowBuilder3 = lazy(
100
- () => import('./WorkflowBuilder-ZIXEU7DQ.js').then((m) => ({
100
+ () => import('./WorkflowBuilder-E5MFEECZ.js').then((m) => ({
101
101
  default: m.WorkflowBuilder
102
102
  }))
103
103
  );
package/dist/templates.js CHANGED
@@ -1,5 +1,5 @@
1
- export { TemplatePreview, TemplatesPage } from './chunk-YVOHCC7J.js';
2
- import './chunk-MY752OLT.js';
1
+ export { TemplatePreview, TemplatesPage } from './chunk-4XV2DAVO.js';
2
+ import './chunk-6O2B5NAK.js';
3
3
  import './chunk-GEMNVFPK.js';
4
4
  import './chunk-B6CCE2RW.js';
5
5
  import './chunk-IEVSFCFS.js';
@@ -1,8 +1,8 @@
1
- export { WorkflowBuilder, WorkflowBuilderCore, WorkflowSearchRedirect } from './chunk-OZCJHPMH.js';
2
- export { WorkflowBuilder as WorkflowBuilderPage } from './chunk-37BKVPO7.js';
1
+ export { WorkflowBuilder, WorkflowBuilderCore, WorkflowSearchRedirect } from './chunk-SA474Y5U.js';
2
+ export { WorkflowBuilder as WorkflowBuilderPage } from './chunk-DQLSF6GB.js';
3
3
  import './chunk-JCHE4V55.js';
4
4
  import './chunk-PIKYQE7P.js';
5
- import './chunk-MY752OLT.js';
5
+ import './chunk-6O2B5NAK.js';
6
6
  import './chunk-GEMNVFPK.js';
7
7
  import './chunk-B6CCE2RW.js';
8
8
  import './chunk-IEVSFCFS.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/fluidgrids-fe-sdk",
3
- "version": "2026.1102.3",
3
+ "version": "2026.1103.1",
4
4
  "description": "FluidGrids Workflow Builder SDK - Embeddable visual workflow automation",
5
5
  "type": "module",
6
6
  "imports": {