diff --git a/.changeset/lazy-fireants-clap.md b/.changeset/lazy-fireants-clap.md new file mode 100644 index 0000000000..27d3b11308 --- /dev/null +++ b/.changeset/lazy-fireants-clap.md @@ -0,0 +1,5 @@ +--- +"astro": patch +--- + +Adds `popovertarget" to the attribute that can be passed to the `button` element diff --git a/packages/astro/astro-jsx.d.ts b/packages/astro/astro-jsx.d.ts index f79c5a3654..accd900253 100644 --- a/packages/astro/astro-jsx.d.ts +++ b/packages/astro/astro-jsx.d.ts @@ -647,6 +647,7 @@ declare namespace astroHTML.JSX { name?: string | undefined | null; type?: 'submit' | 'reset' | 'button' | undefined | null; value?: string | string[] | number | undefined | null; + popovertarget?: string | undefined | null; } interface CanvasHTMLAttributes extends HTMLAttributes { @@ -811,6 +812,7 @@ declare namespace astroHTML.JSX { type?: HTMLInputTypeAttribute | undefined | null; value?: string | string[] | number | undefined | null; width?: number | string | undefined | null; + popovertarget?: string | undefined | null; } interface KeygenHTMLAttributes extends HTMLAttributes {