File tree Expand file tree Collapse file tree 5 files changed +78
-22
lines changed
Expand file tree Collapse file tree 5 files changed +78
-22
lines changed Original file line number Diff line number Diff line change 4545 "@chakra-ui/menu" : " ^1.0.0" ,
4646 "@chakra-ui/spinner" : " ^1.0.0" ,
4747 "@chakra-ui/system" : " ^1.2.0" ,
48- "react-select" : " ^5.3.2 "
48+ "react-select" : " 5.7.0 "
4949 },
5050 "peerDependencies" : {
5151 "@emotion/react" : " ^11.8.1" ,
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ const Group = <
2424 label,
2525 selectProps,
2626 innerProps,
27+ getClassNames,
2728 } = props ;
2829
2930 const { chakraStyles } = selectProps ;
@@ -40,6 +41,7 @@ const Group = <
4041 cx = { cx }
4142 theme = { theme }
4243 getStyles = { getStyles }
44+ getClassNames = { getClassNames }
4345 >
4446 { label }
4547 </ Heading >
Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ export type {
2727
2828// Forward all available exports from the original `react-select` package
2929export * from "react-select" ;
30- export * from "react-select/async" ;
31- export * from "react-select/async-creatable" ;
32- export * from "react-select/creatable" ;
30+ export { useAsync } from "react-select/async" ;
31+ export { useCreatable } from "react-select/creatable" ;
32+ export type { AsyncProps } from "react-select/async" ;
33+ export type { CreatableProps } from "react-select/creatable" ;
34+ export type { AsyncCreatableProps } from "react-select/async-creatable" ;
Original file line number Diff line number Diff line change 11import type { CommonPropsAndClassName , GroupBase } from "react-select" ;
22
33/**
4+ * Clean Common Props
5+ *
46 * Borrowed from the original `react-select` package
57 *
6- * @see {@link https://github.com/JedWatson/react-select/blob/2d3d6afe18421ea5b6c3f8f0db479ad323c35639 /packages/react-select/src/utils.ts#L74 }
8+ * @see {@link https://github.com/JedWatson/react-select/blob/edf5265ee0158c026c9e8527a6d0490a5ac2ef23 /packages/react-select/src/utils.ts#L75-L110 }
79 */
810export const cleanCommonProps = <
911 Option ,
@@ -23,6 +25,7 @@ export const cleanCommonProps = <
2325 clearValue,
2426 cx,
2527 getStyles,
28+ getClassNames,
2629 getValue,
2730 hasValue,
2831 isMulti,
You can’t perform that action at this time.
0 commit comments