Will McGugan
f5e779c4c4
tabbed content widget ( #2059 )
...
* tabbed content widget
* TabbedContent widget and docs
* missing docs
* fix active
* doc fix
* test fix
* additional test
* test for render_str
* docstring
* changelog
* doc update
* changelog
* fix bad optimization
* Update docs/widgets/tabbed_content.md
Co-authored-by: Dave Pearson <davep@davep.org >
* fix for empty initial
* docstrings
* Update src/textual/widgets/_content_switcher.py
Co-authored-by: Dave Pearson <davep@davep.org >
* docstring
* remove log
* permit nested tabs
* renamed TabsCleared to Cleared
* added tests, fix types on click
* tests
* fix broken test
* fix for nested tabs
---------
Co-authored-by: Dave Pearson <davep@davep.org >
2023-03-18 10:38:41 +00:00
Will McGugan
b0f5c35782
tabs widget ( #2020 )
...
* tabs widget
* click underline
* color tweak
* docs
* docs update
* expose Tab
* added remove_tab and clear
* fix cycling
* add animation
* docs
* changelog
* remove recompose
* docstrings
* Update docs/guide/actions.md
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
* Rodrigoed the tabs
* Update docs/widgets/tabs.md
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
* Update docs/widgets/tabs.md
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
* copy
* docstrings
* docstring
* docstring
* Apply suggestions from code review
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
* stop click
* docstring
* auto assign consistent IDs
* Apply suggestions from code review
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
* Document bindings
* document bindings
* Apply suggestions from code review
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
---------
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
2023-03-13 14:39:15 +00:00
Will McGugan
198190117d
Loading indicator ( #2018 )
...
* loading indicator and tests
* docs
* snapshot
* remove snapshot
* remove debug main [skip ci]
* changelog [skip ci]
* make start time private
2023-03-11 08:36:13 +00:00
Dave Pearson
e6f620db44
Remove underscore pauses from (hopefully) all snapshots
...
This seeks to remove the "_" from the key presses of snapshots and inline
runs in the documentation. The "_" no longer does anything, but got legacy
reasons at the moment we can't actually allow "_" to be an input to a
"faked" keypress in the docs and snapshots.
Removing these clears the way to letting "_" have the same status as any
other character.
See #1994 .
2023-03-09 20:32:27 +00:00
Dave Pearson
aad6d98aa5
More documentation tweaks ( #2001 )
...
* Change the title of some widget references to their class names
The widget reference index had a slight mixture of widget title styles, some
being their class name, others being "written English" type titles. This
settles on the titles always being the class name.
* Add a link to the ContentSwitcher to the widget gallery
No screenshot for this, on purpose. By definition this widget isn't visible,
except via other widgets that it's enclosing and handling.
* Have mkdocs watch the main nav file
* Mark the content switcher off the roadmap
2023-03-09 14:01:48 +00:00
Will McGugan
b9977812f7
added static
2023-03-07 14:05:40 +00:00
Will McGugan
1c91c3dba2
tweaked heights [skip ci]
2023-03-07 11:17:15 +00:00
Will McGugan
419e46b668
updated copy
2023-03-07 10:50:00 +00:00
Will McGugan
94cc12fc72
Add widget gallery
2023-03-07 10:47:02 +00:00