chakra-react-select
Advanced tools
Comparing version 4.7.4 to 4.7.5
@@ -5,2 +5,9 @@ import type { SystemStyleObject } from "@chakra-ui/system"; | ||
/** | ||
* This is necessary for the module `react-select/base` to be seen by TypeScript. | ||
* Without it the module augmentation will not work properly. | ||
* | ||
* @see {@link https://github.com/JedWatson/react-select/pull/5762#issuecomment-1765467219} | ||
*/ | ||
export type {} from "react-select/base"; | ||
/** | ||
* Module augmentation is used to add extra props to the existing interfaces | ||
@@ -11,3 +18,3 @@ * from `react-select` as per the docs | ||
*/ | ||
declare module "react-select/dist/declarations/src/Select" { | ||
declare module "react-select/base" { | ||
interface Props<Option, IsMulti extends boolean, Group extends GroupBase<Option>> { | ||
@@ -173,3 +180,3 @@ /** | ||
} | ||
declare module "react-select/dist/declarations/src/components/MultiValue" { | ||
declare module "react-select" { | ||
interface MultiValueProps<Option, IsMulti extends boolean, Group extends GroupBase<Option>> { | ||
@@ -185,4 +192,2 @@ sx: SystemStyleObject; | ||
} | ||
} | ||
declare module "react-select/dist/declarations/src/components/indicators" { | ||
interface LoadingIndicatorProps<Option, IsMulti extends boolean, Group extends GroupBase<Option>> { | ||
@@ -189,0 +194,0 @@ /** |
{ | ||
"name": "chakra-react-select", | ||
"version": "4.7.4", | ||
"version": "4.7.5", | ||
"description": "A Chakra UI wrapper for the popular library React Select", | ||
@@ -48,3 +48,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"react-select": "5.7.0" | ||
"react-select": "5.7.7" | ||
}, | ||
@@ -51,0 +51,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
421437
2890
+ Added@types/react@18.3.2(transitive)
+ Addedreact-select@5.7.7(transitive)
- Removed@types/react@18.3.1(transitive)
- Removedreact-select@5.7.0(transitive)
Updatedreact-select@5.7.7