diff --git a/packages/calcite-components/src/components/shell-center-row/shell-center-row.tsx b/packages/calcite-components/src/components/shell-center-row/shell-center-row.tsx index dc124273512..365ee48ef96 100644 --- a/packages/calcite-components/src/components/shell-center-row/shell-center-row.tsx +++ b/packages/calcite-components/src/components/shell-center-row/shell-center-row.tsx @@ -9,12 +9,6 @@ import { Position, Scale } from "../interfaces"; import { logger } from "../../utils/logger"; import { CSS, SLOTS } from "./resources"; -logger.deprecated("component", { - name: "shell-center-row", - removalVersion: 4, - suggested: "shell-panel", -}); - /** * @deprecated Use the `calcite-shell-panel` component instead. * @slot - A slot for adding content to the `calcite-shell-panel`. @@ -69,6 +63,20 @@ export class ShellCenterRow implements ConditionalSlotComponent { disconnectConditionalSlotComponent(this); } + //-------------------------------------------------------------------------- + // + // Lifecycle + // + //-------------------------------------------------------------------------- + + componentWillLoad(): void { + logger.deprecated("component", { + name: "shell-center-row", + removalVersion: 4, + suggested: "shell-panel", + }); + } + // -------------------------------------------------------------------------- // // Render Methods