@form-engine-ts/react 5.1.0 → 6.1.0

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/README.md CHANGED
@@ -89,6 +89,14 @@ underscore-separated values such as `EN_us` are accepted as compatibility input.
89
89
  Use `isAddLocaleAllowed` to disable locale controls before submission. Removing a locale also clears its
90
90
  localized values and metadata; the default locale remains protected.
91
91
 
92
+ `useTranslationWorkspace` can notify `onTranslationStart`, `onTranslationSuccess`, `onTranslationError`, and
93
+ `onTranslationChange` with typed lifecycle payloads. The MUI workspace accepts a `confirmRemoveLocale` slot for an
94
+ async confirmation UI; its `onConfirm` callback completes the locale removal.
95
+
96
+ `useTranslationComparison` provides a focused, controlled comparison model for form, page, field, and option text.
97
+ Its items expose source text, target text, status, canonical metadata, and path-based `updateTranslation`,
98
+ `translateSingle`, and `translateAll` actions.
99
+
92
100
  Wrap a builder or renderer in `FormEngineI18nProvider` to supply a UI locale and typed Core translator independently
93
101
  from the schema's `defaultLocale` and `supportedLocales`:
94
102