@w6w/ui 0.2.54 → 0.2.55

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.
@@ -0,0 +1,5 @@
1
+ import { WorkflowConnectionResources } from './workflow-connections.ts';
2
+ /** Manage workflow bindings; credential creation stays in the existing connection flow. */
3
+ export declare function WorkflowConnectionsPanel({ resources, }: {
4
+ resources: WorkflowConnectionResources;
5
+ }): import("react").JSX.Element;
@@ -4,11 +4,14 @@ import { StepStartState } from './provider.tsx';
4
4
  import { RunState } from './run-visuals.ts';
5
5
  import { StepProblem, StepProblems } from './step-problems.ts';
6
6
  import { AppSummary } from './types.ts';
7
+ import { WorkflowConnectionResources } from './workflow-connections.ts';
7
8
  /** What kind of change an `onChange` reports — see `WorkflowFlowEditorProps.onChange`. */
8
9
  export interface FlowChangeMeta {
9
10
  viewportOnly?: true;
10
11
  }
11
12
  export interface WorkflowFlowEditorProps {
13
+ /** Publishes the live connection manager to a host-owned rail. Edits share canvas undo/save. */
14
+ onConnectionResourcesChange?: (resources: WorkflowConnectionResources | null) => void;
12
15
  /** The workflow being edited. The editor re-derives layout when this changes identity. */
13
16
  value: FlowWorkflow;
14
17
  /**
@@ -8,6 +8,8 @@ export interface ConfirmModalProps {
8
8
  onClose: () => void;
9
9
  confirmLabel?: string;
10
10
  cancelLabel?: string;
11
+ /** Prevent dismissal and repeated submission while the action is running. */
12
+ pending?: boolean;
11
13
  /** Style the confirm button as destructive (default true — this dialog gates dangerous actions). */
12
14
  destructive?: boolean;
13
15
  /** Extra consequence copy under the message (e.g. a warning line) that a string cannot carry. */
@@ -30,4 +32,4 @@ export interface ConfirmModalProps {
30
32
  * Confirmations are `{pending}` state + a rendered sibling modal, never a blocking
31
33
  * call: a caller reachable from a keydown handler cannot swap in a boolean.
32
34
  */
33
- export declare function ConfirmModal({ title, message, onConfirm, onClose, confirmLabel, cancelLabel, destructive, children, }: ConfirmModalProps): import("react").JSX.Element;
35
+ export declare function ConfirmModal({ title, message, onConfirm, onClose, confirmLabel, cancelLabel, destructive, pending, children, }: ConfirmModalProps): import("react").JSX.Element;