@box/blueprint-web 7.25.0 → 7.25.1

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.
@@ -213,8 +213,8 @@ const RootInner = ({
213
213
  },
214
214
  // eslint-disable-next-line react-hooks/exhaustive-deps
215
215
  [clearOnBlur, isOpen, selectedValue, setInputValue]);
216
- const handleOnFocus = useCallback(() => {
217
- onFocus?.();
216
+ const handleOnFocus = useCallback(event => {
217
+ onFocus?.(event);
218
218
  }, [onFocus]);
219
219
  const removeInputChip = id => {
220
220
  // For multi-select variant only
@@ -184,7 +184,7 @@ export interface ComboboxBaseProps<Multiple extends boolean, FreeInput extends b
184
184
  /**
185
185
  * Callback used when combobox input/textarea is focused
186
186
  */
187
- onFocus?: () => void;
187
+ onFocus?: (event: React.FocusEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
188
188
  /**
189
189
  * aria-label passed to the Combobox clear button. If not provided, the clear button is not shown.
190
190
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@box/blueprint-web",
3
- "version": "7.25.0",
3
+ "version": "7.25.1",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "publishConfig": {
@@ -63,7 +63,7 @@
63
63
  "react-stately": "^3.31.1",
64
64
  "tsx": "^4.16.5"
65
65
  },
66
- "gitHead": "d11ef94c0b6fdc3b2cd69ce5ba09cbf931799c74",
66
+ "gitHead": "fc29f422ebe1e737d1904dbb2e66b2ca192acdf9",
67
67
  "module": "lib-esm/index.js",
68
68
  "main": "lib-esm/index.js",
69
69
  "exports": {