@factorialco/f0-react 1.372.0 → 1.372.1

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/f0.d.ts CHANGED
@@ -2542,6 +2542,8 @@ export declare const defaultTranslations: {
2542
2542
  readonly forms: {
2543
2543
  readonly actionBar: {
2544
2544
  readonly unsavedChanges: "You have changes pending to be saved";
2545
+ readonly saving: "Saving...";
2546
+ readonly saved: "Your changes have been saved";
2545
2547
  readonly discard: "Discard";
2546
2548
  readonly issues: {
2547
2549
  readonly one: "{{count}} issue";
@@ -4071,6 +4073,8 @@ declare interface F0FormSubmitConfigBase {
4071
4073
  * - IconType: custom icon
4072
4074
  */
4073
4075
  icon?: IconType | null;
4076
+ /** Label shown in the action bar while submitting (defaults to i18n "forms.actionBar.saving") */
4077
+ savingMessage?: string;
4074
4078
  }
4075
4079
 
4076
4080
  /**
@@ -4078,6 +4082,8 @@ declare interface F0FormSubmitConfigBase {
4078
4082
  */
4079
4083
  export declare type F0FormSubmitResult = {
4080
4084
  success: true;
4085
+ /** Optional message shown in the action bar after successful submission */
4086
+ message?: string;
4081
4087
  } | {
4082
4088
  success: false;
4083
4089
  /** Root error message displayed at the top of the form */