From d9a4e578bb1cc5310b5132ad3d9b9bae4381989c Mon Sep 17 00:00:00 2001 From: Chris Sandvik Date: Wed, 12 Jan 2022 15:14:45 -0500 Subject: [PATCH 1/2] Fix the `MultiValueRemove` component --- src/chakra-components.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/chakra-components.tsx b/src/chakra-components.tsx index 7769f1e..3c26e9d 100644 --- a/src/chakra-components.tsx +++ b/src/chakra-components.tsx @@ -471,8 +471,12 @@ const MultiValueRemove = < } return ( + // @ts-ignore the `innerProps` type is not compatible with the props + // accepted by the `TagCloseButton`. The most likely solution in the long + // term is using a `chakra.button` instead of a TagCloseButton and styling + // it using the multi style config of a tag close button. Date: Wed, 12 Jan 2022 15:15:03 -0500 Subject: [PATCH 2/2] 3.0.1 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index d82bfbb..eb0f891 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { "name": "chakra-react-select", - "version": "3.0.0", + "version": "3.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { - "version": "3.0.0", + "version": "3.0.1", "license": "MIT", "dependencies": { "react-select": "^5.2.1" diff --git a/package.json b/package.json index 2f17499..11c4b17 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "chakra-react-select", - "version": "3.0.0", + "version": "3.0.1", "description": "A chakra-ui wrapper for the popular select library react-select", "license": "MIT", "author": "Chris Sandvik ",