Commit Graph

611 Commits

Author SHA1 Message Date
Darren Burns
b23edf231a Testing layout resolve zero width, and empty list cases 2022-02-21 11:40:42 +00:00
Will McGugan
140ff006ba docstrings 2022-02-21 11:03:08 +00:00
Will McGugan
d4c1258115 list expressions are faster 2022-02-21 10:49:09 +00:00
Will McGugan
dfa77d2744 comments 2022-02-21 10:22:46 +00:00
Will McGugan
61dc1494d5 remote micro-optimization 2022-02-19 12:06:14 +00:00
Will McGugan
3bcabcf32f fix 2022-02-19 11:44:54 +00:00
Will McGugan
06485495d4 optimization, more tests 2022-02-19 11:39:11 +00:00
Will McGugan
1b50d77aaf comments 2022-02-18 22:42:02 +00:00
Will McGugan
d628b30845 extra test 2022-02-18 22:38:03 +00:00
Will McGugan
c2e327cee3 simplify check, add test 2022-02-18 22:30:06 +00:00
Will McGugan
68d9a66f6c stringify cast 2022-02-18 22:15:32 +00:00
Will McGugan
4224f59b9b allow tests to use new annotations 2022-02-18 22:12:40 +00:00
Will McGugan
ca009d88b2 removed edge defaults 2022-02-18 22:07:01 +00:00
Will McGugan
76c5d3a0e5 optimized layout_resolve added tests 2022-02-18 22:04:09 +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