Skip to content

Commit ee66a45

Browse files
argyleinkdelucis
andauthored
Adds closedby to dialog interface (#12728)
* Adds `closedby` to dialog interface Standards status https://chromestatus.com/feature/5097714453577728 * Add changeset --------- Co-authored-by: Chris Swithinbank <[email protected]>
1 parent 72f30dd commit ee66a45

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/neat-pumas-accept.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"astro": patch
3+
---
4+
5+
Adds type support for the `closedby` attribute for `<dialog>` elements

packages/astro/astro-jsx.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -679,6 +679,7 @@ declare namespace astroHTML.JSX {
679679

680680
interface DialogHTMLAttributes extends HTMLAttributes {
681681
open?: boolean | string | undefined | null;
682+
closedby?: 'none' | 'closerequest' | 'any' | undefined | null;
682683
}
683684

684685
interface EmbedHTMLAttributes extends HTMLAttributes {

0 commit comments

Comments
 (0)