Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add temporary 2.0 exports #1914

Merged
merged 1 commit into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/components/Accordion/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export { Accordion as default } from './Accordion';
export { Accordion as AccordionV2 } from './Accordion';
1 change: 1 addition & 0 deletions src/components/Card/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export { Card as default } from './Card';
export { Card as CardV2 } from './Card';
1 change: 1 addition & 0 deletions src/components/InlineNotification/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export { InlineNotification as default } from './InlineNotification';
export { InlineNotification as InlineNotificationV2 } from './InlineNotification';
1 change: 1 addition & 0 deletions src/components/Toast/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export { Toast as default } from './Toast';
export { Toast as ToastV2 } from './Toast';
23 changes: 23 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Loading