Skip to content

Commit 339e933

Browse files
authored
Merge pull request #5810 from dillydill123/expose-collapsibletitle
Expose CollapsibleTitle
2 parents 6b513f0 + af3700a commit 339e933

File tree

4 files changed

+10
-1
lines changed

4 files changed

+10
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1414
- Fixed `Button` allowing text selection https://github.com/Textualize/textual/pull/5770
1515
- Fixed `Input` invalid cursor position after updating the value https://github.com/Textualize/textual/issues/5811
1616

17+
### Added
18+
19+
- Exposed `CollapsibleTitle` https://github.com/Textualize/textual/pull/5810
20+
1721
## [3.2.0] - 2025-05-02
1822

1923
### Fixed

src/textual/widgets/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from textual.widget import Widget
1313
from textual.widgets._button import Button
1414
from textual.widgets._checkbox import Checkbox
15-
from textual.widgets._collapsible import Collapsible
15+
from textual.widgets._collapsible import Collapsible, CollapsibleTitle
1616
from textual.widgets._content_switcher import ContentSwitcher
1717
from textual.widgets._data_table import DataTable
1818
from textual.widgets._digits import Digits
@@ -54,6 +54,7 @@
5454
"Button",
5555
"Checkbox",
5656
"Collapsible",
57+
"CollapsibleTitle",
5758
"ContentSwitcher",
5859
"DataTable",
5960
"Digits",

src/textual/widgets/__init__.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from ._button import Button as Button
33
from ._checkbox import Checkbox as Checkbox
44
from ._collapsible import Collapsible as Collapsible
5+
from ._collapsible import CollapsibleTitle as CollapsibleTitle
56
from ._content_switcher import ContentSwitcher as ContentSwitcher
67
from ._data_table import DataTable as DataTable
78
from ._digits import Digits as Digits

src/textual/widgets/collapsible.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from textual.widgets._collapsible import CollapsibleTitle
2+
3+
__all__ = ["CollapsibleTitle"]

0 commit comments

Comments
 (0)