From dd0e3326538f8320bc24321fcf6f2ff2e3cc9dff Mon Sep 17 00:00:00 2001 From: Andrew Holloway Date: Thu, 4 Apr 2024 19:06:11 -0500 Subject: [PATCH] chore: add temporary 2.0 exports --- src/components/Accordion/index.ts | 1 + src/components/Card/index.ts | 1 + src/components/InlineNotification/index.ts | 1 + src/components/Toast/index.ts | 1 + src/index.ts | 23 ++++++++++++++++++++++ 5 files changed, 27 insertions(+) diff --git a/src/components/Accordion/index.ts b/src/components/Accordion/index.ts index 8fdc19deb..eeb8641b0 100644 --- a/src/components/Accordion/index.ts +++ b/src/components/Accordion/index.ts @@ -1 +1,2 @@ export { Accordion as default } from './Accordion'; +export { Accordion as AccordionV2 } from './Accordion'; diff --git a/src/components/Card/index.ts b/src/components/Card/index.ts index d9c55c883..03da807a0 100644 --- a/src/components/Card/index.ts +++ b/src/components/Card/index.ts @@ -1 +1,2 @@ export { Card as default } from './Card'; +export { Card as CardV2 } from './Card'; diff --git a/src/components/InlineNotification/index.ts b/src/components/InlineNotification/index.ts index 62e79f80a..bc930f13a 100644 --- a/src/components/InlineNotification/index.ts +++ b/src/components/InlineNotification/index.ts @@ -1 +1,2 @@ export { InlineNotification as default } from './InlineNotification'; +export { InlineNotification as InlineNotificationV2 } from './InlineNotification'; diff --git a/src/components/Toast/index.ts b/src/components/Toast/index.ts index 2ff3d19c4..4ed7bbdf9 100644 --- a/src/components/Toast/index.ts +++ b/src/components/Toast/index.ts @@ -1 +1,2 @@ export { Toast as default } from './Toast'; +export { Toast as ToastV2 } from './Toast'; diff --git a/src/index.ts b/src/index.ts index ea100a993..8071573fb 100644 --- a/src/index.ts +++ b/src/index.ts @@ -47,3 +47,26 @@ export { default as Tooltip } from './components/Tooltip'; */ export type { ClickableStyleProps } from './components/ClickableStyle'; export type { IconName } from './components/Icon'; + +/** + * 2.0 component and type exports + */ +export { AccordionV2 } from './components/Accordion'; +export { ButtonV2 } from './components/Button'; +export { ButtonGroupV2 } from './components/ButtonGroup'; +export { CardV2 } from './components/Card'; +export { CheckboxV2 } from './components/Checkbox'; +export { FieldNoteV2 } from './components/FieldNote'; +export { InlineNotificationV2 } from './components/InlineNotification'; +export { InputFieldV2 } from './components/InputField'; +export { LinkV2 } from './components/Link'; +export { MenuV2 } from './components/Menu'; +export { ModalV2 } from './components/Modal'; +export { NumberIconV2 } from './components/NumberIcon'; +export { PopoverListItemV2 } from './components/PopoverListItem'; +export { RadioV2 } from './components/Radio'; +export { SelectV2 } from './components/Select'; +export { default as TabGroup } from './components/TabGroup'; +export { TextareaFieldV2 } from './components/TextareaField'; +export { ToastV2 } from './components/Toast'; +export { TooltipV2 } from './components/Tooltip';