@ -468,6 +468,7 @@ export const ExitZenModeAction = ({
showExitZenModeBtn: boolean;
}) => (
<button
type="button"
className={clsx("disable-zen-mode", {
"disable-zen-mode--visible": showExitZenModeBtn,
})}
@ -28,6 +28,7 @@ export const ButtonIconSelect = <T extends Object>(
{props.options.map((option) =>
props.type === "button" ? (
key={option.text}
onClick={(event) => props.onClick(option.value, event)}
className={clsx({
@ -22,7 +22,12 @@ export const CheckboxItem: React.FC<{
).focus();
}}
>
<button className="Checkbox-box" role="checkbox" aria-checked={checked}>
className="Checkbox-box"
role="checkbox"
aria-checked={checked}
{checkIcon}
</button>
<div className="Checkbox-label">{children}</div>
@ -105,6 +105,7 @@ export const ContextMenu = React.memo(
className={clsx("context-menu-item", {
dangerous: actionName === "deleteSelectedElements",
checkmark: item.checked?.(appState),
@ -123,6 +123,7 @@ export const Dialog = (props: DialogProps) => {
onClick={onClose}
title={t("buttons.close")}
aria-label={t("buttons.close")}
{CloseIcon}
@ -27,7 +27,11 @@ const FollowMode = ({
{userToFollow.username}
</span>
</div>
<button onClick={onDisconnect} className="follow-mode__disconnect-btn">
onClick={onDisconnect}
className="follow-mode__disconnect-btn"
@ -108,6 +108,7 @@ function Picker<T>({
<div className="picker-content" ref={rGallery}>
{options.map((option, i) => (
className={clsx("picker-option", {
active: value === option.value,
@ -171,6 +172,7 @@ export function IconPicker<T>({
<div>
name={group}
className={isActive ? "active" : ""}
aria-label={label}
onClick={() => setActive(!isActive)}
@ -555,6 +555,7 @@ const LayerUI = ({
)}
{appState.scrolledOutside && (
className="scroll-back-to-content"
onClick={() => {
setAppState((appState) => ({
@ -194,6 +194,7 @@ export const MobileMenu = ({
!appState.openMenu &&
!appState.openSidebar && (
@ -65,6 +65,7 @@ const ChartPreviewBtn = (props: {
return (
className="ChartPreview"
if (chartElements) {