Commit Graph

607 Commits

Author SHA1 Message Date
Darren Burns
4e61770a7c Unroll tab headers into single renderable, more parameterisation of tabs, more examples 2022-02-17 12:20:44 +00:00
Darren Burns
dee99f947f Make animation customisable 2022-02-16 16:48:47 +00:00
Darren Burns
363cec1a4b Adding some additional parameters for customising tabs 2022-02-16 16:41:42 +00:00
Darren Burns
1c9e91e1ff Adding some additional parameters for customising tabs 2022-02-16 16:41:35 +00:00
Darren Burns
bac09967cb Tidying up default tab state 2022-02-16 13:43:38 +00:00
Darren Burns
549897f9dd Animating tab change, set initial tab 2022-02-16 13:40:40 +00:00
Darren Burns
16085b9905 Adjust tabs spacing algorithm 2022-02-15 14:36:13 +00:00
Darren Burns
b2f7c2ac85 Displaying tabs with underline 2022-02-15 14:09:11 +00:00
Darren Burns
c30d1b9795 Combining tab headers and underline bars, no functionality yet 2022-02-14 14:48:13 +00:00
Darren Burns
0bd324b147 Basic TabHeaders renderable 2022-02-14 11:48:00 +00:00
Will McGugan
0c7c7ac964 Merge pull request #279 from Textualize/opacity-rules
Opacity rules
2022-02-14 10:36:39 +00:00
Darren Burns
66fa0020e8 Improve a docstring, add tests for CSS opacity parsing 2022-02-14 10:28:52 +00:00
Darren Burns
281748ba61 Add test for when opacity value is invalid 2022-02-11 12:13:12 +00:00
Darren Burns
0187bec7f4 Testing opacity style property 2022-02-11 12:09:52 +00:00
Darren Burns
563b7bd7e1 Move test_styles into css test folder 2022-02-11 11:59:32 +00:00
Darren Burns
50327f5b5a Rename PercentageProperty to FractionalProperty 2022-02-11 11:51:06 +00:00
Darren Burns
80251e3234 Tidying up, applying opacity if it exists in styles 2022-02-11 11:46:04 +00:00
Darren Burns
43696294d2 Tidying up errors relating to opacity property 2022-02-11 11:23:18 +00:00
Darren Burns
e1591f5602 Add opacity, PercentageProperty 2022-02-11 10:21:44 +00:00
Will McGugan
d3becefc27 Merge pull request #268 from Textualize/docs
Update pyproject.toml homepage link, add docs readme
2022-02-10 10:44:41 +00:00
Will McGugan
baa72e1dff Merge pull request #272 from Textualize/render-opacity
Render opacity
2022-02-10 10:44:08 +00:00
Darren Burns
3e890037c8 Positional argument Segments 2022-02-10 10:41:05 +00:00
Will McGugan
37162baa20 Merge pull request #254 from Textualize/inline-styles-view
Inline styles view
2022-02-10 09:59:16 +00:00
Will McGugan
bf2f911706 Merge pull request #269 from Textualize/sparklines
Sparklines
2022-02-10 09:57:33 +00:00
Darren Burns
42b1f7ef4a Rename module, use positional args for Segment, rename value -> opacity in Opacity 2022-02-10 09:56:06 +00:00
Will McGugan
2ad24b6962 Merge branch 'inline-styles-view' of github.com:willmcgugan/rich.tui into inline-styles-view 2022-02-10 09:55:06 +00:00
Will McGugan
116f3735b6 docstrings 2022-02-10 09:54:56 +00:00
Will McGugan
927d04d6b0 Update tests/test_styles.py
Co-authored-by: Darren Burns <darrenburns@users.noreply.github.com>
2022-02-10 09:48:20 +00:00
Darren Burns
c5360ce3ee Remove redundant slice operation 2022-02-10 09:45:47 +00:00
Darren Burns
d170247da8 Rename summary_func to summary_function internal references 2022-02-10 09:45:17 +00:00
Will McGugan
ae1f04f0ed Merge branch 'inline-styles-view' of github.com:willmcgugan/rich.tui into inline-styles-view 2022-02-09 16:57:04 +00:00
Will McGugan
bb04aa8801 Feedback changes 2022-02-09 16:56:59 +00:00
Darren Burns
3b67444911 Update Sparkline.summary_func -> summary_function 2022-02-09 16:32:49 +00:00
Will McGugan
65821e7a3a Update src/textual/css/styles.py
Co-authored-by: Darren Burns <darrenburns@users.noreply.github.com>
2022-02-09 16:22:21 +00:00
Will McGugan
d0f60b2b40 Update sandbox/README.md
Co-authored-by: Darren Burns <darrenburns@users.noreply.github.com>
2022-02-09 16:12:26 +00:00
Darren Burns
7109ec0796 Use render instead of render_lines in Opacity, add tests 2022-02-09 11:33:01 +00:00
Will McGugan
1aed0bdf73 docstring 2022-02-09 11:26:29 +00:00
Will McGugan
c7c032d60b docstrings 2022-02-09 11:23:38 +00:00
Will McGugan
08127f2aeb update rich 2022-02-09 11:21:28 +00:00
Will McGugan
7e077dd502 rules tests 2022-02-09 11:10:49 +00:00
Will McGugan
8890efd25c deprecatd types 2022-02-09 10:40:31 +00:00
Will McGugan
90760f3c85 naming 2022-02-09 10:16:07 +00:00
Darren Burns
3b0cab6f79 Caching color blending in Opacity, ignoring ANSI colors 2022-02-09 10:14:41 +00:00
Darren Burns
2648cc0305 Add test plan, add TODO about ignoring ansi colors 2022-02-08 18:15:33 +00:00
Darren Burns
95c73ecc1a Extract blend_colors from sparkline, implement opacity 2022-02-08 17:50:09 +00:00
Darren Burns
06749bf7af Create outline for Opacity renderable 2022-02-08 17:17:03 +00:00
Darren Burns
17d1ed335a Add docstring to buckets method 2022-02-08 16:49:30 +00:00
Darren Burns
8f95afd6c8 Implement Sparkline renderable 2022-02-08 16:41:09 +00:00
Will McGugan
fd4215b160 refactor of styles 2022-02-08 15:23:40 +00:00
Will McGugan
309130bd77 refactor of Styles in to StylesBase 2022-02-08 11:47:29 +00:00