From 53f8af989b121b82741b7b1e62c5e87d04737bf2 Mon Sep 17 00:00:00 2001 From: Thomas Roberts Date: Fri, 20 Oct 2023 10:19:50 +0100 Subject: [PATCH] Move title to components package --- assets/js/base/components/index.ts | 1 - packages/components/index.js | 1 + {assets/js/base => packages}/components/title/index.tsx | 0 {assets/js/base => packages}/components/title/style.scss | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename {assets/js/base => packages}/components/title/index.tsx (100%) rename {assets/js/base => packages}/components/title/style.scss (100%) diff --git a/assets/js/base/components/index.ts b/assets/js/base/components/index.ts index f0a57cd8795..bb660ebdace 100644 --- a/assets/js/base/components/index.ts +++ b/assets/js/base/components/index.ts @@ -34,4 +34,3 @@ export * from './state-input'; export * from './summary'; export * from './tabs'; export * from './textarea'; -export * from './title'; diff --git a/packages/components/index.js b/packages/components/index.js index 43f4a9ecf1f..1db442906a8 100644 --- a/packages/components/index.js +++ b/packages/components/index.js @@ -2,4 +2,5 @@ export { default as CheckboxList } from './checkbox-list'; export { default as Label } from './label'; export { default as FormattedMonetaryAmount } from './formatted-monetary-amount'; export { Chip, RemovableChip } from './chip'; +export { default as Title } from './title'; export { default as Spinner } from './spinner'; diff --git a/assets/js/base/components/title/index.tsx b/packages/components/title/index.tsx similarity index 100% rename from assets/js/base/components/title/index.tsx rename to packages/components/title/index.tsx diff --git a/assets/js/base/components/title/style.scss b/packages/components/title/style.scss similarity index 100% rename from assets/js/base/components/title/style.scss rename to packages/components/title/style.scss