You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: components/dialog/stories/dialog.stories.js
+3
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,9 @@ import { Template } from "./template.js";
6
6
/**
7
7
* A dialog displays important information that users need to acknowledge. They appear over the interface and block further interactions. Standard dialogs are the most frequent type of dialogs. They appear in the center of the screen over the interface and should be used for moderately complex tasks. Takeover dialogs are large types of dialogs. They use the totality of the screen and should be used for modal experiences with complex workflows.
8
8
*
9
+
* ## Usage with modal component
10
+
* When a dialog component is used in tandem with a [modal](/docs/components-modal--docs), implementations will have to utilize the `customStyles` prop on the modal to set `--mod-modal-background-color` to `transparent`. This will prevent any background color used in the modal from peaking through "behind" the dialog, allowing the dialog's background color to take precedence.
11
+
*
9
12
* The alert variants that were previously a part of Dialog were moved to their own component, [alert dialog](/docs/components-alert-dialog--docs).
0 commit comments