/*
Modal dialog

The dialog component can be used to focus a user's attention on a single piece of content, without taking them to a new screen. Please use with caution; view our guidance for more details.

Markup: dialog.example.html

Style guide: components.dialog
*/

/*
Dialog size variants

Apply one of the size modifier classes to the `ds-c-dialog` element to change the dialog width.
- `ds-c-dialog--narrow`
- `ds-c-dialog--wide`
- `ds-c-dialog--full`

Markup: dialog-size.example.html

Style guide: components.dialog.size
*/

/*
`<Dialog />`

@react-component Dialog

Style guide: components.dialog.react
*/

/*
---

### Related patterns

- [Alert](/components/alert)

### Learn more

- [Making an accessible dialog box](https://www.nczonline.net/blog/2013/02/12/making-an-accessible-dialog-box/)
- [GOV.UK modal dialog boxes discussion](https://paper.dropbox.com/doc/Modal-dialog-boxes-jbsTPoITg37IIc6ybjetM)
- [Overuse of Overlays: How to Avoid Misusing Lightboxes](https://www.nngroup.com/articles/overuse-of-overlays/)
- [Using ARIA role=dialog to implement a modal dialog box](https://www.w3.org/WAI/GL/wiki/Using_ARIA_role%3Ddialog_to_implement_a_modal_dialog_box)

Style guide: components.dialog.guidance
*/
