@form-engine-ts/react 2.9.3 → 2.9.4
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 +5 -2
- package/dist/index.cjs +416 -338
- package/dist/index.d.cts +19 -2
- package/dist/index.d.ts +19 -2
- package/dist/index.js +417 -339
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -75,8 +75,11 @@ set, locale addition becomes a selector containing only unregistered allowed loc
|
|
|
75
75
|
Visual Builder has two independent design-system extension layers. `components` replaces normalized primitives such as
|
|
76
76
|
`Button`, `TextInput`, `TextArea`, `Select`, `Checkbox`, `Section`, and `Fieldset`. `slots` replaces complete authoring
|
|
77
77
|
surfaces: `toolbar`, `fieldEditor`, `optionEditor`, `pages`, `localization`, or `translationActions`. Slot props expose
|
|
78
|
-
policy-aware `actions
|
|
79
|
-
|
|
78
|
+
policy-aware `actions` and the builder's resolved `translate(key, params)` function. Feature-aware slots also receive the
|
|
79
|
+
relevant feature state, while localization slots receive policy and translation-adapter availability. A custom
|
|
80
|
+
`translationActions` slot can therefore call an application-specific AI mutation while the standard manual localization
|
|
81
|
+
editors remain unchanged. A slot collection can set `sectionOrder` to arrange `basicSettings`, `completionMessage`,
|
|
82
|
+
`questions`, `addQuestion`, and `localization` as independent authoring sections.
|
|
80
83
|
|
|
81
84
|
Input primitives receive design-system-friendly `name`, `label`, `required`, `error`, and `helperText` props in addition
|
|
82
85
|
to their normalized string-value callbacks. The `translationActions` slot also receives `translationError`, the latest
|