@asteby/metacore-runtime-react 37.0.1 → 37.0.3

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/src/types.ts CHANGED
@@ -337,12 +337,13 @@ export interface ColumnDefinition {
337
337
  /** snake_case alias served by the kernel for `itemFields`. */
338
338
  item_fields?: ColumnItemField[]
339
339
  /**
340
- * Conditional visibility in the create/edit modal: render this field only
341
- * when a sibling field's current value matches the predicate. Mirrors the
342
- * kernel v3 `Column.visible_when` (projected onto the served ColumnDef).
343
- * Tolerates the camelCase alias. Absent = always visible; a hidden field is
344
- * skipped by the required-gate so it never blocks submit. See
345
- * `evaluateVisibleWhen`.
340
+ * Conditional visibility (kernel v3 `Column.visible_when`):
341
+ * - create/edit modal `evaluateVisibleWhen` against live form values
342
+ * - list/board `evaluateVisibleWhenForListScope` against known filter
343
+ * scope (`defaultFilters` / single-eq chips), so a locked nav scope
344
+ * like `party_type=customer` hides `supplier_id` without each nav
345
+ * item re-declaring a full column allowlist.
346
+ * Tolerates the camelCase alias. Absent = always visible.
346
347
  */
347
348
  visible_when?: VisibleWhen
348
349
  /** camelCase alias for `visible_when`. */