@habit.analytics/habit-claims-journey-components 2.1.5 → 2.1.7
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/dist/components/runner/FormRunnerWidget.d.ts +6 -0
- package/dist/i18n/locales/en.d.ts +3 -2
- package/dist/index.cjs +58 -53
- package/dist/index.mjs +3598 -3535
- package/package.json +1 -1
|
@@ -37,5 +37,11 @@ export interface FormRunnerWidgetProps {
|
|
|
37
37
|
initialAnswers?: Record<string, unknown>;
|
|
38
38
|
googleMapsApiKey?: string;
|
|
39
39
|
fullScreen?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Whether to show the welcome / onboarding screen before the first step.
|
|
42
|
+
* Defaults to `true` (v1.x parity). Set to `false` to enter the form
|
|
43
|
+
* directly.
|
|
44
|
+
*/
|
|
45
|
+
showWelcome?: boolean;
|
|
40
46
|
}
|
|
41
47
|
export declare function FormRunnerWidget(props: FormRunnerWidgetProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -14,8 +14,8 @@ declare const en: {
|
|
|
14
14
|
readonly runner_save_exit: "Save & Exit";
|
|
15
15
|
readonly runner_ready_title: "Ready to begin";
|
|
16
16
|
readonly runner_onboarding_subtitle: "Before you start, make sure you have the following:";
|
|
17
|
-
readonly runner_onboarding_line1: "Before you start, have
|
|
18
|
-
readonly runner_onboarding_line2: "We may ask for
|
|
17
|
+
readonly runner_onboarding_line1: "Before you start, please have the relevant information about the incident ready.";
|
|
18
|
+
readonly runner_onboarding_line2: "We may ask for details such as a description of the incident, the date, location, or supporting documents.";
|
|
19
19
|
readonly runner_onboarding_photos: "Photos of the incident (damage, location, context)";
|
|
20
20
|
readonly runner_onboarding_documents: "Relevant documents (policy, ID, etc.)";
|
|
21
21
|
readonly runner_onboarding_datetime: "Date and time of the event";
|
|
@@ -24,6 +24,7 @@ declare const en: {
|
|
|
24
24
|
readonly runner_start_claim: "Start claim";
|
|
25
25
|
readonly runner_review_title: "Review Your Answers";
|
|
26
26
|
readonly runner_no_answers: "No answers recorded.";
|
|
27
|
+
readonly runner_summary_all_answers: "All answers";
|
|
27
28
|
readonly runner_review: "Review";
|
|
28
29
|
readonly runner_step: "Step {{step}}/{{total}}";
|
|
29
30
|
readonly runner_no_journey: "No journey has been built yet.";
|