diff --git a/packages/calcite-components/src/components/dialog/dialog.e2e.ts b/packages/calcite-components/src/components/dialog/dialog.e2e.ts index d9acdb326c8..5949386dd71 100644 --- a/packages/calcite-components/src/components/dialog/dialog.e2e.ts +++ b/packages/calcite-components/src/components/dialog/dialog.e2e.ts @@ -593,7 +593,7 @@ describe("calcite-dialog", () => { const page = await newE2EPage(); await page.setContent( html` -
+
diff --git a/packages/calcite-components/src/components/dialog/dialog.tsx b/packages/calcite-components/src/components/dialog/dialog.tsx index 1b1f65df7b2..d4bbe1289ba 100644 --- a/packages/calcite-components/src/components/dialog/dialog.tsx +++ b/packages/calcite-components/src/components/dialog/dialog.tsx @@ -51,7 +51,8 @@ let initialDocumentOverflowStyle: string = ""; /** * @slot - A slot for adding content. - * @slot content - A slot for adding custom content. + * @slot content - [Deprecated] Use `custom-content` slot instead. + * @slot custom-content - A slot for displaying custom content. Will prevent the rendering of any default Dialog UI, except for `box-shadow` and `corner-radius`. * @slot action-bar - A slot for adding a `calcite-action-bar` to the component. * @slot alerts - A slot for adding `calcite-alert`s to the component. * @slot content-bottom - A slot for adding content below the unnamed (default) slot and - if populated - the `footer` slot.