File tree 15 files changed +28
-27
lines changed
packages/react-select/src
15 files changed +28
-27
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' react-select ' : patch
3
+ ---
4
+
5
+ Fix types compatibility with React 19
Original file line number Diff line number Diff line change 34
34
"@types/jest-in-case" : " ^1.0.6" ,
35
35
"@types/node" : " ^16.11.68" ,
36
36
"@types/pretty-proptypes" : " ^1.1.0" ,
37
- "@types/react" : " ^16.14.2 " ,
37
+ "@types/react" : " ^16.14.60 " ,
38
38
"@types/react-dom" : " ^16.9.10" ,
39
39
"@types/react-transition-group" : " ^4.4.0" ,
40
40
"@typescript-eslint/eslint-plugin" : " ^4.14.0" ,
Original file line number Diff line number Diff line change 4
4
Component ,
5
5
FocusEventHandler ,
6
6
FormEventHandler ,
7
+ JSX ,
7
8
KeyboardEventHandler ,
8
9
MouseEventHandler ,
9
10
ReactNode ,
Original file line number Diff line number Diff line change 1
1
/** @jsx jsx */
2
- import { ReactNode , Ref } from 'react' ;
2
+ import { JSX , ReactNode , Ref } from 'react' ;
3
3
import { jsx } from '@emotion/react' ;
4
4
5
5
import {
Original file line number Diff line number Diff line change 1
1
/** @jsx jsx */
2
- import { ComponentType , ReactNode } from 'react' ;
2
+ import { ComponentType , JSX , ReactNode } from 'react' ;
3
3
import { jsx } from '@emotion/react' ;
4
4
import { cleanCommonProps , getStyleProps } from '../utils' ;
5
5
Original file line number Diff line number Diff line change 1
1
/** @jsx jsx */
2
2
import {
3
3
createContext ,
4
+ JSX ,
4
5
ReactElement ,
5
6
ReactNode ,
6
7
Ref ,
Original file line number Diff line number Diff line change 1
1
/** @jsx jsx */
2
- import { ComponentType , ReactNode } from 'react' ;
2
+ import { ComponentType , JSX , ReactNode } from 'react' ;
3
3
import { jsx } from '@emotion/react' ;
4
4
import { CrossIcon } from './indicators' ;
5
5
import {
Original file line number Diff line number Diff line change 1
1
/** @jsx jsx */
2
- import { ReactNode , RefCallback } from 'react' ;
2
+ import { JSX , ReactNode , RefCallback } from 'react' ;
3
3
import { jsx } from '@emotion/react' ;
4
4
5
5
import {
Original file line number Diff line number Diff line change 1
1
/** @jsx jsx */
2
- import { ReactNode } from 'react' ;
2
+ import { JSX , ReactNode } from 'react' ;
3
3
import { jsx } from '@emotion/react' ;
4
4
import {
5
5
CommonPropsAndClassName ,
Original file line number Diff line number Diff line change 1
1
/** @jsx jsx */
2
- import { ReactNode } from 'react' ;
2
+ import { JSX , ReactNode } from 'react' ;
3
3
import { jsx } from '@emotion/react' ;
4
4
import {
5
5
CommonPropsAndClassName ,
Original file line number Diff line number Diff line change 1
1
/** @jsx jsx */
2
- import { ReactNode } from 'react' ;
2
+ import { JSX , ReactNode } from 'react' ;
3
3
import { jsx } from '@emotion/react' ;
4
4
import {
5
5
CommonPropsAndClassName ,
Original file line number Diff line number Diff line change 1
1
/** @jsx jsx */
2
- import { ReactNode } from 'react' ;
2
+ import { JSX , ReactNode } from 'react' ;
3
3
import { jsx , keyframes } from '@emotion/react' ;
4
4
5
5
import {
Original file line number Diff line number Diff line change 1
1
/** @jsx jsx */
2
+ import { JSX } from 'react' ;
2
3
import { jsx } from '@emotion/react' ;
3
4
4
5
// Assistive text to describe visual elements. Hidden for sighted users.
Original file line number Diff line number Diff line change 1
1
/** @jsx jsx */
2
- import { Ref } from 'react' ;
2
+ import { JSX , Ref } from 'react' ;
3
3
import { jsx } from '@emotion/react' ;
4
4
import { removeProps } from '../utils' ;
5
5
Original file line number Diff line number Diff line change 3709
3709
dependencies:
3710
3710
"@types/react" "*"
3711
3711
3712
- "@types/react-dom@*":
3713
- version "18.0.6"
3714
- resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.0.6.tgz#36652900024842b74607a17786b6662dd1e103a1"
3715
- integrity sha512-/5OFZgfIPSwy+YuIBP/FgJnQnsxhZhjjrnxudMddeblOouIodEQ75X14Rr4wGSG/bknL+Omy9iWlLo1u/9GzAA==
3716
- dependencies:
3717
- "@types/react" "*"
3718
-
3719
- "@types/react-dom@^16.9.10":
3712
+ "@types/react-dom@*", "@types/react-dom@^16.9.10":
3720
3713
version "16.9.13"
3721
3714
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-16.9.13.tgz#5898f0ee68fe200685e6b61d3d7d8828692814d0"
3722
3715
integrity sha512-34Hr3XnmUSJbUVDxIw/e7dhQn2BJZhJmlAaPyPwfTQyuVS9mV/CeyghFcXyvkJXxI7notQJz8mF8FeCVvloJrA==
3776
3769
dependencies:
3777
3770
"@types/react" "*"
3778
3771
3779
- "@types/react@*", "@types/react@^16", "@types/react@^16.14.2 ":
3780
- version "16.14.8 "
3781
- resolved "https://registry.yarnpkg.com/@types/react/-/react-16.14.8 .tgz#4aee3ab004cb98451917c9b7ada3c7d7e52db3fe "
3782
- integrity sha512-QN0/Qhmx+l4moe7WJuTxNiTsjBwlBGHqKGvInSQCBdo7Qio0VtOqwsC0Wq7q3PbJlB0cR4Y4CVo1OOe6BOsOmA ==
3772
+ "@types/react@*", "@types/react@^16", "@types/react@^16.14.60 ":
3773
+ version "16.14.60 "
3774
+ resolved "https://registry.yarnpkg.com/@types/react/-/react-16.14.60 .tgz#f7ab62a329b82826f12d02bc8031d4ef4b5e0d81 "
3775
+ integrity sha512-wIFmnczGsTcgwCBeIYOuy2mdXEiKZ5znU/jNOnMZPQyCcIxauMGWlX0TNG4lZ7NxRKj7YUIZRneJQSSdB2jKgg ==
3783
3776
dependencies:
3784
3777
"@types/prop-types" "*"
3785
- "@types/scheduler" "* "
3778
+ "@types/scheduler" "^0.16 "
3786
3779
csstype "^3.0.2"
3787
3780
3788
3781
"@types/relateurl@*":
3797
3790
dependencies:
3798
3791
"@types/node" "*"
3799
3792
3800
- "@types/scheduler@* ":
3801
- version "0.16.1 "
3802
- resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.1 .tgz#18845205e86ff0038517aab7a18a62a6b9f71275 "
3803
- integrity sha512-EaCxbanVeyxDRTQBkdLb3Bvl/HK7PBK6UJjsSixB0iHKoWxE5uu2Q/DgtpOhPIojN0Zl1whvOd7PoHs2P0s5eA ==
3793
+ "@types/scheduler@^0.16 ":
3794
+ version "0.16.8 "
3795
+ resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.8 .tgz#ce5ace04cfeabe7ef87c0091e50752e36707deff "
3796
+ integrity sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A ==
3804
3797
3805
3798
"@types/semver@^6.0.0", "@types/semver@^6.0.1":
3806
3799
version "6.2.3"
You can’t perform that action at this time.
0 commit comments