@confidencesystemsinc/sdk 1.3.4 → 1.3.6

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,5 +1,5 @@
1
1
  export declare const InitiatePlaybookModal: ({ onConfirm, onClose, isOpen, title, }: {
2
- onConfirm: (email: string) => void | Promise<void>;
2
+ onConfirm: (email: string) => Promise<void>;
3
3
  onClose: () => void;
4
4
  isOpen: boolean;
5
5
  title?: string;
@@ -1,9 +1,10 @@
1
1
  interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
2
2
  type?: string;
3
- label: string;
3
+ label?: string;
4
4
  description?: string;
5
+ error?: boolean;
5
6
  }
6
- export declare const InputField: ({ type, className, label, description, ...props }: InputProps & {
7
+ export declare const InputField: ({ type, className, label, description, error, ...props }: InputProps & {
7
8
  className?: string;
8
9
  }) => import("react/jsx-runtime").JSX.Element;
9
10
  export {};
@@ -1,8 +1,9 @@
1
1
  import { default as React } from 'react';
2
- export declare const Modal: ({ isOpen, close, title, dismissOptions, confirmOptions, children, }: {
2
+ export declare const Modal: ({ isOpen, close, title, dismissOptions, confirmOptions, children, className, }: {
3
+ className?: string;
3
4
  isOpen: boolean;
4
5
  close: () => void;
5
- title: string;
6
+ title?: string;
6
7
  children: React.ReactNode;
7
8
  dismissOptions?: {
8
9
  label: string;
@@ -1,5 +1,5 @@
1
1
  export declare const usePlaybookExpandedTasks: (playbookInstanceId: number | string, triggers?: {
2
- onTaskExpanded?: (taskId: number | string, expanded: boolean) => void;
2
+ onTaskExpanded?: (taskInstanceId: number | string, expanded: boolean) => void;
3
3
  }) => {
4
4
  isTaskExpanded: (taskId: number | string) => boolean;
5
5
  toggleTaskExpanded: (taskId: number | string, expand?: boolean) => void;