@sproutsocial/seeds-react-menu 1.10.6 → 1.10.8

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/dist/index.d.mts CHANGED
@@ -430,7 +430,7 @@ interface TypeMenuSearchInputProps extends TypeInputProps {
430
430
  * @see {@link https://seeds.sproutsocial.com/components/seeds-react-menu/#menuheader MenuHeader}
431
431
  * @see {@link https://seeds.sproutsocial.com/components/seeds-react-menu/#menusearchtokeninput MenuSearchTokenInput}
432
432
  */
433
- declare const MenuSearchInput: ({ getIsItemVisible, inputProps, ...restInputProps }: TypeMenuSearchInputProps) => react_jsx_runtime.JSX.Element;
433
+ declare const MenuSearchInput: ({ getIsItemVisible, inputProps, onChange, ...restInputProps }: TypeMenuSearchInputProps) => react_jsx_runtime.JSX.Element;
434
434
 
435
435
  interface TypeMenuTokenInputProps extends TypeTokenInputProps {
436
436
  /** A function that can be passed to override the default token props */
package/dist/index.d.ts CHANGED
@@ -430,7 +430,7 @@ interface TypeMenuSearchInputProps extends TypeInputProps {
430
430
  * @see {@link https://seeds.sproutsocial.com/components/seeds-react-menu/#menuheader MenuHeader}
431
431
  * @see {@link https://seeds.sproutsocial.com/components/seeds-react-menu/#menusearchtokeninput MenuSearchTokenInput}
432
432
  */
433
- declare const MenuSearchInput: ({ getIsItemVisible, inputProps, ...restInputProps }: TypeMenuSearchInputProps) => react_jsx_runtime.JSX.Element;
433
+ declare const MenuSearchInput: ({ getIsItemVisible, inputProps, onChange, ...restInputProps }: TypeMenuSearchInputProps) => react_jsx_runtime.JSX.Element;
434
434
 
435
435
  interface TypeMenuTokenInputProps extends TypeTokenInputProps {
436
436
  /** A function that can be passed to override the default token props */
package/dist/index.js CHANGED
@@ -1221,6 +1221,7 @@ var import_jsx_runtime13 = require("react/jsx-runtime");
1221
1221
  var MenuSearchInput = ({
1222
1222
  getIsItemVisible,
1223
1223
  inputProps,
1224
+ onChange,
1224
1225
  ...restInputProps
1225
1226
  }) => {
1226
1227
  const {
@@ -1252,6 +1253,7 @@ var MenuSearchInput = ({
1252
1253
  {
1253
1254
  onChange: (e, value) => {
1254
1255
  updateFilteredItems({ inputValue: value });
1256
+ onChange?.(e, value);
1255
1257
  },
1256
1258
  onKeyDown: handleKeyDown,
1257
1259
  autoComplete: false,