Skip to content

Commit 58b8f1a

Browse files
committed
refactor: make multiline to be singleline
1 parent d0253a0 commit 58b8f1a

File tree

1 file changed

+4
-42
lines changed
  • packages/runtime-dom/src

1 file changed

+4
-42
lines changed

packages/runtime-dom/src/jsx.ts

Lines changed: 4 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -188,17 +188,7 @@ export interface AriaAttributes {
188188
* Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
189189
* @see aria-atomic.
190190
*/
191-
'aria-relevant'?:
192-
| 'additions'
193-
| 'additions removals'
194-
| 'additions text'
195-
| 'all'
196-
| 'removals'
197-
| 'removals additions'
198-
| 'removals text'
199-
| 'text'
200-
| 'text additions'
201-
| 'text removals'
191+
'aria-relevant'?: 'additions' | 'additions removals' | 'additions text' | 'all' | 'removals' | 'removals additions' | 'removals text' | 'text' | 'text additions' | 'text removals'
202192
/** Indicates that user input is required on the element before a form may be submitted. */
203193
'aria-required'?: Booleanish
204194
/** Defines a human-readable, author-localized description for the role of an element. */
@@ -309,15 +299,7 @@ export interface HTMLAttributes extends AriaAttributes, EventHandlers<Events> {
309299
* Hints at the type of data that might be entered by the user while editing the element or its contents
310300
* @see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute
311301
*/
312-
inputmode?:
313-
| 'none'
314-
| 'text'
315-
| 'tel'
316-
| 'url'
317-
| 'email'
318-
| 'numeric'
319-
| 'decimal'
320-
| 'search'
302+
inputmode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search'
321303
/**
322304
* Specify that a standard HTML element should behave like a defined custom built-in element
323305
* @see https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is
@@ -524,14 +506,7 @@ export interface InputHTMLAttributes extends HTMLAttributes {
524506
checked?: Booleanish | any[] | Set<any> // for IDE v-model multi-checkbox support
525507
crossorigin?: string
526508
disabled?: Booleanish
527-
enterKeyHint?:
528-
| 'enter'
529-
| 'done'
530-
| 'go'
531-
| 'next'
532-
| 'previous'
533-
| 'search'
534-
| 'send'
509+
enterKeyHint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'
535510
form?: string
536511
formaction?: string
537512
formenctype?: string
@@ -840,20 +815,7 @@ export interface SVGAttributes extends AriaAttributes, EventHandlers<Events> {
840815
'accent-height'?: Numberish
841816
accumulate?: 'none' | 'sum'
842817
additive?: 'replace' | 'sum'
843-
'alignment-baseline'?:
844-
| 'auto'
845-
| 'baseline'
846-
| 'before-edge'
847-
| 'text-before-edge'
848-
| 'middle'
849-
| 'central'
850-
| 'after-edge'
851-
| 'text-after-edge'
852-
| 'ideographic'
853-
| 'alphabetic'
854-
| 'hanging'
855-
| 'mathematical'
856-
| 'inherit'
818+
'alignment-baseline'?: 'auto' | 'baseline' | 'before-edge' | 'text-before-edge' | 'middle' | 'central' | 'after-edge' | 'text-after-edge' | 'ideographic' | 'alphabetic' | 'hanging' | 'mathematical' | 'inherit'
857819
allowReorder?: 'no' | 'yes'
858820
alphabetic?: Numberish
859821
amplitude?: Numberish

0 commit comments

Comments
 (0)