Skip to content

Commit

Permalink
Update component subcomponent indexes to use export *
Browse files Browse the repository at this point in the history
  • Loading branch information
BPScott committed Jan 16, 2020
1 parent f4fb599 commit b9b4040
Show file tree
Hide file tree
Showing 36 changed files with 76 additions and 103 deletions.
4 changes: 2 additions & 2 deletions src/components/ActionList/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export {Item, ItemProps} from './Item';
export * from './Item';

export {Section, SectionProps} from './Section';
export * from './Section';
6 changes: 3 additions & 3 deletions src/components/ActionMenu/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export {MenuAction, MenuActionProps} from './MenuAction';
export * from './MenuAction';

export {MenuGroup, MenuGroupProps} from './MenuGroup';
export * from './MenuGroup';

export {RollupActions, RollupActionsProps} from './RollupActions';
export * from './RollupActions';
4 changes: 2 additions & 2 deletions src/components/Autocomplete/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export {ComboBox} from './ComboBox';
export * from './ComboBox';

export {TextField} from './TextField';
export * from './TextField';
2 changes: 1 addition & 1 deletion src/components/ButtonGroup/components/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export {Item, ItemProps} from './Item';
export * from './Item';
6 changes: 3 additions & 3 deletions src/components/Card/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export {Header, HeaderProps} from './Header';
export * from './Header';

export {Section, SectionProps} from './Section';
export * from './Section';

export {Subsection, SubsectionProps} from './Subsection';
export * from './Subsection';
6 changes: 3 additions & 3 deletions src/components/ColorPicker/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export {AlphaPicker, AlphaPickerProps} from './AlphaPicker';
export * from './AlphaPicker';

export {HuePicker, HuePickerProps} from './HuePicker';
export * from './HuePicker';

export {Slidable, SlidableProps, Position} from './Slidable';
export * from './Slidable';
2 changes: 1 addition & 1 deletion src/components/Connected/components/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export {Item, ItemProps, ItemPosition} from './Item';
export * from './Item';
4 changes: 2 additions & 2 deletions src/components/DataTable/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export {Cell, CellProps} from './Cell';
export * from './Cell';

export {Navigation, NavigationProps} from './Navigation';
export * from './Navigation';
6 changes: 3 additions & 3 deletions src/components/DatePicker/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export {Day, DayProps} from './Day';
export * from './Day';

export {Month, MonthProps} from './Month';
export * from './Month';

export {Weekday, WeekdayProps} from './Weekday';
export * from './Weekday';
2 changes: 1 addition & 1 deletion src/components/DropZone/components/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export {FileUpload, FileUploadProps} from './FileUpload';
export * from './FileUpload';
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export {Item} from './Item';
export * from './Item';
6 changes: 1 addition & 5 deletions src/components/Filters/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
export {
ConnectedFilterControl,
ConnectedFilterControlProps,
PopoverableAction,
} from './ConnectedFilterControl';
export * from './ConnectedFilterControl';
4 changes: 2 additions & 2 deletions src/components/FormLayout/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export {Group, GroupProps} from './Group';
export * from './Group';

export {Item, ItemProps} from './Item';
export * from './Item';
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
export {
DiscardConfirmationModal,
DiscardConfirmationModalProps,
} from './DiscardConfirmationModal';
export * from './DiscardConfirmationModal';
14 changes: 5 additions & 9 deletions src/components/Frame/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
export {
Toast,
DEFAULT_TOAST_DURATION,
DEFAULT_TOAST_DURATION_WITH_ACTION,
} from './Toast';
export * from './Toast';

export {ToastManager, ToastManagerProps} from './ToastManager';
export * from './ToastManager';

export {Loading, LoadingProps} from './Loading';
export * from './Loading';

export {ContextualSaveBar} from './ContextualSaveBar';
export * from './ContextualSaveBar';

export {CSSAnimation, AnimationType} from './CSSAnimation';
export * from './CSSAnimation';
4 changes: 2 additions & 2 deletions src/components/Layout/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export {AnnotatedSection, AnnotatedSectionProps} from './AnnotatedSection';
export * from './AnnotatedSection';

export {Section, SectionProps} from './Section';
export * from './Section';
2 changes: 1 addition & 1 deletion src/components/List/components/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export {Item, ItemProps} from './Item';
export * from './Item';
10 changes: 5 additions & 5 deletions src/components/Modal/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
export {Dialog, DialogProps} from './Dialog';
export * from './Dialog';

export {Footer, FooterProps} from './Footer';
export * from './Footer';

