mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
State version of widget addition in docs. (#2144)
* State version of widget addition in docs. Related issues: #2133 * Fix ListX version info. * Retroactively update changelog.
This commit is contained in:
committed by
GitHub
parent
a69b863005
commit
d787f61090
@@ -422,11 +422,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
|
|
||||||
## [0.6.0] - 2022-12-11
|
## [0.6.0] - 2022-12-11
|
||||||
|
|
||||||
|
https://textual.textualize.io/blog/2022/12/11/version-060
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Added "inherited bindings" -- BINDINGS classvar will be merged with base classes, unless inherit_bindings is set to False
|
- Added "inherited bindings" -- BINDINGS classvar will be merged with base classes, unless inherit_bindings is set to False
|
||||||
- Added `Tree` widget which replaces `TreeControl`.
|
- Added `Tree` widget which replaces `TreeControl`.
|
||||||
- Added widget `Placeholder` https://github.com/Textualize/textual/issues/1200.
|
- Added widget `Placeholder` https://github.com/Textualize/textual/issues/1200.
|
||||||
|
- Added `ListView` and `ListItem` widgets https://github.com/Textualize/textual/pull/1143
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
# Widget
|
# Widget
|
||||||
|
|
||||||
|
!!! tip "Added in version x.y.z"
|
||||||
|
|
||||||
Widget description.
|
Widget description.
|
||||||
|
|
||||||
- [ ] Focusable
|
- [ ] Focusable
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
# Checkbox
|
# Checkbox
|
||||||
|
|
||||||
|
!!! tip "Added in version 0.13.0"
|
||||||
|
|
||||||
A simple checkbox widget which stores a boolean value.
|
A simple checkbox widget which stores a boolean value.
|
||||||
|
|
||||||
- [x] Focusable
|
- [x] Focusable
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
# ContentSwitcher
|
# ContentSwitcher
|
||||||
|
|
||||||
|
!!! tip "Added in version 0.14.0"
|
||||||
|
|
||||||
A widget for containing and switching display between multiple child
|
A widget for containing and switching display between multiple child
|
||||||
widgets.
|
widgets.
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
# Label
|
# Label
|
||||||
|
|
||||||
|
!!! tip "Added in version 0.5.0"
|
||||||
|
|
||||||
A widget which displays static text, but which can also contain more complex Rich renderables.
|
A widget which displays static text, but which can also contain more complex Rich renderables.
|
||||||
|
|
||||||
- [ ] Focusable
|
- [ ] Focusable
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
# ListItem
|
# ListItem
|
||||||
|
|
||||||
|
!!! tip "Added in version 0.6.0"
|
||||||
|
|
||||||
`ListItem` is the type of the elements in a `ListView`.
|
`ListItem` is the type of the elements in a `ListView`.
|
||||||
|
|
||||||
- [ ] Focusable
|
- [ ] Focusable
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
# ListView
|
# ListView
|
||||||
|
|
||||||
|
!!! tip "Added in version 0.6.0"
|
||||||
|
|
||||||
Displays a vertical list of `ListItem`s which can be highlighted and selected.
|
Displays a vertical list of `ListItem`s which can be highlighted and selected.
|
||||||
Supports keyboard navigation.
|
Supports keyboard navigation.
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
# LoadingIndicator
|
# LoadingIndicator
|
||||||
|
|
||||||
|
!!! tip "Added in version 0.15.0"
|
||||||
|
|
||||||
Displays pulsating dots to indicate when data is being loaded.
|
Displays pulsating dots to indicate when data is being loaded.
|
||||||
|
|
||||||
- [ ] Focusable
|
- [ ] Focusable
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
# Markdown
|
# Markdown
|
||||||
|
|
||||||
|
!!! tip "Added in version 0.11.0"
|
||||||
|
|
||||||
A widget to display a Markdown document.
|
A widget to display a Markdown document.
|
||||||
|
|
||||||
- [x] Focusable
|
- [x] Focusable
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
# MarkdownViewer
|
# MarkdownViewer
|
||||||
|
|
||||||
|
!!! tip "Added in version 0.11.0"
|
||||||
|
|
||||||
A Widget to display Markdown content with an optional Table of Contents.
|
A Widget to display Markdown content with an optional Table of Contents.
|
||||||
|
|
||||||
- [x] Focusable
|
- [x] Focusable
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
# Placeholder
|
# Placeholder
|
||||||
|
|
||||||
|
!!! tip "Added in version 0.6.0"
|
||||||
|
|
||||||
A widget that is meant to have no complex functionality.
|
A widget that is meant to have no complex functionality.
|
||||||
Use the placeholder widget when studying the layout of your app before having to develop your custom widgets.
|
Use the placeholder widget when studying the layout of your app before having to develop your custom widgets.
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
# RadioButton
|
# RadioButton
|
||||||
|
|
||||||
|
!!! tip "Added in version 0.13.0"
|
||||||
|
|
||||||
A simple radio button which stores a boolean value.
|
A simple radio button which stores a boolean value.
|
||||||
|
|
||||||
- [x] Focusable
|
- [x] Focusable
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
# RadioSet
|
# RadioSet
|
||||||
|
|
||||||
|
!!! tip "Added in version 0.13.0"
|
||||||
|
|
||||||
A container widget that groups [`RadioButton`](./radiobutton.md)s together.
|
A container widget that groups [`RadioButton`](./radiobutton.md)s together.
|
||||||
|
|
||||||
- [ ] Focusable
|
- [ ] Focusable
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
# TabbedContent
|
# TabbedContent
|
||||||
|
|
||||||
|
!!! tip "Added in version 0.16.0"
|
||||||
|
|
||||||
Switch between mutually exclusive content panes via a row of tabs.
|
Switch between mutually exclusive content panes via a row of tabs.
|
||||||
|
|
||||||
- [x] Focusable
|
- [x] Focusable
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
# Tabs
|
# Tabs
|
||||||
|
|
||||||
|
!!! tip "Added in version 0.15.0"
|
||||||
|
|
||||||
Displays a number of tab headers which may be activated with a click or navigated with cursor keys.
|
Displays a number of tab headers which may be activated with a click or navigated with cursor keys.
|
||||||
|
|
||||||
- [x] Focusable
|
- [x] Focusable
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
# Tree
|
# Tree
|
||||||
|
|
||||||
|
!!! tip "Added in version 0.6.0"
|
||||||
|
|
||||||
A tree control widget.
|
A tree control widget.
|
||||||
|
|
||||||
- [x] Focusable
|
- [x] Focusable
|
||||||
|
|||||||
Reference in New Issue
Block a user