ai-design-system 0.1.40 → 0.1.41
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/components/blocks/WorkflowCanvas/WorkflowCanvas.tsx +3 -3
- package/components/composites/FileQueue/FileQueue.tsx +5 -1
- package/components/composites/FileQueue/interfaces.ts +2 -0
- package/dist/index.cjs +11 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +36 -34
- package/dist/index.js +11 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -97,7 +97,7 @@ function WorkflowCanvasInner({
|
|
|
97
97
|
connectionMode={ConnectionMode.Strict}
|
|
98
98
|
edges={edges}
|
|
99
99
|
edgeTypes={edgeTypes}
|
|
100
|
-
elementsSelectable={
|
|
100
|
+
elementsSelectable={true}
|
|
101
101
|
isValidConnection={isValidConnection}
|
|
102
102
|
nodes={nodes}
|
|
103
103
|
nodeTypes={nodeTypes}
|
|
@@ -106,8 +106,8 @@ function WorkflowCanvasInner({
|
|
|
106
106
|
onConnect={interactive ? onConnect : undefined}
|
|
107
107
|
onConnectEnd={interactive ? onConnectEnd : undefined}
|
|
108
108
|
onConnectStart={interactive ? onConnectStart : undefined}
|
|
109
|
-
onEdgesChange={
|
|
110
|
-
onNodesChange={
|
|
109
|
+
onEdgesChange={onEdgesChange}
|
|
110
|
+
onNodesChange={onNodesChange}
|
|
111
111
|
onPaneClick={onPaneClick}
|
|
112
112
|
onNodeClick={onNodeClick}
|
|
113
113
|
onEdgeClick={onEdgeClick}
|
|
@@ -102,7 +102,11 @@ export const FileQueue = React.memo<FileQueueProps>(
|
|
|
102
102
|
aria-selected={isClickable ? isSelected : undefined}
|
|
103
103
|
>
|
|
104
104
|
<div className="flex items-start gap-2">
|
|
105
|
-
<Icon
|
|
105
|
+
<Icon
|
|
106
|
+
name={file.icon || "file"}
|
|
107
|
+
size="sm"
|
|
108
|
+
className={cn("mt-0.5", file.iconColor)}
|
|
109
|
+
/>
|
|
106
110
|
<QueueItemContent>
|
|
107
111
|
{file.name}
|
|
108
112
|
{file.path && (
|
package/dist/index.cjs
CHANGED
|
@@ -2984,7 +2984,14 @@ var FileQueue = React3__namespace.memo(
|
|
|
2984
2984
|
onKeyDown: (e) => handleKeyDown(e, file.id),
|
|
2985
2985
|
"aria-selected": isClickable ? isSelected : void 0,
|
|
2986
2986
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-2", children: [
|
|
2987
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2987
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2988
|
+
Icon,
|
|
2989
|
+
{
|
|
2990
|
+
name: file.icon || "file",
|
|
2991
|
+
size: "sm",
|
|
2992
|
+
className: cn("mt-0.5", file.iconColor)
|
|
2993
|
+
}
|
|
2994
|
+
),
|
|
2988
2995
|
/* @__PURE__ */ jsxRuntime.jsxs(QueueItemContent, { children: [
|
|
2989
2996
|
file.name,
|
|
2990
2997
|
file.path && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground/70", children: [
|
|
@@ -9438,7 +9445,7 @@ function WorkflowCanvasInner({
|
|
|
9438
9445
|
connectionMode: react.ConnectionMode.Strict,
|
|
9439
9446
|
edges,
|
|
9440
9447
|
edgeTypes,
|
|
9441
|
-
elementsSelectable:
|
|
9448
|
+
elementsSelectable: true,
|
|
9442
9449
|
isValidConnection,
|
|
9443
9450
|
nodes,
|
|
9444
9451
|
nodeTypes,
|
|
@@ -9447,8 +9454,8 @@ function WorkflowCanvasInner({
|
|
|
9447
9454
|
onConnect: interactive ? onConnect : void 0,
|
|
9448
9455
|
onConnectEnd: interactive ? onConnectEnd : void 0,
|
|
9449
9456
|
onConnectStart: interactive ? onConnectStart : void 0,
|
|
9450
|
-
onEdgesChange
|
|
9451
|
-
onNodesChange
|
|
9457
|
+
onEdgesChange,
|
|
9458
|
+
onNodesChange,
|
|
9452
9459
|
onPaneClick,
|
|
9453
9460
|
onNodeClick,
|
|
9454
9461
|
onEdgeClick,
|