Skip to content

Commit

Permalink
Update dependency @types/react to v18.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
diegohaz committed May 24, 2024
1 parent 9d5fd87 commit ead315d
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion examples/select-menu-default-open/filter-select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as Ariakit from "@ariakit/react";
import * as React from "react";

interface FilterSelectProps
extends Omit<Ariakit.SelectProps, "store" | "onChange"> {
extends Omit<Ariakit.SelectProps, "store" | "onChange" | "onToggle"> {
label: string;
defaultValue?: Ariakit.SelectStoreProps["defaultValue"];
value?: Ariakit.SelectStoreProps["value"];
Expand Down
8 changes: 4 additions & 4 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 @@ -103,7 +103,7 @@
"@types/marked": "5.0.2",
"@types/node": "20.12.12",
"@types/postcss-import": "14.0.3",
"@types/react": "18.3.2",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"@types/stylis": "4.2.6",
"@types/textarea-caret": "3.0.3",
Expand Down
5 changes: 4 additions & 1 deletion website/components/header-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ const HideAllContext = createContext<(() => void) | null>(null);
const HasTitleContext = createContext(false);

export interface HeaderMenuProps
extends Omit<ComponentPropsWithoutRef<"button">, "value" | "onChange"> {
extends Omit<
ComponentPropsWithoutRef<"button">,
"value" | "onChange" | "onToggle"
> {
label?: ReactNode;
open?: boolean;
onToggle?: (open: boolean) => void;
Expand Down
2 changes: 1 addition & 1 deletion website/components/playground-edit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ export const PlaygroundEditButton = forwardRef<
showTimeout={100}
hideTimeout={250}
gutter={0}
popover={tooltip}
popup={tooltip}
render={maybeRenderPlusLink()}
/>
) : (
Expand Down
6 changes: 3 additions & 3 deletions website/components/tooltip-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export interface TooltipButtonProps
timeout?: TooltipProviderProps["timeout"];
showTimeout?: TooltipProviderProps["showTimeout"];
hideTimeout?: TooltipProviderProps["hideTimeout"];
popover?: TooltipProps["render"];
popup?: TooltipProps["render"];
gutter?: TooltipProps["gutter"];
shift?: TooltipProps["shift"];
fixed?: boolean;
Expand All @@ -35,7 +35,7 @@ export const TooltipButton = forwardRef(function TooltipButton({
timeout,
showTimeout,
hideTimeout,
popover,
popup,
gutter,
shift,
fixed,
Expand All @@ -59,7 +59,7 @@ export const TooltipButton = forwardRef(function TooltipButton({
gutter={gutter}
shift={shift}
unmountOnHide
render={popover}
render={popup}
className={twJoin(
"z-50 cursor-default rounded-md px-2 py-1 text-sm",
"drop-shadow-sm dark:drop-shadow-sm-dark",
Expand Down

0 comments on commit ead315d

Please sign in to comment.