Repository: adobe/react-spectrum
File: packages/react-aria-components/src/index.ts (TypeScript)

Code before:
export {Checkbox, CheckboxGroup, CheckboxGroupContext, CheckboxGroupStateContext} from './Checkbox';
export {ColorArea, ColorAreaStateContext} from './ColorArea';
export {ColorField, ColorFieldStateContext} from './ColorField';
export {ColorPicker, ColorPickerContext, ColorPickerStateContext} from './ColorPicker';
export {ColorSlider, ColorSliderStateContext} from './ColorSlider';
export {ColorSwatch, ColorSwatchContext} from './ColorSwatch';
export {ColorSwatchPicker, ColorSwatchPickerItem, ColorSwatchPickerContext} from './ColorSwatchPicker';
export {ColorThumb} from './ColorThumb';
export {ColorWheel, ColorWheelTrack, ColorWheelTrackContext, ColorWheelStateContext} from './ColorWheel';
export {ComboBox, ComboBoxContext, ComboBoxStateContext} from './ComboBox';
export {composeRenderProps, DEFAULT_SLOT, Provider, useContextProps, useRenderProps, useSlottedContext} from './utils';
export {DateField, DateInput, DateSegment, TimeField, DateFieldContext, TimeFieldContext, DateFieldStateContext, TimeFieldStateContext} from './DateField';
export {DatePicker, DateRangePicker, DatePickerContext, DateRangePickerContext, DatePickerStateContext, DateRangePickerStateContext} from './DatePicker';
export {DialogTrigger, Dialog, DialogContext, OverlayTriggerStateContext} from './Dialog';
export {Disclosure, DisclosureGroup, DisclosureGroupStateContext, DisclosurePanel, DisclosureStateContext, DisclosureContext} from './Disclosure';
export {DropZone, DropZoneContext} from './DropZone';
export {FieldError, FieldErrorContext} from './FieldError';
export {FileTrigger} from './FileTrigger';
export {Form, FormContext} from './Form';
export {GridListLoadMoreItem, GridList, GridListItem, GridListContext, GridListHeader, GridListHeaderContext, GridListSection} from './GridList';
export {Group, GroupContext} from './Group';
export {Header, HeaderContext} from './Header';
export {Heading} from './Heading';
export {Input, InputContext} from './Input';
export {Section, CollectionRendererContext, DefaultCollectionRenderer} from './Collection';
export {Collection, createLeafComponent, createBranchComponent, CollectionBuilder} from '@react-aria/collections';
export {Keyboard, KeyboardContext} from './Keyboard';
export {Label, LabelContext} from './Label';
export {Link, LinkContext} from './Link';
export {ListBoxLoadMoreItem, ListBox, ListBoxItem, ListBoxSection, ListBoxContext, ListStateContext} from './ListBox';
export {Menu, MenuItem, MenuTrigger, MenuSection, MenuContext, MenuStateContext, RootMenuTriggerStateContext, SubmenuTrigger} from './Menu';
export {Meter, MeterContext} from './Meter';
export {Modal, ModalOverlay, ModalContext} from './Modal';
export {NumberField, NumberFieldContext, NumberFieldStateContext} from './NumberField';
export {OverlayArrow} from './OverlayArrow';
export {Popover, PopoverContext} from './Popover';
export {ProgressBar, ProgressBarContext} from './ProgressBar';
export {RadioGroup, Radio, RadioGroupContext, RadioContext, RadioGroupStateContext} from './RadioGroup';
export {SearchField, SearchFieldContext} from './SearchField';
export {Select, SelectValue, SelectContext, SelectValueContext, SelectStateContext} from './Select';
export {SelectionIndicator, SelectionIndicatorContext} from './SelectionIndicator';
export {Separator, SeparatorContext} from './Separator';
export {SharedElementTransition, SharedElement} from './SharedElementTransition';
export {Slider, SliderOutput, SliderTrack, SliderThumb, SliderContext, SliderOutputContext, SliderTrackContext, SliderStateContext} from './Slider';
export {Switch, SwitchContext} from './Switch';
export {TableLoadMoreItem, Table, Row, Cell, Column, ColumnResizer, TableHeader, TableBody, TableContext, ResizableTableContainer, useTableOptions, TableStateContext, TableColumnResizeStateContext} from './Table';
export {TableLayout} from './TableLayout';
export {Tabs, TabList, TabPanel, Tab, TabsContext, TabListStateContext} from './Tabs';
export {TagGroup, TagGroupContext, TagList, TagListContext, Tag} from './TagGroup';
export {Text, TextContext} from './Text';
export {TextArea, TextAreaContext} from './TextArea';

