Skip to content

Commit 5f2dd45

Browse files
authoredMay 14, 2024··
fix: add missing attribute popovertargetaction (#11034)
* fix: add missing attribute popovertargetaction * add: changeset
1 parent 461cd42 commit 5f2dd45

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed
 

‎.changeset/witty-cougars-allow.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"astro": patch
3+
---
4+
5+
Add `popovertargetaction` to the attribute that can be passed to the `button` and `input` element

‎packages/astro/astro-jsx.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -649,6 +649,7 @@ declare namespace astroHTML.JSX {
649649
type?: 'submit' | 'reset' | 'button' | undefined | null;
650650
value?: string | string[] | number | undefined | null;
651651
popovertarget?: string | undefined | null;
652+
popovertargetaction?: "hide" | "show" | "toggle" | undefined | null;
652653
}
653654

654655
interface CanvasHTMLAttributes extends HTMLAttributes {
@@ -815,6 +816,7 @@ declare namespace astroHTML.JSX {
815816
value?: string | string[] | number | undefined | null;
816817
width?: number | string | undefined | null;
817818
popovertarget?: string | undefined | null;
819+
popovertargetaction?: "hide" | "show" | "toggle" | undefined | null;
818820
}
819821

820822
interface KeygenHTMLAttributes extends HTMLAttributes {

0 commit comments

Comments
 (0)
Please sign in to comment.