Skip to content

Commit 30c8693

Browse files
lukpsaxoreidbarber
andauthored
fix: Expose State types from react-stately in react-aria-components (#8157)
* (fix) Expose TableState from react-stately in react-aria-components * Add other State types --------- Co-authored-by: Reid Barber <[email protected]>
1 parent 6186e3f commit 30c8693

File tree

1 file changed

+4
-2
lines changed
  • packages/react-aria-components/src

1 file changed

+4
-2
lines changed

packages/react-aria-components/src/index.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ export type {VirtualizerProps} from './Virtualizer';
146146

147147
export type {DateValue, DateRange, TimeValue} from 'react-aria';
148148
export type {DirectoryDropItem, DraggableCollectionEndEvent, DraggableCollectionMoveEvent, DraggableCollectionStartEvent, DragPreviewRenderer, DragTypes, DropItem, DropOperation, DroppableCollectionDropEvent, DroppableCollectionEnterEvent, DroppableCollectionExitEvent, DroppableCollectionInsertDropEvent, DroppableCollectionMoveEvent, DroppableCollectionOnItemDropEvent, DroppableCollectionReorderEvent, DroppableCollectionRootDropEvent, DropPosition, DropTarget, FileDropItem, ItemDropTarget, RootDropTarget, TextDropItem, PressEvent} from 'react-aria';
149-
export type {Color, ColorSpace, ColorFormat, Key, QueuedToast, Selection, SortDescriptor, SortDirection, SelectionMode, ToastOptions} from 'react-stately';
150-
export type {ValidationResult, RouterConfig} from '@react-types/shared';
149+
export type {CalendarState, CheckboxGroupState, Color, ColorAreaState, ColorFieldState, ColorFormat, ColorPickerState, ColorSliderState, ColorSpace, ColorWheelState, ComboBoxState, DateFieldState, DatePickerState, DateRangePickerState, DisclosureState, DisclosureGroupState, DraggableCollectionState, DroppableCollectionState, Key, ListState, MultipleSelectionState, NumberFieldState, OverlayTriggerState, QueuedToast, RadioGroupState, RangeCalendarState, RootMenuTriggerState, SearchFieldState, Selection, SelectState, SliderState, SortDescriptor, SortDirection, SelectionMode, TableState, TabListState, TimeFieldState, ToastOptions, ToastState, ToggleGroupState, ToggleState, TooltipTriggerState, TreeState} from 'react-stately';
150+
export type {AutocompleteState} from '@react-stately/autocomplete';
151151
export type {ListLayoutOptions, GridLayoutOptions, WaterfallLayoutOptions} from '@react-stately/layout';
152+
export type {VirtualizerState} from '@react-stately/virtualizer';
153+
export type {ValidationResult, RouterConfig} from '@react-types/shared';

0 commit comments

Comments
 (0)