Downgrade matrix-events-sdk, update yarn.lock, remove stub package (#10262)
* Update yarn.lock, remove stub package, fix peer deps * iterate * Iterate * Resolutions * Apply resolution for @types/react * Fix more types * Fix strict types * Unbreak jest
This commit is contained in:
parent
5a3d9d682f
commit
976345c835
6 changed files with 22 additions and 47 deletions
|
@ -332,6 +332,7 @@ const Tile: React.FC<ITileProps> = ({
|
|||
<li
|
||||
className="mx_SpaceHierarchy_roomTileWrapper"
|
||||
role="treeitem"
|
||||
aria-selected={selected}
|
||||
aria-expanded={children ? showChildren : undefined}
|
||||
>
|
||||
<AccessibleButton
|
||||
|
|
|
@ -233,6 +233,7 @@ const CreateSpaceButton: React.FC<Pick<IInnerSpacePanelProps, "isPanelCollapsed"
|
|||
collapsed: isPanelCollapsed,
|
||||
})}
|
||||
role="treeitem"
|
||||
aria-selected={false}
|
||||
>
|
||||
<SpaceButton
|
||||
data-testid="create-space-button"
|
||||
|
|
|
@ -185,7 +185,7 @@ interface IItemProps extends InputHTMLAttributes<HTMLLIElement> {
|
|||
onExpand?: Function;
|
||||
parents?: Set<string>;
|
||||
innerRef?: LegacyRef<HTMLLIElement>;
|
||||
dragHandleProps?: DraggableProvidedDragHandleProps;
|
||||
dragHandleProps?: DraggableProvidedDragHandleProps | null;
|
||||
}
|
||||
|
||||
interface IItemState {
|
||||
|
|
|
@ -34,6 +34,7 @@ import {
|
|||
import { _t } from "../../../../languageHandler";
|
||||
import DeviceContextMenu from "../../context_menus/DeviceContextMenu";
|
||||
import { MediaDeviceKindEnum } from "../../../../MediaDeviceHandler";
|
||||
import { ButtonEvent } from "../../elements/AccessibleButton";
|
||||
|
||||
// Height of the header duplicated from CSS because we need to subtract it from our max
|
||||
// height to get the max height of the video
|
||||
|
@ -46,7 +47,6 @@ interface IButtonProps extends Omit<React.ComponentProps<typeof AccessibleToolti
|
|||
className: string;
|
||||
onLabel?: string;
|
||||
offLabel?: string;
|
||||
onClick: (event: React.MouseEvent) => void;
|
||||
}
|
||||
|
||||
const LegacyCallViewToggleButton: React.FC<IButtonProps> = ({
|
||||
|
@ -86,7 +86,7 @@ const LegacyCallViewDropdownButton: React.FC<IDropdownButtonProps> = ({ state, d
|
|||
mx_LegacyCallViewButtons_dropdownButton_collapsed: !menuDisplayed,
|
||||
});
|
||||
|
||||
const onClick = (event: React.MouseEvent): void => {
|
||||
const onClick = (event: ButtonEvent): void => {
|
||||
event.stopPropagation();
|
||||
openMenu();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue