Commit Graph

620 Commits

Author SHA1 Message Date
Darren Burns
c4151a0f55 Bump docs dev dependencies, add Tabs page, add note to docs README 2022-02-21 10:10:45 +00:00
Darren Burns
3e748f88fc Uncomment render_styled opacity 2022-02-18 14:27:56 +00:00
Darren Burns
6c586c2e47 Fix docstring syntax in Tabs 2022-02-18 13:50:10 +00:00
Darren Burns
18a3fb4b57 Tidying Tabs, adding docstrings 2022-02-18 13:41:06 +00:00
Darren Burns
0e768380da Removing dev_sandbox 2022-02-18 12:27:11 +00:00
Darren Burns
a0f3030030 Removing some unused variables, further tidying 2022-02-18 12:24:02 +00:00
Darren Burns
472494b46d Remove unused file, tidying imports 2022-02-18 12:09:29 +00:00
Darren Burns
f2ca8cbe56 Using layout_resolve to calculate tab positions 2022-02-18 12:07:53 +00:00
Darren Burns
2089e17be2 Docstring for tabs widget 2022-02-17 16:45:37 +00:00
Darren Burns
d799880fb4 Update tab prefix search to start from current tab and look right 2022-02-17 15:44:34 +00:00
Darren Burns
8674269010 Add a test for clickable bar ranges 2022-02-17 13:53:26 +00:00
Darren Burns
2a634f7293 Default clickable ranges correctly in underline bar 2022-02-17 13:29:07 +00:00
Darren Burns
d1687374b0 Increase click target of tabs by making underline clickable 2022-02-17 13:00:12 +00:00
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