Skip to content

v0.6.0

Latest

Choose a tag to compare

@jpmarindiaz jpmarindiaz released this 20 Apr 01:54
· 1 commit to main since this release

New

  • Column coloring (column.color) — three shapes, same prop. Pass a CSS color string to tint a whole column (every cell + the header) with a soft blend — good for flagging a non-editable column or grouping related columns visually. Pass a ColorRule[] ({ when: { op, value/values, field? }, color }) for JSON-serializable Google-Sheets-style conditional formatting; rules evaluate top-down and the first match wins. Operators include equals/notEquals, lt/lte/gt/gte, contains/notContains, empty/notEmpty, and in/notIn; each can optionally compare a different field. For anything the rule array can't express (palettes, numeric interpolation, cross-field math), pass a (row, value, fieldId) => string | undefined function instead — prop-API only. The evaluator is exported as evaluateColorRules(rules, row, value) so the same rules can be reused outside the grid. See BROWSER.md → Column coloring.

Fixed

  • Header overflow fade now tints with the column — when a column uses color to tint its header, the right-edge fade gradient blends into the tinted background instead of showing a strip of default gray. Symmetric with the row-background fade that already respected colorBy.