@frigade/react 1.32.26 → 1.32.27

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
@@ -190,7 +190,8 @@ declare enum FlowType {
190
190
  SUPPORT = "SUPPORT",
191
191
  CUSTOM = "CUSTOM",
192
192
  BANNER = "BANNER",
193
- EMBEDDED_TIP = "EMBEDDED_TIP"
193
+ EMBEDDED_TIP = "EMBEDDED_TIP",
194
+ NPS_SURVEY = "NPS_SURVEY"
194
195
  }
195
196
  declare enum TriggerType {
196
197
  MANUAL = "MANUAL",
@@ -499,11 +500,18 @@ interface FrigadeBannerProps extends DefaultFrigadeFlowProps {
499
500
  }
500
501
  declare const FrigadeBanner: React__default.FC<FrigadeBannerProps>;
501
502
 
503
+ interface FrigadeNPSSurveyProps extends DefaultFrigadeFlowProps {
504
+ dismissible?: boolean;
505
+ }
506
+ declare const FrigadeNPSSurvey: React__default.FC<FrigadeNPSSurveyProps>;
507
+
502
508
  declare function useFlowOpens(): {
503
509
  getOpenFlowState: (flowSlug: string, defaultValue?: boolean) => boolean;
504
510
  setOpenFlowState: (flowSlug: string, isOpen: boolean) => void;
505
511
  resetOpenFlowState: (flowSlug: string) => void;
506
512
  hasOpenModals: () => boolean;
513
+ setKeepCompletedFlowOpenDuringSession: (flowSlug: string) => void;
514
+ shouldKeepCompletedFlowOpenDuringSession: (flowSlug: string) => boolean;
507
515
  };
508
516
 
509
517
  declare function useUser(): {
@@ -526,4 +534,4 @@ declare function Label({ title, required, appearance, }: {
526
534
  appearance: Appearance;
527
535
  }): JSX.Element;
528
536
 
529
- export { Appearance, CustomFormTypeProps, EntityProperties, FormInputProps, FormInputType, Label as FormLabel, FormValidationError, FrigadeBanner, FrigadeChecklist, FrigadeEmbeddedTip, FrigadeForm, FrigadeGuide, FrigadeHeroChecklist, FrigadeProgressBadge, FrigadeProvider, FrigadeSupportWidget, BaseTheme as FrigadeTheme, FrigadeTour, StepContentProps, StepData, useFlowOpens, useFlowResponses, useFlows, useOrganization, useUser };
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 };