Skip to content

Commit

Permalink
chore(deps): bump downshift from 7.6.0 to 8.2.2 (#1055)
Browse files Browse the repository at this point in the history
  • Loading branch information
electron97 authored Oct 9, 2023
1 parent c77ca49 commit 2c64cee
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 46 deletions.
92 changes: 49 additions & 43 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@popperjs/core": "^2.11.8",
"classnames": "^2.3.2",
"copy-to-clipboard": "^3.3.3",
"downshift": "^7.6.0",
"downshift": "^8.2.2",
"react-detect-click-outside": "^1.1.7",
"react-focus-lock": "^2.9.5",
"react-popper": "^2.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/popover/components/PopoverListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export interface PopoverListItemProps extends React.HTMLProps<HTMLDivElement> {
index: number;
listLength: number;
isActive?: boolean;
isSelected?: boolean;
isSelected?: boolean | null;
"data-cy"?: string;
}

Expand Down
4 changes: 3 additions & 1 deletion packages/typeahead/components/Typeahead.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ const Typeahead = ({
delete textFieldProps.onFocus;
delete textFieldProps.onClick;

const [menuWidth, setMenuWidth] = React.useState<number | null>(null);
const [menuWidth, setMenuWidth] = React.useState<number | undefined>(
undefined
);

const containerRef = React.createRef<HTMLDivElement>();

Expand Down

0 comments on commit 2c64cee

Please sign in to comment.