From e9f1fb3049952df4c47fcff95f6c5ebb6fc9115b Mon Sep 17 00:00:00 2001 From: jabahum Date: Thu, 9 Jan 2025 11:45:38 +0300 Subject: [PATCH] remove unused code --- .../empty-state/empty-state.component.tsx | 54 ---------------- .../src/utils/empty-state/empty-state.scss | 62 ------------------- 2 files changed, 116 deletions(-) delete mode 100644 packages/esm-patient-queues-app/src/utils/empty-state/empty-state.component.tsx delete mode 100644 packages/esm-patient-queues-app/src/utils/empty-state/empty-state.scss diff --git a/packages/esm-patient-queues-app/src/utils/empty-state/empty-state.component.tsx b/packages/esm-patient-queues-app/src/utils/empty-state/empty-state.component.tsx deleted file mode 100644 index 822390a7..00000000 --- a/packages/esm-patient-queues-app/src/utils/empty-state/empty-state.component.tsx +++ /dev/null @@ -1,54 +0,0 @@ -import React from 'react'; -import { Layer, Tile } from '@carbon/react'; -import styles from './empty-state.scss'; - -type EmptyStateProps = { - msg: string; - helper: string; -}; - -const EmptyState: React.FC = ({ msg, helper }: EmptyStateProps) => { - return ( - - - - Empty data illustration - - - - - - - - - - - - - -

{msg}

-

{helper}

-
-
- ); -}; - -export default EmptyState; diff --git a/packages/esm-patient-queues-app/src/utils/empty-state/empty-state.scss b/packages/esm-patient-queues-app/src/utils/empty-state/empty-state.scss deleted file mode 100644 index 975b1c52..00000000 --- a/packages/esm-patient-queues-app/src/utils/empty-state/empty-state.scss +++ /dev/null @@ -1,62 +0,0 @@ -@use '@carbon/styles/scss/colors'; -@use "@carbon/styles/scss/spacing"; -@use "@carbon/styles/scss/type"; - -.desktopHeading { - h4 { - @include type.type-style("heading-compact-02"); - color: colors.$gray-70; - } -} - -.tabletHeading { - h4 { - @include type.type-style("heading-03"); - color: colors.$gray-70; - } -} - -.desktopHeading, -.tabletHeading { - text-align: left; - text-transform: capitalize; - margin-bottom: spacing.$spacing-05; - - h4:after { - content: ""; - display: block; - width: 2rem; - padding-top: 0.188rem; - border-bottom: 0.375rem solid var(--brand-03); - } -} - -.heading:after { - content: ""; - display: block; - width: 2rem; - padding-top: 0.188rem; - border-bottom: 0.375rem solid var(--brand-03); -} - -.tile { - padding: 2rem; -} - -.layer { - margin: 1rem 0; - text-align: center; - border: 1px solid colors.$gray-20; -} - -.content { - @include type.type-style("heading-compact-02"); - color: colors.$gray-70; - margin-top: spacing.$spacing-05; - margin-bottom: spacing.$spacing-03; -} - -.explainer { - @include type.type-style('body-compact-01'); - color: colors.$gray-70; -}