@embedreach/components 0.1.68 → 0.1.70

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/dist/index.d.ts CHANGED
@@ -5,7 +5,8 @@ import { LucideProps } from 'lucide-react';
5
5
  import { RefAttributes } from 'react';
6
6
 
7
7
  export declare enum AutomationTriggerType {
8
- ONE_TIME = "one_time"
8
+ ONE_TIME = "one_time",
9
+ TRIGGER_BASED = "trigger_based"
9
10
  }
10
11
 
11
12
  export declare function CreateAutomationDialog({ open, setOpen, onClose, iconDefinitions, automationType, }: CreateAutomationDialogProps): JSX_2.Element;
@@ -27,9 +28,9 @@ declare interface CreateAutomationModalProps {
27
28
  */
28
29
  onClose?: (createdAutomation: string | false | 'error') => void;
29
30
  /**
30
- * Optional keys to override the default icon definitions
31
+ * Optional icon definitions to use for the automation
31
32
  */
32
- iconDefinitions?: Partial<IconDefinitionsType>;
33
+ iconDefinitions?: IconDefinitionsType;
33
34
  /**
34
35
  * Optionally skip the selection of automation and jump to the automation type
35
36
  * Currently only supports one time automation
@@ -39,9 +40,9 @@ declare interface CreateAutomationModalProps {
39
40
  automationType?: AutomationTriggerType.ONE_TIME;
40
41
  }
41
42
 
42
- export declare const Engage: default_2.FC<{
43
- iconDefinitions: Partial<IconDefinitionsType>;
44
- }>;
43
+ export declare const Engage: ({ iconDefinitions: mergedIconDefinitions, }: {
44
+ iconDefinitions: IconDefinitionsType;
45
+ }) => JSX_2.Element;
45
46
 
46
47
  /**
47
48
  * Represents the available features in our application.
@@ -226,11 +227,11 @@ declare interface ThemeStyles {
226
227
  'font-heading'?: string;
227
228
  }
228
229
 
229
- export declare const ViewAutomationModal: default_2.FC<ViewAutomationModalProps & {
230
+ export declare const ViewAutomationModal: default_2.FC<ViewAutomationProps & {
230
231
  inRouter?: boolean;
231
232
  }>;
232
233
 
233
- declare type ViewAutomationModalProps = {
234
+ declare type ViewAutomationProps = {
234
235
  /**
235
236
  * The id of the automation to view
236
237
  */
@@ -240,7 +241,7 @@ declare type ViewAutomationModalProps = {
240
241
  */
241
242
  autoOpenEditPopup?: boolean;
242
243
  /**
243
- * Optional keys to override the default icon definitions
244
+ * Optional icon definitions to use for the automation
244
245
  */
245
246
  iconDefinitions?: IconDefinitionsType;
246
247
  /**