dara-components 1.20.1a10__py3-none-any.whl → 1.20.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- dara/components/common/button.py +2 -0
- dara/components/umd/dara.components.umd.js +131482 -171634
- {dara_components-1.20.1a10.dist-info → dara_components-1.20.3.dist-info}/METADATA +3 -3
- {dara_components-1.20.1a10.dist-info → dara_components-1.20.3.dist-info}/RECORD +6 -6
- {dara_components-1.20.1a10.dist-info → dara_components-1.20.3.dist-info}/LICENSE +0 -0
- {dara_components-1.20.1a10.dist-info → dara_components-1.20.3.dist-info}/WHEEL +0 -0
dara/components/common/button.py
CHANGED
|
@@ -116,6 +116,7 @@ class Button(LayoutComponent):
|
|
|
116
116
|
:param outline: This allows to pick between two styles, if False the button is filled with a solid background color,
|
|
117
117
|
if True it shows a transparent background with an outlined colored border. Filled buttons are more prominent and
|
|
118
118
|
often used as primary actions, while outline buttons are more subtle and commonly used as secondary actions.
|
|
119
|
+
:param stop_click_propagation: Whether to stop the click event from propagating to the parent element, defaults to true
|
|
119
120
|
"""
|
|
120
121
|
|
|
121
122
|
disabled: Optional[Union[Condition, ClientVariable, bool]] = None
|
|
@@ -123,6 +124,7 @@ class Button(LayoutComponent):
|
|
|
123
124
|
icon: Optional[str] = None
|
|
124
125
|
styling: Optional[ButtonStyle] = None
|
|
125
126
|
outline: bool = False
|
|
127
|
+
stop_click_propagation: bool = True
|
|
126
128
|
|
|
127
129
|
def __init__(
|
|
128
130
|
self, children: Union[str, ComponentInstance, ClientVariable], styling: Optional[ButtonStyle] = None, **kwargs
|