remove modal prop from dialog (#2470)
This commit is contained in:
parent
14e35e51ee
commit
3c7356ac3c
@ -18,9 +18,6 @@ class DialogRoot(CommonMarginProps, RadixThemesComponent):
|
|||||||
# The controlled open state of the dialog.
|
# The controlled open state of the dialog.
|
||||||
open: Var[bool]
|
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]:
|
def get_event_triggers(self) -> Dict[str, Any]:
|
||||||
"""Get the events triggers signatures for the component.
|
"""Get the events triggers signatures for the component.
|
||||||
|
|
||||||
|
@ -83,7 +83,6 @@ class DialogRoot(CommonMarginProps, RadixThemesComponent):
|
|||||||
]
|
]
|
||||||
] = None,
|
] = None,
|
||||||
open: Optional[Union[Var[bool], bool]] = None,
|
open: Optional[Union[Var[bool], bool]] = None,
|
||||||
modal: Optional[Union[Var[bool], bool]] = None,
|
|
||||||
m: Optional[
|
m: Optional[
|
||||||
Union[
|
Union[
|
||||||
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
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: map to CSS default color property.
|
||||||
color_scheme: map to radix color property.
|
color_scheme: map to radix color property.
|
||||||
open: The controlled open state of the dialog.
|
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"
|
m: Margin: "0" - "9"
|
||||||
mx: Margin horizontal: "0" - "9"
|
mx: Margin horizontal: "0" - "9"
|
||||||
my: Margin vertical: "0" - "9"
|
my: Margin vertical: "0" - "9"
|
||||||
|
Loading…
Reference in New Issue
Block a user