Review comment (suggestion):
glad we don't use the UNSTABLE anywhere in our own code, but this could be problematic for libraries that are built on top of us
in order for this to stay non-breaking for semver, we need to keep the UNSTABLE as well :(

Code after:
export {Checkbox, CheckboxGroup, CheckboxGroupContext, CheckboxGroupStateContext} from './Checkbox';
export {ColorArea, ColorAreaStateContext} from './ColorArea';
export {ColorField, ColorFieldStateContext} from './ColorField';
export {ColorPicker, ColorPickerContext, ColorPickerStateContext} from './ColorPicker';
export {ColorSlider, ColorSliderStateContext} from './ColorSlider';
export {ColorSwatch, ColorSwatchContext} from './ColorSwatch';
export {ColorSwatchPicker, ColorSwatchPickerItem, ColorSwatchPickerContext} from './ColorSwatchPicker';
export {ColorThumb} from './ColorThumb';
export {ColorWheel, ColorWheelTrack, ColorWheelTrackContext, ColorWheelStateContext} from './ColorWheel';
export {ComboBox, ComboBoxContext, ComboBoxStateContext} from './ComboBox';
export {composeRenderProps, DEFAULT_SLOT, Provider, useContextProps, useRenderProps, useSlottedContext} from './utils';
export {DateField, DateInput, DateSegment, TimeField, DateFieldContext, TimeFieldContext, DateFieldStateContext, TimeFieldStateContext} from './DateField';
export {DatePicker, DateRangePicker, DatePickerContext, DateRangePickerContext, DatePickerStateContext, DateRangePickerStateContext} from './DatePicker';
export {DialogTrigger, Dialog, DialogContext, OverlayTriggerStateContext} from './Dialog';
export {Disclosure, DisclosureGroup, DisclosureGroupStateContext, DisclosurePanel, DisclosureStateContext, DisclosureContext} from './Disclosure';
export {DropZone, DropZoneContext} from './DropZone';
export {FieldError, FieldErrorContext} from './FieldError';
export {FileTrigger} from './FileTrigger';
export {Form, FormContext} from './Form';
export {GridListLoadMoreItem, GridList, GridListItem, GridListContext, GridListHeader, GridListHeaderContext, GridListSection} from './GridList';
export {Group, GroupContext} from './Group';
export {Header, HeaderContext} from './Header';
export {Heading} from './Heading';
export {Input, InputContext} from './Input';
export {Section, CollectionRendererContext, DefaultCollectionRenderer} from './Collection';
export {createLeafComponent as UNSTABLE_createLeafComponent, createBranchComponent as UNSTABLE_createBranchComponent, CollectionBuilder as UNSTABLE_CollectionBuilder} from '@react-aria/collections';
export {Collection, createLeafComponent, createBranchComponent, CollectionBuilder} from '@react-aria/collections';
export {Keyboard, KeyboardContext} from './Keyboard';
export {Label, LabelContext} from './Label';
export {Link, LinkContext} from './Link';
export {ListBoxLoadMoreItem, ListBox, ListBoxItem, ListBoxSection, ListBoxContext, ListStateContext} from './ListBox';
export {Menu, MenuItem, MenuTrigger, MenuSection, MenuContext, MenuStateContext, RootMenuTriggerStateContext, SubmenuTrigger} from './Menu';
export {Meter, MeterContext} from './Meter';
export {Modal, ModalOverlay, ModalContext} from './Modal';
export {NumberField, NumberFieldContext, NumberFieldStateContext} from './NumberField';
export {OverlayArrow} from './OverlayArrow';
export {Popover, PopoverContext} from './Popover';
export {ProgressBar, ProgressBarContext} from './ProgressBar';
export {RadioGroup, Radio, RadioGroupContext, RadioContext, RadioGroupStateContext} from './RadioGroup';
export {SearchField, SearchFieldContext} from './SearchField';
export {Select, SelectValue, SelectContext, SelectValueContext, SelectStateContext} from './Select';
export {SelectionIndicator, SelectionIndicatorContext} from './SelectionIndicator';
export {Separator, SeparatorContext} from './Separator';
export {SharedElementTransition, SharedElement} from './SharedElementTransition';
export {Slider, SliderOutput, SliderTrack, SliderThumb, SliderContext, SliderOutputContext, SliderTrackContext, SliderStateContext} from './Slider';
export {Switch, SwitchContext} from './Switch';
export {TableLoadMoreItem, Table, Row, Cell, Column, ColumnResizer, TableHeader, TableBody, TableContext, ResizableTableContainer, useTableOptions, TableStateContext, TableColumnResizeStateContext} from './Table';
export {TableLayout} from './TableLayout';
export {Tabs, TabList, TabPanel, Tab, TabsContext, TabListStateContext} from './Tabs';
export {TagGroup, TagGroupContext, TagList, TagListContext, Tag} from './TagGroup';
export {Text, TextContext} from './Text';