Workflow Actions

Workflow list actions, publish, and deprecate dialogs

SaaSWorkflow

Overview

The Workflows action components provide the interactive controls for managing workflow definitions. WorkflowListActions renders toolbar buttons for creating workflows and bulk operations. WorkflowRowActions provides a context menu for individual workflow rows with status-aware actions (publish, deprecate, delete). WorkflowStepActions handles step-level operations in the workflow builder. PublishWorkflowDialog and DeprecateWorkflowDialog provide confirmation modals for lifecycle transitions. ConfirmationDialog and PauseResumeToggle are shared utilities used across the workflow domain.

Usage

import { ConfirmationDialog, PauseResumeToggle } from '@leanicon/web-builder-library/saas'

;<ConfirmationDialog
  open={isOpen}
  onOpenChange={setIsOpen}
  title="Delete Workflow"
  description="This action cannot be undone."
  variant="destructive"
  confirmLabel="Delete"
  onConfirm={handleDelete}
/>

;<PauseResumeToggle isPaused={isPaused} onPause={handlePause} onResume={handleResume} />

Variants

Confirmation Dialog

Destructive Confirmation

Confirmation Loading

Pause/Resume Toggle (Running)

Pause/Resume Toggle (Paused)

Pause/Resume Toggle Sizes

Pause/Resume Toggle Disabled