* Allow setting an additional alpha on a border
See #1863.
* Update the ChangeLog
* Add snapshot tests for the border alpha value
* Extend the border snapshot tests
While this doesn't test *every* permutation, it covers enough bases that if
something were to change it should catch it.
* Tweak a typo in the border style examples
* Add border transparency percentage to the border docs
* Add a CSS example for using border transparency
* Add Color.multiply_alpha
* Update the CHANGELOG
* Multiply the alpha on a colour rather than replace it
As requested in
https://github.com/Textualize/textual/pull/1954#pullrequestreview-1328170386
(actually required while talking in person with Will, but noted in the
above)
* Multiply the alpha on a border colour rather than replace it
As requested in
https://github.com/Textualize/textual/pull/1954#pullrequestreview-1328170386
(actually requested while talking in person with Will, but noted in the
above)
* Renaming some component classes in DataTable
* Some more renaming of DataTable component classes
* Separate styling for fixed rows/columns from labels
* Highlight fixed rows/cols affected by colour differently
* Tweaking styles for fixed data in DataTable
* Update DataTable snapshots
* Add row label to Row metadata
* Wiring up some labelled row logic behind flags
* Renaming variable in DataTable
* Variable renaming in DataTable
* [no ci] Labelling rows progress
* Add RenderedRow abstraction to DataTable
* Computing label widths
* Use the Column object to represent row label column
* Ability to toggle row labels reactively
* Adjust width calculation for label widths
* Add DataTable.RowLabelSelected
* Posting the RowLabelClick message
* Hovering of row labels applies new style
* Remove a print
* Ensure horizontal scrolling with column cursor accounts for row label column
* Account for possible row labels in cell cursor horizontal scrolling
* Ensure cursor highlighting is correct on row label cells
* Document component class for DataTable label hover
* Test to ensure clicking row label emits correct event
* Add snapshot test for DataTable with fixed rows/cols and row labels
* Using pilot pause instead of wait_for_idle directly
* Update CHANGELOG
* Add a docstring
* Add a note to CHANGELOG.md about RowLabelSelected
A new form of Checkbox will be arriving in Textual soon, working in
conjunction with a RadioButton. What was called Checkbox is perhaps a wee
bit heavyweight in terms of visual design, but is a style of widget that
should remain.
With this in mind we're renaming the current Checkbox to Switch. In all
other respects its workings remains the same, only the name has changed.
Things for people to watch out for:
- Imports will need to be updated.
- Queries will need to be updated; special attention will need to be paid to
any queries that are string-based.
- CSS will need to be changed if any Checkbox styling is happening, or if
any Checkbox component styles are being used.
See #1725 as the initial motivation and #1746 as the issue for this
particular change.
We need to reset the color cycle for placeholders before each CSS property test because we need to ensure consistent colouring of the placeholders as tests are added/removed/reordered.