Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(types): move autofocus attr/prop definition to HTMLAttributes #5727

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 2 additions & 8 deletions src/declarations/stencil-public-runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,6 @@ export namespace JSXBase {
}

export interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
autoFocus?: boolean;
disabled?: boolean;
form?: string;
formAction?: string;
Expand Down Expand Up @@ -1026,8 +1025,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 @@ -1087,8 +1084,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 @@ -1257,7 +1252,6 @@ export namespace JSXBase {
}

export interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
autoFocus?: boolean;
disabled?: boolean;
form?: string;
multiple?: boolean;
Expand Down Expand Up @@ -1296,8 +1290,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 @@ -1359,6 +1351,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