Skip to content

Commit

Permalink
fix: add missing attribute popovertargetaction (#11034)
Browse files Browse the repository at this point in the history
* fix: add missing attribute popovertargetaction

* add: changeset
  • Loading branch information
arganaphang authored May 14, 2024
1 parent 461cd42 commit 5f2dd45
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/witty-cougars-allow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"astro": patch
---

Add `popovertargetaction` to the attribute that can be passed to the `button` and `input` element
2 changes: 2 additions & 0 deletions packages/astro/astro-jsx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 5f2dd45

Please sign in to comment.