@codeleap/web 3.12.22 → 3.12.23

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.22",
3
+ "version": "3.12.23",
4
4
  "main": "src/index.ts",
5
5
  "repository": {
6
6
  "url": "https://github.com/codeleap-uk/internal-libs-monorepo.git",
@@ -273,11 +273,8 @@ export const Select = forwardRef<HTMLInputElement, SelectProps>(
273
273
  focus: () => {
274
274
  innerInputRef.current?.focus?.()
275
275
  },
276
- blur: () => {
277
- innerInputRef.current?.blur?.()
278
- },
279
276
  }
280
- }, [!!innerInputRef?.current?.focus, !!innerInputRef?.current?.blur])
277
+ }, [!!innerInputRef?.current?.focus])
281
278
 
282
279
  const onLoadOptions = async (inputValue, cb) => {
283
280
  if (!!loadOptions) {
@@ -413,6 +410,8 @@ export const Select = forwardRef<HTMLInputElement, SelectProps>(
413
410
  tabSelectsValue={false}
414
411
  tabIndex={0}
415
412
  backspaceRemovesValue={true}
413
+ escapeRemoves={true}
414
+ deleteRemoves={true}
416
415
  {...otherProps}
417
416
  {..._props}
418
417
  onKeyDown={isFocused ? handleKeyDown : null}