react-spectrum
9b249e04 - chore: Ts strict remaining (#7368)

Comment changes are shownComment changes are hidden
Commit
272 days ago
chore: Ts strict remaining (#7368) * TS Strict Collections * fix rebase * Start ts strict remaining * GridKeyboardDelegate and review * fix some calculateposition tests * fix calculate tests * fix listkeyboarddelegate * fix more tests * fix calculate position * changes to calculate position * grid aria hooks * aria menu * Virtualizer stuff * aria menus more * last of aria menu and overlay * Stately table * More table * delete pagination, aria select * aria slider and textfield * aria toast * fix extra toast * aria table * remove log * ignore s1 cards * More table and aria virtualizer * more * stately data * more * fix stories * fix tree data * more fixes * RSP slider * more stories * spectrum and aria combobox * Make useAsyncList sort function have a required sortDescriptor * stately fixes * fix toast test * rsp layout and stately tree * rsp menu * rsp overlays * rsp picker * more rsp * remaining rsp and dev * fix lint * update yarnlock * remove ts-ignores * a few more removed ts ignores * fix provider usage * DatePicker * fix tsconfig * remove plugin no longer needed * fix check-examples * Fix some ts-ignores * Fix docs build * turn on verdaccio build * fix accidental defaultkey of null * Toast noop * Make focusStrategy match * fix types for tailwind * Try fixing cra app * fix example apps * Revert "turn on verdaccio build" This reverts commit 3157bf19baea0582a76b1beb9b53d3f669a1187f. * fix tooltip for chromatic * fix for all cases * delete pagination files again * fix lock file --------- Co-authored-by: Devon Govett <devongovett@gmail.com> Co-authored-by: Daniel Lu <dl1644@gmail.com>
Author
Parents
  • examples
    • rsp-next-ts-17/components
      • File
        ReorderableListView.tsx
    • rsp-next-ts/components
      • File
        ReorderableListView.tsx
  • File
    package.json
  • packages
    • @internationalized
      • message/src
        • File
          MessageDictionary.ts
      • number/src
        • File
          NumberFormatter.ts
        • File
          NumberParser.ts
    • @react-aria
      • autocomplete/test
        • File
          useSearchAutocomplete.test.js
      • combobox
        • src
          • File
            useComboBox.ts
        • test
          • File
            useComboBox.test.js
      • datepicker/src
        • File
          useDateRangePicker.ts
      • dnd
        • src
          • File
            DragPreview.tsx
          • File
            useDroppableCollection.ts
        • stories
          • File
            DraggableCollection.tsx
          • File
            dnd.stories.tsx
      • grid
        • src
          • File
            GridKeyboardDelegate.ts
          • File
            useGrid.ts
          • File
            useGridCell.ts
          • File
            useGridRow.ts
          • File
            useGridSelectionAnnouncement.ts
          • File
            useHighlightSelectionDescription.ts
          • File
            utils.ts
        • stories
          • File
            example.tsx
      • gridlist/src
        • File
          useGridListItem.ts
        • File
          utils.ts
      • i18n/src
        • File
          useDefaultLocale.ts
        • File
          utils.ts
      • menu
        • src
          • File
            useMenu.ts
          • File
            useMenuItem.ts
          • File
            useMenuTrigger.ts
          • File
            useSafelyMouseToSubmenu.ts
          • File
            useSubmenuTrigger.ts
        • stories
          • File
            useMenu.stories.tsx
      • overlays
        • src
          • File
            Overlay.tsx
          • File
            PortalProvider.tsx
          • File
            ariaHideOutside.ts
          • File
            calculatePosition.ts
          • File
            useCloseOnScroll.ts
          • File
            useModal.tsx
          • File
            useModalOverlay.ts
          • File
            useOverlay.ts
          • File
            useOverlayPosition.ts
          • File
            useOverlayTrigger.ts
          • File
            usePopover.ts
          • File
            usePreventScroll.ts
        • test
          • File
            calculatePosition.test.ts
          • File
            useOverlayPosition.test.tsx
      • pagination
        • File
          README.md
        • File
          index.ts
        • intl
          • File
            ar-AE.json
          • File
            bg-BG.json
          • File
            cs-CZ.json
          • File
            da-DK.json
          • File
            de-DE.json
          • File
            el-GR.json
          • File
            en-US.json
          • File
            es-ES.json
          • File
            et-EE.json
          • File
            fi-FI.json
          • File
            fr-FR.json
          • File
            he-IL.json
          • File
            hr-HR.json
          • File
            hu-HU.json
          • File
            index.js
          • File
            it-IT.json
          • File
            ja-JP.json
          • File
            ko-KR.json
          • File
            lt-LT.json
          • File
            lv-LV.json
          • File
            nb-NO.json
          • File
            nl-NL.json
          • File
            pl-PL.json
          • File
            pt-BR.json
          • File
            pt-PT.json
          • File
            ro-RO.json
          • File
            ru-RU.json
          • File
            sk-SK.json
          • File
            sl-SI.json
          • File
            sr-SP.json
          • File
            sv-SE.json
          • File
            tr-TR.json
          • File
            uk-UA.json
          • File
            zh-CN.json
          • File
            zh-TW.json
        • File
          package.json
        • src
          • File
            index.ts
          • File
            usePagination.ts
        • test
          • File
            usePagination.test.js
      • select
        • src
          • File
            HiddenSelect.tsx
          • File
            useSelect.ts
        • stories
          • File
            example.tsx
        • test
          • File
            HiddenSelect.test.tsx
      • selection/src
        • File
          DOMLayoutDelegate.ts
        • File
          ListKeyboardDelegate.ts
        • File
          useSelectableCollection.ts
        • File
          useSelectableItem.ts
        • File
          useTypeSelect.ts
      • slider
        • src
          • File
            useSlider.ts
          • File
            useSliderThumb.ts
        • stories
          • File
            StorySlider.tsx
      • ssr/src
        • File
          SSRProvider.tsx
      • table
        • src
          • File
            TableKeyboardDelegate.ts
          • File
            useTable.ts
          • File
            useTableCell.ts
          • File
            useTableColumnHeader.ts
          • File
            useTableColumnResize.ts
          • File
            useTableRow.ts
        • stories
          • File
            example-backwards-compat.tsx
          • File
            example-docs.tsx
          • File
            example-resizing.tsx
          • File
            example.tsx
          • File
            useTable.stories.tsx
        • test
          • File
            ariaTableResizing.test.tsx
          • File
            tableResizingTests.tsx
          • File
            useTable.test.tsx
          • File
            useTableBackwardCompat.test.tsx
      • tabs/stories
        • File
          example.tsx
      • tag/src
        • File
          useTag.ts
      • test-utils/src
        • File
          menu.ts
        • File
          testSetup.ts
      • textfield
        • src
          • File
            useFormattedTextField.ts
        • stories
          • File
            useTextField.stories.tsx
      • toast
        • src
          • File
            useToast.ts
          • File
            useToastRegion.ts
        • stories
          • File
            Example.tsx
      • utils/src
        • File
          openLink.tsx
        • File
          scrollIntoView.ts
        • File
          useViewportSize.ts
      • virtualizer/src
        • File
          ScrollView.tsx
        • File
          Virtualizer.tsx
        • File
          VirtualizerItem.tsx
        • File
          useVirtualizerItem.ts
    • @react-spectrum
      • calendar/stories
        • File
          Calendar.stories.tsx
      • card
        • chromatic-fc
          • File
            Card.stories.tsx
          • File
            CardView.stories.tsx
          • File
            QuietCard.stories.tsx
        • chromatic
          • File
            Card.stories.tsx
          • File
            CardView.stories.tsx
          • File
            HorizontalCard.stories.tsx
          • File
            QuietCard.stories.tsx
        • src
          • File
            BaseLayout.tsx
          • File
            Card.tsx
          • File
            CardBase.tsx
          • File
            CardView.tsx
          • File
            CardViewContext.tsx
          • File
            GalleryLayout.tsx
          • File
            GridLayout.tsx
          • File
            WaterfallLayout.tsx
        • stories
          • File
            Card.stories.tsx
          • File
            GalleryCardView.stories.tsx
          • File
            GridCardView.stories.tsx
          • File
            HorizontalCard.stories.tsx
          • File
            QuietCard.stories.tsx
          • File
            WaterfallCardView.stories.tsx
          • File
            utils.ts
      • color/src
        • File
          ColorThumb.tsx
        • File
          ColorWheel.tsx
      • combobox
        • src
          • File
            ComboBox.tsx
          • File
            MobileComboBox.tsx
        • stories
          • File
            ComboBox.stories.tsx
      • datepicker
        • src
          • File
            DateField.tsx
          • File
            DatePicker.tsx
          • File
            DatePickerField.tsx
          • File
            DatePickerSegment.tsx
          • File
            DateRangePicker.tsx
          • File
            Input.tsx
          • File
            TimeField.tsx
          • File
            utils.ts
        • stories
          • File
            DateField.stories.tsx
          • File
            DatePicker.stories.tsx
          • File
            DateRangePicker.stories.tsx
      • dnd/src
        • File
          useDragAndDrop.ts
      • form/stories
        • File
          Form.stories.tsx
      • icon/src
        • File
          Icon.tsx
        • File
          UIIcon.tsx
      • layout
        • chromatic
          • File
            Flex.stories.tsx
          • File
            Grid.stories.tsx
        • src
          • File
            Grid.tsx
        • stories
          • File
            Flex.stories.tsx
          • File
            Grid.stories.tsx
      • list
        • src
          • File
            InsertionIndicator.tsx
          • File
            ListView.tsx
          • File
            ListViewItem.tsx
          • File
            ListViewLayout.ts
          • File
            RootDropIndicator.tsx
        • stories
          • File
            ListView.stories.tsx
          • File
            ListViewDnD.stories.tsx
          • File
            ListViewDnDExamples.tsx
          • File
            ListViewDnDUtil.stories.tsx
          • File
            ListViewDnDUtilExamples.tsx
      • listbox
        • src
          • File
            ListBoxBase.tsx
          • File
            ListBoxContext.ts
          • File
            ListBoxLayout.ts
          • File
            ListBoxOption.tsx
          • File
            ListBoxSection.tsx
        • stories
          • File
            ListBox.stories.tsx
        • test
          • File
            ListBox.test.js
      • menu
        • chromatic
          • File
            Submenu.stories.tsx
        • src
          • File
            ContextualHelpTrigger.tsx
          • File
            Menu.tsx
          • File
            MenuItem.tsx
          • File
            MenuSection.tsx
          • File
            MenuTrigger.tsx
          • File
            SubmenuTrigger.tsx
          • File
            context.ts
        • stories
          • File
            Submenu.stories.tsx
        • test
          • File
            SubMenuTrigger.test.tsx
      • overlays/src
        • File
          Modal.tsx
        • File
          Popover.tsx
        • File
          Tray.tsx
      • pagination
        • File
          README.md
        • File
          index.ts
        • intl
          • File
            ar-AE.json
          • File
            bg-BG.json
          • File
            cs-CZ.json
          • File
            da-DK.json
          • File
            de-DE.json
          • File
            el-GR.json
          • File
            en-US.json
          • File
            es-ES.json
          • File
            et-EE.json
          • File
            fi-FI.json
          • File
            fr-FR.json
          • File
            he-IL.json
          • File
            hr-HR.json
          • File
            hu-HU.json
          • File
            it-IT.json
          • File
            ja-JP.json
          • File
            ko-KR.json
          • File
            lt-LT.json
          • File
            lv-LV.json
          • File
            nb-NO.json
          • File
            nl-NL.json
          • File
            pl-PL.json
          • File
            pt-BR.json
          • File
            pt-PT.json
          • File
            ro-RO.json
          • File
            ru-RU.json
          • File
            sk-SK.json
          • File
            sl-SI.json
          • File
            sr-SP.json
          • File
            sv-SE.json
          • File
            tr-TR.json
          • File
            uk-UA.json
          • File
            zh-CN.json
          • File
            zh-TW.json
        • File
          package.json
        • src
          • File
            Pagination.tsx
          • File
            index.ts
        • stories
          • File
            pagination.stories.js
      • picker
        • src
          • File
            Picker.tsx
        • stories
          • File
            Picker.stories.tsx
      • provider
        • chromatic
          • File
            Provider.stories.tsx
        • src
          • File
            Provider.tsx
          • File
            index.ts
        • stories
          • File
            Provider.stories.tsx
        • test
          • File
            Provider.test.tsx
      • s2
        • chromatic
          • File
            CheckboxGroup.stories.tsx
          • File
            ColorSlider.stories.tsx
          • File
            utils.tsx
        • src
          • File
            ActionMenu.tsx
          • File
            CardView.tsx
          • File
            TableView.tsx
          • File
            useSpectrumContextProps.ts
        • style
          • File
            spectrum-theme.ts
          • File
            style-macro.ts
      • slider
        • src
          • File
            Slider.tsx
          • File
            SliderBase.tsx
          • File
            SliderThumb.tsx
        • stories
          • File
            RangeSlider.stories.tsx
          • File
            Slider.stories.tsx
        • test
          • File
            RangeSlider.test.tsx
          • File
            Slider.test.tsx
      • style-macro-s1/src
        • File
          spectrum-theme.ts
        • File
          style-macro.ts
      • table
        • src
          • File
            InsertionIndicator.tsx
          • File
            Resizer.tsx
          • File
            RootDropIndicator.tsx
          • File
            TableViewBase.tsx
          • File
            TableViewLayout.ts
        • stories
          • File
            CRUDExample.tsx
          • File
            ControllingResize.tsx
          • File
            Table.stories.tsx
          • File
            TableDnD.stories.tsx
          • File
            TableDnDExamples.tsx
          • File
            TableDnDUtilExamples.tsx
          • File
            TreeGridTable.stories.tsx
        • test
          • File
            TableSizing.test.tsx
          • File
            TreeGridTable.test.tsx
      • tag/src
        • File
          TagGroup.tsx
      • toast
        • src
          • File
            ToastContainer.tsx
          • File
            Toaster.tsx
        • stories
          • File
            Toast.stories.tsx
      • tooltip/src
        • File
          Tooltip.tsx
        • File
          TooltipTrigger.tsx
        • File
          context.ts
      • tree/src
        • File
          TreeView.tsx
      • utils/src
        • File
          BreakpointProvider.tsx
        • File
          Slots.tsx
        • File
          classNames.ts
        • File
          styleProps.ts
    • @react-stately
      • calendar/src
        • File
          useRangeCalendarState.ts
      • collections/src
        • File
          CollectionBuilder.ts
        • File
          Item.ts
        • File
          Section.ts
        • File
          getChildNodes.ts
        • File
          getItemCount.ts
        • File
          types.ts
        • File
          useCollection.ts
      • data/src
        • File
          useAsyncList.ts
        • File
          useListData.ts
        • File
          useTreeData.ts
      • datepicker/src
        • File
          useDateFieldState.ts
        • File
          useDatePickerState.ts
        • File
          useDateRangePickerState.ts
        • File
          useTimeFieldState.ts
        • File
          utils.ts
      • dnd/src
        • File
          useDraggableCollectionState.ts
        • File
          useDroppableCollectionState.ts
      • form/src
        • File
          useFormValidationState.ts
      • grid/src
        • File
          GridCollection.ts
        • File
          useGridState.ts
      • layout/src
        • File
          GridLayout.ts
        • File
          ListLayout.ts
        • File
          TableLayout.ts
      • menu/src
        • File
          useSubmenuTriggerState.ts
      • pagination
        • File
          README.md
        • File
          index.ts
        • File
          package.json
        • src
          • File
            index.ts
          • File
            usePaginationState.ts
        • test
          • File
            usePaginationState.test.js
      • select/src
        • File
          useSelectState.ts
      • selection/src
        • File
          Selection.ts
        • File
          SelectionManager.ts
        • File
          types.ts
        • File
          useMultipleSelectionState.ts
      • slider/src
        • File
          useSliderState.ts
      • table/src
        • File
          Cell.ts
        • File
          Column.ts
        • File
          Row.ts
        • File
          TableBody.ts
        • File
          TableCollection.ts
        • File
          TableColumnLayout.ts
        • File
          TableHeader.ts
        • File
          TableUtils.ts
        • File
          useTableColumnResizeState.ts
        • File
          useTableState.ts
        • File
          useTreeGridState.ts
      • tabs/src
        • File
          useTabListState.ts
      • toast
        • src
          • File
            useToastState.ts
        • test
          • File
            useToastState.test.js
      • tooltip/src
        • File
          useTooltipTriggerState.ts
      • tree
        • src
          • File
            TreeCollection.ts
        • stories
          • File
            useTreeState.stories.tsx
      • virtualizer/src
        • File
          Layout.ts
        • File
          ReusableView.ts
        • File
          Virtualizer.ts
        • File
          types.ts
        • File
          useVirtualizerState.ts
    • @react-types
      • calendar/src
        • File
          index.d.ts
      • datepicker/src
        • File
          index.d.ts
      • grid/src
        • File
          index.d.ts
      • pagination
        • File
          README.md
        • File
          package.json
        • src
          • File
            index.d.ts
      • shared/src
        • File
          collections.d.ts
        • File
          refs.d.ts
    • @spectrum-icons/ui/scripts
      • File
        generateIcons.cjs
    • dev
      • codemods/src/s1-to-s2/src/codemods
        • File
          codemod.ts
      • docs/pages/react-aria/home
        • File
          I18n.tsx
        • File
          KanbanExample.tsx
        • File
          SwitchAnimation.tsx
        • File
          components.tsx
    • react-aria-components
      • src
        • File
          Collection.tsx
        • File
          OverlayArrow.tsx
        • File
          Popover.tsx
        • File
          Table.tsx
        • File
          Tooltip.tsx
        • File
          Virtualizer.tsx
      • stories
        • File
          GridList.stories.tsx
        • File
          ListBox.stories.tsx
        • File
          Table.stories.tsx
      • test
        • File
          Table.test.js
        • File
          Tree.test.tsx
  • starters/tailwind/src
    • File
      ListBox.tsx
  • File
    tsconfig.json
  • File
    yarn.lock