export {Header, HeaderProps} from './Header';
export * from './Header';

export {CloseButton} from './CloseButton';
export * from './CloseButton';

export {Section, SectionProps} from './Section';
export * from './Section';
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export {Secondary} from './Secondary';
export * from './Secondary';
11 changes: 3 additions & 8 deletions src/components/Navigation/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
export {Section, SectionProps} from './Section';
export * from './Section';

export {
Item,
ItemProps,
SubNavigationItem,
isNavigationItemActive,
} from './Item';
export * from './Item';

export {Message, MessageProps} from './Message';
export * from './Message';
4 changes: 2 additions & 2 deletions src/components/OptionList/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export {Option, OptionProps} from './Option';
export * from './Option';

export {Checkbox, CheckboxProps} from './Checkbox';
export * from './Checkbox';
2 changes: 1 addition & 1 deletion src/components/Page/components/Header/components/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export {Title, TitleProps} from './Title';
export * from './Title';
2 changes: 1 addition & 1 deletion src/components/Page/components/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export {Header, HeaderProps} from './Header';
export * from './Header';
10 changes: 3 additions & 7 deletions src/components/Popover/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
export {Pane, PaneProps} from './Pane';
export * from './Pane';

export {
PopoverOverlay,
PopoverOverlayProps,
PopoverCloseSource,
} from './PopoverOverlay';
export * from './PopoverOverlay';

export {Section, SectionProps} from './Section';
export * from './Section';
4 changes: 2 additions & 2 deletions src/components/RangeSlider/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export {DualThumb} from './DualThumb';
export * from './DualThumb';

export {SingleThumb} from './SingleThumb';
export * from './SingleThumb';
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export {BulkActionButton, BulkActionButtonProps} from './BulkActionButton';
export * from './BulkActionButton';
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
export {
DateSelector,
DateSelectorProps,
DateFilterOption,
} from './DateSelector';
export * from './DateSelector';

export {FilterCreator, FilterCreatorProps} from './FilterCreator';
export * from './FilterCreator';

export {
FilterValueSelector,
FilterValueSelectorProps,
} from './FilterValueSelector';
export * from './FilterValueSelector';
6 changes: 3 additions & 3 deletions src/components/ResourceList/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export {BulkActions, BulkActionsProps} from './BulkActions';
export * from './BulkActions';

export {CheckableButton, CheckableButtonProps} from './CheckableButton';
export * from './CheckableButton';

export {FilterControl, FilterControlProps} from './FilterControl';
export * from './FilterControl';
2 changes: 1 addition & 1 deletion src/components/Scrollable/components/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export {ScrollTo} from './ScrollTo';
export * from './ScrollTo';
2 changes: 1 addition & 1 deletion src/components/Stack/components/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export {Item, ItemProps} from './Item';
export * from './Item';
10 changes: 5 additions & 5 deletions src/components/Tabs/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
export {Item, ItemProps} from './Item';
export * from './Item';

export {List, ListProps} from './List';
export * from './List';

export {Panel, PanelProps} from './Panel';
export * from './Panel';

export {Tab, TabProps} from './Tab';
export * from './Tab';

export {TabMeasurer, TabMeasurerProps, TabMeasurements} from './TabMeasurer';
export * from './TabMeasurer';
4 changes: 2 additions & 2 deletions src/components/TextField/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export {Resizer, ResizerProps} from './Resizer';
export * from './Resizer';

export {Spinner, SpinnerProps} from './Spinner';
export * from './Spinner';
2 changes: 1 addition & 1 deletion src/components/Tooltip/components/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export {TooltipOverlay, TooltipOverlayProps} from './TooltipOverlay';
export * from './TooltipOverlay';
2 changes: 1 addition & 1 deletion src/components/TopBar/components/Menu/components/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export {Message, MessageProps} from './Message';
export * from './Message';
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export {SearchDismissOverlay} from './SearchDismissOverlay';
export * from './SearchDismissOverlay';
10 changes: 5 additions & 5 deletions src/components/TopBar/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
export {Search, SearchProps} from './Search';
export * from './Search';

export {SearchField, SearchFieldProps} from './SearchField';
export * from './SearchField';

export {SearchDismissOverlay} from './SearchDismissOverlay';
export * from './SearchDismissOverlay';

export {UserMenu, UserMenuProps} from './UserMenu';
export * from './UserMenu';

export {Menu, MenuProps} from './Menu';
export * from './Menu';

0 comments on commit b9b4040

Please sign in to comment.