From 5f2dd4518e707d37f6f886764ca9b31c0d451fd4 Mon Sep 17 00:00:00 2001 From: Argana Phangquestian <113628066+arganaphang@users.noreply.github.com> Date: Tue, 14 May 2024 15:38:17 +0700 Subject: [PATCH] fix: add missing attribute popovertargetaction (#11034) * fix: add missing attribute popovertargetaction * add: changeset --- .changeset/witty-cougars-allow.md | 5 +++++ packages/astro/astro-jsx.d.ts | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 .changeset/witty-cougars-allow.md diff --git a/.changeset/witty-cougars-allow.md b/.changeset/witty-cougars-allow.md new file mode 100644 index 000000000000..15eaa1d554a3 --- /dev/null +++ b/.changeset/witty-cougars-allow.md @@ -0,0 +1,5 @@ +--- +"astro": patch +--- + +Add `popovertargetaction` to the attribute that can be passed to the `button` and `input` element diff --git a/packages/astro/astro-jsx.d.ts b/packages/astro/astro-jsx.d.ts index 7c2846efc076..acf051af0d92 100644 --- a/packages/astro/astro-jsx.d.ts +++ b/packages/astro/astro-jsx.d.ts @@ -649,6 +649,7 @@ declare namespace astroHTML.JSX { type?: 'submit' | 'reset' | 'button' | undefined | null; value?: string | string[] | number | undefined | null; popovertarget?: string | undefined | null; + popovertargetaction?: "hide" | "show" | "toggle" | undefined | null; } interface CanvasHTMLAttributes extends HTMLAttributes { @@ -815,6 +816,7 @@ declare namespace astroHTML.JSX { value?: string | string[] | number | undefined | null; width?: number | string | undefined | null; popovertarget?: string | undefined | null; + popovertargetaction?: "hide" | "show" | "toggle" | undefined | null; } interface KeygenHTMLAttributes extends HTMLAttributes {