From e62b724e3943c78208c1272a661b619aa26238a3 Mon Sep 17 00:00:00 2001 From: Ni Chia Date: Thu, 1 Jul 2021 11:07:57 -0400 Subject: [PATCH] [NO-TICKET] Update typescript exports (#1079) * Rename typescript index file to index.ts * Update typescript exports on index.d.ts --- .../Accordion/{index.js => index.ts} | 0 .../components/Alert/{index.js => index.ts} | 0 .../ChoiceList/{index.js => index.ts} | 0 .../ClearIcon/{index.js => index.ts} | 0 .../DateField/{index.js => index.ts} | 0 .../Dropdown/{index.js => index.ts} | 0 .../FilterChip/{index.js => index.ts} | 0 .../FormControl/{index.js => index.ts} | 0 .../InlineError/{index.js => index.ts} | 0 .../TextField/{index.js => index.ts} | 0 .../components/Tooltip/{index.js => index.ts} | 0 .../analytics/{index.js => index.ts} | 0 packages/design-system/src/types/index.d.ts | 26 ++++++++----------- 13 files changed, 11 insertions(+), 15 deletions(-) rename packages/design-system/src/components/Accordion/{index.js => index.ts} (100%) rename packages/design-system/src/components/Alert/{index.js => index.ts} (100%) rename packages/design-system/src/components/ChoiceList/{index.js => index.ts} (100%) rename packages/design-system/src/components/ClearIcon/{index.js => index.ts} (100%) rename packages/design-system/src/components/DateField/{index.js => index.ts} (100%) rename packages/design-system/src/components/Dropdown/{index.js => index.ts} (100%) rename packages/design-system/src/components/FilterChip/{index.js => index.ts} (100%) rename packages/design-system/src/components/FormControl/{index.js => index.ts} (100%) rename packages/design-system/src/components/InlineError/{index.js => index.ts} (100%) rename packages/design-system/src/components/TextField/{index.js => index.ts} (100%) rename packages/design-system/src/components/Tooltip/{index.js => index.ts} (100%) rename packages/design-system/src/components/analytics/{index.js => index.ts} (100%) diff --git a/packages/design-system/src/components/Accordion/index.js b/packages/design-system/src/components/Accordion/index.ts similarity index 100% rename from packages/design-system/src/components/Accordion/index.js rename to packages/design-system/src/components/Accordion/index.ts diff --git a/packages/design-system/src/components/Alert/index.js b/packages/design-system/src/components/Alert/index.ts similarity index 100% rename from packages/design-system/src/components/Alert/index.js rename to packages/design-system/src/components/Alert/index.ts diff --git a/packages/design-system/src/components/ChoiceList/index.js b/packages/design-system/src/components/ChoiceList/index.ts similarity index 100% rename from packages/design-system/src/components/ChoiceList/index.js rename to packages/design-system/src/components/ChoiceList/index.ts diff --git a/packages/design-system/src/components/ClearIcon/index.js b/packages/design-system/src/components/ClearIcon/index.ts similarity index 100% rename from packages/design-system/src/components/ClearIcon/index.js rename to packages/design-system/src/components/ClearIcon/index.ts diff --git a/packages/design-system/src/components/DateField/index.js b/packages/design-system/src/components/DateField/index.ts similarity index 100% rename from packages/design-system/src/components/DateField/index.js rename to packages/design-system/src/components/DateField/index.ts diff --git a/packages/design-system/src/components/Dropdown/index.js b/packages/design-system/src/components/Dropdown/index.ts similarity index 100% rename from packages/design-system/src/components/Dropdown/index.js rename to packages/design-system/src/components/Dropdown/index.ts diff --git a/packages/design-system/src/components/FilterChip/index.js b/packages/design-system/src/components/FilterChip/index.ts similarity index 100% rename from packages/design-system/src/components/FilterChip/index.js rename to packages/design-system/src/components/FilterChip/index.ts diff --git a/packages/design-system/src/components/FormControl/index.js b/packages/design-system/src/components/FormControl/index.ts similarity index 100% rename from packages/design-system/src/components/FormControl/index.js rename to packages/design-system/src/components/FormControl/index.ts diff --git a/packages/design-system/src/components/InlineError/index.js b/packages/design-system/src/components/InlineError/index.ts similarity index 100% rename from packages/design-system/src/components/InlineError/index.js rename to packages/design-system/src/components/InlineError/index.ts diff --git a/packages/design-system/src/components/TextField/index.js b/packages/design-system/src/components/TextField/index.ts similarity index 100% rename from packages/design-system/src/components/TextField/index.js rename to packages/design-system/src/components/TextField/index.ts diff --git a/packages/design-system/src/components/Tooltip/index.js b/packages/design-system/src/components/Tooltip/index.ts similarity index 100% rename from packages/design-system/src/components/Tooltip/index.js rename to packages/design-system/src/components/Tooltip/index.ts diff --git a/packages/design-system/src/components/analytics/index.js b/packages/design-system/src/components/analytics/index.ts similarity index 100% rename from packages/design-system/src/components/analytics/index.js rename to packages/design-system/src/components/analytics/index.ts diff --git a/packages/design-system/src/types/index.d.ts b/packages/design-system/src/types/index.d.ts index 2da6c1cbea..b818afc74a 100644 --- a/packages/design-system/src/types/index.d.ts +++ b/packages/design-system/src/types/index.d.ts @@ -28,19 +28,15 @@ export { default as UsaBanner } from './UsaBanner/UsaBanner'; export { default as VerticalNav } from './VerticalNav/VerticalNav'; // Type definitions generated by cmsds scripts -export * from './Accordion/Accordion'; -export * from './Accordion/AccordionItem'; -export * from './Alert/Alert'; -export * from './ChoiceList/Choice'; -export * from './ChoiceList/ChoiceList'; -export * from './DateField/DateField'; -export * from './DateField/DateInput'; -export * from './Dropdown/Dropdown'; -export * from './Dropdown/Select'; -export * from './InlineError/InlineError'; -export * from './FilterChip/FilterChip'; -export * from './FormControl/FormControl'; -export * from './TextField/TextField'; -export * from './TextField/TextInput'; -export * from './TextField/Mask'; +export * from './Accordion'; +export * from './Alert'; +export * from './ChoiceList'; +export * from './DateField'; +export * from './Dropdown'; +export * from './FilterChip'; +export * from './FormControl'; +export * from './InlineError'; +export * from './TextField'; +export * from './Tooltip'; + export * from './flags';