You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3d018fb
Browse filesBrowse the repository at this point in the historyBrowse files
[Component Audit] Item: a theme can restyle highlighted, selected, and disabled rows (#10073)
* [Component Audit] Item: a theme can restyle highlighted, selected, and disabled rows
* [Component Audit] Item: receipts find the text cell by layout, move the pointer onto the disabled row, and read the focus width from the theme; resolve private self-review findings
* [Component Audit] Item: the disabled hover frame fails closed when the row has no box
* [Component Audit] Item: labelLines and descriptionLines truncation is tested, and the clamped label is proven in a browser
* [Component Audit] Item: the truncation test proves the clamp counts, and the clamped frame proves its fixture runs past two lines
* [Component Audit] Item: the changeset says which composing rows reflect which states
* [Component Audit] Item: the changeset's second example is DropdownMenuItem
* [Component Audit] Item: receipts expect each row's own direction, which a story case may set
* [Component Audit] Item: the frame direction is read from the preview's direction wrapper
[fix] Item: the `item` theme target now reflects the row's state as `data-highlighted`, `data-selected`, and `data-disabled`, so a theme can restyle a highlighted, selected, or disabled row. A row that composes Item reflects the states it passes to Item: for example, ListItem reflects selected and disabled, and DropdownMenuItem reflects disabled. The docs list `className` and `style`, give `ref` the root element type, and give `xstyle` its standard description.
0 commit comments