From a4f4f3c58eb87a39f17484977bd10cd16e5eb6a5 Mon Sep 17 00:00:00 2001 From: Ritesh Kumar Date: Fri, 11 Apr 2025 14:39:56 +0530 Subject: [PATCH] chore: Rename @react-types/* to @react-types-nutrient/* --- packages/@adobe/react-spectrum/package.json | 2 +- packages/@adobe/react-spectrum/src/index.ts | 2 +- packages/@react-aria/actiongroup/package.json | 4 +- packages/@react-aria/actiongroup/src/index.ts | 2 +- .../actiongroup/src/useActionGroup.ts | 4 +- .../actiongroup/src/useActionGroupItem.ts | 2 +- .../actiongroup/test/useActionGroup.test.ts | 2 +- .../docs/useSearchAutocomplete.mdx | 2 +- .../@react-aria/autocomplete/package.json | 6 +- .../@react-aria/autocomplete/src/index.ts | 2 +- .../autocomplete/src/useAutocomplete.ts | 2 +- .../autocomplete/src/useSearchAutocomplete.ts | 6 +- packages/@react-aria/breadcrumbs/package.json | 4 +- packages/@react-aria/breadcrumbs/src/index.ts | 2 +- .../breadcrumbs/src/useBreadcrumbItem.ts | 4 +- .../breadcrumbs/src/useBreadcrumbs.ts | 4 +- .../@react-aria/button/docs/useButton.mdx | 2 +- packages/@react-aria/button/package.json | 4 +- packages/@react-aria/button/src/index.ts | 2 +- packages/@react-aria/button/src/useButton.ts | 4 +- .../@react-aria/button/src/useToggleButton.ts | 4 +- .../button/src/useToggleButtonGroup.ts | 4 +- .../button/stories/useButton.stories.tsx | 2 +- packages/@react-aria/calendar/package.json | 6 +- packages/@react-aria/calendar/src/index.ts | 2 +- .../@react-aria/calendar/src/useCalendar.ts | 2 +- .../calendar/src/useCalendarBase.ts | 6 +- .../calendar/src/useCalendarCell.ts | 2 +- .../calendar/src/useCalendarGrid.ts | 2 +- .../calendar/src/useRangeCalendar.ts | 4 +- packages/@react-aria/checkbox/package.json | 4 +- packages/@react-aria/checkbox/src/index.ts | 2 +- .../@react-aria/checkbox/src/useCheckbox.ts | 4 +- .../checkbox/src/useCheckboxGroup.ts | 4 +- .../checkbox/src/useCheckboxGroupItem.ts | 4 +- .../checkbox/test/useCheckboxGroup.test.tsx | 2 +- packages/@react-aria/collections/package.json | 2 +- .../collections/src/BaseCollection.ts | 2 +- .../collections/src/CollectionBuilder.tsx | 2 +- .../@react-aria/collections/src/Document.ts | 2 +- .../@react-aria/collections/src/Hidden.tsx | 2 +- .../collections/src/useCachedChildren.ts | 2 +- .../@react-aria/color/docs/useColorSlider.mdx | 2 +- packages/@react-aria/color/package.json | 4 +- packages/@react-aria/color/src/index.ts | 2 +- .../@react-aria/color/src/useColorArea.ts | 4 +- .../color/src/useColorAreaGradient.ts | 2 +- .../color/src/useColorChannelField.ts | 2 +- .../@react-aria/color/src/useColorField.ts | 4 +- .../@react-aria/color/src/useColorSlider.ts | 4 +- .../@react-aria/color/src/useColorSwatch.ts | 4 +- .../@react-aria/color/src/useColorWheel.ts | 4 +- .../color/test/useColorWheel.test.tsx | 2 +- .../@react-aria/combobox/docs/useComboBox.mdx | 2 +- packages/@react-aria/combobox/package.json | 6 +- packages/@react-aria/combobox/src/index.ts | 2 +- .../@react-aria/combobox/src/useComboBox.ts | 6 +- packages/@react-aria/datepicker/package.json | 10 +- packages/@react-aria/datepicker/src/index.ts | 4 +- .../datepicker/src/useDateField.ts | 4 +- .../datepicker/src/useDatePicker.ts | 10 +- .../datepicker/src/useDatePickerGroup.ts | 2 +- .../datepicker/src/useDateRangePicker.ts | 10 +- .../datepicker/src/useDateSegment.ts | 2 +- packages/@react-aria/dialog/package.json | 4 +- packages/@react-aria/dialog/src/index.ts | 2 +- packages/@react-aria/dialog/src/useDialog.ts | 4 +- packages/@react-aria/disclosure/package.json | 2 +- .../disclosure/src/useDisclosure.ts | 2 +- .../disclosure/test/useDisclosure.test.ts | 2 +- .../@react-aria/dnd/docs/useClipboard.mdx | 2 +- packages/@react-aria/dnd/docs/useDrag.mdx | 2 +- .../dnd/docs/useDraggableCollection.mdx | 2 +- packages/@react-aria/dnd/docs/useDrop.mdx | 2 +- .../dnd/docs/useDroppableCollection.mdx | 2 +- packages/@react-aria/dnd/package.json | 4 +- packages/@react-aria/dnd/src/DragManager.ts | 2 +- packages/@react-aria/dnd/src/DragPreview.tsx | 2 +- .../dnd/src/ListDropTargetDelegate.ts | 2 +- packages/@react-aria/dnd/src/constants.ts | 2 +- packages/@react-aria/dnd/src/index.ts | 2 +- packages/@react-aria/dnd/src/useAutoScroll.ts | 2 +- packages/@react-aria/dnd/src/useClipboard.ts | 2 +- packages/@react-aria/dnd/src/useDrag.ts | 4 +- .../dnd/src/useDraggableCollection.ts | 2 +- .../@react-aria/dnd/src/useDraggableItem.ts | 4 +- packages/@react-aria/dnd/src/useDrop.ts | 4 +- .../@react-aria/dnd/src/useDropIndicator.ts | 2 +- .../dnd/src/useDroppableCollection.ts | 2 +- .../@react-aria/dnd/src/useDroppableItem.ts | 2 +- .../@react-aria/dnd/src/useVirtualDrop.ts | 2 +- packages/@react-aria/dnd/src/utils.ts | 2 +- .../@react-aria/dnd/stories/DroppableGrid.tsx | 2 +- .../dnd/stories/DroppableListBox.tsx | 2 +- .../@react-aria/dnd/stories/Reorderable.tsx | 2 +- .../dnd/stories/VirtualizedListBox.tsx | 2 +- packages/@react-aria/focus/package.json | 2 +- packages/@react-aria/focus/src/FocusScope.tsx | 2 +- .../@react-aria/focus/src/useFocusRing.ts | 2 +- .../focus/src/useHasTabbableChild.ts | 2 +- packages/@react-aria/form/package.json | 2 +- .../@react-aria/form/src/useFormValidation.ts | 2 +- packages/@react-aria/grid/package.json | 6 +- .../grid/src/GridKeyboardDelegate.ts | 4 +- packages/@react-aria/grid/src/useGrid.ts | 4 +- packages/@react-aria/grid/src/useGridCell.ts | 4 +- packages/@react-aria/grid/src/useGridRow.ts | 4 +- .../@react-aria/grid/src/useGridRowGroup.ts | 2 +- .../grid/src/useGridSelectionAnnouncement.ts | 2 +- .../grid/src/useGridSelectionCheckbox.ts | 6 +- .../src/useHighlightSelectionDescription.ts | 2 +- packages/@react-aria/grid/src/utils.ts | 4 +- .../@react-aria/gridlist/docs/useGridList.mdx | 2 +- packages/@react-aria/gridlist/package.json | 2 +- .../@react-aria/gridlist/src/useGridList.ts | 2 +- .../gridlist/src/useGridListItem.ts | 2 +- packages/@react-aria/gridlist/src/utils.ts | 2 +- packages/@react-aria/i18n/package.json | 2 +- .../@react-aria/i18n/src/useDefaultLocale.ts | 2 +- .../interactions/docs/useFocus.mdx | 2 +- .../interactions/docs/useFocusVisible.mdx | 2 +- .../interactions/docs/useFocusWithin.mdx | 2 +- .../interactions/docs/useHover.mdx | 2 +- .../interactions/docs/useKeyboard.mdx | 2 +- .../interactions/docs/useLongPress.mdx | 2 +- .../@react-aria/interactions/docs/useMove.mdx | 2 +- .../interactions/docs/usePress.mdx | 2 +- .../@react-aria/interactions/package.json | 2 +- .../interactions/src/PressResponder.tsx | 2 +- .../interactions/src/Pressable.tsx | 2 +- .../@react-aria/interactions/src/context.ts | 2 +- .../interactions/src/createEventHandler.ts | 2 +- .../interactions/src/focusSafely.ts | 2 +- .../@react-aria/interactions/src/index.ts | 2 +- .../@react-aria/interactions/src/useFocus.ts | 2 +- .../interactions/src/useFocusWithin.ts | 2 +- .../interactions/src/useFocusable.tsx | 2 +- .../@react-aria/interactions/src/useHover.ts | 2 +- .../interactions/src/useInteractOutside.ts | 2 +- .../interactions/src/useKeyboard.ts | 2 +- .../interactions/src/useLongPress.ts | 2 +- .../@react-aria/interactions/src/useMove.ts | 2 +- .../@react-aria/interactions/src/usePress.ts | 2 +- .../interactions/src/useScrollWheel.ts | 2 +- .../@react-aria/interactions/src/utils.ts | 2 +- .../stories/useFocusRing.stories.tsx | 2 +- .../interactions/stories/useHover.stories.tsx | 2 +- packages/@react-aria/label/package.json | 2 +- packages/@react-aria/label/src/useField.ts | 2 +- packages/@react-aria/label/src/useLabel.ts | 2 +- .../label/stories/useField.stories.tsx | 2 +- packages/@react-aria/landmark/package.json | 2 +- .../@react-aria/landmark/src/useLandmark.ts | 2 +- packages/@react-aria/link/package.json | 4 +- packages/@react-aria/link/src/useLink.ts | 4 +- .../@react-aria/listbox/docs/useListBox.mdx | 2 +- packages/@react-aria/listbox/package.json | 4 +- packages/@react-aria/listbox/src/index.ts | 2 +- .../@react-aria/listbox/src/useListBox.ts | 4 +- .../listbox/src/useListBoxSection.ts | 2 +- packages/@react-aria/listbox/src/useOption.ts | 2 +- packages/@react-aria/listbox/src/utils.ts | 2 +- packages/@react-aria/menu/package.json | 6 +- packages/@react-aria/menu/src/index.ts | 2 +- packages/@react-aria/menu/src/useMenu.ts | 4 +- packages/@react-aria/menu/src/useMenuItem.ts | 2 +- .../@react-aria/menu/src/useMenuSection.ts | 2 +- .../@react-aria/menu/src/useMenuTrigger.ts | 6 +- .../menu/src/useSafelyMouseToSubmenu.ts | 2 +- .../@react-aria/menu/src/useSubmenuTrigger.ts | 2 +- packages/@react-aria/menu/src/utils.ts | 2 +- packages/@react-aria/meter/package.json | 4 +- packages/@react-aria/meter/src/index.ts | 2 +- packages/@react-aria/meter/src/useMeter.ts | 4 +- packages/@react-aria/numberfield/package.json | 6 +- packages/@react-aria/numberfield/src/index.ts | 2 +- .../numberfield/src/useNumberField.ts | 6 +- .../numberfield/test/useNumberField.test.ts | 2 +- .../@react-aria/overlays/docs/usePopover.mdx | 2 +- packages/@react-aria/overlays/package.json | 6 +- .../overlays/src/DismissButton.tsx | 2 +- .../overlays/src/calculatePosition.ts | 2 +- packages/@react-aria/overlays/src/index.ts | 2 +- .../overlays/src/useCloseOnScroll.ts | 2 +- .../@react-aria/overlays/src/useModal.tsx | 2 +- .../overlays/src/useModalOverlay.ts | 2 +- .../@react-aria/overlays/src/useOverlay.ts | 2 +- .../overlays/src/useOverlayPosition.ts | 4 +- .../overlays/src/useOverlayTrigger.ts | 4 +- .../@react-aria/overlays/src/usePopover.ts | 4 +- .../stories/UseOverlayPosition.stories.tsx | 2 +- packages/@react-aria/progress/package.json | 4 +- packages/@react-aria/progress/src/index.ts | 2 +- .../progress/src/useProgressBar.ts | 4 +- packages/@react-aria/radio/package.json | 4 +- packages/@react-aria/radio/src/index.ts | 4 +- packages/@react-aria/radio/src/useRadio.ts | 4 +- .../@react-aria/radio/src/useRadioGroup.ts | 4 +- packages/@react-aria/searchfield/package.json | 6 +- packages/@react-aria/searchfield/src/index.ts | 2 +- .../searchfield/src/useSearchField.ts | 6 +- .../@react-aria/select/docs/useSelect.mdx | 2 +- packages/@react-aria/select/package.json | 6 +- .../@react-aria/select/src/HiddenSelect.tsx | 2 +- packages/@react-aria/select/src/index.ts | 2 +- packages/@react-aria/select/src/useSelect.ts | 6 +- packages/@react-aria/selection/package.json | 2 +- .../selection/src/DOMLayoutDelegate.ts | 2 +- .../selection/src/ListKeyboardDelegate.ts | 2 +- .../selection/src/useSelectableCollection.ts | 2 +- .../selection/src/useSelectableItem.ts | 2 +- .../selection/src/useSelectableList.ts | 2 +- .../selection/src/useTypeSelect.ts | 2 +- packages/@react-aria/selection/src/utils.ts | 2 +- .../@react-aria/selection/stories/List.tsx | 2 +- .../stories/useSelectableList.stories.tsx | 2 +- packages/@react-aria/separator/package.json | 2 +- .../@react-aria/separator/src/useSeparator.ts | 2 +- packages/@react-aria/slider/package.json | 4 +- packages/@react-aria/slider/src/index.ts | 6 +- packages/@react-aria/slider/src/useSlider.ts | 4 +- .../@react-aria/slider/src/useSliderThumb.ts | 4 +- .../slider/stories/StoryMultiSlider.tsx | 2 +- .../slider/stories/StoryRangeSlider.tsx | 2 +- .../slider/stories/StorySlider.tsx | 2 +- packages/@react-aria/spinbutton/package.json | 4 +- .../spinbutton/src/useSpinButton.ts | 4 +- packages/@react-aria/steplist/package.json | 2 +- .../@react-aria/steplist/src/useStepList.ts | 2 +- .../steplist/src/useStepListItem.ts | 2 +- packages/@react-aria/switch/package.json | 4 +- packages/@react-aria/switch/src/index.ts | 2 +- packages/@react-aria/switch/src/useSwitch.ts | 4 +- packages/@react-aria/table/docs/useTable.mdx | 2 +- packages/@react-aria/table/package.json | 8 +- .../table/src/TableKeyboardDelegate.ts | 4 +- packages/@react-aria/table/src/useTable.ts | 2 +- .../@react-aria/table/src/useTableCell.ts | 4 +- .../table/src/useTableColumnHeader.ts | 4 +- .../table/src/useTableColumnResize.ts | 6 +- .../table/src/useTableHeaderRow.ts | 2 +- packages/@react-aria/table/src/useTableRow.ts | 6 +- .../table/src/useTableSelectionCheckbox.ts | 4 +- packages/@react-aria/table/src/utils.ts | 2 +- .../table/stories/useTable.stories.tsx | 4 +- .../table/test/ariaTableResizing.test.tsx | 2 +- packages/@react-aria/tabs/package.json | 4 +- .../tabs/src/TabsKeyboardDelegate.ts | 2 +- packages/@react-aria/tabs/src/index.ts | 4 +- packages/@react-aria/tabs/src/useTab.ts | 4 +- packages/@react-aria/tabs/src/useTabList.ts | 4 +- packages/@react-aria/tabs/src/useTabPanel.ts | 4 +- packages/@react-aria/tabs/src/utils.ts | 2 +- packages/@react-aria/tag/docs/useTagGroup.mdx | 2 +- packages/@react-aria/tag/package.json | 4 +- packages/@react-aria/tag/src/useTag.ts | 4 +- packages/@react-aria/tag/src/useTagGroup.ts | 2 +- packages/@react-aria/textfield/package.json | 4 +- packages/@react-aria/textfield/src/index.ts | 2 +- .../textfield/src/useFormattedTextField.ts | 4 +- .../@react-aria/textfield/src/useTextField.ts | 4 +- packages/@react-aria/toast/package.json | 4 +- packages/@react-aria/toast/src/useToast.ts | 4 +- .../@react-aria/toast/src/useToastRegion.ts | 2 +- packages/@react-aria/toggle/package.json | 4 +- packages/@react-aria/toggle/src/index.ts | 2 +- packages/@react-aria/toggle/src/useToggle.ts | 4 +- .../@react-aria/toolbar/docs/useToolbar.mdx | 2 +- packages/@react-aria/toolbar/package.json | 2 +- .../@react-aria/toolbar/src/useToolbar.ts | 2 +- packages/@react-aria/tooltip/package.json | 4 +- packages/@react-aria/tooltip/src/index.ts | 2 +- .../@react-aria/tooltip/src/useTooltip.ts | 4 +- .../tooltip/src/useTooltipTrigger.ts | 4 +- packages/@react-aria/tree/package.json | 4 +- packages/@react-aria/tree/src/useTree.ts | 2 +- packages/@react-aria/tree/src/useTreeItem.ts | 4 +- .../@react-aria/utils/docs/useObjectRef.mdx | 2 +- packages/@react-aria/utils/package.json | 2 +- .../@react-aria/utils/src/filterDOMProps.ts | 2 +- .../utils/src/focusWithoutScrolling.ts | 2 +- packages/@react-aria/utils/src/getOffset.ts | 2 +- packages/@react-aria/utils/src/openLink.tsx | 2 +- .../@react-aria/utils/src/useDescription.ts | 2 +- packages/@react-aria/utils/src/useDrag1D.ts | 2 +- packages/@react-aria/utils/src/useEvent.ts | 2 +- .../@react-aria/utils/src/useFormReset.ts | 2 +- packages/@react-aria/utils/src/useLabels.ts | 2 +- .../utils/src/useResizeObserver.ts | 2 +- packages/@react-aria/utils/src/useSyncRef.ts | 2 +- packages/@react-aria/virtualizer/package.json | 2 +- .../virtualizer/src/Virtualizer.tsx | 2 +- .../virtualizer/src/VirtualizerItem.tsx | 2 +- .../virtualizer/src/useVirtualizerItem.ts | 2 +- packages/@react-aria/virtualizer/src/utils.ts | 2 +- .../@react-aria/visually-hidden/package.json | 2 +- .../visually-hidden/src/VisuallyHidden.tsx | 2 +- .../accordion/docs/Accordion.mdx | 2 +- .../@react-spectrum/accordion/package.json | 2 +- .../accordion/src/Accordion.tsx | 2 +- .../@react-spectrum/actionbar/package.json | 4 +- .../actionbar/src/ActionBar.tsx | 4 +- .../actionbar/src/ActionBarContainer.tsx | 4 +- .../@react-spectrum/actionbar/src/index.ts | 4 +- .../actionbar/stories/Example.tsx | 2 +- .../@react-spectrum/actiongroup/package.json | 4 +- .../actiongroup/src/ActionGroup.tsx | 4 +- .../@react-spectrum/actiongroup/src/index.ts | 2 +- .../actiongroup/stories/Toolbar.stories.tsx | 2 +- .../chromatic/SearchAutocomplete.stories.tsx | 2 +- .../@react-spectrum/autocomplete/package.json | 6 +- .../src/MobileSearchAutocomplete.tsx | 6 +- .../autocomplete/src/SearchAutocomplete.tsx | 6 +- .../@react-spectrum/autocomplete/src/index.ts | 2 +- .../avatar/chromatic/Avatar.stories.tsx | 2 +- packages/@react-spectrum/avatar/package.json | 4 +- .../@react-spectrum/avatar/src/Avatar.tsx | 4 +- packages/@react-spectrum/avatar/src/index.ts | 2 +- .../avatar/stories/Avatar.stories.tsx | 2 +- .../badge/chromatic/Badge.stories.tsx | 2 +- packages/@react-spectrum/badge/package.json | 4 +- packages/@react-spectrum/badge/src/Badge.tsx | 4 +- packages/@react-spectrum/badge/src/index.ts | 2 +- .../@react-spectrum/breadcrumbs/package.json | 4 +- .../breadcrumbs/src/BreadcrumbItem.tsx | 2 +- .../breadcrumbs/src/Breadcrumbs.tsx | 4 +- .../@react-spectrum/breadcrumbs/src/index.ts | 2 +- packages/@react-spectrum/button/package.json | 4 +- .../button/src/ActionButton.tsx | 4 +- .../@react-spectrum/button/src/Button.tsx | 4 +- .../button/src/ClearButton.tsx | 4 +- .../button/src/FieldButton.tsx | 4 +- .../button/src/LogicButton.tsx | 4 +- .../button/src/ToggleButton.tsx | 4 +- packages/@react-spectrum/button/src/index.ts | 2 +- .../button/stories/Button.stories.tsx | 4 +- .../@react-spectrum/buttongroup/package.json | 4 +- .../buttongroup/src/ButtonGroup.tsx | 4 +- .../@react-spectrum/buttongroup/src/index.ts | 2 +- .../@react-spectrum/calendar/package.json | 6 +- .../@react-spectrum/calendar/src/Calendar.tsx | 4 +- .../calendar/src/CalendarBase.tsx | 6 +- .../calendar/src/CalendarMonth.tsx | 4 +- .../calendar/src/RangeCalendar.tsx | 4 +- .../@react-spectrum/calendar/src/index.ts | 2 +- .../calendar/stories/Calendar.stories.tsx | 4 +- .../stories/RangeCalendar.stories.tsx | 2 +- .../card/chromatic-fc/CardView.stories.tsx | 2 +- .../card/chromatic/CardView.stories.tsx | 2 +- packages/@react-spectrum/card/package.json | 6 +- .../@react-spectrum/card/src/BaseLayout.tsx | 4 +- packages/@react-spectrum/card/src/Card.tsx | 4 +- .../@react-spectrum/card/src/CardBase.tsx | 4 +- .../@react-spectrum/card/src/CardView.tsx | 4 +- .../@react-spectrum/card/src/GridLayout.tsx | 2 +- .../card/src/WaterfallLayout.tsx | 2 +- packages/@react-spectrum/card/src/index.ts | 2 +- .../card/stories/Card.stories.tsx | 2 +- .../card/stories/GalleryCardView.stories.tsx | 2 +- .../card/stories/GridCardView.stories.tsx | 4 +- .../stories/WaterfallCardView.stories.tsx | 2 +- .../@react-spectrum/checkbox/package.json | 4 +- .../@react-spectrum/checkbox/src/Checkbox.tsx | 4 +- .../checkbox/src/CheckboxGroup.tsx | 4 +- .../@react-spectrum/checkbox/src/index.ts | 2 +- .../stories/CheckboxGroup.stories.tsx | 2 +- .../color/chromatic/ColorArea.stories.tsx | 2 +- .../color/chromatic/ColorField.stories.tsx | 2 +- .../color/chromatic/ColorSlider.stories.tsx | 2 +- .../@react-spectrum/color/docs/ColorArea.mdx | 2 +- .../@react-spectrum/color/docs/ColorField.mdx | 2 +- .../color/docs/ColorPicker.mdx | 2 +- .../color/docs/ColorSlider.mdx | 2 +- .../color/docs/ColorSwatch.mdx | 2 +- .../color/docs/ColorSwatchPicker.mdx | 2 +- .../@react-spectrum/color/docs/ColorWheel.mdx | 2 +- packages/@react-spectrum/color/package.json | 6 +- .../@react-spectrum/color/src/ColorArea.tsx | 4 +- .../@react-spectrum/color/src/ColorEditor.tsx | 4 +- .../@react-spectrum/color/src/ColorField.tsx | 4 +- .../@react-spectrum/color/src/ColorPicker.tsx | 2 +- .../@react-spectrum/color/src/ColorSlider.tsx | 4 +- .../@react-spectrum/color/src/ColorSwatch.tsx | 4 +- .../color/src/ColorSwatchPicker.tsx | 4 +- .../@react-spectrum/color/src/ColorThumb.tsx | 4 +- .../@react-spectrum/color/src/ColorWheel.tsx | 4 +- packages/@react-spectrum/color/src/index.ts | 4 +- .../color/stories/ColorArea.stories.tsx | 2 +- .../color/stories/ColorField.stories.tsx | 2 +- .../combobox/chromatic/ComboBox.stories.tsx | 2 +- .../@react-spectrum/combobox/package.json | 6 +- .../@react-spectrum/combobox/src/ComboBox.tsx | 6 +- .../combobox/src/MobileComboBox.tsx | 6 +- .../@react-spectrum/combobox/src/index.ts | 2 +- .../combobox/stories/ComboBox.stories.tsx | 2 +- .../contextualhelp/package.json | 4 +- .../contextualhelp/src/ContextualHelp.tsx | 4 +- .../contextualhelp/src/index.ts | 2 +- .../@react-spectrum/datepicker/package.json | 4 +- .../datepicker/src/DateField.tsx | 4 +- .../datepicker/src/DatePicker.tsx | 4 +- .../datepicker/src/DatePickerField.tsx | 2 +- .../datepicker/src/DatePickerSegment.tsx | 2 +- .../datepicker/src/DateRangePicker.tsx | 4 +- .../datepicker/src/TimeField.tsx | 4 +- .../@react-spectrum/datepicker/src/index.ts | 2 +- .../@react-spectrum/datepicker/src/utils.tsx | 4 +- .../datepicker/stories/DateField.stories.tsx | 2 +- .../datepicker/stories/DatePicker.stories.tsx | 4 +- .../stories/DateRangePicker.stories.tsx | 6 +- .../dialog/chromatic/AlertDialog.stories.tsx | 2 +- packages/@react-spectrum/dialog/package.json | 6 +- .../dialog/src/AlertDialog.tsx | 6 +- .../@react-spectrum/dialog/src/Dialog.tsx | 4 +- .../dialog/src/DialogContainer.tsx | 2 +- .../dialog/src/DialogTrigger.tsx | 2 +- packages/@react-spectrum/dialog/src/index.ts | 2 +- .../dialog/stories/AlertDialog.stories.tsx | 2 +- .../stories/DialogContainerExamples.tsx | 2 +- packages/@react-spectrum/divider/package.json | 4 +- .../@react-spectrum/divider/src/Divider.tsx | 4 +- packages/@react-spectrum/divider/src/index.ts | 2 +- packages/@react-spectrum/dnd/docs/dnd.mdx | 2 +- packages/@react-spectrum/dnd/package.json | 2 +- packages/@react-spectrum/dnd/src/index.ts | 2 +- .../@react-spectrum/dnd/src/useDragAndDrop.ts | 2 +- .../@react-spectrum/dropzone/package.json | 2 +- .../@react-spectrum/dropzone/src/DropZone.tsx | 2 +- .../filetrigger/docs/FileTrigger.mdx | 2 +- .../form/chromatic/Form.stories.tsx | 2 +- .../form/chromatic/FormLongLabel.stories.tsx | 2 +- packages/@react-spectrum/form/package.json | 4 +- packages/@react-spectrum/form/src/Form.tsx | 4 +- packages/@react-spectrum/form/src/index.ts | 2 +- .../form/stories/Form.stories.tsx | 2 +- packages/@react-spectrum/icon/package.json | 2 +- packages/@react-spectrum/icon/src/Icon.tsx | 2 +- .../@react-spectrum/icon/src/Illustration.tsx | 2 +- packages/@react-spectrum/icon/src/UIIcon.tsx | 2 +- .../illustratedmessage/package.json | 4 +- .../src/IllustratedMessage.tsx | 4 +- .../illustratedmessage/src/index.ts | 2 +- packages/@react-spectrum/image/package.json | 4 +- packages/@react-spectrum/image/src/Image.tsx | 4 +- packages/@react-spectrum/image/src/index.ts | 2 +- .../@react-spectrum/inlinealert/package.json | 2 +- .../inlinealert/src/InlineAlert.tsx | 2 +- packages/@react-spectrum/label/package.json | 4 +- packages/@react-spectrum/label/src/Field.tsx | 4 +- .../@react-spectrum/label/src/HelpText.tsx | 2 +- packages/@react-spectrum/label/src/Label.tsx | 4 +- .../label/stories/HelpText.stories.tsx | 2 +- .../labeledvalue/docs/types.ts | 2 +- .../@react-spectrum/labeledvalue/package.json | 2 +- .../labeledvalue/src/LabeledValue.tsx | 2 +- .../layout/chromatic/Flex.stories.tsx | 2 +- .../layout/chromatic/Grid.stories.tsx | 2 +- packages/@react-spectrum/layout/package.json | 4 +- packages/@react-spectrum/layout/src/Flex.tsx | 4 +- packages/@react-spectrum/layout/src/Grid.tsx | 4 +- packages/@react-spectrum/layout/src/index.ts | 4 +- .../layout/stories/Flex.stories.tsx | 2 +- .../layout/stories/Grid.stories.tsx | 2 +- .../link/chromatic/Link.stories.tsx | 2 +- packages/@react-spectrum/link/package.json | 4 +- packages/@react-spectrum/link/src/Link.tsx | 2 +- packages/@react-spectrum/link/src/index.ts | 2 +- .../link/stories/Link.stories.tsx | 2 +- packages/@react-spectrum/list/package.json | 4 +- .../@react-spectrum/list/src/DragPreview.tsx | 2 +- .../list/src/InsertionIndicator.tsx | 2 +- .../@react-spectrum/list/src/ListView.tsx | 2 +- .../@react-spectrum/list/src/ListViewItem.tsx | 2 +- .../list/src/ListViewLayout.ts | 2 +- .../list/stories/ListViewDnDExamples.tsx | 2 +- .../listbox/chromatic/ListBox.stories.tsx | 2 +- packages/@react-spectrum/listbox/package.json | 4 +- .../@react-spectrum/listbox/src/ListBox.tsx | 4 +- .../listbox/src/ListBoxBase.tsx | 2 +- .../listbox/src/ListBoxLayout.ts | 2 +- .../listbox/src/ListBoxOption.tsx | 2 +- .../listbox/src/ListBoxSection.tsx | 2 +- packages/@react-spectrum/listbox/src/index.ts | 2 +- .../listbox/stories/ListBox.stories.tsx | 2 +- .../menu/chromatic/MenuTrigger.stories.tsx | 2 +- .../menu/chromatic/Submenu.stories.tsx | 2 +- packages/@react-spectrum/menu/package.json | 6 +- .../@react-spectrum/menu/src/ActionMenu.tsx | 4 +- .../menu/src/ContextualHelpTrigger.tsx | 2 +- packages/@react-spectrum/menu/src/Menu.tsx | 4 +- .../@react-spectrum/menu/src/MenuItem.tsx | 2 +- .../@react-spectrum/menu/src/MenuSection.tsx | 2 +- .../@react-spectrum/menu/src/MenuTrigger.tsx | 6 +- .../menu/src/SubmenuTrigger.tsx | 2 +- packages/@react-spectrum/menu/src/context.ts | 2 +- packages/@react-spectrum/menu/src/index.ts | 2 +- .../menu/stories/ActionMenu.stories.tsx | 4 +- .../menu/test/SubMenuTrigger.test.tsx | 2 +- .../meter/chromatic/Meter.stories.tsx | 2 +- packages/@react-spectrum/meter/package.json | 4 +- packages/@react-spectrum/meter/src/Meter.tsx | 4 +- packages/@react-spectrum/meter/src/index.ts | 2 +- .../chromatic/NumberField.stories.tsx | 2 +- .../@react-spectrum/numberfield/package.json | 6 +- .../numberfield/src/NumberField.tsx | 6 +- .../numberfield/src/StepButton.tsx | 4 +- .../@react-spectrum/numberfield/src/index.ts | 2 +- .../@react-spectrum/overlays/package.json | 4 +- .../@react-spectrum/overlays/src/Modal.tsx | 4 +- .../@react-spectrum/overlays/src/Overlay.tsx | 4 +- .../@react-spectrum/overlays/src/Popover.tsx | 2 +- .../@react-spectrum/overlays/src/Tray.tsx | 4 +- .../chromatic/Picker.Languages.stories.tsx | 2 +- .../picker/chromatic/Picker.stories.tsx | 2 +- packages/@react-spectrum/picker/package.json | 4 +- .../@react-spectrum/picker/src/Picker.tsx | 4 +- packages/@react-spectrum/picker/src/index.ts | 2 +- .../chromatic/ProgressBar.stories.tsx | 2 +- .../chromatic/ProgressCircle.stories.tsx | 2 +- .../@react-spectrum/progress/package.json | 4 +- .../progress/src/ProgressBar.tsx | 4 +- .../progress/src/ProgressBarBase.tsx | 4 +- .../progress/src/ProgressCircle.tsx | 4 +- .../@react-spectrum/progress/src/index.ts | 2 +- .../provider/chromatic/Provider.stories.tsx | 2 +- .../@react-spectrum/provider/package.json | 4 +- .../@react-spectrum/provider/src/Provider.tsx | 4 +- .../@react-spectrum/provider/src/context.ts | 2 +- .../@react-spectrum/provider/src/index.ts | 4 +- .../provider/src/mediaQueries.ts | 2 +- packages/@react-spectrum/radio/package.json | 4 +- packages/@react-spectrum/radio/src/Radio.tsx | 4 +- .../@react-spectrum/radio/src/RadioGroup.tsx | 4 +- packages/@react-spectrum/radio/src/index.ts | 4 +- packages/@react-spectrum/s2/package.json | 12 +- packages/@react-spectrum/s2/src/Accordion.tsx | 2 +- packages/@react-spectrum/s2/src/ActionBar.tsx | 2 +- .../@react-spectrum/s2/src/ActionButton.tsx | 2 +- .../s2/src/ActionButtonGroup.tsx | 2 +- .../@react-spectrum/s2/src/ActionMenu.tsx | 2 +- .../@react-spectrum/s2/src/AlertDialog.tsx | 2 +- packages/@react-spectrum/s2/src/Avatar.tsx | 2 +- .../@react-spectrum/s2/src/AvatarGroup.tsx | 2 +- packages/@react-spectrum/s2/src/Badge.tsx | 2 +- .../@react-spectrum/s2/src/Breadcrumbs.tsx | 2 +- packages/@react-spectrum/s2/src/Button.tsx | 2 +- .../@react-spectrum/s2/src/ButtonGroup.tsx | 2 +- packages/@react-spectrum/s2/src/Card.tsx | 2 +- packages/@react-spectrum/s2/src/CardView.tsx | 2 +- packages/@react-spectrum/s2/src/Checkbox.tsx | 2 +- .../@react-spectrum/s2/src/CheckboxGroup.tsx | 2 +- .../@react-spectrum/s2/src/ClearButton.tsx | 2 +- .../@react-spectrum/s2/src/CloseButton.tsx | 2 +- packages/@react-spectrum/s2/src/ColorArea.tsx | 2 +- .../@react-spectrum/s2/src/ColorField.tsx | 4 +- .../@react-spectrum/s2/src/ColorSlider.tsx | 2 +- .../@react-spectrum/s2/src/ColorSwatch.tsx | 2 +- .../s2/src/ColorSwatchPicker.tsx | 2 +- .../@react-spectrum/s2/src/ColorWheel.tsx | 2 +- packages/@react-spectrum/s2/src/ComboBox.tsx | 4 +- packages/@react-spectrum/s2/src/Content.tsx | 2 +- .../@react-spectrum/s2/src/ContextualHelp.tsx | 2 +- .../@react-spectrum/s2/src/CustomDialog.tsx | 2 +- packages/@react-spectrum/s2/src/DateField.tsx | 2 +- .../@react-spectrum/s2/src/DatePicker.tsx | 2 +- .../s2/src/DateRangePicker.tsx | 2 +- packages/@react-spectrum/s2/src/Dialog.tsx | 2 +- .../s2/src/DialogContainer.tsx | 2 +- .../@react-spectrum/s2/src/Disclosure.tsx | 2 +- packages/@react-spectrum/s2/src/Divider.tsx | 2 +- packages/@react-spectrum/s2/src/DropZone.tsx | 2 +- packages/@react-spectrum/s2/src/Field.tsx | 2 +- packages/@react-spectrum/s2/src/Form.tsx | 2 +- .../s2/src/FullscreenDialog.tsx | 2 +- packages/@react-spectrum/s2/src/Icon.tsx | 2 +- .../s2/src/IllustratedMessage.tsx | 2 +- .../@react-spectrum/s2/src/InlineAlert.tsx | 2 +- packages/@react-spectrum/s2/src/Link.tsx | 2 +- packages/@react-spectrum/s2/src/Menu.tsx | 2 +- packages/@react-spectrum/s2/src/Meter.tsx | 2 +- packages/@react-spectrum/s2/src/Modal.tsx | 2 +- .../s2/src/NotificationBadge.tsx | 2 +- .../@react-spectrum/s2/src/NumberField.tsx | 4 +- packages/@react-spectrum/s2/src/Picker.tsx | 2 +- packages/@react-spectrum/s2/src/Popover.tsx | 2 +- .../@react-spectrum/s2/src/ProgressBar.tsx | 2 +- .../@react-spectrum/s2/src/ProgressCircle.tsx | 2 +- packages/@react-spectrum/s2/src/Provider.tsx | 2 +- packages/@react-spectrum/s2/src/Radio.tsx | 2 +- .../@react-spectrum/s2/src/RadioGroup.tsx | 2 +- .../@react-spectrum/s2/src/RangeSlider.tsx | 2 +- .../@react-spectrum/s2/src/SearchField.tsx | 4 +- .../s2/src/SegmentedControl.tsx | 2 +- packages/@react-spectrum/s2/src/Slider.tsx | 2 +- .../@react-spectrum/s2/src/StatusLight.tsx | 2 +- packages/@react-spectrum/s2/src/Switch.tsx | 2 +- packages/@react-spectrum/s2/src/TableView.tsx | 6 +- packages/@react-spectrum/s2/src/Tabs.tsx | 2 +- .../@react-spectrum/s2/src/TabsPicker.tsx | 2 +- packages/@react-spectrum/s2/src/TagGroup.tsx | 2 +- packages/@react-spectrum/s2/src/TextField.tsx | 4 +- packages/@react-spectrum/s2/src/TimeField.tsx | 2 +- .../@react-spectrum/s2/src/ToggleButton.tsx | 2 +- packages/@react-spectrum/s2/src/Tooltip.tsx | 4 +- packages/@react-spectrum/s2/src/TreeView.tsx | 2 +- .../s2/src/useSpectrumContextProps.ts | 2 +- .../@react-spectrum/s2/test/Menu.test.tsx | 2 +- .../@react-spectrum/searchfield/package.json | 4 +- .../searchfield/src/SearchField.tsx | 4 +- .../@react-spectrum/searchfield/src/index.ts | 2 +- .../chromatic/SearchWithin.stories.tsx | 2 +- .../@react-spectrum/searchwithin/package.json | 4 +- .../searchwithin/src/SearchWithin.tsx | 4 +- .../@react-spectrum/searchwithin/src/index.ts | 2 +- .../stories/SearchWithin.stories.tsx | 6 +- .../slider/chromatic/RangeSlider.stories.tsx | 2 +- .../slider/chromatic/Slider.stories.tsx | 2 +- packages/@react-spectrum/slider/package.json | 4 +- .../slider/src/RangeSlider.tsx | 4 +- .../@react-spectrum/slider/src/Slider.tsx | 4 +- .../@react-spectrum/slider/src/SliderBase.tsx | 4 +- .../slider/src/SliderThumb.tsx | 4 +- packages/@react-spectrum/slider/src/index.ts | 2 +- .../slider/stories/RangeSlider.stories.tsx | 2 +- .../slider/stories/Slider.stories.tsx | 2 +- .../chromatic/StatusLight.stories.tsx | 2 +- .../@react-spectrum/statuslight/package.json | 4 +- .../statuslight/src/StatusLight.tsx | 4 +- .../@react-spectrum/statuslight/src/index.ts | 2 +- .../@react-spectrum/steplist/package.json | 2 +- .../@react-spectrum/steplist/src/StepList.tsx | 2 +- .../steplist/src/StepListItem.tsx | 2 +- .../steplist/stories/StepList.stories.tsx | 2 +- .../steplist/test/StepList.test.tsx | 2 +- packages/@react-spectrum/switch/package.json | 4 +- .../@react-spectrum/switch/src/Switch.tsx | 4 +- packages/@react-spectrum/switch/src/index.ts | 2 +- .../@react-spectrum/table/docs/TableView.mdx | 2 +- packages/@react-spectrum/table/package.json | 6 +- .../table/src/InsertionIndicator.tsx | 2 +- .../@react-spectrum/table/src/Resizer.tsx | 6 +- .../@react-spectrum/table/src/TableView.tsx | 2 +- .../table/src/TableViewBase.tsx | 6 +- .../table/src/TableViewLayout.ts | 4 +- .../table/src/TableViewWrapper.tsx | 4 +- .../table/src/TreeGridTableView.tsx | 2 +- packages/@react-spectrum/table/src/index.ts | 4 +- .../table/stories/CRUDExample.tsx | 2 +- .../table/stories/ControllingResize.tsx | 4 +- .../table/stories/Performance.tsx | 2 +- .../table/stories/Table.stories.tsx | 2 +- .../table/stories/TableDnDExamples.tsx | 2 +- .../table/stories/TreeGridTable.stories.tsx | 2 +- .../table/test/TableSizing.test.tsx | 6 +- .../table/test/TreeGridTable.test.tsx | 2 +- .../tabs/chromatic/Tabs.stories.tsx | 2 +- packages/@react-spectrum/tabs/package.json | 6 +- packages/@react-spectrum/tabs/src/Tabs.tsx | 6 +- packages/@react-spectrum/tabs/src/index.ts | 2 +- .../tabs/stories/Tabs.stories.tsx | 4 +- packages/@react-spectrum/tag/package.json | 2 +- packages/@react-spectrum/tag/src/TagGroup.tsx | 2 +- packages/@react-spectrum/text/package.json | 4 +- packages/@react-spectrum/text/src/Heading.tsx | 4 +- .../@react-spectrum/text/src/Keyboard.tsx | 4 +- packages/@react-spectrum/text/src/Text.tsx | 4 +- packages/@react-spectrum/text/src/index.ts | 2 +- .../@react-spectrum/textfield/package.json | 4 +- .../textfield/src/TextArea.tsx | 2 +- .../textfield/src/TextField.tsx | 2 +- .../textfield/src/TextFieldBase.tsx | 4 +- .../@react-spectrum/textfield/src/index.ts | 2 +- .../@react-spectrum/theme-dark/package.json | 2 +- .../@react-spectrum/theme-dark/src/index.ts | 2 +- .../theme-default/package.json | 2 +- .../theme-default/src/index.ts | 2 +- .../theme-express/package.json | 2 +- .../theme-express/src/index.ts | 2 +- .../@react-spectrum/theme-light/package.json | 2 +- .../@react-spectrum/theme-light/src/index.ts | 2 +- packages/@react-spectrum/toast/package.json | 2 +- packages/@react-spectrum/toast/src/Toast.tsx | 2 +- .../toast/src/ToastContainer.tsx | 2 +- packages/@react-spectrum/tooltip/package.json | 6 +- .../@react-spectrum/tooltip/src/Tooltip.tsx | 4 +- .../tooltip/src/TooltipTrigger.tsx | 2 +- .../@react-spectrum/tooltip/src/context.ts | 4 +- packages/@react-spectrum/tooltip/src/index.ts | 2 +- .../stories/TooltipTrigger.stories.tsx | 2 +- .../@react-spectrum/tree/docs/TreeView.mdx | 2 +- packages/@react-spectrum/tree/package.json | 2 +- .../@react-spectrum/tree/src/TreeView.tsx | 2 +- packages/@react-spectrum/utils/package.json | 2 +- .../@react-spectrum/utils/src/styleProps.ts | 2 +- .../@react-spectrum/utils/src/useDOMRef.ts | 2 +- .../@react-spectrum/utils/src/useHasChild.ts | 2 +- packages/@react-spectrum/view/package.json | 4 +- packages/@react-spectrum/view/src/Content.tsx | 4 +- packages/@react-spectrum/view/src/Footer.tsx | 4 +- packages/@react-spectrum/view/src/Header.tsx | 4 +- packages/@react-spectrum/view/src/View.tsx | 4 +- packages/@react-spectrum/view/src/index.ts | 2 +- .../well/chromatic/Well.stories.tsx | 2 +- packages/@react-spectrum/well/package.json | 4 +- packages/@react-spectrum/well/src/Well.tsx | 4 +- packages/@react-spectrum/well/src/index.ts | 2 +- packages/@react-stately/calendar/package.json | 4 +- packages/@react-stately/calendar/src/types.ts | 4 +- .../calendar/src/useCalendarState.ts | 4 +- .../calendar/src/useRangeCalendarState.ts | 4 +- packages/@react-stately/calendar/src/utils.ts | 2 +- packages/@react-stately/checkbox/package.json | 4 +- packages/@react-stately/checkbox/src/index.ts | 2 +- .../checkbox/src/useCheckboxGroupState.ts | 4 +- .../collections/docs/Collection.mdx | 2 +- .../@react-stately/collections/package.json | 2 +- .../collections/src/CollectionBuilder.ts | 2 +- .../@react-stately/collections/src/Item.ts | 2 +- .../@react-stately/collections/src/Section.ts | 2 +- .../collections/src/getChildNodes.ts | 2 +- .../collections/src/getItemCount.ts | 2 +- .../@react-stately/collections/src/types.ts | 2 +- .../collections/src/useCollection.ts | 2 +- packages/@react-stately/color/package.json | 4 +- packages/@react-stately/color/src/Color.ts | 2 +- packages/@react-stately/color/src/index.ts | 2 +- packages/@react-stately/color/src/useColor.ts | 2 +- .../color/src/useColorAreaState.ts | 2 +- .../color/src/useColorChannelFieldState.ts | 2 +- .../color/src/useColorFieldState.ts | 2 +- .../color/src/useColorPickerState.ts | 4 +- .../color/src/useColorSliderState.ts | 2 +- .../color/src/useColorWheelState.ts | 2 +- .../@react-stately/color/test/Color.test.tsx | 2 +- packages/@react-stately/combobox/package.json | 4 +- .../combobox/src/useComboBoxState.ts | 4 +- packages/@react-stately/data/package.json | 2 +- .../@react-stately/data/src/useAsyncList.ts | 2 +- .../@react-stately/data/src/useListData.ts | 2 +- .../@react-stately/data/src/useTreeData.ts | 2 +- .../@react-stately/datepicker/package.json | 4 +- .../datepicker/src/useDateFieldState.ts | 4 +- .../datepicker/src/useDatePickerState.ts | 4 +- .../datepicker/src/useDateRangePickerState.ts | 4 +- .../datepicker/src/useTimeFieldState.ts | 2 +- .../@react-stately/datepicker/src/utils.ts | 4 +- .../@react-stately/disclosure/package.json | 2 +- .../disclosure/src/useDisclosureGroupState.ts | 2 +- packages/@react-stately/dnd/package.json | 2 +- .../dnd/src/useDraggableCollectionState.ts | 2 +- .../dnd/src/useDroppableCollectionState.ts | 2 +- packages/@react-stately/form/package.json | 2 +- .../form/src/useFormValidationState.ts | 2 +- packages/@react-stately/grid/package.json | 4 +- .../@react-stately/grid/src/GridCollection.ts | 4 +- .../@react-stately/grid/src/useGridState.ts | 4 +- packages/@react-stately/layout/package.json | 6 +- .../@react-stately/layout/src/GridLayout.ts | 2 +- .../@react-stately/layout/src/ListLayout.ts | 2 +- .../@react-stately/layout/src/TableLayout.ts | 6 +- .../layout/src/WaterfallLayout.ts | 2 +- packages/@react-stately/list/package.json | 2 +- .../@react-stately/list/src/ListCollection.ts | 2 +- .../@react-stately/list/src/useListState.ts | 2 +- .../list/src/useSingleSelectListState.ts | 2 +- packages/@react-stately/menu/package.json | 4 +- packages/@react-stately/menu/src/index.ts | 2 +- .../menu/src/useMenuTriggerState.ts | 4 +- .../menu/src/useSubmenuTriggerState.ts | 2 +- .../@react-stately/numberfield/package.json | 2 +- .../numberfield/src/useNumberFieldState.ts | 2 +- packages/@react-stately/overlays/package.json | 2 +- packages/@react-stately/overlays/src/index.ts | 2 +- .../overlays/src/useOverlayTriggerState.ts | 2 +- packages/@react-stately/radio/package.json | 4 +- packages/@react-stately/radio/src/index.ts | 2 +- .../radio/src/useRadioGroupState.ts | 4 +- .../@react-stately/searchfield/package.json | 2 +- .../@react-stately/searchfield/src/index.ts | 2 +- .../searchfield/src/useSearchFieldState.ts | 2 +- packages/@react-stately/select/package.json | 4 +- packages/@react-stately/select/src/index.ts | 2 +- .../select/src/useSelectState.ts | 4 +- .../selection/docs/SelectionManager.mdx | 2 +- .../@react-stately/selection/package.json | 2 +- .../@react-stately/selection/src/Selection.ts | 2 +- .../selection/src/SelectionManager.ts | 2 +- .../@react-stately/selection/src/types.ts | 2 +- .../src/useMultipleSelectionState.ts | 2 +- packages/@react-stately/slider/package.json | 4 +- .../slider/src/useSliderState.ts | 4 +- packages/@react-stately/steplist/package.json | 2 +- .../steplist/src/useStepListState.ts | 2 +- packages/@react-stately/table/package.json | 6 +- packages/@react-stately/table/src/Cell.ts | 2 +- packages/@react-stately/table/src/Column.ts | 4 +- packages/@react-stately/table/src/Row.ts | 2 +- .../@react-stately/table/src/TableBody.ts | 2 +- .../table/src/TableCollection.ts | 6 +- .../table/src/TableColumnLayout.ts | 6 +- .../@react-stately/table/src/TableHeader.ts | 2 +- .../@react-stately/table/src/TableUtils.ts | 4 +- packages/@react-stately/table/src/index.ts | 2 +- .../table/src/useTableColumnResizeState.ts | 6 +- .../@react-stately/table/src/useTableState.ts | 4 +- .../table/src/useTreeGridState.ts | 4 +- packages/@react-stately/tabs/package.json | 4 +- packages/@react-stately/tabs/src/index.ts | 2 +- .../tabs/src/useTabListState.ts | 4 +- packages/@react-stately/toggle/package.json | 4 +- packages/@react-stately/toggle/src/index.ts | 2 +- .../toggle/src/useToggleGroupState.ts | 2 +- .../toggle/src/useToggleState.ts | 2 +- packages/@react-stately/tooltip/package.json | 2 +- packages/@react-stately/tooltip/src/index.ts | 2 +- .../tooltip/src/useTooltipTriggerState.ts | 2 +- packages/@react-stately/tree/package.json | 2 +- .../@react-stately/tree/src/TreeCollection.ts | 2 +- .../@react-stately/tree/src/useTreeState.ts | 2 +- .../tree/stories/useTreeState.stories.tsx | 2 +- .../@react-stately/virtualizer/package.json | 2 +- .../@react-stately/virtualizer/src/Layout.ts | 2 +- .../virtualizer/src/LayoutInfo.ts | 2 +- .../virtualizer/src/ReusableView.ts | 2 +- .../virtualizer/src/Virtualizer.ts | 2 +- .../@react-stately/virtualizer/src/types.ts | 2 +- .../virtualizer/src/useVirtualizerState.ts | 2 +- packages/@react-types/actionbar/README.md | 2 +- packages/@react-types/actionbar/package.json | 4 +- .../@react-types/actionbar/src/index.d.ts | 2 +- packages/@react-types/actiongroup/README.md | 2 +- .../@react-types/actiongroup/package.json | 4 +- .../@react-types/actiongroup/src/index.d.ts | 2 +- packages/@react-types/autocomplete/README.md | 2 +- .../@react-types/autocomplete/package.json | 8 +- .../@react-types/autocomplete/src/index.d.ts | 6 +- packages/@react-types/avatar/README.md | 2 +- packages/@react-types/avatar/package.json | 4 +- packages/@react-types/avatar/src/index.d.ts | 2 +- packages/@react-types/badge/README.md | 2 +- packages/@react-types/badge/package.json | 4 +- packages/@react-types/badge/src/index.d.ts | 2 +- packages/@react-types/breadcrumbs/README.md | 2 +- .../@react-types/breadcrumbs/package.json | 6 +- .../@react-types/breadcrumbs/src/index.d.ts | 4 +- packages/@react-types/button/README.md | 2 +- packages/@react-types/button/package.json | 4 +- packages/@react-types/button/src/index.d.ts | 2 +- packages/@react-types/buttongroup/README.md | 2 +- .../@react-types/buttongroup/package.json | 4 +- .../@react-types/buttongroup/src/index.d.ts | 2 +- packages/@react-types/calendar/README.md | 2 +- packages/@react-types/calendar/package.json | 4 +- packages/@react-types/calendar/src/index.d.ts | 2 +- packages/@react-types/card/README.md | 2 +- packages/@react-types/card/package.json | 6 +- packages/@react-types/card/src/index.d.ts | 4 +- packages/@react-types/checkbox/README.md | 2 +- packages/@react-types/checkbox/package.json | 4 +- packages/@react-types/checkbox/src/index.d.ts | 2 +- packages/@react-types/color/README.md | 2 +- packages/@react-types/color/package.json | 6 +- packages/@react-types/color/src/index.d.ts | 4 +- packages/@react-types/combobox/README.md | 2 +- packages/@react-types/combobox/package.json | 4 +- packages/@react-types/combobox/src/index.d.ts | 2 +- .../@react-types/contextualhelp/README.md | 2 +- .../@react-types/contextualhelp/package.json | 6 +- .../contextualhelp/src/index.d.ts | 4 +- packages/@react-types/datepicker/README.md | 2 +- packages/@react-types/datepicker/package.json | 8 +- .../@react-types/datepicker/src/index.d.ts | 6 +- packages/@react-types/dialog/README.md | 2 +- packages/@react-types/dialog/package.json | 6 +- packages/@react-types/dialog/src/index.d.ts | 4 +- packages/@react-types/divider/README.md | 2 +- packages/@react-types/divider/package.json | 4 +- packages/@react-types/divider/src/index.d.ts | 2 +- packages/@react-types/form/README.md | 2 +- packages/@react-types/form/package.json | 4 +- packages/@react-types/form/src/index.d.ts | 2 +- packages/@react-types/grid/README.md | 2 +- packages/@react-types/grid/package.json | 4 +- packages/@react-types/grid/src/index.d.ts | 2 +- .../@react-types/illustratedmessage/README.md | 2 +- .../illustratedmessage/package.json | 4 +- .../illustratedmessage/src/index.d.ts | 2 +- packages/@react-types/image/README.md | 2 +- packages/@react-types/image/package.json | 4 +- packages/@react-types/image/src/index.d.ts | 2 +- packages/@react-types/label/README.md | 2 +- packages/@react-types/label/package.json | 4 +- packages/@react-types/label/src/index.d.ts | 2 +- packages/@react-types/layout/README.md | 2 +- packages/@react-types/layout/package.json | 4 +- packages/@react-types/layout/src/flex.d.ts | 2 +- packages/@react-types/layout/src/grid.d.ts | 2 +- packages/@react-types/link/README.md | 2 +- packages/@react-types/link/package.json | 4 +- packages/@react-types/link/src/index.d.ts | 2 +- packages/@react-types/list/README.md | 2 +- packages/@react-types/list/package.json | 2 +- packages/@react-types/listbox/README.md | 2 +- packages/@react-types/listbox/package.json | 4 +- packages/@react-types/listbox/src/index.d.ts | 2 +- packages/@react-types/menu/README.md | 2 +- packages/@react-types/menu/package.json | 6 +- packages/@react-types/menu/src/index.d.ts | 4 +- packages/@react-types/meter/README.md | 2 +- packages/@react-types/meter/package.json | 4 +- packages/@react-types/meter/src/index.d.ts | 2 +- packages/@react-types/numberfield/README.md | 2 +- .../@react-types/numberfield/package.json | 4 +- .../@react-types/numberfield/src/index.d.ts | 2 +- packages/@react-types/overlays/README.md | 2 +- packages/@react-types/overlays/package.json | 4 +- packages/@react-types/overlays/src/index.d.ts | 2 +- packages/@react-types/progress/README.md | 2 +- packages/@react-types/progress/package.json | 4 +- packages/@react-types/progress/src/index.d.ts | 2 +- packages/@react-types/provider/README.md | 2 +- packages/@react-types/provider/package.json | 4 +- packages/@react-types/provider/src/index.d.ts | 2 +- packages/@react-types/radio/README.md | 2 +- packages/@react-types/radio/package.json | 4 +- packages/@react-types/radio/src/index.d.ts | 2 +- packages/@react-types/searchfield/README.md | 2 +- .../@react-types/searchfield/package.json | 6 +- .../@react-types/searchfield/src/index.d.ts | 4 +- packages/@react-types/searchwithin/README.md | 2 +- .../@react-types/searchwithin/package.json | 4 +- .../@react-types/searchwithin/src/index.d.ts | 2 +- packages/@react-types/select/README.md | 2 +- packages/@react-types/select/package.json | 4 +- packages/@react-types/select/src/index.d.ts | 2 +- packages/@react-types/shared/README.md | 2 +- packages/@react-types/shared/package.json | 2 +- .../@react-types/shared/src/collections.d.ts | 2 +- packages/@react-types/shared/src/dnd.d.ts | 2 +- .../@react-types/shared/src/selection.d.ts | 2 +- packages/@react-types/sidenav/README.md | 2 +- packages/@react-types/sidenav/package.json | 4 +- packages/@react-types/sidenav/src/index.d.ts | 2 +- packages/@react-types/slider/README.md | 2 +- packages/@react-types/slider/package.json | 4 +- packages/@react-types/slider/src/index.d.ts | 2 +- packages/@react-types/statuslight/README.md | 2 +- .../@react-types/statuslight/package.json | 4 +- .../@react-types/statuslight/src/index.d.ts | 2 +- packages/@react-types/switch/README.md | 2 +- packages/@react-types/switch/package.json | 4 +- packages/@react-types/switch/src/index.d.ts | 2 +- packages/@react-types/table/README.md | 2 +- packages/@react-types/table/package.json | 6 +- packages/@react-types/table/src/index.d.ts | 4 +- packages/@react-types/tabs/README.md | 2 +- packages/@react-types/tabs/package.json | 4 +- packages/@react-types/tabs/src/index.d.ts | 2 +- packages/@react-types/text/README.md | 2 +- packages/@react-types/text/package.json | 4 +- packages/@react-types/text/src/heading.d.ts | 2 +- packages/@react-types/text/src/keyboard.d.ts | 2 +- packages/@react-types/text/src/text.d.ts | 2 +- packages/@react-types/textfield/README.md | 2 +- packages/@react-types/textfield/package.json | 4 +- .../@react-types/textfield/src/index.d.ts | 2 +- packages/@react-types/tooltip/README.md | 2 +- packages/@react-types/tooltip/package.json | 6 +- packages/@react-types/tooltip/src/index.d.ts | 4 +- packages/@react-types/view/README.md | 2 +- packages/@react-types/view/package.json | 4 +- packages/@react-types/view/src/content.d.ts | 2 +- packages/@react-types/view/src/footer.d.ts | 2 +- packages/@react-types/view/src/header.d.ts | 2 +- packages/@react-types/view/src/view.d.ts | 2 +- packages/@react-types/well/README.md | 2 +- packages/@react-types/well/package.json | 4 +- packages/@react-types/well/src/index.d.ts | 2 +- .../@spectrum-icons/color/tsconfig.types.json | 2 +- .../express/tsconfig.types.json | 2 +- .../illustrations/tsconfig.types.json | 2 +- .../@spectrum-icons/ui/tsconfig.types.json | 2 +- .../workflow/tsconfig.types.json | 2 +- packages/dev/codemods/package.json | 2 +- .../src/s1-to-s2/src/codemods/dimensions.ts | 2 +- packages/dev/docs/pages/react-aria/forms.mdx | 2 +- .../dev/docs/pages/react-aria/home/utils.ts | 2 +- .../dev/docs/pages/react-spectrum/styling.mdx | 4 +- .../dev/docs/pages/react-spectrum/theming.mdx | 2 +- .../dev/docs/pages/releases/2020-07-23.mdx | 60 +- .../dev/docs/pages/releases/2020-08-18.mdx | 20 +- .../dev/docs/pages/releases/2020-09-02.mdx | 2 +- .../dev/docs/pages/releases/2020-10-01.mdx | 66 +- .../dev/docs/pages/releases/2020-10-29.mdx | 10 +- .../dev/docs/pages/releases/2020-11-30.mdx | 14 +- .../dev/docs/pages/releases/2020-12-22.mdx | 4 +- .../dev/docs/pages/releases/2021-02-17.mdx | 22 +- .../dev/docs/pages/releases/2021-03-24.mdx | 16 +- .../dev/docs/pages/releases/2021-05-05.mdx | 10 +- .../dev/docs/pages/releases/2021-06-15.mdx | 24 +- .../dev/docs/pages/releases/2021-07-12.mdx | 6 +- .../dev/docs/pages/releases/2021-08-04.mdx | 78 +- .../dev/docs/pages/releases/2021-09-13.mdx | 22 +- .../dev/docs/pages/releases/2021-11-24.mdx | 16 +- .../dev/docs/pages/releases/2021-12-16.mdx | 6 +- .../dev/docs/pages/releases/2022-02-15.mdx | 94 +- .../dev/docs/pages/releases/2022-03-07.mdx | 90 +- .../dev/docs/pages/releases/2022-03-21.mdx | 8 +- .../dev/docs/pages/releases/2022-05-03.mdx | 92 +- .../dev/docs/pages/releases/2022-05-27.mdx | 96 +- .../dev/docs/pages/releases/2022-06-15.mdx | 94 +- .../dev/docs/pages/releases/2022-07-09.mdx | 96 +- .../dev/docs/pages/releases/2022-08-26.mdx | 96 +- .../dev/docs/pages/releases/2022-10-04.mdx | 98 +- .../dev/docs/pages/releases/2022-11-15.mdx | 98 +- .../dev/docs/pages/releases/2022-12-16.mdx | 22 +- .../dev/docs/pages/releases/2023-02-23.mdx | 96 +- .../dev/docs/pages/releases/2023-04-05.mdx | 96 +- .../dev/docs/pages/releases/2023-05-24.mdx | 94 +- .../dev/docs/pages/releases/2023-06-27.mdx | 28 +- .../dev/docs/pages/releases/2023-08-09.mdx | 94 +- .../dev/docs/pages/releases/2023-09-07.mdx | 94 +- .../dev/docs/pages/releases/2023-10-02.mdx | 94 +- .../dev/docs/pages/releases/2023-11-8.mdx | 94 +- .../dev/docs/pages/releases/2023-12-20.mdx | 20 +- .../dev/docs/pages/releases/2024-02-13.mdx | 10 +- .../dev/docs/pages/releases/2024-05-01.mdx | 94 +- .../dev/docs/pages/releases/2024-07-22.mdx | 94 +- .../dev/docs/pages/releases/2024-09-30.mdx | 94 +- .../dev/docs/pages/releases/2024-11-20.mdx | 94 +- .../dev/docs/pages/releases/2025-01-15.mdx | 94 +- .../dev/docs/pages/releases/2025-03-05.mdx | 92 +- .../rules/no-react-key.js | 8 +- .../test/no-react-key.test-lint.js | 20 +- .../docs/Breadcrumbs.mdx | 2 +- .../react-aria-components/docs/Button.mdx | 2 +- .../react-aria-components/docs/Checkbox.mdx | 2 +- .../docs/CheckboxGroup.mdx | 2 +- .../react-aria-components/docs/Dialog.mdx | 2 +- .../docs/DisclosureGroup.mdx | 2 +- .../react-aria-components/docs/DropZone.mdx | 2 +- .../docs/FileTrigger.mdx | 2 +- .../react-aria-components/docs/GridList.mdx | 2 +- packages/react-aria-components/docs/Link.mdx | 2 +- .../react-aria-components/docs/ListBox.mdx | 2 +- packages/react-aria-components/docs/Modal.mdx | 2 +- .../react-aria-components/docs/Popover.mdx | 2 +- .../react-aria-components/docs/RadioGroup.mdx | 2 +- .../react-aria-components/docs/Switch.mdx | 2 +- packages/react-aria-components/docs/Table.mdx | 2 +- .../docs/ToggleButton.mdx | 2 +- .../docs/ToggleButtonGroup.mdx | 2 +- .../react-aria-components/docs/Toolbar.mdx | 2 +- .../docs/Virtualizer.mdx | 2 +- packages/react-aria-components/package.json | 8 +- .../react-aria-components/src/Breadcrumbs.tsx | 2 +- .../react-aria-components/src/Calendar.tsx | 2 +- .../react-aria-components/src/Checkbox.tsx | 2 +- .../react-aria-components/src/Collection.tsx | 2 +- .../react-aria-components/src/ColorField.tsx | 2 +- .../src/ColorSwatchPicker.tsx | 2 +- .../react-aria-components/src/ColorThumb.tsx | 2 +- .../react-aria-components/src/ComboBox.tsx | 2 +- .../react-aria-components/src/DateField.tsx | 2 +- .../react-aria-components/src/DatePicker.tsx | 2 +- packages/react-aria-components/src/Dialog.tsx | 2 +- .../react-aria-components/src/Disclosure.tsx | 2 +- .../react-aria-components/src/DropZone.tsx | 2 +- .../react-aria-components/src/FieldError.tsx | 2 +- packages/react-aria-components/src/Form.tsx | 2 +- .../react-aria-components/src/GridList.tsx | 2 +- packages/react-aria-components/src/Group.tsx | 2 +- packages/react-aria-components/src/Link.tsx | 2 +- .../react-aria-components/src/ListBox.tsx | 2 +- packages/react-aria-components/src/Menu.tsx | 2 +- packages/react-aria-components/src/Meter.tsx | 2 +- packages/react-aria-components/src/Modal.tsx | 2 +- .../react-aria-components/src/NumberField.tsx | 2 +- .../src/OverlayArrow.tsx | 2 +- .../react-aria-components/src/Popover.tsx | 2 +- .../react-aria-components/src/RadioGroup.tsx | 2 +- packages/react-aria-components/src/Select.tsx | 2 +- packages/react-aria-components/src/Slider.tsx | 2 +- packages/react-aria-components/src/Switch.tsx | 2 +- packages/react-aria-components/src/Table.tsx | 6 +- packages/react-aria-components/src/Tabs.tsx | 2 +- .../react-aria-components/src/TagGroup.tsx | 2 +- packages/react-aria-components/src/Toast.tsx | 2 +- .../src/ToggleButton.tsx | 2 +- .../src/ToggleButtonGroup.tsx | 2 +- .../react-aria-components/src/Toolbar.tsx | 2 +- .../react-aria-components/src/Tooltip.tsx | 2 +- packages/react-aria-components/src/Tree.tsx | 2 +- .../react-aria-components/src/Virtualizer.tsx | 2 +- packages/react-aria-components/src/index.ts | 2 +- .../src/useDragAndDrop.tsx | 2 +- packages/react-aria-components/src/utils.tsx | 2 +- .../react-aria-components/test/Menu.test.tsx | 2 +- .../test/RangeCalendar.test.tsx | 4 +- packages/react-aria/package.json | 2 +- packages/react-aria/src/index.ts | 2 +- packages/react-stately/package.json | 2 +- packages/react-stately/src/index.ts | 2 +- yarn.lock | 859 +++++++++--------- 1104 files changed, 3227 insertions(+), 3218 deletions(-) diff --git a/packages/@adobe/react-spectrum/package.json b/packages/@adobe/react-spectrum/package.json index 60481d68012..1696a36b050 100644 --- a/packages/@adobe/react-spectrum/package.json +++ b/packages/@adobe/react-spectrum/package.json @@ -99,7 +99,7 @@ "@react-spectrum/well": "^3.4.21", "@react-stately/collections": "^3.12.2", "@react-stately/data": "^3.12.2", - "@react-types/shared": "^3.28.0", + "@react-types-nutrient/shared": "^3.28.0", "client-only": "^0.0.1" }, "publishConfig": { diff --git a/packages/@adobe/react-spectrum/src/index.ts b/packages/@adobe/react-spectrum/src/index.ts index c88c97e5a30..a17bd25ef16 100644 --- a/packages/@adobe/react-spectrum/src/index.ts +++ b/packages/@adobe/react-spectrum/src/index.ts @@ -127,5 +127,5 @@ export type {VisuallyHiddenAria, VisuallyHiddenProps} from '@react-aria-nutrient export type {DateFormatter, DateFormatterOptions, Filter, FormatMessage, Locale, LocalizedStrings} from '@react-aria-nutrient/i18n'; export type {SSRProviderProps} from '@react-aria-nutrient/ssr'; export type {DirectoryDropItem, DragAndDropHooks, DragAndDropOptions, DraggableCollectionEndEvent, DraggableCollectionMoveEvent, DraggableCollectionStartEvent, DragPreviewRenderer, DragTypes, DropItem, DropOperation, DroppableCollectionDropEvent, DroppableCollectionEnterEvent, DroppableCollectionExitEvent, DroppableCollectionInsertDropEvent, DroppableCollectionMoveEvent, DroppableCollectionOnItemDropEvent, DroppableCollectionReorderEvent, DroppableCollectionRootDropEvent, DropPosition, DropTarget, FileDropItem, ItemDropTarget, RootDropTarget, TextDropItem} from '@react-spectrum/dnd'; -export type {Key, Selection, ItemProps, SectionProps, RouterConfig} from '@react-types/shared'; +export type {Key, Selection, ItemProps, SectionProps, RouterConfig} from '@react-types-nutrient/shared'; export type {SpectrumAccordionProps, SpectrumDisclosureProps, SpectrumDisclosurePanelProps, SpectrumDisclosureTitleProps} from '@react-spectrum/accordion'; diff --git a/packages/@react-aria/actiongroup/package.json b/packages/@react-aria/actiongroup/package.json index 33e7032fbbb..ca8fdc2426e 100644 --- a/packages/@react-aria/actiongroup/package.json +++ b/packages/@react-aria/actiongroup/package.json @@ -27,8 +27,8 @@ "@react-aria-nutrient/interactions": "^3.24.1", "@react-aria-nutrient/utils": "^3.28.1", "@react-stately/list": "^3.12.0", - "@react-types/actiongroup": "^3.4.15", - "@react-types/shared": "^3.28.0", + "@react-types-nutrient/actiongroup": "^3.4.15", + "@react-types-nutrient/shared": "^3.28.0", "@swc/helpers": "^0.5.0" }, "peerDependencies": { diff --git a/packages/@react-aria/actiongroup/src/index.ts b/packages/@react-aria/actiongroup/src/index.ts index 5a0f49a27e8..c1540b2ef78 100644 --- a/packages/@react-aria/actiongroup/src/index.ts +++ b/packages/@react-aria/actiongroup/src/index.ts @@ -12,5 +12,5 @@ export type {ActionGroupAria} from './useActionGroup'; export {useActionGroup} from './useActionGroup'; export {useActionGroupItem} from './useActionGroupItem'; -export type {AriaActionGroupProps} from '@react-types/actiongroup'; +export type {AriaActionGroupProps} from '@react-types-nutrient/actiongroup'; export type {ActionGroupItemAria, AriaActionGroupItemProps} from './useActionGroupItem'; diff --git a/packages/@react-aria/actiongroup/src/useActionGroup.ts b/packages/@react-aria/actiongroup/src/useActionGroup.ts index bbd3f959fea..d0bc91f5075 100644 --- a/packages/@react-aria/actiongroup/src/useActionGroup.ts +++ b/packages/@react-aria/actiongroup/src/useActionGroup.ts @@ -10,9 +10,9 @@ * governing permissions and limitations under the License. */ -import {AriaActionGroupProps} from '@react-types/actiongroup'; +import {AriaActionGroupProps} from '@react-types-nutrient/actiongroup'; import {createFocusManager} from '@react-aria-nutrient/focus'; -import {DOMAttributes, FocusableElement, Orientation, RefObject} from '@react-types/shared'; +import {DOMAttributes, FocusableElement, Orientation, RefObject} from '@react-types-nutrient/shared'; import {filterDOMProps, useLayoutEffect} from '@react-aria-nutrient/utils'; import {ListState} from '@react-stately/list'; import {useLocale} from '@react-aria-nutrient/i18n'; diff --git a/packages/@react-aria/actiongroup/src/useActionGroupItem.ts b/packages/@react-aria/actiongroup/src/useActionGroupItem.ts index 9f773027f5d..9a91c1bd32f 100644 --- a/packages/@react-aria/actiongroup/src/useActionGroupItem.ts +++ b/packages/@react-aria/actiongroup/src/useActionGroupItem.ts @@ -10,7 +10,7 @@ * governing permissions and limitations under the License. */ -import {DOMAttributes, FocusableElement, Key, RefObject} from '@react-types/shared'; +import {DOMAttributes, FocusableElement, Key, RefObject} from '@react-types-nutrient/shared'; import {ListState} from '@react-stately/list'; import {mergeProps, useEffectEvent} from '@react-aria-nutrient/utils'; import {PressProps} from '@react-aria-nutrient/interactions'; diff --git a/packages/@react-aria/actiongroup/test/useActionGroup.test.ts b/packages/@react-aria/actiongroup/test/useActionGroup.test.ts index 47ed9679fc7..026bf067eee 100644 --- a/packages/@react-aria/actiongroup/test/useActionGroup.test.ts +++ b/packages/@react-aria/actiongroup/test/useActionGroup.test.ts @@ -11,7 +11,7 @@ */ import {createRef} from 'react'; -import {FocusableElement} from '@react-types/shared'; +import {FocusableElement} from '@react-types-nutrient/shared'; import {renderHook} from '@react-spectrum/test-utils-internal'; import {useActionGroup} from '../'; import {useListState} from '@react-stately/list'; diff --git a/packages/@react-aria/autocomplete/docs/useSearchAutocomplete.mdx b/packages/@react-aria/autocomplete/docs/useSearchAutocomplete.mdx index 68f14efc354..203f57c5ec2 100644 --- a/packages/@react-aria/autocomplete/docs/useSearchAutocomplete.mdx +++ b/packages/@react-aria/autocomplete/docs/useSearchAutocomplete.mdx @@ -11,7 +11,7 @@ import {Layout} from '@react-spectrum/docs'; export default Layout; import docs from 'docs:@react-aria-nutrient/autocomplete'; -import collectionsDocs from 'docs:@react-types/shared/src/collections.d.ts'; +import collectionsDocs from 'docs:@react-types-nutrient/shared/src/collections.d.ts'; import {FunctionAPI, HeaderInfo, InterfaceType, TypeContext, TypeLink, PageDescription} from '@react-spectrum/docs'; import i18nDocs from 'docs:@react-aria-nutrient/i18n'; import overlaysDocs from 'docs:@react-aria-nutrient/overlays'; diff --git a/packages/@react-aria/autocomplete/package.json b/packages/@react-aria/autocomplete/package.json index 1d9be5b03eb..210d2f023ab 100644 --- a/packages/@react-aria/autocomplete/package.json +++ b/packages/@react-aria/autocomplete/package.json @@ -32,9 +32,9 @@ "@react-aria-nutrient/utils": "^3.28.1", "@react-stately/autocomplete": "3.0.0-beta.0", "@react-stately/combobox": "^3.10.3", - "@react-types/autocomplete": "3.0.0-alpha.29", - "@react-types/button": "^3.11.0", - "@react-types/shared": "^3.28.0", + "@react-types-nutrient/autocomplete": "3.0.0-alpha.29", + "@react-types-nutrient/button": "^3.11.0", + "@react-types-nutrient/shared": "^3.28.0", "@swc/helpers": "^0.5.0" }, "peerDependencies": { diff --git a/packages/@react-aria/autocomplete/src/index.ts b/packages/@react-aria/autocomplete/src/index.ts index 3635d09fcf2..3fcbfabdecb 100644 --- a/packages/@react-aria/autocomplete/src/index.ts +++ b/packages/@react-aria/autocomplete/src/index.ts @@ -13,5 +13,5 @@ export {useSearchAutocomplete} from './useSearchAutocomplete'; export {useAutocomplete} from './useAutocomplete'; export type {AriaSearchAutocompleteOptions, SearchAutocompleteAria} from './useSearchAutocomplete'; -export type {AriaSearchAutocompleteProps} from '@react-types/autocomplete'; +export type {AriaSearchAutocompleteProps} from '@react-types-nutrient/autocomplete'; export type {AriaAutocompleteProps, AriaAutocompleteOptions, AutocompleteAria, CollectionOptions} from './useAutocomplete'; diff --git a/packages/@react-aria/autocomplete/src/useAutocomplete.ts b/packages/@react-aria/autocomplete/src/useAutocomplete.ts index 81599038d11..5dce89418dd 100644 --- a/packages/@react-aria/autocomplete/src/useAutocomplete.ts +++ b/packages/@react-aria/autocomplete/src/useAutocomplete.ts @@ -10,7 +10,7 @@ * governing permissions and limitations under the License. */ -import {AriaLabelingProps, BaseEvent, DOMProps, RefObject} from '@react-types/shared'; +import {AriaLabelingProps, BaseEvent, DOMProps, RefObject} from '@react-types-nutrient/shared'; import {AriaTextFieldProps} from '@react-aria-nutrient/textfield'; import {AutocompleteProps, AutocompleteState} from '@react-stately/autocomplete'; import {CLEAR_FOCUS_EVENT, FOCUS_EVENT, getActiveElement, getOwnerDocument, isCtrlKeyPressed, mergeProps, mergeRefs, useEffectEvent, useId, useLabels, useObjectRef} from '@react-aria-nutrient/utils'; diff --git a/packages/@react-aria/autocomplete/src/useSearchAutocomplete.ts b/packages/@react-aria/autocomplete/src/useSearchAutocomplete.ts index 9f5f2ba96bf..200464ea02c 100644 --- a/packages/@react-aria/autocomplete/src/useSearchAutocomplete.ts +++ b/packages/@react-aria/autocomplete/src/useSearchAutocomplete.ts @@ -10,11 +10,11 @@ * governing permissions and limitations under the License. */ -import {AriaButtonProps} from '@react-types/button'; +import {AriaButtonProps} from '@react-types-nutrient/button'; import {AriaListBoxOptions} from '@react-aria-nutrient/listbox'; -import {AriaSearchAutocompleteProps} from '@react-types/autocomplete'; +import {AriaSearchAutocompleteProps} from '@react-types-nutrient/autocomplete'; import {ComboBoxState} from '@react-stately/combobox'; -import {DOMAttributes, KeyboardDelegate, LayoutDelegate, RefObject, ValidationResult} from '@react-types/shared'; +import {DOMAttributes, KeyboardDelegate, LayoutDelegate, RefObject, ValidationResult} from '@react-types-nutrient/shared'; import {InputHTMLAttributes} from 'react'; import {mergeProps} from '@react-aria-nutrient/utils'; import {useComboBox} from '@react-aria-nutrient/combobox'; diff --git a/packages/@react-aria/breadcrumbs/package.json b/packages/@react-aria/breadcrumbs/package.json index 9b646b51cee..b0446cfdf76 100644 --- a/packages/@react-aria/breadcrumbs/package.json +++ b/packages/@react-aria/breadcrumbs/package.json @@ -25,8 +25,8 @@ "@react-aria-nutrient/i18n": "^3.12.7", "@react-aria-nutrient/link": "^3.7.10", "@react-aria-nutrient/utils": "^3.28.1", - "@react-types/breadcrumbs": "^3.7.11", - "@react-types/shared": "^3.28.0", + "@react-types-nutrient/breadcrumbs": "^3.7.11", + "@react-types-nutrient/shared": "^3.28.0", "@swc/helpers": "^0.5.0" }, "peerDependencies": { diff --git a/packages/@react-aria/breadcrumbs/src/index.ts b/packages/@react-aria/breadcrumbs/src/index.ts index 5e8220708ca..82ecce80be4 100644 --- a/packages/@react-aria/breadcrumbs/src/index.ts +++ b/packages/@react-aria/breadcrumbs/src/index.ts @@ -11,6 +11,6 @@ */ export {useBreadcrumbItem} from './useBreadcrumbItem'; export {useBreadcrumbs} from './useBreadcrumbs'; -export type {AriaBreadcrumbItemProps, AriaBreadcrumbsProps} from '@react-types/breadcrumbs'; +export type {AriaBreadcrumbItemProps, AriaBreadcrumbsProps} from '@react-types-nutrient/breadcrumbs'; export type {BreadcrumbItemAria} from './useBreadcrumbItem'; export type {BreadcrumbsAria} from './useBreadcrumbs'; diff --git a/packages/@react-aria/breadcrumbs/src/useBreadcrumbItem.ts b/packages/@react-aria/breadcrumbs/src/useBreadcrumbItem.ts index 99dd6341f3e..a7fd700a070 100644 --- a/packages/@react-aria/breadcrumbs/src/useBreadcrumbItem.ts +++ b/packages/@react-aria/breadcrumbs/src/useBreadcrumbItem.ts @@ -10,8 +10,8 @@ * governing permissions and limitations under the License. */ -import {AriaBreadcrumbItemProps} from '@react-types/breadcrumbs'; -import {DOMAttributes, FocusableElement, RefObject} from '@react-types/shared'; +import {AriaBreadcrumbItemProps} from '@react-types-nutrient/breadcrumbs'; +import {DOMAttributes, FocusableElement, RefObject} from '@react-types-nutrient/shared'; import {useLink} from '@react-aria-nutrient/link'; export interface BreadcrumbItemAria { diff --git a/packages/@react-aria/breadcrumbs/src/useBreadcrumbs.ts b/packages/@react-aria/breadcrumbs/src/useBreadcrumbs.ts index b30fd5d1c22..f8ea12e074a 100644 --- a/packages/@react-aria/breadcrumbs/src/useBreadcrumbs.ts +++ b/packages/@react-aria/breadcrumbs/src/useBreadcrumbs.ts @@ -10,8 +10,8 @@ * governing permissions and limitations under the License. */ -import {AriaBreadcrumbsProps} from '@react-types/breadcrumbs'; -import {DOMAttributes} from '@react-types/shared'; +import {AriaBreadcrumbsProps} from '@react-types-nutrient/breadcrumbs'; +import {DOMAttributes} from '@react-types-nutrient/shared'; import {filterDOMProps} from '@react-aria-nutrient/utils'; // @ts-ignore import intlMessages from '../intl/*.json'; diff --git a/packages/@react-aria/button/docs/useButton.mdx b/packages/@react-aria/button/docs/useButton.mdx index 0a72d27dfc2..5db49310377 100644 --- a/packages/@react-aria/button/docs/useButton.mdx +++ b/packages/@react-aria/button/docs/useButton.mdx @@ -11,7 +11,7 @@ import {Layout} from '@react-spectrum/docs'; export default Layout; import docs from 'docs:@react-aria-nutrient/button'; -import typesDocs from 'docs:@react-types/shared/src/events.d.ts'; +import typesDocs from 'docs:@react-types-nutrient/shared/src/events.d.ts'; import {HeaderInfo, FunctionAPI, TypeLink, PageDescription} from '@react-spectrum/docs'; import {Keyboard} from '@react-spectrum/text'; import packageData from '@react-aria-nutrient/button/package.json'; diff --git a/packages/@react-aria/button/package.json b/packages/@react-aria/button/package.json index fd54bc139dc..93a9130733f 100644 --- a/packages/@react-aria/button/package.json +++ b/packages/@react-aria/button/package.json @@ -26,8 +26,8 @@ "@react-aria-nutrient/toolbar": "3.0.0-beta.14", "@react-aria-nutrient/utils": "^3.28.1", "@react-stately/toggle": "^3.8.2", - "@react-types/button": "^3.11.0", - "@react-types/shared": "^3.28.0", + "@react-types-nutrient/button": "^3.11.0", + "@react-types-nutrient/shared": "^3.28.0", "@swc/helpers": "^0.5.0" }, "peerDependencies": { diff --git a/packages/@react-aria/button/src/index.ts b/packages/@react-aria/button/src/index.ts index dbae2a493f6..68c8c2ad95c 100644 --- a/packages/@react-aria/button/src/index.ts +++ b/packages/@react-aria/button/src/index.ts @@ -13,5 +13,5 @@ export {useButton} from './useButton'; export {useToggleButton} from './useToggleButton'; export {useToggleButtonGroup, useToggleButtonGroupItem} from './useToggleButtonGroup'; export type {AriaButtonOptions, ButtonAria} from './useButton'; -export type {AriaButtonProps, AriaToggleButtonProps} from '@react-types/button'; +export type {AriaButtonProps, AriaToggleButtonProps} from '@react-types-nutrient/button'; export type {AriaToggleButtonGroupProps, ToggleButtonGroupAria, AriaToggleButtonGroupItemProps} from './useToggleButtonGroup'; diff --git a/packages/@react-aria/button/src/useButton.ts b/packages/@react-aria/button/src/useButton.ts index c00ce59f2f6..5916fe65fc6 100644 --- a/packages/@react-aria/button/src/useButton.ts +++ b/packages/@react-aria/button/src/useButton.ts @@ -18,8 +18,8 @@ import { InputHTMLAttributes, RefObject } from 'react'; -import {AriaButtonProps} from '@react-types/button'; -import {DOMAttributes} from '@react-types/shared'; +import {AriaButtonProps} from '@react-types-nutrient/button'; +import {DOMAttributes} from '@react-types-nutrient/shared'; import {filterDOMProps, mergeProps} from '@react-aria-nutrient/utils'; import {useFocusable, usePress} from '@react-aria-nutrient/interactions'; diff --git a/packages/@react-aria/button/src/useToggleButton.ts b/packages/@react-aria/button/src/useToggleButton.ts index faf2446cc28..624d356bd7d 100644 --- a/packages/@react-aria/button/src/useToggleButton.ts +++ b/packages/@react-aria/button/src/useToggleButton.ts @@ -18,10 +18,10 @@ import { InputHTMLAttributes, RefObject } from 'react'; -import {AriaToggleButtonProps} from '@react-types/button'; +import {AriaToggleButtonProps} from '@react-types-nutrient/button'; import {ButtonAria, useButton} from './useButton'; import {chain, mergeProps} from '@react-aria-nutrient/utils'; -import {DOMAttributes} from '@react-types/shared'; +import {DOMAttributes} from '@react-types-nutrient/shared'; import {ToggleState} from '@react-stately/toggle'; export interface AriaToggleButtonOptions extends Omit, 'children'> {} diff --git a/packages/@react-aria/button/src/useToggleButtonGroup.ts b/packages/@react-aria/button/src/useToggleButtonGroup.ts index ae4dc6be239..08c058cfeb7 100644 --- a/packages/@react-aria/button/src/useToggleButtonGroup.ts +++ b/packages/@react-aria/button/src/useToggleButtonGroup.ts @@ -17,8 +17,8 @@ import { HTMLAttributes, InputHTMLAttributes } from 'react'; -import {AriaLabelingProps, DOMAttributes, Orientation, RefObject} from '@react-types/shared'; -import {AriaToggleButtonGroupItemProps} from '@react-types/button'; +import {AriaLabelingProps, DOMAttributes, Orientation, RefObject} from '@react-types-nutrient/shared'; +import {AriaToggleButtonGroupItemProps} from '@react-types-nutrient/button'; import {ToggleButtonAria, useToggleButton} from './useToggleButton'; import {ToggleGroupProps, ToggleGroupState, ToggleState} from '@react-stately/toggle'; import {useToolbar} from '@react-aria-nutrient/toolbar'; diff --git a/packages/@react-aria/button/stories/useButton.stories.tsx b/packages/@react-aria/button/stories/useButton.stories.tsx index 150b05c42bb..ed54c8673bf 100644 --- a/packages/@react-aria/button/stories/useButton.stories.tsx +++ b/packages/@react-aria/button/stories/useButton.stories.tsx @@ -10,7 +10,7 @@ * governing permissions and limitations under the License. */ -import {AriaButtonProps} from '@react-types/button'; +import {AriaButtonProps} from '@react-types-nutrient/button'; import React, {useRef} from 'react'; import {useButton} from '../'; diff --git a/packages/@react-aria/calendar/package.json b/packages/@react-aria/calendar/package.json index 93b4fc3b772..08708c2ca6d 100644 --- a/packages/@react-aria/calendar/package.json +++ b/packages/@react-aria/calendar/package.json @@ -28,9 +28,9 @@ "@react-aria-nutrient/live-announcer": "^3.4.1", "@react-aria-nutrient/utils": "^3.28.1", "@react-stately/calendar": "^3.7.1", - "@react-types/button": "^3.11.0", - "@react-types/calendar": "^3.6.1", - "@react-types/shared": "^3.28.0", + "@react-types-nutrient/button": "^3.11.0", + "@react-types-nutrient/calendar": "^3.6.1", + "@react-types-nutrient/shared": "^3.28.0", "@swc/helpers": "^0.5.0" }, "peerDependencies": { diff --git a/packages/@react-aria/calendar/src/index.ts b/packages/@react-aria/calendar/src/index.ts index 1676e603a42..4d2522b72e1 100644 --- a/packages/@react-aria/calendar/src/index.ts +++ b/packages/@react-aria/calendar/src/index.ts @@ -15,7 +15,7 @@ export {useRangeCalendar} from './useRangeCalendar'; export {useCalendarGrid} from './useCalendarGrid'; export {useCalendarCell} from './useCalendarCell'; -export type {AriaCalendarProps, AriaRangeCalendarProps, CalendarProps, DateValue, RangeCalendarProps} from '@react-types/calendar'; +export type {AriaCalendarProps, AriaRangeCalendarProps, CalendarProps, DateValue, RangeCalendarProps} from '@react-types-nutrient/calendar'; export type {CalendarAria} from './useCalendarBase'; export type {AriaCalendarGridProps, CalendarGridAria} from './useCalendarGrid'; export type {AriaCalendarCellProps, CalendarCellAria} from './useCalendarCell'; diff --git a/packages/@react-aria/calendar/src/useCalendar.ts b/packages/@react-aria/calendar/src/useCalendar.ts index 40ac2395117..e9875efd51f 100644 --- a/packages/@react-aria/calendar/src/useCalendar.ts +++ b/packages/@react-aria/calendar/src/useCalendar.ts @@ -10,7 +10,7 @@ * governing permissions and limitations under the License. */ -import {AriaCalendarProps, DateValue} from '@react-types/calendar'; +import {AriaCalendarProps, DateValue} from '@react-types-nutrient/calendar'; import {CalendarAria, useCalendarBase} from './useCalendarBase'; import {CalendarState} from '@react-stately/calendar'; diff --git a/packages/@react-aria/calendar/src/useCalendarBase.ts b/packages/@react-aria/calendar/src/useCalendarBase.ts index 1a7e775aa4e..554c23ee373 100644 --- a/packages/@react-aria/calendar/src/useCalendarBase.ts +++ b/packages/@react-aria/calendar/src/useCalendarBase.ts @@ -11,9 +11,9 @@ */ import {announce} from '@react-aria-nutrient/live-announcer'; -import {AriaButtonProps} from '@react-types/button'; -import {AriaLabelingProps, DOMAttributes, DOMProps} from '@react-types/shared'; -import {CalendarPropsBase} from '@react-types/calendar'; +import {AriaButtonProps} from '@react-types-nutrient/button'; +import {AriaLabelingProps, DOMAttributes, DOMProps} from '@react-types-nutrient/shared'; +import {CalendarPropsBase} from '@react-types-nutrient/calendar'; import {CalendarState, RangeCalendarState} from '@react-stately/calendar'; import {filterDOMProps, mergeProps, useLabels, useSlotId, useUpdateEffect} from '@react-aria-nutrient/utils'; import {hookData, useSelectedDateDescription, useVisibleRangeDescription} from './utils'; diff --git a/packages/@react-aria/calendar/src/useCalendarCell.ts b/packages/@react-aria/calendar/src/useCalendarCell.ts index f2f058885a8..5251aeb59d5 100644 --- a/packages/@react-aria/calendar/src/useCalendarCell.ts +++ b/packages/@react-aria/calendar/src/useCalendarCell.ts @@ -12,7 +12,7 @@ import {CalendarDate, isEqualDay, isSameDay, isToday} from '@internationalized/date'; import {CalendarState, RangeCalendarState} from '@react-stately/calendar'; -import {DOMAttributes, RefObject} from '@react-types/shared'; +import {DOMAttributes, RefObject} from '@react-types-nutrient/shared'; import {focusWithoutScrolling, getScrollParent, mergeProps, scrollIntoViewport, useDeepMemo, useDescription} from '@react-aria-nutrient/utils'; import {getEraFormat, hookData} from './utils'; import {getInteractionModality, usePress} from '@react-aria-nutrient/interactions'; diff --git a/packages/@react-aria/calendar/src/useCalendarGrid.ts b/packages/@react-aria/calendar/src/useCalendarGrid.ts index 08ae712df7e..38055907187 100644 --- a/packages/@react-aria/calendar/src/useCalendarGrid.ts +++ b/packages/@react-aria/calendar/src/useCalendarGrid.ts @@ -12,7 +12,7 @@ import {CalendarDate, getWeeksInMonth, startOfWeek, today} from '@internationalized/date'; import {CalendarState, RangeCalendarState} from '@react-stately/calendar'; -import {DOMAttributes} from '@react-types/shared'; +import {DOMAttributes} from '@react-types-nutrient/shared'; import {hookData, useVisibleRangeDescription} from './utils'; import {KeyboardEvent, useMemo} from 'react'; import {mergeProps, useLabels} from '@react-aria-nutrient/utils'; diff --git a/packages/@react-aria/calendar/src/useRangeCalendar.ts b/packages/@react-aria/calendar/src/useRangeCalendar.ts index 8f80cda84c7..f8d6c35805d 100644 --- a/packages/@react-aria/calendar/src/useRangeCalendar.ts +++ b/packages/@react-aria/calendar/src/useRangeCalendar.ts @@ -10,9 +10,9 @@ * governing permissions and limitations under the License. */ -import {AriaRangeCalendarProps, DateValue} from '@react-types/calendar'; +import {AriaRangeCalendarProps, DateValue} from '@react-types-nutrient/calendar'; import {CalendarAria, useCalendarBase} from './useCalendarBase'; -import {FocusableElement, RefObject} from '@react-types/shared'; +import {FocusableElement, RefObject} from '@react-types-nutrient/shared'; import {RangeCalendarState} from '@react-stately/calendar'; import {useEvent} from '@react-aria-nutrient/utils'; import {useRef} from 'react'; diff --git a/packages/@react-aria/checkbox/package.json b/packages/@react-aria/checkbox/package.json index 87881b7fd92..61253706fb8 100644 --- a/packages/@react-aria/checkbox/package.json +++ b/packages/@react-aria/checkbox/package.json @@ -30,8 +30,8 @@ "@react-stately/checkbox": "^3.6.12", "@react-stately/form": "^3.1.2", "@react-stately/toggle": "^3.8.2", - "@react-types/checkbox": "^3.9.2", - "@react-types/shared": "^3.28.0", + "@react-types-nutrient/checkbox": "^3.9.2", + "@react-types-nutrient/shared": "^3.28.0", "@swc/helpers": "^0.5.0" }, "peerDependencies": { diff --git a/packages/@react-aria/checkbox/src/index.ts b/packages/@react-aria/checkbox/src/index.ts index 536cafb0826..ce7276701fe 100644 --- a/packages/@react-aria/checkbox/src/index.ts +++ b/packages/@react-aria/checkbox/src/index.ts @@ -13,5 +13,5 @@ export type {CheckboxAria} from './useCheckbox'; export {useCheckbox} from './useCheckbox'; export {useCheckboxGroup} from './useCheckboxGroup'; export {useCheckboxGroupItem} from './useCheckboxGroupItem'; -export type {AriaCheckboxGroupItemProps, AriaCheckboxGroupProps, AriaCheckboxProps} from '@react-types/checkbox'; +export type {AriaCheckboxGroupItemProps, AriaCheckboxGroupProps, AriaCheckboxProps} from '@react-types-nutrient/checkbox'; export type {CheckboxGroupAria} from './useCheckboxGroup'; diff --git a/packages/@react-aria/checkbox/src/useCheckbox.ts b/packages/@react-aria/checkbox/src/useCheckbox.ts index e722d2bfb9b..9ba06a287be 100644 --- a/packages/@react-aria/checkbox/src/useCheckbox.ts +++ b/packages/@react-aria/checkbox/src/useCheckbox.ts @@ -10,11 +10,11 @@ * governing permissions and limitations under the License. */ -import {AriaCheckboxProps} from '@react-types/checkbox'; +import {AriaCheckboxProps} from '@react-types-nutrient/checkbox'; import {InputHTMLAttributes, LabelHTMLAttributes, useEffect} from 'react'; import {mergeProps} from '@react-aria-nutrient/utils'; import {privateValidationStateProp, useFormValidationState} from '@react-stately/form'; -import {RefObject, ValidationResult} from '@react-types/shared'; +import {RefObject, ValidationResult} from '@react-types-nutrient/shared'; import {ToggleState} from '@react-stately/toggle'; import {useFormValidation} from '@react-aria-nutrient/form'; import {usePress} from '@react-aria-nutrient/interactions'; diff --git a/packages/@react-aria/checkbox/src/useCheckboxGroup.ts b/packages/@react-aria/checkbox/src/useCheckboxGroup.ts index b9e88c68f8a..9a58d3172d0 100644 --- a/packages/@react-aria/checkbox/src/useCheckboxGroup.ts +++ b/packages/@react-aria/checkbox/src/useCheckboxGroup.ts @@ -10,10 +10,10 @@ * governing permissions and limitations under the License. */ -import {AriaCheckboxGroupProps} from '@react-types/checkbox'; +import {AriaCheckboxGroupProps} from '@react-types-nutrient/checkbox'; import {checkboxGroupData} from './utils'; import {CheckboxGroupState} from '@react-stately/checkbox'; -import {DOMAttributes, ValidationResult} from '@react-types/shared'; +import {DOMAttributes, ValidationResult} from '@react-types-nutrient/shared'; import {filterDOMProps, mergeProps} from '@react-aria-nutrient/utils'; import {useField} from '@react-aria-nutrient/label'; import {useFocusWithin} from '@react-aria-nutrient/interactions'; diff --git a/packages/@react-aria/checkbox/src/useCheckboxGroupItem.ts b/packages/@react-aria/checkbox/src/useCheckboxGroupItem.ts index 41a66b79a7d..dccb66060ca 100644 --- a/packages/@react-aria/checkbox/src/useCheckboxGroupItem.ts +++ b/packages/@react-aria/checkbox/src/useCheckboxGroupItem.ts @@ -10,12 +10,12 @@ * governing permissions and limitations under the License. */ -import {AriaCheckboxGroupItemProps} from '@react-types/checkbox'; +import {AriaCheckboxGroupItemProps} from '@react-types-nutrient/checkbox'; import {CheckboxAria, useCheckbox} from './useCheckbox'; import {checkboxGroupData} from './utils'; import {CheckboxGroupState} from '@react-stately/checkbox'; import {DEFAULT_VALIDATION_RESULT, privateValidationStateProp, useFormValidationState} from '@react-stately/form'; -import {RefObject, ValidationResult} from '@react-types/shared'; +import {RefObject, ValidationResult} from '@react-types-nutrient/shared'; import {useEffect, useRef} from 'react'; import {useToggleState} from '@react-stately/toggle'; diff --git a/packages/@react-aria/checkbox/test/useCheckboxGroup.test.tsx b/packages/@react-aria/checkbox/test/useCheckboxGroup.test.tsx index 7d904b87cab..8b35167a1f1 100644 --- a/packages/@react-aria/checkbox/test/useCheckboxGroup.test.tsx +++ b/packages/@react-aria/checkbox/test/useCheckboxGroup.test.tsx @@ -10,7 +10,7 @@ * governing permissions and limitations under the License. */ -import {AriaCheckboxGroupItemProps, AriaCheckboxGroupProps} from '@react-types/checkbox'; +import {AriaCheckboxGroupItemProps, AriaCheckboxGroupProps} from '@react-types-nutrient/checkbox'; import {CheckboxGroupState, useCheckboxGroupState} from '@react-stately/checkbox'; import {pointerMap, render} from '@react-spectrum/test-utils-internal'; import React, {useRef} from 'react'; diff --git a/packages/@react-aria/collections/package.json b/packages/@react-aria/collections/package.json index 6b452056180..c20667e5df3 100644 --- a/packages/@react-aria/collections/package.json +++ b/packages/@react-aria/collections/package.json @@ -25,7 +25,7 @@ "@react-aria-nutrient/interactions": "^3.24.1", "@react-aria-nutrient/ssr": "^3.9.7", "@react-aria-nutrient/utils": "^3.28.1", - "@react-types/shared": "^3.28.0", + "@react-types-nutrient/shared": "^3.28.0", "@swc/helpers": "^0.5.0", "use-sync-external-store": "^1.4.0" }, diff --git a/packages/@react-aria/collections/src/BaseCollection.ts b/packages/@react-aria/collections/src/BaseCollection.ts index ac655733c6e..ef147b0980d 100644 --- a/packages/@react-aria/collections/src/BaseCollection.ts +++ b/packages/@react-aria/collections/src/BaseCollection.ts @@ -10,7 +10,7 @@ * governing permissions and limitations under the License. */ -import {Collection as ICollection, Key, Node} from '@react-types/shared'; +import {Collection as ICollection, Key, Node} from '@react-types-nutrient/shared'; import {ReactElement, ReactNode} from 'react'; export type Mutable = { diff --git a/packages/@react-aria/collections/src/CollectionBuilder.tsx b/packages/@react-aria/collections/src/CollectionBuilder.tsx index 6eb8a025e08..17c030ee166 100644 --- a/packages/@react-aria/collections/src/CollectionBuilder.tsx +++ b/packages/@react-aria/collections/src/CollectionBuilder.tsx @@ -15,7 +15,7 @@ import {BaseNode, Document, ElementNode} from './Document'; import {CachedChildrenOptions, useCachedChildren} from './useCachedChildren'; import {createPortal} from 'react-dom'; import {FocusableContext} from '@react-aria-nutrient/interactions'; -import {forwardRefType, Node} from '@react-types/shared'; +import {forwardRefType, Node} from '@react-types-nutrient/shared'; import {Hidden} from './Hidden'; import React, {createContext, ForwardedRef, forwardRef, JSX, ReactElement, ReactNode, useCallback, useContext, useMemo, useRef, useState} from 'react'; import {useIsSSR} from '@react-aria-nutrient/ssr'; diff --git a/packages/@react-aria/collections/src/Document.ts b/packages/@react-aria/collections/src/Document.ts index 1385e18a413..f30dcc1db85 100644 --- a/packages/@react-aria/collections/src/Document.ts +++ b/packages/@react-aria/collections/src/Document.ts @@ -12,7 +12,7 @@ import {BaseCollection, CollectionNode, Mutable} from './BaseCollection'; import {CSSProperties, ForwardedRef, ReactElement, ReactNode} from 'react'; -import {Node} from '@react-types/shared'; +import {Node} from '@react-types-nutrient/shared'; // This Collection implementation is perhaps a little unusual. It works by rendering the React tree into a // Portal to a fake DOM implementation. This gives us efficient access to the tree of rendered objects, and diff --git a/packages/@react-aria/collections/src/Hidden.tsx b/packages/@react-aria/collections/src/Hidden.tsx index ca2c2c3a605..686b47a3dc8 100644 --- a/packages/@react-aria/collections/src/Hidden.tsx +++ b/packages/@react-aria/collections/src/Hidden.tsx @@ -10,7 +10,7 @@ * governing permissions and limitations under the License. */ -import {forwardRefType} from '@react-types/shared'; +import {forwardRefType} from '@react-types-nutrient/shared'; import React, {createContext, forwardRef, ReactElement, ReactNode, useContext} from 'react'; // React doesn't understand the