From f20d77f195174fb630e4e2092270e8ccebbd5b27 Mon Sep 17 00:00:00 2001 From: Michal Murawski Date: Thu, 2 Apr 2026 12:21:57 +0200 Subject: [PATCH] refactor(design-system): remove deprecated DsSystemStatus component [AR-53409] --- .../ds-drawer/ds-drawer.stories.tsx | 7 +- .../ds-system-status.module.scss | 87 ------------------- .../ds-system-status.stories.ts | 48 ---------- .../ds-system-status/ds-system-status.tsx | 33 ------- .../ds-system-status.types.ts | 37 -------- .../src/components/ds-system-status/index.ts | 10 --- packages/design-system/src/index.ts | 1 - packages/design-system/vitest.config.ts | 2 +- .../src/__tests__/no-deprecated.test.ts | 11 --- packages/eslint-plugin/src/index.ts | 6 -- 10 files changed, 4 insertions(+), 238 deletions(-) delete mode 100644 packages/design-system/src/components/ds-system-status/ds-system-status.module.scss delete mode 100644 packages/design-system/src/components/ds-system-status/ds-system-status.stories.ts delete mode 100644 packages/design-system/src/components/ds-system-status/ds-system-status.tsx delete mode 100644 packages/design-system/src/components/ds-system-status/ds-system-status.types.ts delete mode 100644 packages/design-system/src/components/ds-system-status/index.ts diff --git a/packages/design-system/src/components/ds-drawer/ds-drawer.stories.tsx b/packages/design-system/src/components/ds-drawer/ds-drawer.stories.tsx index 2277a16b4..9db75ccd4 100644 --- a/packages/design-system/src/components/ds-drawer/ds-drawer.stories.tsx +++ b/packages/design-system/src/components/ds-drawer/ds-drawer.stories.tsx @@ -6,8 +6,7 @@ import DsDrawer from './ds-drawer'; import { DsButton } from '../ds-button'; import { DsTextInput } from '../ds-text-input'; import { DsIcon } from '../ds-icon'; -// TODO: Use DsStatusBadge instead. -import { DsSystemStatus } from '../ds-system-status'; +import { DsStatusBadge } from '../ds-status-badge'; import styles from './ds-drawer.stories.module.scss'; import { DsTypography } from '../ds-typography'; import type { DsDrawerProps } from './ds-drawer.types'; @@ -82,7 +81,7 @@ export const Default: Story = { <> - Default Drawer + Default Drawer