Skip to content

Commit

Permalink
fix(types): move autofocus attr/prop definition to HTMLAttributes (#5727
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jcfranco committed May 14, 2024
1 parent e420eb6 commit 3a33eff
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/declarations/stencil-public-runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,6 @@ export namespace JSXBase {
}

export interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
autoFocus?: boolean;
disabled?: boolean;
form?: string;
formAction?: string;
Expand Down Expand Up @@ -1027,8 +1026,6 @@ export namespace JSXBase {
autocapitalize?: string;
autoComplete?: string;
autocomplete?: string;
autoFocus?: boolean;
autofocus?: boolean | string;
capture?: string; // https://www.w3.org/TR/html-media-capture/#the-capture-attribute
checked?: boolean;
crossOrigin?: string;
Expand Down Expand Up @@ -1088,8 +1085,6 @@ export namespace JSXBase {
}

export interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
autoFocus?: boolean;
autofocus?: boolean | string;
challenge?: string;
disabled?: boolean;
form?: string;
Expand Down Expand Up @@ -1258,7 +1253,6 @@ export namespace JSXBase {
}

export interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
autoFocus?: boolean;
disabled?: boolean;
form?: string;
multiple?: boolean;
Expand Down Expand Up @@ -1297,8 +1291,6 @@ export namespace JSXBase {
export interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
autoComplete?: string;
autocomplete?: string;
autoFocus?: boolean;
autofocus?: boolean | string;
cols?: number;
disabled?: boolean;
form?: string;
Expand Down Expand Up @@ -1360,6 +1352,8 @@ export namespace JSXBase {

// Standard HTML Attributes
accessKey?: string;
autoFocus?: boolean;
autofocus?: boolean | string;
class?: string | { [className: string]: boolean };
contentEditable?: boolean | string;
contenteditable?: boolean | string;
Expand Down

0 comments on commit 3a33eff

Please sign in to comment.