ng-form-foundry 0.3.5 → 0.4.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 +7 -1
- package/fesm2022/ng-form-foundry.mjs +276 -30
- package/fesm2022/ng-form-foundry.mjs.map +1 -1
- package/index.d.ts +161 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -36,7 +36,13 @@ form = buildFormFromSchema(schema);
|
|
|
36
36
|
- **Angular Material renderers** for string, number, boolean, and enum fields,
|
|
37
37
|
add/remove lists, collapsible groups, optional **presence** fields with a
|
|
38
38
|
toggle, **choice/case** selection, and add/remove/rename **map** entries.
|
|
39
|
-
- **
|
|
39
|
+
- **Declarative field layout.** An `appearance` on any group lays its fields on
|
|
40
|
+
a CSS **grid** (`grid: { cols }`), packs as many equal-width fields per row
|
|
41
|
+
as fit (`minFieldWidth`), gathers checkboxes into a compact row
|
|
42
|
+
(`booleanFields`), and bounds text/number widths in the default wrapping
|
|
43
|
+
flow — the options **cascade** to nested groups, list items, map entries,
|
|
44
|
+
and choice cases, with per-node override.
|
|
45
|
+
- **Two views:** an all-in-one recursive form (`nff-dynamic-recursive-form`),
|
|
40
46
|
or a tree/detail **config editor** (`nff-config-editor`) — structure on the
|
|
41
47
|
left, a node's fields on the right.
|
|
42
48
|
- **Standalone components**, Angular 20, signal inputs, reactive forms throughout.
|