From d7e76d5efc0cd4e94aa548371c51efeeee003fc3 Mon Sep 17 00:00:00 2001 From: stanislavh Date: Tue, 7 May 2024 17:54:36 +0200 Subject: [PATCH] SONAR-22168 Align Title --- server/sonar-web/design-system/src/components/index.ts | 1 - .../components/typography}/Title.tsx | 2 +- .../src/sonar-aligned/components/typography/index.ts | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) rename server/sonar-web/design-system/src/{components => sonar-aligned/components/typography}/Title.tsx (96%) diff --git a/server/sonar-web/design-system/src/components/index.ts b/server/sonar-web/design-system/src/components/index.ts index 83d92d655d7..a2d565d15f2 100644 --- a/server/sonar-web/design-system/src/components/index.ts +++ b/server/sonar-web/design-system/src/components/index.ts @@ -74,7 +74,6 @@ export * from './Tabs'; export * from './Tags'; export * from './Text'; export * from './TextAccordion'; -export * from './Title'; export { Tooltip } from './Tooltip'; export { TopBar } from './TopBar'; export * from './TreeMap'; diff --git a/server/sonar-web/design-system/src/components/Title.tsx b/server/sonar-web/design-system/src/sonar-aligned/components/typography/Title.tsx similarity index 96% rename from server/sonar-web/design-system/src/components/Title.tsx rename to server/sonar-web/design-system/src/sonar-aligned/components/typography/Title.tsx index 4efb84ed3d5..af59c37b4fc 100644 --- a/server/sonar-web/design-system/src/components/Title.tsx +++ b/server/sonar-web/design-system/src/sonar-aligned/components/typography/Title.tsx @@ -19,7 +19,7 @@ */ import styled from '@emotion/styled'; import tw from 'twin.macro'; -import { themeColor } from '../helpers/theme'; +import { themeColor } from '../../../helpers/theme'; export const Title = styled.h1` ${tw`sw-heading-lg`} diff --git a/server/sonar-web/design-system/src/sonar-aligned/components/typography/index.ts b/server/sonar-web/design-system/src/sonar-aligned/components/typography/index.ts index abb2b30c508..113312da470 100644 --- a/server/sonar-web/design-system/src/sonar-aligned/components/typography/index.ts +++ b/server/sonar-web/design-system/src/sonar-aligned/components/typography/index.ts @@ -19,3 +19,4 @@ */ export * from './Note'; +export * from './Title'; -- 2.39.5