@habit.analytics/habit-claims-journey-components 2.1.4 → 2.1.5

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.
@@ -0,0 +1,12 @@
1
+ interface ConfirmDialogProps {
2
+ open: boolean;
3
+ onOpenChange: (open: boolean) => void;
4
+ title?: string;
5
+ description: string;
6
+ confirmLabel?: string;
7
+ cancelLabel?: string;
8
+ destructive?: boolean;
9
+ onConfirm: () => void;
10
+ }
11
+ export declare function ConfirmDialog({ open, onOpenChange, title, description, confirmLabel, cancelLabel, destructive, onConfirm, }: ConfirmDialogProps): import("react/jsx-runtime").JSX.Element;
12
+ export {};
@@ -179,6 +179,7 @@ declare const en: {
179
179
  readonly fc_no_steps: "No steps yet.";
180
180
  readonly fc_no_steps_hint_click: "Click";
181
181
  readonly fc_no_steps_hint_to_begin: "to begin.";
182
+ readonly fc_confirm_title: "Are you sure?";
182
183
  readonly fc_confirm_delete_step: "Delete this step?";
183
184
  readonly fc_step_empty_select: "Select a step on the left.";
184
185
  readonly fc_step_empty_create: "Add a step from the left panel to begin.";
@@ -269,14 +270,18 @@ declare const en: {
269
270
  readonly fc_init_prefill_hint: "Fetch answers from an endpoint when the runner mounts.";
270
271
  readonly fc_init_mapping: "Mapping (JSON: namespace → response_path)";
271
272
  readonly fc_json_title: "JSON";
272
- readonly fc_json_hint: "Raw JourneySpec (form_config + theme). Edit and click Import to apply.";
273
- readonly fc_json_refresh: "Refresh from store";
273
+ readonly fc_json_hint: "Raw JourneySpec (form_config + theme). Edit and click Apply to update the configurator.";
274
+ readonly fc_json_refresh: "Reload from configurator";
275
+ readonly fc_json_refresh_hint: "Discard JSON edits and reload from the current configurator state";
274
276
  readonly fc_json_copy: "Copy";
275
277
  readonly fc_json_download: "Download";
276
- readonly fc_json_import: "Import";
278
+ readonly fc_json_import: "Apply changes";
279
+ readonly fc_json_apply_hint: "Apply the JSON edits to the configurator";
277
280
  readonly fc_json_imported_ok: "Imported successfully";
278
281
  readonly fc_json_copied: "Copied to clipboard";
279
282
  readonly fc_json_invalid: "Invalid JSON";
283
+ readonly fc_json_upload: "Upload File";
284
+ readonly fc_json_file_error: "Could not read the file.";
280
285
  readonly fc_create_field_title: "Add field";
281
286
  readonly fc_create_field_subtitle: "Pick from the catalog or create a custom field.";
282
287
  readonly fc_create_from_catalog: "From catalog ({{count}})";