Skip to content

feat: added closedby and focusgroup properties - #6797

Merged
johnjenkins merged 2 commits into
stenciljs:mainfrom
mfranzke:patch-1
Aug 3, 2026
Merged

feat: added closedby and focusgroup properties#6797
johnjenkins merged 2 commits into
stenciljs:mainfrom
mfranzke:patch-1

Conversation

@mfranzke

@mfranzke mfranzke commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

What is the current behavior?

HTMLAttributes is missing focusgroup and DialogHTMLAttributes is missing closedby properties, so this fails type-checking:

<dialog
	
	closedby="any">

What is the new behavior?

Adds closedby?: 'any' | 'closerequest' | 'none'; and focusgroup?: string; in src/declarations/stencil-public-runtime.ts

Documentation

JSX type addition.

more information on these properties / attributes:

Does this introduce a breaking change?

  • Yes
  • No

Testing

npm run build succeeds.

Other information

@mfranzke
mfranzke requested a review from a team as a code owner July 28, 2026 15:12
@mfranzke mfranzke changed the title feat: added closedby and focusgroup HTML attributes feat: added closedby and focusgroup properties Jul 28, 2026
@johnjenkins
johnjenkins added this pull request to the merge queue Aug 3, 2026
Merged via the queue into stenciljs:main with commit 449d7ec Aug 3, 2026
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants