Skip to content

History / Input Contract

Revisions

  • docs: require container: true on caller-supplied slot Semantics Closes the gap where following the 'pass a real, focusable, labelled widget' advice for prefix:/suffix: could recreate the DESIGN-148 defect if the caller's Semantics node lacked container: true and merged onto the field's own semantics node.

    @PHKenny PHKenny committed Aug 25, 2026
  • docs: document prefix/suffix slot semantics contract Adds a Semantics subsection under Prefix and Suffix: the four-category accounting (decorative / merged-into-name / pointer-only / caller's own responsibility), why the callback forms are pointer-only today, and the "pass a real focusable widget instead" contract that already works. Cross-links D64. DESIGN-148

    @PHKenny PHKenny committed Aug 25, 2026
  • docs: update for the MDI icon set, token level ramps and panel merge Icon references move from LayrzIcons.solar* to MdiIcons.*. Spacing and radius tables are rebuilt around the five-level ramps, and the typography table is corrected (it had drifted from the code on both display's size and three of the five weights). Removes the input dense parameter and the deleted layout constants.

    @PHKenny PHKenny committed Aug 20, 2026
  • chore(inputs): remove labelIcon feature

    @PHKenny PHKenny committed Aug 19, 2026
  • docs: update for solid borders and fixed content height - Remove references to dashed borders (feature removed) - Update state matrix to show transparent borders instead of divider - Add documentation for dense mode and fixed content height - Clarify geometry invariance across all states - Update Input-Contract.md and LayrzTextInput.md for current API Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

    @PHKenny PHKenny committed Aug 19, 2026
  • docs: add guidance for Row alignment when laying out inputs When laying out inputs side-by-side in a Row, use CrossAxisAlignment.start to ensure field boxes align properly. Inputs with error messages or labels are taller than those without, and the default center alignment causes field boxes to misalign and error messages to not hang cleanly below.

    @PHKenny PHKenny committed Aug 19, 2026
  • docs: update hint text behavior - disappears when field has text, not on focus Fix stale documentation that incorrectly stated the hint disappears on focus or typing. The actual behavior: hint is shown inside the empty field and disappears when the field has text (not on focus alone). The hint remains visible when the field is focused but still empty. Updated in: - Input-Contract.md (line 65) - Widgets/LayrzTextInput.md (lines 23 and 78)

    @PHKenny PHKenny committed Aug 19, 2026
  • docs: update LayrzTextInput and Input-Contract for M2 ship Correct the state matrix, API shape, and interaction model: - Focus preserves surface2 fill (only border changes to primary) - Read-only is rest + lock icon (solid border, fg1 text) - Disabled uses dashed border and fg4 text - placeholder → hintText; at least one of labelText or hintText is mandatory - Add labelIcon parameter - Errors joined with comma-space (single line) - Close input contract open questions with decided answers Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

    @PHKenny PHKenny committed Aug 19, 2026
  • docs: point engineering doc links at engineering/ The repository's engineering documentation moved from doc/ to engineering/. Updated 57 URLs across 35 pages. Wiki-internal links, which use bare page names, are unaffected. Co-Authored-By: Anthropic Claude <noreply@anthropic.com>

    @PHKenny PHKenny committed Aug 13, 2026
  • docs: add documentation for new input components and update sidebar - Introduced `LayrzTextAreaInput` for multiline text input with detailed specifications and interaction patterns. - Added `LayrzTimeInput` for single time selection and `LayrzTimeRangeInput` for time range selection, both derived from `layrz_theme`. - Updated `_Sidebar.md` to include new input components and organized references for better navigation. - Created `_Footer.md` for consistent branding across documentation. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

    @PHKenny PHKenny committed Aug 13, 2026