iq-line-form-builder-renderer 1.1.44 → 1.1.45

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/HOST.md CHANGED
@@ -22,3 +22,13 @@ import {
22
22
 
23
23
  - **No host-wide global CSS is required** for grid placement: wrap with `.iq-fbr`, import the optional bundle (`import 'iq-line-form-builder-renderer/styles'`) so tokens and components stay scoped — avoid depending on `body` / `html` / bare `*` rules from the host.
24
24
  - **`FORM_RENDERER_GRID_ROW_HEIGHT_DEFAULT`** matches the default minimum row track height used when `rowHeight` is omitted; keep it in sync with your designer app if you customize tracks.
25
+
26
+ ## Button fields (`button` / `editButton`)
27
+
28
+ In grid layout, **`button`** and **`editButton`** fields default to **intrinsic width** (label + padding), matching a normal-sized control—not full column width—unless you opt in:
29
+
30
+ - **Full width**: set **`appearance.widthMode: 'full'`** or **`appearance.widthPercent: 100`** (or any explicit width mode / percent).
31
+ - **Partial width**: **`widthPercent`** (with **`widthMode: 'percent'`** if you use mode-only schemas) plus **`horizontalAlign`** / **`contentAlign`** (`start` \| `center` \| `end`) to place the block in the cell.
32
+ - **Tall cells / row span**: default vertical placement is **`start`** (intrinsic height). Use **`appearance.verticalAlign: 'stretch'`** when the button should fill the cell height.
33
+
34
+ All layout classes stay under **`FORM_RENDERER_ROOT_CLASS`** (`.iq-fbr`); no extra global selectors.