@frigade/react 1.32.27 → 1.32.29

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/lib/index.d.ts CHANGED
@@ -315,7 +315,7 @@ interface HeroChecklistProps extends Omit<DefaultFrigadeFlowProps, 'flowId'> {
315
315
  onCompleteStep?: (index: number, stepData: StepData) => void;
316
316
  selectedStep?: number;
317
317
  setSelectedStep?: (index: number) => void;
318
- customStepTypes?: Map<string, (stepData: StepData) => React__default.ReactNode>;
318
+ customStepTypes?: Record<string, (stepData: StepData, appearance: Appearance) => React__default.ReactNode>;
319
319
  }
320
320
 
321
321
  interface FrigadeHeroChecklistProps extends HeroChecklistProps {
@@ -445,7 +445,7 @@ interface ToolTipProps extends Omit<DefaultFrigadeFlowProps, 'flowId'> {
445
445
  [key: string]: string | number | boolean;
446
446
  };
447
447
  selectedStep?: number;
448
- customStepTypes?: Map<string, (stepData: StepData) => React__default.ReactNode>;
448
+ customStepTypes?: Record<string, (stepData: StepData) => React__default.ReactNode>;
449
449
  appearance?: Appearance;
450
450
  /**
451
451
  * Shows a close button in the top right corner of the tooltip. This will end the flow.
@@ -534,4 +534,27 @@ declare function Label({ title, required, appearance, }: {
534
534
  appearance: Appearance;
535
535
  }): JSX.Element;
536
536
 
537
- export { Appearance, CustomFormTypeProps, EntityProperties, FormInputProps, FormInputType, Label as FormLabel, FormValidationError, FrigadeBanner, FrigadeChecklist, FrigadeEmbeddedTip, FrigadeForm, FrigadeGuide, FrigadeHeroChecklist, FrigadeNPSSurvey, FrigadeProgressBadge, FrigadeProvider, FrigadeSupportWidget, BaseTheme as FrigadeTheme, FrigadeTour, StepContentProps, StepData, useFlowOpens, useFlowResponses, useFlows, useOrganization, useUser };
537
+ interface ProgressRingProps {
538
+ fillColor: string;
539
+ size: number;
540
+ bgColor?: string;
541
+ percentage: number;
542
+ className?: string;
543
+ style?: React__default.CSSProperties;
544
+ children?: React__default.ReactNode;
545
+ }
546
+ declare const ProgressRing: FC<ProgressRingProps>;
547
+
548
+ type CheckBoxType = 'square' | 'round';
549
+ interface CheckBoxProps {
550
+ value: boolean;
551
+ type?: CheckBoxType;
552
+ primaryColor?: string;
553
+ progress?: number;
554
+ appearance?: Appearance;
555
+ className?: string;
556
+ style?: React__default.CSSProperties;
557
+ }
558
+ declare const CheckBox: FC<CheckBoxProps>;
559
+
560
+ export { Appearance, CheckBox, CustomFormTypeProps, EntityProperties, FormInputProps, FormInputType, Label as FormLabel, FormValidationError, FrigadeBanner, FrigadeChecklist, FrigadeEmbeddedTip, FrigadeForm, FrigadeGuide, FrigadeHeroChecklist, FrigadeNPSSurvey, FrigadeProgressBadge, FrigadeProvider, FrigadeSupportWidget, BaseTheme as FrigadeTheme, FrigadeTour, ProgressRing, StepContentProps, StepData, useFlowOpens, useFlowResponses, useFlows, useOrganization, useUser };