@frigade/react 1.35.1 → 1.35.2
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 +12 -2
- package/lib/index.js +300 -256
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +300 -256
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -208,7 +208,8 @@ declare enum FlowType {
|
|
|
208
208
|
CUSTOM = "CUSTOM",
|
|
209
209
|
BANNER = "BANNER",
|
|
210
210
|
EMBEDDED_TIP = "EMBEDDED_TIP",
|
|
211
|
-
NPS_SURVEY = "NPS_SURVEY"
|
|
211
|
+
NPS_SURVEY = "NPS_SURVEY",
|
|
212
|
+
ANNOUNCEMENT = "ANNOUNCEMENT"
|
|
212
213
|
}
|
|
213
214
|
declare enum TriggerType {
|
|
214
215
|
MANUAL = "MANUAL",
|
|
@@ -650,6 +651,15 @@ interface FrigadeNPSSurveyProps extends DefaultFrigadeFlowProps {
|
|
|
650
651
|
}
|
|
651
652
|
declare const FrigadeNPSSurvey: React__default.FC<FrigadeNPSSurveyProps>;
|
|
652
653
|
|
|
654
|
+
interface FrigadeAnnouncementProps extends DefaultFrigadeFlowProps {
|
|
655
|
+
dismissible?: boolean;
|
|
656
|
+
/**
|
|
657
|
+
* Indicates the position of the modal if the form type is a modal. Default is center.
|
|
658
|
+
*/
|
|
659
|
+
modalPosition?: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'center' | 'inline';
|
|
660
|
+
}
|
|
661
|
+
declare const FrigadeAnnouncement: React__default.FC<FrigadeAnnouncementProps>;
|
|
662
|
+
|
|
653
663
|
declare function useFlowOpens(): {
|
|
654
664
|
getOpenFlowState: (flowId: string, defaultValue?: boolean) => boolean;
|
|
655
665
|
setOpenFlowState: (flowId: string, isOpen: boolean) => void;
|
|
@@ -976,4 +986,4 @@ declare const tokens: {
|
|
|
976
986
|
};
|
|
977
987
|
};
|
|
978
988
|
|
|
979
|
-
export { Appearance, Box, Button, CheckBox, CustomFormTypeProps, EntityProperties, FormInputProps, FormInputType, Label as FormLabel, TextField as FormTextField, FormValidationError, FrigadeBanner, FrigadeChecklist, DefaultAppearance as FrigadeDefaultAppearance, FrigadeEmbeddedTip, FrigadeForm, FrigadeGuide, FrigadeHeroChecklist, FrigadeNPSSurvey, FrigadeProgressBadge, FrigadeProvider, FrigadeSupportWidget, BaseTheme as FrigadeTheme, FrigadeTour, ProgressRing, StepContentProps, StepData, Text, tokens, useFlowOpens, useFlowResponses, useFlows, useOrganization, useUser, useUserFlowStates };
|
|
989
|
+
export { Appearance, Box, Button, CheckBox, CustomFormTypeProps, EntityProperties, FormInputProps, FormInputType, Label as FormLabel, TextField as FormTextField, FormValidationError, FrigadeAnnouncement, FrigadeBanner, FrigadeChecklist, DefaultAppearance as FrigadeDefaultAppearance, FrigadeEmbeddedTip, FrigadeForm, FrigadeGuide, FrigadeHeroChecklist, FrigadeNPSSurvey, FrigadeProgressBadge, FrigadeProvider, FrigadeSupportWidget, BaseTheme as FrigadeTheme, FrigadeTour, ProgressRing, StepContentProps, StepData, Text, tokens, useFlowOpens, useFlowResponses, useFlows, useOrganization, useUser, useUserFlowStates };
|