remove modal prop from dialog (#2470)

This commit is contained in:
Martin Xu 2024-01-28 15:56:45 -08:00 committed by GitHub
parent 14e35e51ee
commit 3c7356ac3c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 5 deletions

View File

@ -18,9 +18,6 @@ class DialogRoot(CommonMarginProps, RadixThemesComponent):
# The controlled open state of the dialog.
open: Var[bool]
# The modality of the dialog. When set to true, interaction with outside elements will be disabled and only dialog content will be visible to screen readers.
modal: Var[bool]
def get_event_triggers(self) -> Dict[str, Any]:
"""Get the events triggers signatures for the component.

View File

@ -83,7 +83,6 @@ class DialogRoot(CommonMarginProps, RadixThemesComponent):
]
] = None,
open: Optional[Union[Var[bool], bool]] = None,
modal: Optional[Union[Var[bool], bool]] = None,
m: Optional[
Union[
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
@ -192,7 +191,6 @@ class DialogRoot(CommonMarginProps, RadixThemesComponent):
color: map to CSS default color property.
color_scheme: map to radix color property.
open: The controlled open state of the dialog.
modal: The modality of the dialog. When set to true, interaction with outside elements will be disabled and only dialog content will be visible to screen readers.
m: Margin: "0" - "9"
mx: Margin horizontal: "0" - "9"
my: Margin vertical: "0" - "9"