From 72fdafa0cfb45fcc22984d374ff291b09108bc91 Mon Sep 17 00:00:00 2001 From: Kaine <121680374+kaine0923@users.noreply.github.com> Date: Mon, 30 Oct 2023 15:15:17 +0800 Subject: [PATCH] types(runtime-dom): update aria-relevant type (#9043) --- packages/runtime-dom/src/jsx.ts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/packages/runtime-dom/src/jsx.ts b/packages/runtime-dom/src/jsx.ts index 03b84f9e0..776941865 100644 --- a/packages/runtime-dom/src/jsx.ts +++ b/packages/runtime-dom/src/jsx.ts @@ -188,7 +188,17 @@ interface AriaAttributes { * Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. * @see aria-atomic. */ - 'aria-relevant'?: 'additions' | 'additions text' | 'all' | 'removals' | 'text' + 'aria-relevant'?: + | 'additions' + | 'additions removals' + | 'additions text' + | 'all' + | 'removals' + | 'removals additions' + | 'removals text' + | 'text' + | 'text additions' + | 'text removals' /** Indicates that user input is required on the element before a form may be submitted. */ 'aria-required'?: Booleanish /** Defines a human-readable, author-localized description for the role of an element. */