@frigade/react 1.35.22 → 1.35.24
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 +13 -2
- package/lib/index.js +241 -241
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +245 -245
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -532,7 +532,7 @@ interface FrigadeFormProps extends DefaultFrigadeFlowProps {
|
|
|
532
532
|
prefillData?: Record<string, any>;
|
|
533
533
|
/**
|
|
534
534
|
* Whether to update the url when the page changes in multi-page forms. If enabled, the current url will be updated with the
|
|
535
|
-
* current step id in the following format:
|
|
535
|
+
* current step id in the following format: <my_url>?p=<current_step_id>
|
|
536
536
|
*
|
|
537
537
|
* This is useful when wanting to capture URL changes with third-party tracking tools.
|
|
538
538
|
*
|
|
@@ -849,6 +849,17 @@ declare const Text: React__default.FC<BaseTextProps> & {
|
|
|
849
849
|
};
|
|
850
850
|
};
|
|
851
851
|
|
|
852
|
+
declare const ProgressBar: ({ count, total, display, textLocation, style, textStyle, appearance, }: {
|
|
853
|
+
count: number;
|
|
854
|
+
total: number;
|
|
855
|
+
bgColor?: string;
|
|
856
|
+
display?: 'count' | 'percent' | 'compact';
|
|
857
|
+
textLocation?: 'top' | 'left';
|
|
858
|
+
style?: CSSProperties;
|
|
859
|
+
textStyle?: CSSProperties;
|
|
860
|
+
appearance?: Appearance;
|
|
861
|
+
}) => JSX.Element;
|
|
862
|
+
|
|
852
863
|
declare const tokens: {
|
|
853
864
|
colors: {
|
|
854
865
|
neutral: {
|
|
@@ -1012,4 +1023,4 @@ declare const tokens: {
|
|
|
1012
1023
|
};
|
|
1013
1024
|
};
|
|
1014
1025
|
|
|
1015
|
-
export { Appearance, Box, Button, CheckBox, CustomFormTypeProps, EntityProperties, Flow, FlowResponse, FlowType, 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, PublicStepState, StepContentProps, StepData, Text, tokens, useFlowOpens, useFlowResponses, useFlows, useOrganization, useUser, useUserFlowStates };
|
|
1026
|
+
export { Appearance, Box, Button, CheckBox, CustomFormTypeProps, EntityProperties, Flow, FlowResponse, FlowType, 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, ProgressBar, ProgressRing, PublicStepState, StepContentProps, StepData, Text, tokens, useFlowOpens, useFlowResponses, useFlows, useOrganization, useUser, useUserFlowStates };
|