Skip to content

Commit

Permalink
Add Submenu to monopackages (#6308)
Browse files Browse the repository at this point in the history
* Add Submenu to monopackages
  • Loading branch information
snowystinger committed May 1, 2024
1 parent 3a68252 commit 81bdfb0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions packages/@adobe/react-spectrum/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* governing permissions and limitations under the License.
*/

// Mark as a client only package. This will cause a build time error if you try
// Mark as a client only package. This will cause a build time error if you try
// to import it from a React Server Component in a framework like Next.js.
import 'client-only';

Expand Down Expand Up @@ -39,7 +39,7 @@ export {LabeledValue} from '@react-spectrum/labeledvalue';
export {Link} from '@react-spectrum/link';
export {ListBox} from '@react-spectrum/listbox';
export {ListView} from '@react-spectrum/list';
export {ActionMenu, Menu, MenuTrigger} from '@react-spectrum/menu';
export {ActionMenu, Menu, MenuTrigger, SubmenuTrigger} from '@react-spectrum/menu';
export {Meter} from '@react-spectrum/meter';
export {NumberField} from '@react-spectrum/numberfield';
export {Picker} from '@react-spectrum/picker';
Expand Down Expand Up @@ -93,7 +93,7 @@ export type {SpectrumLabeledValueProps} from '@react-spectrum/labeledvalue';
export type {SpectrumLinkProps} from '@react-spectrum/link';
export type {SpectrumListBoxProps} from '@react-spectrum/listbox';
export type {SpectrumListViewProps} from '@react-spectrum/list';
export type {SpectrumActionMenuProps, SpectrumMenuProps, SpectrumMenuTriggerProps, SpectrumMenuDialogTriggerProps} from '@react-spectrum/menu';
export type {SpectrumActionMenuProps, SpectrumMenuProps, SpectrumMenuTriggerProps, SpectrumMenuDialogTriggerProps, SpectrumSubmenuTriggerProps} from '@react-spectrum/menu';
export type {SpectrumMeterProps} from '@react-spectrum/meter';
export type {SpectrumNumberFieldProps} from '@react-spectrum/numberfield';
export type {SpectrumPickerProps} from '@react-spectrum/picker';
Expand Down
4 changes: 2 additions & 2 deletions packages/react-aria/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export {useField, useLabel} from '@react-aria/label';
export {useGridList, useGridListItem, useGridListSelectionCheckbox} from '@react-aria/gridlist';
export {useLink} from '@react-aria/link';
export {useListBox, useListBoxSection, useOption} from '@react-aria/listbox';
export {useMenu, useMenuItem, useMenuSection, useMenuTrigger} from '@react-aria/menu';
export {useMenu, useMenuItem, useMenuSection, useMenuTrigger, useSubmenuTrigger} from '@react-aria/menu';
export {useMeter} from '@react-aria/meter';
export {useNumberField} from '@react-aria/numberfield';
export {DismissButton, ModalProvider, Overlay, OverlayContainer, OverlayProvider, useModal, useModalOverlay, useModalProvider, useOverlay, useOverlayPosition, useOverlayTrigger, usePopover, usePreventScroll} from '@react-aria/overlays';
Expand Down Expand Up @@ -61,7 +61,7 @@ export type {AriaFieldProps, FieldAria, LabelAria, LabelAriaProps} from '@react-
export type {AriaLinkOptions, LinkAria} from '@react-aria/link';
export type {AriaListBoxOptions, AriaListBoxProps, AriaListBoxSectionProps, AriaOptionProps, ListBoxAria, ListBoxSectionAria, OptionAria} from '@react-aria/listbox';
export type {AriaGridListOptions, AriaGridListProps, GridListAria, AriaGridListItemOptions, GridListItemAria, AriaGridSelectionCheckboxProps, GridSelectionCheckboxAria} from '@react-aria/gridlist';
export type {AriaMenuProps, AriaMenuItemProps, AriaMenuOptions, AriaMenuSectionProps, AriaMenuTriggerProps, MenuAria, MenuItemAria, MenuSectionAria, MenuTriggerAria} from '@react-aria/menu';
export type {AriaMenuProps, AriaMenuItemProps, AriaMenuOptions, AriaMenuSectionProps, AriaMenuTriggerProps, MenuAria, MenuItemAria, MenuSectionAria, MenuTriggerAria, SubmenuTriggerAria, AriaSubmenuTriggerProps} from '@react-aria/menu';
export type {AriaMeterProps, MeterAria} from '@react-aria/meter';
export type {AriaNumberFieldProps, NumberFieldAria} from '@react-aria/numberfield';
export type {AriaModalOptions, AriaModalOverlayProps, AriaOverlayProps, AriaPopoverProps, AriaPositionProps, DismissButtonProps, ModalAria, ModalOverlayAria, ModalProviderAria, ModalProviderProps, OverlayAria, OverlayContainerProps, OverlayProps, OverlayTriggerAria, OverlayTriggerProps, PopoverAria, PositionAria, Placement, PlacementAxis, PositionProps} from '@react-aria/overlays';
Expand Down
4 changes: 2 additions & 2 deletions packages/react-stately/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export type {DateFieldState, DateFieldStateOptions, DatePickerState, DatePickerS
export type {DraggableCollectionStateOptions, DraggableCollectionState, DroppableCollectionStateOptions, DroppableCollectionState} from '@react-stately/dnd';
export type {AsyncListData, AsyncListOptions, ListData, ListOptions, TreeData, TreeOptions} from '@react-stately/data';
export type {ListProps, ListState, SingleSelectListProps, SingleSelectListState} from '@react-stately/list';
export type {MenuTriggerProps, MenuTriggerState, RootMenuTriggerState} from '@react-stately/menu';
export type {MenuTriggerProps, MenuTriggerState, RootMenuTriggerState, SubmenuTriggerState, SubmenuTriggerProps} from '@react-stately/menu';
export type {OverlayTriggerProps, OverlayTriggerState} from '@react-stately/overlays';
export type {RadioGroupProps, RadioGroupState} from '@react-stately/radio';
export type {SearchFieldProps, SearchFieldState} from '@react-stately/searchfield';
Expand All @@ -40,7 +40,7 @@ export {useDraggableCollectionState, useDroppableCollectionState} from '@react-s
export {Item, Section, useCollection} from '@react-stately/collections';
export {useAsyncList, useListData, useTreeData} from '@react-stately/data';
export {useListState, useSingleSelectListState} from '@react-stately/list';
export {useMenuTriggerState} from '@react-stately/menu';
export {useMenuTriggerState, useSubmenuTriggerState} from '@react-stately/menu';
export {useNumberFieldState} from '@react-stately/numberfield';
export {useOverlayTriggerState} from '@react-stately/overlays';
export {useRadioGroupState} from '@react-stately/radio';
Expand Down

1 comment on commit 81bdfb0

@rspbot
Copy link

@rspbot rspbot commented on 81bdfb0 May 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.