File tree Expand file tree Collapse file tree 4 files changed +17
-0
lines changed
Expand file tree Collapse file tree 4 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 1616 - using ` schema ` instead of ` type ` property for callback arguments
1717 - using ` return ` object with ` schema ` property for callback return values
1818
19+ * Added ` tooltip ` property to interactive components.
1920
2021## Version 0.0.29 (from 2024/11/26)
2122
Original file line number Diff line number Diff line change @@ -28,6 +28,10 @@ class Button(Component):
2828 One "contained" | "outlined" | "text". Defaults to "text".
2929 """
3030
31+ tooltip : str | None = None
32+ """Tooltip title. Optional."""
33+
34+
3135
3236@dataclass (frozen = True )
3337class IconButton (Component ):
@@ -50,3 +54,7 @@ class IconButton(Component):
5054 """The button variant.
5155 One "contained" | "outlined" | "text". Defaults to "text".
5256 """
57+
58+ tooltip : str | None = None
59+ """Tooltip title. Optional."""
60+
Original file line number Diff line number Diff line change @@ -13,3 +13,7 @@ class Checkbox(Component):
1313
1414 label : str = ""
1515 """The checkbox label."""
16+
17+ tooltip : str | None = None
18+ """Tooltip title. Optional."""
19+
Original file line number Diff line number Diff line change @@ -17,3 +17,7 @@ class Select(Component):
1717 """The options given as a list of number or text values or a list
1818 of (value, label) pairs.
1919 """
20+
21+ tooltip : str | None = None
22+ """Tooltip title. Optional."""
23+
You can’t perform that action at this time.
0 commit comments