Skip to content
Myr

feat(jsx): add popover api attributes (#3323)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by TOMIKAWA Sotaro · committed by GitHub · parent 12893e2 · Browse files · 1 file+9 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+9 added−1 removed

  • other:+9 added−1 removed

1 file+9 added−1 removed

modified:src/jsx/intrinsic-elements.ts+9 added-1 removed
179 unmodified lines
180 itemtype?: string | undefined181 lang?: string | undefined182 nonce?: string | undefined183 placeholder?: string | undefined184 popover?: string | undefined184 /** @see https://developer.mozilla.org/en-US/docs/Web/API/Popover_API */185 popover?: boolean | 'auto' | 'manual' | undefined186 slot?: string | undefined187 spellcheck?: boolean | undefined188 style?: CSSProperties | string | undefined189 tabindex?: number | undefined
48 unmodified lines
238 interface BlockquoteHTMLAttributes extends HTMLAttributes {239 cite?: string | undefined240 }241242 /** @see https://developer.mozilla.org/en-US/docs/Web/API/Popover_API */243 type HTMLAttributePopoverTargetAction = 'show' | 'hide' | 'toggle'244245 interface ButtonHTMLAttributes extends HTMLAttributes {246 disabled?: boolean | undefined247 form?: string | undefined248 formenctype?: string | undefined
2 unmodified lines
251 formtarget?: HTMLAttributeAnchorTarget | undefined252 name?: string | undefined253 type?: 'submit' | 'reset' | 'button' | undefined254 value?: string | ReadonlyArray<string> | number | undefined255 popovertarget?: string | undefined256 popovertargetaction?: HTMLAttributePopoverTargetAction | undefined257258 // React 19 compatibility259 formAction?: string | Function | undefined260 }
206 unmodified lines
467 step?: number | string | undefined468 type?: HTMLInputTypeAttribute | undefined469 value?: string | ReadonlyArray<string> | number | undefined470 width?: number | string | undefined471 popovertarget?: string | undefined472 popovertargetaction?: HTMLAttributePopoverTargetAction | undefined473474 // React 19 compatibility475 formAction?: string | Function | undefined476 }
438 unmodified lines