@codeleap/web 3.12.21 → 3.12.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codeleap/web",
3
- "version": "3.12.21",
3
+ "version": "3.12.22",
4
4
  "main": "src/index.ts",
5
5
  "repository": {
6
6
  "url": "https://github.com/codeleap-uk/internal-libs-monorepo.git",
@@ -273,8 +273,11 @@ export const Select = forwardRef<HTMLInputElement, SelectProps>(
273
273
  focus: () => {
274
274
  innerInputRef.current?.focus?.()
275
275
  },
276
+ blur: () => {
277
+ innerInputRef.current?.blur?.()
278
+ },
276
279
  }
277
- }, [!!innerInputRef?.current?.focus])
280
+ }, [!!innerInputRef?.current?.focus, !!innerInputRef?.current?.blur])
278
281
 
279
282
  const onLoadOptions = async (inputValue, cb) => {
280
283
  if (!!loadOptions) {