@frigade/react 1.32.25 → 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 +16 -2
- package/lib/index.js +293 -206
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +293 -206
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
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(): {
|
|
@@ -520,4 +528,10 @@ declare function useOrganization(): {
|
|
|
520
528
|
trackEventForOrganization: (event: string, properties?: EntityProperties) => Promise<void>;
|
|
521
529
|
};
|
|
522
530
|
|
|
523
|
-
|
|
531
|
+
declare function Label({ title, required, appearance, }: {
|
|
532
|
+
title: string;
|
|
533
|
+
required: boolean;
|
|
534
|
+
appearance: Appearance;
|
|
535
|
+
}): JSX.Element;
|
|
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 };
|