@hypothesis/frontend-shared
Advanced tools
Comparing version 3.8.0 to 3.8.1
@@ -8,2 +8,10 @@ # Changelog | ||
## [v3.8.1] - 2021-09-02 | ||
Change to type declaration generation configuration. | ||
### Changed | ||
- Create types using `tsconfig.json` [#183](https://github.com/hypothesis/frontend-shared/pull/183) | ||
## [v3.8.0] - 2021-09-02 | ||
@@ -10,0 +18,0 @@ |
@@ -6,3 +6,3 @@ /** | ||
*/ | ||
export function IconButton({ className, ...restProps }: IconButtonProps): any; | ||
export function IconButton({ className, ...restProps }: IconButtonProps): import("preact").JSX.Element; | ||
/** | ||
@@ -13,3 +13,3 @@ * A labeled button, with or without an icon | ||
*/ | ||
export function LabeledButton({ children, className, ...restProps }: ButtonBaseProps): any; | ||
export function LabeledButton({ children, className, ...restProps }: ButtonBaseProps): import("preact").JSX.Element; | ||
/** | ||
@@ -20,9 +20,9 @@ * A button styled to appear as an HTML link (<a>) | ||
*/ | ||
export function LinkButton(props: ButtonBaseProps): any; | ||
export function LinkButton(props: ButtonBaseProps): import("preact").JSX.Element; | ||
export type ButtonProps = { | ||
buttonRef?: import('preact').Ref<HTMLButtonElement>; | ||
buttonRef?: import("preact").RefObject<HTMLButtonElement> | import("preact").RefCallback<HTMLButtonElement> | undefined; | ||
/** | ||
* - Name of `SvgIcon` to render in the button | ||
*/ | ||
icon?: string; | ||
icon?: string | undefined; | ||
/** | ||
@@ -32,3 +32,3 @@ * - Icon positioned to left or to | ||
*/ | ||
iconPosition?: 'left' | 'right'; | ||
iconPosition?: "left" | "right" | undefined; | ||
/** | ||
@@ -38,7 +38,7 @@ * - Is the element associated with this button | ||
*/ | ||
expanded?: boolean; | ||
expanded?: boolean | undefined; | ||
/** | ||
* - Use `expanded` prop instead | ||
*/ | ||
"aria-expanded"?: never; | ||
"aria-expanded"?: undefined; | ||
/** | ||
@@ -48,7 +48,7 @@ * - Is this button currently "active?" (set | ||
*/ | ||
pressed?: boolean; | ||
pressed?: boolean | undefined; | ||
/** | ||
* - Use `pressed` prop instead | ||
*/ | ||
"aria-pressed"?: never; | ||
"aria-pressed"?: undefined; | ||
/** | ||
@@ -58,15 +58,15 @@ * - Relative button size: | ||
*/ | ||
size?: 'small' | 'medium' | 'large'; | ||
size?: "small" | "medium" | "large" | undefined; | ||
/** | ||
* - Button title; used for `aria-label` attribute | ||
*/ | ||
title?: string; | ||
title?: string | undefined; | ||
/** | ||
* - Use `title` prop instead | ||
*/ | ||
"aria-label"?: never; | ||
"aria-label"?: undefined; | ||
/** | ||
* - For styling: element variant | ||
*/ | ||
variant?: 'normal' | 'primary' | 'light' | 'dark'; | ||
variant?: "normal" | "primary" | "light" | "dark" | undefined; | ||
}; | ||
@@ -78,318 +78,318 @@ /** | ||
export type HTMLButtonElementProps = { | ||
max?: string | number; | ||
required?: boolean; | ||
default?: boolean; | ||
high?: number; | ||
low?: number; | ||
disabled?: boolean; | ||
start?: number; | ||
open?: boolean; | ||
media?: string; | ||
loading?: "eager" | "lazy"; | ||
hidden?: boolean; | ||
data?: string; | ||
dir?: NotificationDirection; | ||
form?: string; | ||
label?: string; | ||
slot?: string; | ||
span?: number; | ||
style?: string | import("preact").JSX.CSSProperties; | ||
summary?: string; | ||
title?: string; | ||
pattern?: string; | ||
async?: boolean; | ||
readonly?: boolean; | ||
defer?: boolean; | ||
manifest?: string; | ||
content?: string; | ||
height?: string | number; | ||
width?: string | number; | ||
target?: string; | ||
type?: string; | ||
content?: string | undefined; | ||
height?: string | number | undefined; | ||
width?: string | number | undefined; | ||
target?: string | undefined; | ||
type?: string | undefined; | ||
data?: string | undefined; | ||
key?: any; | ||
headers?: string; | ||
name?: string; | ||
className?: string; | ||
class?: string; | ||
accept?: string; | ||
acceptCharset?: string; | ||
accessKey?: string; | ||
action?: string; | ||
allowFullScreen?: boolean; | ||
allowTransparency?: boolean; | ||
alt?: string; | ||
as?: string; | ||
autocomplete?: string; | ||
autoComplete?: string; | ||
autocorrect?: string; | ||
autoCorrect?: string; | ||
autofocus?: boolean; | ||
autoFocus?: boolean; | ||
autoPlay?: boolean; | ||
capture?: string | boolean; | ||
cellPadding?: string | number; | ||
cellSpacing?: string | number; | ||
charSet?: string; | ||
challenge?: string; | ||
checked?: boolean; | ||
cols?: number; | ||
colSpan?: number; | ||
contentEditable?: boolean; | ||
contextMenu?: string; | ||
controls?: boolean; | ||
controlsList?: string; | ||
coords?: string; | ||
crossOrigin?: string; | ||
dateTime?: string; | ||
disableRemotePlayback?: boolean; | ||
form?: string | undefined; | ||
label?: string | undefined; | ||
slot?: string | undefined; | ||
span?: number | undefined; | ||
style?: string | import("preact").JSX.CSSProperties | undefined; | ||
summary?: string | undefined; | ||
title?: string | undefined; | ||
pattern?: string | undefined; | ||
name?: string | undefined; | ||
className?: string | undefined; | ||
dir?: "auto" | "rtl" | "ltr" | undefined; | ||
class?: string | undefined; | ||
accept?: string | undefined; | ||
acceptCharset?: string | undefined; | ||
accessKey?: string | undefined; | ||
action?: string | undefined; | ||
allowFullScreen?: boolean | undefined; | ||
allowTransparency?: boolean | undefined; | ||
alt?: string | undefined; | ||
as?: string | undefined; | ||
async?: boolean | undefined; | ||
autocomplete?: string | undefined; | ||
autoComplete?: string | undefined; | ||
autocorrect?: string | undefined; | ||
autoCorrect?: string | undefined; | ||
autofocus?: boolean | undefined; | ||
autoFocus?: boolean | undefined; | ||
autoPlay?: boolean | undefined; | ||
capture?: string | boolean | undefined; | ||
cellPadding?: string | number | undefined; | ||
cellSpacing?: string | number | undefined; | ||
charSet?: string | undefined; | ||
challenge?: string | undefined; | ||
checked?: boolean | undefined; | ||
cols?: number | undefined; | ||
colSpan?: number | undefined; | ||
contentEditable?: boolean | undefined; | ||
contextMenu?: string | undefined; | ||
controls?: boolean | undefined; | ||
controlsList?: string | undefined; | ||
coords?: string | undefined; | ||
crossOrigin?: string | undefined; | ||
dateTime?: string | undefined; | ||
default?: boolean | undefined; | ||
defer?: boolean | undefined; | ||
disabled?: boolean | undefined; | ||
disableRemotePlayback?: boolean | undefined; | ||
download?: any; | ||
draggable?: boolean; | ||
encType?: string; | ||
formAction?: string; | ||
formEncType?: string; | ||
formMethod?: string; | ||
formNoValidate?: boolean; | ||
formTarget?: string; | ||
frameBorder?: string | number; | ||
href?: string; | ||
hrefLang?: string; | ||
for?: string; | ||
htmlFor?: string; | ||
httpEquiv?: string; | ||
icon?: string; | ||
id?: string; | ||
inputMode?: string; | ||
integrity?: string; | ||
is?: string; | ||
keyParams?: string; | ||
keyType?: string; | ||
kind?: string; | ||
lang?: string; | ||
list?: string; | ||
loop?: boolean; | ||
marginHeight?: number; | ||
marginWidth?: number; | ||
maxLength?: number; | ||
mediaGroup?: string; | ||
method?: string; | ||
min?: string | number; | ||
minLength?: number; | ||
multiple?: boolean; | ||
muted?: boolean; | ||
nonce?: string; | ||
noValidate?: boolean; | ||
optimum?: number; | ||
placeholder?: string; | ||
playsInline?: boolean; | ||
poster?: string; | ||
preload?: string; | ||
radioGroup?: string; | ||
readOnly?: boolean; | ||
rel?: string; | ||
role?: string; | ||
rows?: number; | ||
rowSpan?: number; | ||
sandbox?: string; | ||
scope?: string; | ||
scoped?: boolean; | ||
scrolling?: string; | ||
seamless?: boolean; | ||
selected?: boolean; | ||
shape?: string; | ||
sizes?: string; | ||
spellcheck?: boolean; | ||
src?: string; | ||
srcset?: string; | ||
srcDoc?: string; | ||
srcLang?: string; | ||
srcSet?: string; | ||
step?: string | number; | ||
tabIndex?: number; | ||
useMap?: string; | ||
value?: string | number | string[]; | ||
volume?: string | number; | ||
wmode?: string; | ||
wrap?: string; | ||
about?: string; | ||
datatype?: string; | ||
draggable?: boolean | undefined; | ||
encType?: string | undefined; | ||
formAction?: string | undefined; | ||
formEncType?: string | undefined; | ||
formMethod?: string | undefined; | ||
formNoValidate?: boolean | undefined; | ||
formTarget?: string | undefined; | ||
frameBorder?: string | number | undefined; | ||
headers?: string | undefined; | ||
hidden?: boolean | undefined; | ||
high?: number | undefined; | ||
href?: string | undefined; | ||
hrefLang?: string | undefined; | ||
for?: string | undefined; | ||
htmlFor?: string | undefined; | ||
httpEquiv?: string | undefined; | ||
icon?: string | undefined; | ||
id?: string | undefined; | ||
inputMode?: string | undefined; | ||
integrity?: string | undefined; | ||
is?: string | undefined; | ||
keyParams?: string | undefined; | ||
keyType?: string | undefined; | ||
kind?: string | undefined; | ||
lang?: string | undefined; | ||
list?: string | undefined; | ||
loading?: "eager" | "lazy" | undefined; | ||
loop?: boolean | undefined; | ||
low?: number | undefined; | ||
manifest?: string | undefined; | ||
marginHeight?: number | undefined; | ||
marginWidth?: number | undefined; | ||
max?: string | number | undefined; | ||
maxLength?: number | undefined; | ||
media?: string | undefined; | ||
mediaGroup?: string | undefined; | ||
method?: string | undefined; | ||
min?: string | number | undefined; | ||
minLength?: number | undefined; | ||
multiple?: boolean | undefined; | ||
muted?: boolean | undefined; | ||
nonce?: string | undefined; | ||
noValidate?: boolean | undefined; | ||
open?: boolean | undefined; | ||
optimum?: number | undefined; | ||
placeholder?: string | undefined; | ||
playsInline?: boolean | undefined; | ||
poster?: string | undefined; | ||
preload?: string | undefined; | ||
radioGroup?: string | undefined; | ||
readonly?: boolean | undefined; | ||
readOnly?: boolean | undefined; | ||
rel?: string | undefined; | ||
required?: boolean | undefined; | ||
role?: string | undefined; | ||
rows?: number | undefined; | ||
rowSpan?: number | undefined; | ||
sandbox?: string | undefined; | ||
scope?: string | undefined; | ||
scoped?: boolean | undefined; | ||
scrolling?: string | undefined; | ||
seamless?: boolean | undefined; | ||
selected?: boolean | undefined; | ||
shape?: string | undefined; | ||
sizes?: string | undefined; | ||
spellcheck?: boolean | undefined; | ||
src?: string | undefined; | ||
srcset?: string | undefined; | ||
srcDoc?: string | undefined; | ||
srcLang?: string | undefined; | ||
srcSet?: string | undefined; | ||
start?: number | undefined; | ||
step?: string | number | undefined; | ||
tabIndex?: number | undefined; | ||
useMap?: string | undefined; | ||
value?: string | number | string[] | undefined; | ||
volume?: string | number | undefined; | ||
wmode?: string | undefined; | ||
wrap?: string | undefined; | ||
about?: string | undefined; | ||
datatype?: string | undefined; | ||
inlist?: any; | ||
prefix?: string; | ||
property?: string; | ||
resource?: string; | ||
typeof?: string; | ||
vocab?: string; | ||
itemProp?: string; | ||
itemScope?: boolean; | ||
itemType?: string; | ||
itemID?: string; | ||
itemRef?: string; | ||
ref?: import("preact").Ref<HTMLButtonElement>; | ||
jsx?: boolean; | ||
onLoad?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onLoadCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onError?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onErrorCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onCopy?: import("preact").JSX.ClipboardEventHandler<HTMLButtonElement>; | ||
onCopyCapture?: import("preact").JSX.ClipboardEventHandler<HTMLButtonElement>; | ||
onCut?: import("preact").JSX.ClipboardEventHandler<HTMLButtonElement>; | ||
onCutCapture?: import("preact").JSX.ClipboardEventHandler<HTMLButtonElement>; | ||
onPaste?: import("preact").JSX.ClipboardEventHandler<HTMLButtonElement>; | ||
onPasteCapture?: import("preact").JSX.ClipboardEventHandler<HTMLButtonElement>; | ||
onCompositionEnd?: import("preact").JSX.CompositionEventHandler<HTMLButtonElement>; | ||
onCompositionEndCapture?: import("preact").JSX.CompositionEventHandler<HTMLButtonElement>; | ||
onCompositionStart?: import("preact").JSX.CompositionEventHandler<HTMLButtonElement>; | ||
onCompositionStartCapture?: import("preact").JSX.CompositionEventHandler<HTMLButtonElement>; | ||
onCompositionUpdate?: import("preact").JSX.CompositionEventHandler<HTMLButtonElement>; | ||
onCompositionUpdateCapture?: import("preact").JSX.CompositionEventHandler<HTMLButtonElement>; | ||
onToggle?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onFocus?: import("preact").JSX.FocusEventHandler<HTMLButtonElement>; | ||
onFocusCapture?: import("preact").JSX.FocusEventHandler<HTMLButtonElement>; | ||
onBlur?: import("preact").JSX.FocusEventHandler<HTMLButtonElement>; | ||
onBlurCapture?: import("preact").JSX.FocusEventHandler<HTMLButtonElement>; | ||
onChange?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onChangeCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onInput?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onInputCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onSearch?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onSearchCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onSubmit?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onSubmitCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onInvalid?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onInvalidCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onReset?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onResetCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onFormData?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onFormDataCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onKeyDown?: import("preact").JSX.KeyboardEventHandler<HTMLButtonElement>; | ||
onKeyDownCapture?: import("preact").JSX.KeyboardEventHandler<HTMLButtonElement>; | ||
onKeyPress?: import("preact").JSX.KeyboardEventHandler<HTMLButtonElement>; | ||
onKeyPressCapture?: import("preact").JSX.KeyboardEventHandler<HTMLButtonElement>; | ||
onKeyUp?: import("preact").JSX.KeyboardEventHandler<HTMLButtonElement>; | ||
onKeyUpCapture?: import("preact").JSX.KeyboardEventHandler<HTMLButtonElement>; | ||
onAbort?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onAbortCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onCanPlay?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onCanPlayCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onCanPlayThrough?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onCanPlayThroughCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onDurationChange?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onDurationChangeCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onEmptied?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onEmptiedCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onEncrypted?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onEncryptedCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onEnded?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onEndedCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onLoadedData?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onLoadedDataCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onLoadedMetadata?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onLoadedMetadataCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onLoadStart?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onLoadStartCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onPause?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onPauseCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onPlay?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onPlayCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onPlaying?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onPlayingCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onProgress?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onProgressCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onRateChange?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onRateChangeCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onSeeked?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onSeekedCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onSeeking?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onSeekingCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onStalled?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onStalledCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onSuspend?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onSuspendCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onTimeUpdate?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onTimeUpdateCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onVolumeChange?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onVolumeChangeCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onWaiting?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onWaitingCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onClick?: import("preact").JSX.MouseEventHandler<HTMLButtonElement>; | ||
onClickCapture?: import("preact").JSX.MouseEventHandler<HTMLButtonElement>; | ||
onContextMenu?: import("preact").JSX.MouseEventHandler<HTMLButtonElement>; | ||
onContextMenuCapture?: import("preact").JSX.MouseEventHandler<HTMLButtonElement>; | ||
onDblClick?: import("preact").JSX.MouseEventHandler<HTMLButtonElement>; | ||
onDblClickCapture?: import("preact").JSX.MouseEventHandler<HTMLButtonElement>; | ||
onDrag?: import("preact").JSX.DragEventHandler<HTMLButtonElement>; | ||
onDragCapture?: import("preact").JSX.DragEventHandler<HTMLButtonElement>; | ||
onDragEnd?: import("preact").JSX.DragEventHandler<HTMLButtonElement>; | ||
onDragEndCapture?: import("preact").JSX.DragEventHandler<HTMLButtonElement>; | ||
onDragEnter?: import("preact").JSX.DragEventHandler<HTMLButtonElement>; | ||
onDragEnterCapture?: import("preact").JSX.DragEventHandler<HTMLButtonElement>; | ||
onDragExit?: import("preact").JSX.DragEventHandler<HTMLButtonElement>; | ||
onDragExitCapture?: import("preact").JSX.DragEventHandler<HTMLButtonElement>; | ||
onDragLeave?: import("preact").JSX.DragEventHandler<HTMLButtonElement>; | ||
onDragLeaveCapture?: import("preact").JSX.DragEventHandler<HTMLButtonElement>; | ||
onDragOver?: import("preact").JSX.DragEventHandler<HTMLButtonElement>; | ||
onDragOverCapture?: import("preact").JSX.DragEventHandler<HTMLButtonElement>; | ||
onDragStart?: import("preact").JSX.DragEventHandler<HTMLButtonElement>; | ||
onDragStartCapture?: import("preact").JSX.DragEventHandler<HTMLButtonElement>; | ||
onDrop?: import("preact").JSX.DragEventHandler<HTMLButtonElement>; | ||
onDropCapture?: import("preact").JSX.DragEventHandler<HTMLButtonElement>; | ||
onMouseDown?: import("preact").JSX.MouseEventHandler<HTMLButtonElement>; | ||
onMouseDownCapture?: import("preact").JSX.MouseEventHandler<HTMLButtonElement>; | ||
onMouseEnter?: import("preact").JSX.MouseEventHandler<HTMLButtonElement>; | ||
onMouseEnterCapture?: import("preact").JSX.MouseEventHandler<HTMLButtonElement>; | ||
onMouseLeave?: import("preact").JSX.MouseEventHandler<HTMLButtonElement>; | ||
onMouseLeaveCapture?: import("preact").JSX.MouseEventHandler<HTMLButtonElement>; | ||
onMouseMove?: import("preact").JSX.MouseEventHandler<HTMLButtonElement>; | ||
onMouseMoveCapture?: import("preact").JSX.MouseEventHandler<HTMLButtonElement>; | ||
onMouseOut?: import("preact").JSX.MouseEventHandler<HTMLButtonElement>; | ||
onMouseOutCapture?: import("preact").JSX.MouseEventHandler<HTMLButtonElement>; | ||
onMouseOver?: import("preact").JSX.MouseEventHandler<HTMLButtonElement>; | ||
onMouseOverCapture?: import("preact").JSX.MouseEventHandler<HTMLButtonElement>; | ||
onMouseUp?: import("preact").JSX.MouseEventHandler<HTMLButtonElement>; | ||
onMouseUpCapture?: import("preact").JSX.MouseEventHandler<HTMLButtonElement>; | ||
onSelect?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onSelectCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement>; | ||
onTouchCancel?: import("preact").JSX.TouchEventHandler<HTMLButtonElement>; | ||
onTouchCancelCapture?: import("preact").JSX.TouchEventHandler<HTMLButtonElement>; | ||
onTouchEnd?: import("preact").JSX.TouchEventHandler<HTMLButtonElement>; | ||
onTouchEndCapture?: import("preact").JSX.TouchEventHandler<HTMLButtonElement>; | ||
onTouchMove?: import("preact").JSX.TouchEventHandler<HTMLButtonElement>; | ||
onTouchMoveCapture?: import("preact").JSX.TouchEventHandler<HTMLButtonElement>; | ||
onTouchStart?: import("preact").JSX.TouchEventHandler<HTMLButtonElement>; | ||
onTouchStartCapture?: import("preact").JSX.TouchEventHandler<HTMLButtonElement>; | ||
onPointerOver?: import("preact").JSX.PointerEventHandler<HTMLButtonElement>; | ||
onPointerOverCapture?: import("preact").JSX.PointerEventHandler<HTMLButtonElement>; | ||
onPointerEnter?: import("preact").JSX.PointerEventHandler<HTMLButtonElement>; | ||
onPointerEnterCapture?: import("preact").JSX.PointerEventHandler<HTMLButtonElement>; | ||
onPointerDown?: import("preact").JSX.PointerEventHandler<HTMLButtonElement>; | ||
onPointerDownCapture?: import("preact").JSX.PointerEventHandler<HTMLButtonElement>; | ||
onPointerMove?: import("preact").JSX.PointerEventHandler<HTMLButtonElement>; | ||
onPointerMoveCapture?: import("preact").JSX.PointerEventHandler<HTMLButtonElement>; | ||
onPointerUp?: import("preact").JSX.PointerEventHandler<HTMLButtonElement>; | ||
onPointerUpCapture?: import("preact").JSX.PointerEventHandler<HTMLButtonElement>; | ||
onPointerCancel?: import("preact").JSX.PointerEventHandler<HTMLButtonElement>; | ||
onPointerCancelCapture?: import("preact").JSX.PointerEventHandler<HTMLButtonElement>; | ||
onPointerOut?: import("preact").JSX.PointerEventHandler<HTMLButtonElement>; | ||
onPointerOutCapture?: import("preact").JSX.PointerEventHandler<HTMLButtonElement>; | ||
onPointerLeave?: import("preact").JSX.PointerEventHandler<HTMLButtonElement>; | ||
onPointerLeaveCapture?: import("preact").JSX.PointerEventHandler<HTMLButtonElement>; | ||
onGotPointerCapture?: import("preact").JSX.PointerEventHandler<HTMLButtonElement>; | ||
onGotPointerCaptureCapture?: import("preact").JSX.PointerEventHandler<HTMLButtonElement>; | ||
onLostPointerCapture?: import("preact").JSX.PointerEventHandler<HTMLButtonElement>; | ||
onLostPointerCaptureCapture?: import("preact").JSX.PointerEventHandler<HTMLButtonElement>; | ||
onScroll?: import("preact").JSX.UIEventHandler<HTMLButtonElement>; | ||
onScrollCapture?: import("preact").JSX.UIEventHandler<HTMLButtonElement>; | ||
onWheel?: import("preact").JSX.WheelEventHandler<HTMLButtonElement>; | ||
onWheelCapture?: import("preact").JSX.WheelEventHandler<HTMLButtonElement>; | ||
onAnimationStart?: import("preact").JSX.AnimationEventHandler<HTMLButtonElement>; | ||
onAnimationStartCapture?: import("preact").JSX.AnimationEventHandler<HTMLButtonElement>; | ||
onAnimationEnd?: import("preact").JSX.AnimationEventHandler<HTMLButtonElement>; | ||
onAnimationEndCapture?: import("preact").JSX.AnimationEventHandler<HTMLButtonElement>; | ||
onAnimationIteration?: import("preact").JSX.AnimationEventHandler<HTMLButtonElement>; | ||
onAnimationIterationCapture?: import("preact").JSX.AnimationEventHandler<HTMLButtonElement>; | ||
onTransitionEnd?: import("preact").JSX.TransitionEventHandler<HTMLButtonElement>; | ||
onTransitionEndCapture?: import("preact").JSX.TransitionEventHandler<HTMLButtonElement>; | ||
prefix?: string | undefined; | ||
property?: string | undefined; | ||
resource?: string | undefined; | ||
typeof?: string | undefined; | ||
vocab?: string | undefined; | ||
itemProp?: string | undefined; | ||
itemScope?: boolean | undefined; | ||
itemType?: string | undefined; | ||
itemID?: string | undefined; | ||
itemRef?: string | undefined; | ||
ref?: import("preact").RefObject<HTMLButtonElement> | import("preact").RefCallback<HTMLButtonElement> | undefined; | ||
jsx?: boolean | undefined; | ||
onLoad?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onLoadCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onError?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onErrorCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onCopy?: import("preact").JSX.ClipboardEventHandler<HTMLButtonElement> | undefined; | ||
onCopyCapture?: import("preact").JSX.ClipboardEventHandler<HTMLButtonElement> | undefined; | ||
onCut?: import("preact").JSX.ClipboardEventHandler<HTMLButtonElement> | undefined; | ||
onCutCapture?: import("preact").JSX.ClipboardEventHandler<HTMLButtonElement> | undefined; | ||
onPaste?: import("preact").JSX.ClipboardEventHandler<HTMLButtonElement> | undefined; | ||
onPasteCapture?: import("preact").JSX.ClipboardEventHandler<HTMLButtonElement> | undefined; | ||
onCompositionEnd?: import("preact").JSX.CompositionEventHandler<HTMLButtonElement> | undefined; | ||
onCompositionEndCapture?: import("preact").JSX.CompositionEventHandler<HTMLButtonElement> | undefined; | ||
onCompositionStart?: import("preact").JSX.CompositionEventHandler<HTMLButtonElement> | undefined; | ||
onCompositionStartCapture?: import("preact").JSX.CompositionEventHandler<HTMLButtonElement> | undefined; | ||
onCompositionUpdate?: import("preact").JSX.CompositionEventHandler<HTMLButtonElement> | undefined; | ||
onCompositionUpdateCapture?: import("preact").JSX.CompositionEventHandler<HTMLButtonElement> | undefined; | ||
onToggle?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onFocus?: import("preact").JSX.FocusEventHandler<HTMLButtonElement> | undefined; | ||
onFocusCapture?: import("preact").JSX.FocusEventHandler<HTMLButtonElement> | undefined; | ||
onBlur?: import("preact").JSX.FocusEventHandler<HTMLButtonElement> | undefined; | ||
onBlurCapture?: import("preact").JSX.FocusEventHandler<HTMLButtonElement> | undefined; | ||
onChange?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onChangeCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onInput?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onInputCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onSearch?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onSearchCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onSubmit?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onSubmitCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onInvalid?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onInvalidCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onReset?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onResetCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onFormData?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onFormDataCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onKeyDown?: import("preact").JSX.KeyboardEventHandler<HTMLButtonElement> | undefined; | ||
onKeyDownCapture?: import("preact").JSX.KeyboardEventHandler<HTMLButtonElement> | undefined; | ||
onKeyPress?: import("preact").JSX.KeyboardEventHandler<HTMLButtonElement> | undefined; | ||
onKeyPressCapture?: import("preact").JSX.KeyboardEventHandler<HTMLButtonElement> | undefined; | ||
onKeyUp?: import("preact").JSX.KeyboardEventHandler<HTMLButtonElement> | undefined; | ||
onKeyUpCapture?: import("preact").JSX.KeyboardEventHandler<HTMLButtonElement> | undefined; | ||
onAbort?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onAbortCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onCanPlay?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onCanPlayCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onCanPlayThrough?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onCanPlayThroughCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onDurationChange?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onDurationChangeCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onEmptied?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onEmptiedCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onEncrypted?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onEncryptedCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onEnded?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onEndedCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onLoadedData?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onLoadedDataCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onLoadedMetadata?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onLoadedMetadataCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onLoadStart?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onLoadStartCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onPause?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onPauseCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onPlay?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onPlayCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onPlaying?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onPlayingCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onProgress?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onProgressCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onRateChange?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onRateChangeCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onSeeked?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onSeekedCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onSeeking?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onSeekingCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onStalled?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onStalledCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onSuspend?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onSuspendCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onTimeUpdate?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onTimeUpdateCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onVolumeChange?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onVolumeChangeCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onWaiting?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onWaitingCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onClick?: import("preact").JSX.MouseEventHandler<HTMLButtonElement> | undefined; | ||
onClickCapture?: import("preact").JSX.MouseEventHandler<HTMLButtonElement> | undefined; | ||
onContextMenu?: import("preact").JSX.MouseEventHandler<HTMLButtonElement> | undefined; | ||
onContextMenuCapture?: import("preact").JSX.MouseEventHandler<HTMLButtonElement> | undefined; | ||
onDblClick?: import("preact").JSX.MouseEventHandler<HTMLButtonElement> | undefined; | ||
onDblClickCapture?: import("preact").JSX.MouseEventHandler<HTMLButtonElement> | undefined; | ||
onDrag?: import("preact").JSX.DragEventHandler<HTMLButtonElement> | undefined; | ||
onDragCapture?: import("preact").JSX.DragEventHandler<HTMLButtonElement> | undefined; | ||
onDragEnd?: import("preact").JSX.DragEventHandler<HTMLButtonElement> | undefined; | ||
onDragEndCapture?: import("preact").JSX.DragEventHandler<HTMLButtonElement> | undefined; | ||
onDragEnter?: import("preact").JSX.DragEventHandler<HTMLButtonElement> | undefined; | ||
onDragEnterCapture?: import("preact").JSX.DragEventHandler<HTMLButtonElement> | undefined; | ||
onDragExit?: import("preact").JSX.DragEventHandler<HTMLButtonElement> | undefined; | ||
onDragExitCapture?: import("preact").JSX.DragEventHandler<HTMLButtonElement> | undefined; | ||
onDragLeave?: import("preact").JSX.DragEventHandler<HTMLButtonElement> | undefined; | ||
onDragLeaveCapture?: import("preact").JSX.DragEventHandler<HTMLButtonElement> | undefined; | ||
onDragOver?: import("preact").JSX.DragEventHandler<HTMLButtonElement> | undefined; | ||
onDragOverCapture?: import("preact").JSX.DragEventHandler<HTMLButtonElement> | undefined; | ||
onDragStart?: import("preact").JSX.DragEventHandler<HTMLButtonElement> | undefined; | ||
onDragStartCapture?: import("preact").JSX.DragEventHandler<HTMLButtonElement> | undefined; | ||
onDrop?: import("preact").JSX.DragEventHandler<HTMLButtonElement> | undefined; | ||
onDropCapture?: import("preact").JSX.DragEventHandler<HTMLButtonElement> | undefined; | ||
onMouseDown?: import("preact").JSX.MouseEventHandler<HTMLButtonElement> | undefined; | ||
onMouseDownCapture?: import("preact").JSX.MouseEventHandler<HTMLButtonElement> | undefined; | ||
onMouseEnter?: import("preact").JSX.MouseEventHandler<HTMLButtonElement> | undefined; | ||
onMouseEnterCapture?: import("preact").JSX.MouseEventHandler<HTMLButtonElement> | undefined; | ||
onMouseLeave?: import("preact").JSX.MouseEventHandler<HTMLButtonElement> | undefined; | ||
onMouseLeaveCapture?: import("preact").JSX.MouseEventHandler<HTMLButtonElement> | undefined; | ||
onMouseMove?: import("preact").JSX.MouseEventHandler<HTMLButtonElement> | undefined; | ||
onMouseMoveCapture?: import("preact").JSX.MouseEventHandler<HTMLButtonElement> | undefined; | ||
onMouseOut?: import("preact").JSX.MouseEventHandler<HTMLButtonElement> | undefined; | ||
onMouseOutCapture?: import("preact").JSX.MouseEventHandler<HTMLButtonElement> | undefined; | ||
onMouseOver?: import("preact").JSX.MouseEventHandler<HTMLButtonElement> | undefined; | ||
onMouseOverCapture?: import("preact").JSX.MouseEventHandler<HTMLButtonElement> | undefined; | ||
onMouseUp?: import("preact").JSX.MouseEventHandler<HTMLButtonElement> | undefined; | ||
onMouseUpCapture?: import("preact").JSX.MouseEventHandler<HTMLButtonElement> | undefined; | ||
onSelect?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onSelectCapture?: import("preact").JSX.GenericEventHandler<HTMLButtonElement> | undefined; | ||
onTouchCancel?: import("preact").JSX.TouchEventHandler<HTMLButtonElement> | undefined; | ||
onTouchCancelCapture?: import("preact").JSX.TouchEventHandler<HTMLButtonElement> | undefined; | ||
onTouchEnd?: import("preact").JSX.TouchEventHandler<HTMLButtonElement> | undefined; | ||
onTouchEndCapture?: import("preact").JSX.TouchEventHandler<HTMLButtonElement> | undefined; | ||
onTouchMove?: import("preact").JSX.TouchEventHandler<HTMLButtonElement> | undefined; | ||
onTouchMoveCapture?: import("preact").JSX.TouchEventHandler<HTMLButtonElement> | undefined; | ||
onTouchStart?: import("preact").JSX.TouchEventHandler<HTMLButtonElement> | undefined; | ||
onTouchStartCapture?: import("preact").JSX.TouchEventHandler<HTMLButtonElement> | undefined; | ||
onPointerOver?: import("preact").JSX.PointerEventHandler<HTMLButtonElement> | undefined; | ||
onPointerOverCapture?: import("preact").JSX.PointerEventHandler<HTMLButtonElement> | undefined; | ||
onPointerEnter?: import("preact").JSX.PointerEventHandler<HTMLButtonElement> | undefined; | ||
onPointerEnterCapture?: import("preact").JSX.PointerEventHandler<HTMLButtonElement> | undefined; | ||
onPointerDown?: import("preact").JSX.PointerEventHandler<HTMLButtonElement> | undefined; | ||
onPointerDownCapture?: import("preact").JSX.PointerEventHandler<HTMLButtonElement> | undefined; | ||
onPointerMove?: import("preact").JSX.PointerEventHandler<HTMLButtonElement> | undefined; | ||
onPointerMoveCapture?: import("preact").JSX.PointerEventHandler<HTMLButtonElement> | undefined; | ||
onPointerUp?: import("preact").JSX.PointerEventHandler<HTMLButtonElement> | undefined; | ||
onPointerUpCapture?: import("preact").JSX.PointerEventHandler<HTMLButtonElement> | undefined; | ||
onPointerCancel?: import("preact").JSX.PointerEventHandler<HTMLButtonElement> | undefined; | ||
onPointerCancelCapture?: import("preact").JSX.PointerEventHandler<HTMLButtonElement> | undefined; | ||
onPointerOut?: import("preact").JSX.PointerEventHandler<HTMLButtonElement> | undefined; | ||
onPointerOutCapture?: import("preact").JSX.PointerEventHandler<HTMLButtonElement> | undefined; | ||
onPointerLeave?: import("preact").JSX.PointerEventHandler<HTMLButtonElement> | undefined; | ||
onPointerLeaveCapture?: import("preact").JSX.PointerEventHandler<HTMLButtonElement> | undefined; | ||
onGotPointerCapture?: import("preact").JSX.PointerEventHandler<HTMLButtonElement> | undefined; | ||
onGotPointerCaptureCapture?: import("preact").JSX.PointerEventHandler<HTMLButtonElement> | undefined; | ||
onLostPointerCapture?: import("preact").JSX.PointerEventHandler<HTMLButtonElement> | undefined; | ||
onLostPointerCaptureCapture?: import("preact").JSX.PointerEventHandler<HTMLButtonElement> | undefined; | ||
onScroll?: import("preact").JSX.UIEventHandler<HTMLButtonElement> | undefined; | ||
onScrollCapture?: import("preact").JSX.UIEventHandler<HTMLButtonElement> | undefined; | ||
onWheel?: import("preact").JSX.WheelEventHandler<HTMLButtonElement> | undefined; | ||
onWheelCapture?: import("preact").JSX.WheelEventHandler<HTMLButtonElement> | undefined; | ||
onAnimationStart?: import("preact").JSX.AnimationEventHandler<HTMLButtonElement> | undefined; | ||
onAnimationStartCapture?: import("preact").JSX.AnimationEventHandler<HTMLButtonElement> | undefined; | ||
onAnimationEnd?: import("preact").JSX.AnimationEventHandler<HTMLButtonElement> | undefined; | ||
onAnimationEndCapture?: import("preact").JSX.AnimationEventHandler<HTMLButtonElement> | undefined; | ||
onAnimationIteration?: import("preact").JSX.AnimationEventHandler<HTMLButtonElement> | undefined; | ||
onAnimationIterationCapture?: import("preact").JSX.AnimationEventHandler<HTMLButtonElement> | undefined; | ||
onTransitionEnd?: import("preact").JSX.TransitionEventHandler<HTMLButtonElement> | undefined; | ||
onTransitionEndCapture?: import("preact").JSX.TransitionEventHandler<HTMLButtonElement> | undefined; | ||
children?: import("preact").ComponentChildren; | ||
dangerouslySetInnerHTML?: { | ||
__html: string; | ||
}; | ||
} | undefined; | ||
}; | ||
@@ -400,3 +400,3 @@ /** | ||
*/ | ||
export type ButtonBaseProps = ButtonProps & Pick<import("preact").JSX.HTMLAttributes<HTMLButtonElement>, "max" | "required" | "default" | "high" | "low" | "disabled" | "start" | "open" | "media" | "loading" | "hidden" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "async" | "readonly" | "defer" | "manifest" | "content" | "height" | "width" | "target" | "type" | "key" | "headers" | "name" | "className" | "class" | "accept" | "acceptCharset" | "accessKey" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "autocomplete" | "autoComplete" | "autocorrect" | "autoCorrect" | "autofocus" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cols" | "colSpan" | "contentEditable" | "contextMenu" | "controls" | "controlsList" | "coords" | "crossOrigin" | "dateTime" | "disableRemotePlayback" | "download" | "draggable" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "href" | "hrefLang" | "for" | "htmlFor" | "httpEquiv" | "icon" | "id" | "inputMode" | "integrity" | "is" | "keyParams" | "keyType" | "kind" | "lang" | "list" | "loop" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "radioGroup" | "readOnly" | "rel" | "role" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "spellcheck" | "src" | "srcset" | "srcDoc" | "srcLang" | "srcSet" | "step" | "tabIndex" | "useMap" | "value" | "volume" | "wmode" | "wrap" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "ref" | "jsx" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onToggle" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onSearch" | "onSearchCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onReset" | "onResetCapture" | "onFormData" | "onFormDataCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDblClick" | "onDblClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseEnterCapture" | "onMouseLeave" | "onMouseLeaveCapture" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerOut" | "onPointerOutCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "children" | "dangerouslySetInnerHTML">; | ||
export type ButtonBaseProps = ButtonProps & Pick<import("preact").JSX.HTMLAttributes<HTMLButtonElement>, "content" | "height" | "width" | "target" | "type" | "data" | "key" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "name" | "className" | "dir" | "class" | "accept" | "acceptCharset" | "accessKey" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autocomplete" | "autoComplete" | "autocorrect" | "autoCorrect" | "autofocus" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cols" | "colSpan" | "contentEditable" | "contextMenu" | "controls" | "controlsList" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "disableRemotePlayback" | "download" | "draggable" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "hidden" | "high" | "href" | "hrefLang" | "for" | "htmlFor" | "httpEquiv" | "icon" | "id" | "inputMode" | "integrity" | "is" | "keyParams" | "keyType" | "kind" | "lang" | "list" | "loading" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "open" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "radioGroup" | "readonly" | "readOnly" | "rel" | "required" | "role" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "spellcheck" | "src" | "srcset" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "tabIndex" | "useMap" | "value" | "volume" | "wmode" | "wrap" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "ref" | "jsx" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onToggle" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onSearch" | "onSearchCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onReset" | "onResetCapture" | "onFormData" | "onFormDataCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDblClick" | "onDblClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseEnterCapture" | "onMouseLeave" | "onMouseLeaveCapture" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerOut" | "onPointerOutCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "children" | "dangerouslySetInnerHTML">; | ||
export type IconButtonBaseProps = { | ||
@@ -414,4 +414,4 @@ /** | ||
*/ | ||
children?: never; | ||
children?: undefined; | ||
}; | ||
export type IconButtonProps = ButtonProps & Pick<import("preact").JSX.HTMLAttributes<HTMLButtonElement>, "max" | "required" | "default" | "high" | "low" | "disabled" | "start" | "open" | "media" | "loading" | "hidden" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "async" | "readonly" | "defer" | "manifest" | "content" | "height" | "width" | "target" | "type" | "key" | "headers" | "name" | "className" | "class" | "accept" | "acceptCharset" | "accessKey" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "autocomplete" | "autoComplete" | "autocorrect" | "autoCorrect" | "autofocus" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cols" | "colSpan" | "contentEditable" | "contextMenu" | "controls" | "controlsList" | "coords" | "crossOrigin" | "dateTime" | "disableRemotePlayback" | "download" | "draggable" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "href" | "hrefLang" | "for" | "htmlFor" | "httpEquiv" | "icon" | "id" | "inputMode" | "integrity" | "is" | "keyParams" | "keyType" | "kind" | "lang" | "list" | "loop" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "radioGroup" | "readOnly" | "rel" | "role" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "spellcheck" | "src" | "srcset" | "srcDoc" | "srcLang" | "srcSet" | "step" | "tabIndex" | "useMap" | "value" | "volume" | "wmode" | "wrap" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "ref" | "jsx" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onToggle" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onSearch" | "onSearchCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onReset" | "onResetCapture" | "onFormData" | "onFormDataCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDblClick" | "onDblClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseEnterCapture" | "onMouseLeave" | "onMouseLeaveCapture" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerOut" | "onPointerOutCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "children" | "dangerouslySetInnerHTML"> & IconButtonBaseProps; | ||
export type IconButtonProps = ButtonProps & Pick<import("preact").JSX.HTMLAttributes<HTMLButtonElement>, "content" | "height" | "width" | "target" | "type" | "data" | "key" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "name" | "className" | "dir" | "class" | "accept" | "acceptCharset" | "accessKey" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autocomplete" | "autoComplete" | "autocorrect" | "autoCorrect" | "autofocus" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cols" | "colSpan" | "contentEditable" | "contextMenu" | "controls" | "controlsList" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "disableRemotePlayback" | "download" | "draggable" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "hidden" | "high" | "href" | "hrefLang" | "for" | "htmlFor" | "httpEquiv" | "icon" | "id" | "inputMode" | "integrity" | "is" | "keyParams" | "keyType" | "kind" | "lang" | "list" | "loading" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "open" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "radioGroup" | "readonly" | "readOnly" | "rel" | "required" | "role" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "spellcheck" | "src" | "srcset" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "tabIndex" | "useMap" | "value" | "volume" | "wmode" | "wrap" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "ref" | "jsx" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onToggle" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onSearch" | "onSearchCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onReset" | "onResetCapture" | "onFormData" | "onFormDataCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDblClick" | "onDblClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseEnterCapture" | "onMouseLeave" | "onMouseLeaveCapture" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerOut" | "onPointerOutCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "children" | "dangerouslySetInnerHTML"> & IconButtonBaseProps; |
@@ -30,3 +30,3 @@ /** | ||
*/ | ||
export function Checkbox({ inputRef, onToggle, onClick, ...restProps }: CheckboxProps): any; | ||
export function Checkbox({ inputRef, onToggle, onClick, ...restProps }: CheckboxProps): import("preact").JSX.Element; | ||
/** | ||
@@ -37,3 +37,3 @@ * A labeled checkbox input | ||
*/ | ||
export function LabeledCheckbox({ children, id, ...restProps }: LabeledCheckboxProps): any; | ||
export function LabeledCheckbox({ children, id, ...restProps }: LabeledCheckboxProps): import("preact").JSX.Element; | ||
export type CheckboxBaseProps = { | ||
@@ -48,3 +48,3 @@ /** | ||
*/ | ||
inputRef?: import('preact').Ref<HTMLInputElement>; | ||
inputRef?: import("preact").RefObject<HTMLInputElement> | import("preact").RefCallback<HTMLInputElement> | undefined; | ||
/** | ||
@@ -54,7 +54,7 @@ * - Callback when checkbox is | ||
*/ | ||
onToggle?: (checked: boolean) => void; | ||
onToggle?: ((checked: boolean) => void) | undefined; | ||
/** | ||
* - Type is always 'checkbox' | ||
*/ | ||
type?: never; | ||
type?: undefined; | ||
/** | ||
@@ -67,5 +67,5 @@ * - Children are not allowed | ||
*/ | ||
children?: never; | ||
children?: undefined; | ||
}; | ||
export type CheckboxProps = Pick<import("preact").JSX.HTMLAttributes<HTMLInputElement>, "max" | "required" | "default" | "high" | "low" | "disabled" | "start" | "open" | "media" | "loading" | "hidden" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "async" | "readonly" | "defer" | "manifest" | "content" | "height" | "width" | "target" | "type" | "key" | "headers" | "name" | "className" | "class" | "size" | "accept" | "acceptCharset" | "accessKey" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "autocomplete" | "autoComplete" | "autocorrect" | "autoCorrect" | "autofocus" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cols" | "colSpan" | "contentEditable" | "contextMenu" | "controls" | "controlsList" | "coords" | "crossOrigin" | "dateTime" | "disableRemotePlayback" | "download" | "draggable" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "href" | "hrefLang" | "for" | "htmlFor" | "httpEquiv" | "icon" | "id" | "inputMode" | "integrity" | "is" | "keyParams" | "keyType" | "kind" | "lang" | "list" | "loop" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "radioGroup" | "readOnly" | "rel" | "role" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "spellcheck" | "src" | "srcset" | "srcDoc" | "srcLang" | "srcSet" | "step" | "tabIndex" | "useMap" | "value" | "volume" | "wmode" | "wrap" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "ref" | "jsx" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onSearch" | "onSearchCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onReset" | "onResetCapture" | "onFormData" | "onFormDataCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDblClick" | "onDblClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseEnterCapture" | "onMouseLeave" | "onMouseLeaveCapture" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerOut" | "onPointerOutCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "children" | "dangerouslySetInnerHTML"> & CheckboxBaseProps; | ||
export type CheckboxProps = Pick<import("preact").JSX.HTMLAttributes<HTMLInputElement>, "content" | "height" | "width" | "target" | "type" | "data" | "key" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "name" | "className" | "dir" | "class" | "size" | "accept" | "acceptCharset" | "accessKey" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autocomplete" | "autoComplete" | "autocorrect" | "autoCorrect" | "autofocus" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cols" | "colSpan" | "contentEditable" | "contextMenu" | "controls" | "controlsList" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "disableRemotePlayback" | "download" | "draggable" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "hidden" | "high" | "href" | "hrefLang" | "for" | "htmlFor" | "httpEquiv" | "icon" | "id" | "inputMode" | "integrity" | "is" | "keyParams" | "keyType" | "kind" | "lang" | "list" | "loading" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "open" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "radioGroup" | "readonly" | "readOnly" | "rel" | "required" | "role" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "spellcheck" | "src" | "srcset" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "tabIndex" | "useMap" | "value" | "volume" | "wmode" | "wrap" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "ref" | "jsx" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onSearch" | "onSearchCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onReset" | "onResetCapture" | "onFormData" | "onFormDataCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDblClick" | "onDblClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseEnterCapture" | "onMouseLeave" | "onMouseLeaveCapture" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerOut" | "onPointerOutCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "children" | "dangerouslySetInnerHTML"> & CheckboxBaseProps; | ||
export type LabeledCheckboxBaseProps = { | ||
@@ -77,2 +77,2 @@ /** | ||
}; | ||
export type LabeledCheckboxProps = Pick<CheckboxProps, "max" | "required" | "default" | "high" | "low" | "disabled" | "start" | "open" | "media" | "loading" | "hidden" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "async" | "readonly" | "defer" | "manifest" | "content" | "height" | "width" | "target" | "type" | "key" | "headers" | "name" | "className" | "class" | "size" | "accept" | "acceptCharset" | "accessKey" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "autocomplete" | "autoComplete" | "autocorrect" | "autoCorrect" | "autofocus" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cols" | "colSpan" | "contentEditable" | "contextMenu" | "controls" | "controlsList" | "coords" | "crossOrigin" | "dateTime" | "disableRemotePlayback" | "download" | "draggable" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "href" | "hrefLang" | "for" | "htmlFor" | "httpEquiv" | "icon" | "id" | "inputMode" | "integrity" | "is" | "keyParams" | "keyType" | "kind" | "lang" | "list" | "loop" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "radioGroup" | "readOnly" | "rel" | "role" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "spellcheck" | "src" | "srcset" | "srcDoc" | "srcLang" | "srcSet" | "step" | "tabIndex" | "useMap" | "value" | "volume" | "wmode" | "wrap" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "ref" | "jsx" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onToggle" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onSearch" | "onSearchCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onReset" | "onResetCapture" | "onFormData" | "onFormDataCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDblClick" | "onDblClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseEnterCapture" | "onMouseLeave" | "onMouseLeaveCapture" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerOut" | "onPointerOutCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "dangerouslySetInnerHTML" | "inputRef"> & LabeledCheckboxBaseProps; | ||
export type LabeledCheckboxProps = Pick<CheckboxProps, "content" | "height" | "width" | "target" | "type" | "data" | "key" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "name" | "className" | "dir" | "class" | "size" | "accept" | "acceptCharset" | "accessKey" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autocomplete" | "autoComplete" | "autocorrect" | "autoCorrect" | "autofocus" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cols" | "colSpan" | "contentEditable" | "contextMenu" | "controls" | "controlsList" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "disableRemotePlayback" | "download" | "draggable" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "hidden" | "high" | "href" | "hrefLang" | "for" | "htmlFor" | "httpEquiv" | "icon" | "id" | "inputMode" | "integrity" | "is" | "keyParams" | "keyType" | "kind" | "lang" | "list" | "loading" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "open" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "radioGroup" | "readonly" | "readOnly" | "rel" | "required" | "role" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "spellcheck" | "src" | "srcset" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "tabIndex" | "useMap" | "value" | "volume" | "wmode" | "wrap" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "ref" | "jsx" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onToggle" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onSearch" | "onSearchCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onReset" | "onResetCapture" | "onFormData" | "onFormDataCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDblClick" | "onDblClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseEnterCapture" | "onMouseLeave" | "onMouseLeaveCapture" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerOut" | "onPointerOutCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "dangerouslySetInnerHTML" | "inputRef"> & LabeledCheckboxBaseProps; |
@@ -15,3 +15,3 @@ /** | ||
*/ | ||
export function Frame({ children, classes, containerRef }: ContainerProps): any; | ||
export function Frame({ children, classes, containerRef }: ContainerProps): import("preact").JSX.Element; | ||
/** | ||
@@ -22,3 +22,3 @@ * Render content inside of a "card" | ||
*/ | ||
export function Card({ children, classes, containerRef }: ContainerProps): any; | ||
export function Card({ children, classes, containerRef }: ContainerProps): import("preact").JSX.Element; | ||
/** | ||
@@ -36,3 +36,3 @@ * | ||
*/ | ||
export function Actions({ children, direction, classes, containerRef, }: ActionBaseProps & ContainerProps): any; | ||
export function Actions({ children, direction, classes, containerRef, }: ActionBaseProps & ContainerProps): import("preact").JSX.Element; | ||
/** | ||
@@ -49,4 +49,4 @@ * | ||
*/ | ||
export function Scrollbox({ children, classes, containerRef, withHeader, }: ScrollboxBaseProps & ContainerProps): any; | ||
export type Children = string | number | boolean | object | import("preact").VNode<any> | import("preact").ComponentChild[]; | ||
export function Scrollbox({ children, classes, containerRef, withHeader, }: ScrollboxBaseProps & ContainerProps): import("preact").JSX.Element; | ||
export type Children = string | number | boolean | object | import("preact").VNode<any> | import("preact").ComponentChild[] | null | undefined; | ||
export type ContainerProps = { | ||
@@ -57,3 +57,3 @@ children: Children; | ||
*/ | ||
classes?: string; | ||
classes?: string | undefined; | ||
/** | ||
@@ -63,3 +63,3 @@ * - Access to the | ||
*/ | ||
containerRef?: import('preact').Ref<HTMLElement>; | ||
containerRef?: import("preact").RefObject<HTMLElement> | import("preact").RefCallback<HTMLElement> | undefined; | ||
}; | ||
@@ -71,3 +71,3 @@ export type ActionBaseProps = { | ||
*/ | ||
direction?: 'row' | 'column'; | ||
direction?: "row" | "column" | undefined; | ||
}; | ||
@@ -79,3 +79,3 @@ export type ScrollboxBaseProps = { | ||
*/ | ||
withHeader?: boolean; | ||
withHeader?: boolean | undefined; | ||
}; |
@@ -34,4 +34,4 @@ /** | ||
*/ | ||
export function Dialog({ buttons, cancelLabel, children, contentClass, icon, initialFocus, onCancel, role, title, }: DialogProps): any; | ||
export type Children = string | number | boolean | object | import("preact").VNode<any> | import("preact").ComponentChild[]; | ||
export function Dialog({ buttons, cancelLabel, children, contentClass, icon, initialFocus, onCancel, role, title, }: DialogProps): import("preact").JSX.Element; | ||
export type Children = string | number | boolean | object | import("preact").VNode<any> | import("preact").ComponentChild[] | null | undefined; | ||
export type DialogProps = { | ||
@@ -47,3 +47,3 @@ /** | ||
*/ | ||
cancelLabel?: string; | ||
cancelLabel?: string | undefined; | ||
children: Children; | ||
@@ -53,7 +53,7 @@ /** | ||
*/ | ||
contentClass?: string; | ||
contentClass?: string | undefined; | ||
/** | ||
* - Name of optional icon to render in header | ||
*/ | ||
icon?: string; | ||
icon?: string | undefined; | ||
/** | ||
@@ -65,3 +65,3 @@ * - | ||
*/ | ||
initialFocus?: import("preact/hooks").Ref<HTMLElement> | null; | ||
initialFocus?: import("preact/hooks").Ref<HTMLElement> | null | undefined; | ||
/** | ||
@@ -72,7 +72,7 @@ * - | ||
*/ | ||
onCancel?: () => void; | ||
onCancel?: (() => void) | undefined; | ||
/** | ||
* - The aria role for the dialog (defaults to" dialog") | ||
*/ | ||
role?: 'dialog' | 'alertdialog'; | ||
role?: "dialog" | "alertdialog" | undefined; | ||
title: string; | ||
@@ -79,0 +79,0 @@ }; |
@@ -17,3 +17,3 @@ /** | ||
*/ | ||
export function Modal({ children, onCancel, ...restProps }: ModalProps): any; | ||
export function Modal({ children, onCancel, ...restProps }: ModalProps): import("preact").JSX.Element; | ||
/** | ||
@@ -34,3 +34,3 @@ * @typedef ConfirmModalBaseProps | ||
*/ | ||
export function ConfirmModal({ message, confirmAction, onConfirm, onCancel, ...restProps }: ConfirmModalProps): any; | ||
export function ConfirmModal({ message, confirmAction, onConfirm, onCancel, ...restProps }: ConfirmModalProps): import("preact").JSX.Element; | ||
export type DialogProps = { | ||
@@ -46,3 +46,3 @@ /** | ||
*/ | ||
cancelLabel?: string; | ||
cancelLabel?: string | undefined; | ||
children: import("preact").ComponentChildren; | ||
@@ -52,7 +52,7 @@ /** | ||
*/ | ||
contentClass?: string; | ||
contentClass?: string | undefined; | ||
/** | ||
* - Name of optional icon to render in header | ||
*/ | ||
icon?: string; | ||
icon?: string | undefined; | ||
/** | ||
@@ -64,3 +64,3 @@ * - | ||
*/ | ||
initialFocus?: import("preact/hooks").Ref<HTMLElement>; | ||
initialFocus?: import("preact/hooks").Ref<HTMLElement> | null | undefined; | ||
/** | ||
@@ -71,7 +71,7 @@ * - | ||
*/ | ||
onCancel?: () => void; | ||
onCancel?: (() => void) | undefined; | ||
/** | ||
* - The aria role for the dialog (defaults to" dialog") | ||
*/ | ||
role?: "dialog" | "alertdialog"; | ||
role?: "dialog" | "alertdialog" | undefined; | ||
title: string; | ||
@@ -78,0 +78,0 @@ }; |
@@ -15,3 +15,3 @@ /** | ||
*/ | ||
export function Panel({ children, icon, onClose, title }: PanelProps): any; | ||
export function Panel({ children, icon, onClose, title }: PanelProps): import("preact").JSX.Element; | ||
export type PanelProps = { | ||
@@ -22,3 +22,3 @@ children: import("preact").ComponentChildren; | ||
*/ | ||
icon?: string; | ||
icon?: string | undefined; | ||
/** | ||
@@ -28,4 +28,4 @@ * - handler for closing the panel; if provided, | ||
*/ | ||
onClose?: () => void; | ||
onClose?: (() => void) | undefined; | ||
title: string; | ||
}; |
@@ -12,3 +12,3 @@ /** | ||
*/ | ||
export function Spinner({ classes, size }: SpinnerProps): any; | ||
export function Spinner({ classes, size }: SpinnerProps): import("preact").JSX.Element; | ||
export type SpinnerProps = { | ||
@@ -18,3 +18,3 @@ /** | ||
*/ | ||
classes?: string; | ||
classes?: string | undefined; | ||
/** | ||
@@ -24,3 +24,3 @@ * - Relative size of spinner | ||
*/ | ||
size?: 'small' | 'medium' | 'large'; | ||
size?: "small" | "medium" | "large" | undefined; | ||
}; |
@@ -19,3 +19,3 @@ /** | ||
*/ | ||
export function SvgIcon({ name, className, inline, title }: SvgIconProps): any; | ||
export function SvgIcon({ name, className, inline, title }: SvgIconProps): import("preact").JSX.Element; | ||
/** | ||
@@ -29,3 +29,3 @@ * Register icons for use with the `SvgIcon` component. | ||
export function registerIcons(icons: IconMap, { reset }?: { | ||
reset: boolean; | ||
reset: boolean | undefined; | ||
}): void; | ||
@@ -51,11 +51,11 @@ /** | ||
*/ | ||
className?: string; | ||
className?: string | undefined; | ||
/** | ||
* - Apply a style allowing for inline display of icon wrapper. | ||
*/ | ||
inline?: boolean; | ||
inline?: boolean | undefined; | ||
/** | ||
* - Optional title attribute to apply to the SVG's containing `span`. | ||
*/ | ||
title?: string; | ||
title?: string | undefined; | ||
}; | ||
@@ -62,0 +62,0 @@ /** |
@@ -7,3 +7,3 @@ /** | ||
*/ | ||
export function Table<Item>({ accessibleLabel, classes, containerClasses, isLoading, items, onSelectItem, onUseItem, renderItem, selectedItem, tableHeaders, }: TableProps<Item>): any; | ||
export function Table<Item>({ accessibleLabel, classes, containerClasses, isLoading, items, onSelectItem, onUseItem, renderItem, selectedItem, tableHeaders, }: TableProps<Item>): import("preact").JSX.Element; | ||
export type TableHeader = { | ||
@@ -14,3 +14,3 @@ label: string; | ||
*/ | ||
classes?: string; | ||
classes?: string | undefined; | ||
}; | ||
@@ -25,3 +25,3 @@ export type TableProps<Item> = { | ||
*/ | ||
classes?: string; | ||
classes?: string | undefined; | ||
/** | ||
@@ -31,3 +31,3 @@ * - Extra CSS classes to apply to the outermost | ||
*/ | ||
containerClasses?: string; | ||
containerClasses?: string | undefined; | ||
/** | ||
@@ -41,3 +41,3 @@ * - The columns to display in this table | ||
*/ | ||
isLoading?: boolean; | ||
isLoading?: boolean | undefined; | ||
/** | ||
@@ -58,3 +58,3 @@ * - | ||
*/ | ||
selectedItem: Item; | ||
selectedItem: Item | null; | ||
/** | ||
@@ -61,0 +61,0 @@ * - |
@@ -27,3 +27,3 @@ /** | ||
*/ | ||
export function TextInput({ classes, inputRef, hasError, ...restProps }: TextInputProps): any; | ||
export function TextInput({ classes, inputRef, hasError, ...restProps }: TextInputProps): import("preact").JSX.Element; | ||
/** | ||
@@ -42,4 +42,4 @@ * A wrapping component for pairing a `TextInput` with an `IconButton` component. | ||
*/ | ||
export function TextInputWithButton({ children, classes }: TextInputWithButtonProps): any; | ||
export type Children = string | number | boolean | object | import("preact").VNode<any> | import("preact").ComponentChild[]; | ||
export function TextInputWithButton({ children, classes }: TextInputWithButtonProps): import("preact").JSX.Element; | ||
export type Children = string | number | boolean | object | import("preact").VNode<any> | import("preact").ComponentChild[] | null | undefined; | ||
export type TextInputBaseProps = { | ||
@@ -49,3 +49,3 @@ /** | ||
*/ | ||
classes?: string; | ||
classes?: string | undefined; | ||
/** | ||
@@ -55,3 +55,3 @@ * - Optional ref for | ||
*/ | ||
inputRef?: import('preact').Ref<HTMLInputElement>; | ||
inputRef?: import("preact").RefObject<HTMLInputElement> | import("preact").RefCallback<HTMLInputElement> | undefined; | ||
/** | ||
@@ -61,3 +61,3 @@ * - There is an error associated with this input. Will | ||
*/ | ||
hasError?: boolean; | ||
hasError?: boolean | undefined; | ||
}; | ||
@@ -69,318 +69,318 @@ /** | ||
export type HTMLInputElementProps = { | ||
max?: string | number; | ||
required?: boolean; | ||
default?: boolean; | ||
high?: number; | ||
low?: number; | ||
disabled?: boolean; | ||
start?: number; | ||
open?: boolean; | ||
media?: string; | ||
loading?: "eager" | "lazy"; | ||
hidden?: boolean; | ||
data?: string; | ||
dir?: NotificationDirection; | ||
form?: string; | ||
label?: string; | ||
slot?: string; | ||
span?: number; | ||
style?: string | import("preact").JSX.CSSProperties; | ||
summary?: string; | ||
title?: string; | ||
pattern?: string; | ||
async?: boolean; | ||
readonly?: boolean; | ||
defer?: boolean; | ||
manifest?: string; | ||
content?: string; | ||
height?: string | number; | ||
width?: string | number; | ||
target?: string; | ||
content?: string | undefined; | ||
height?: string | number | undefined; | ||
width?: string | number | undefined; | ||
target?: string | undefined; | ||
data?: string | undefined; | ||
key?: any; | ||
headers?: string; | ||
name?: string; | ||
className?: string; | ||
class?: string; | ||
size?: number; | ||
accept?: string; | ||
acceptCharset?: string; | ||
accessKey?: string; | ||
action?: string; | ||
allowFullScreen?: boolean; | ||
allowTransparency?: boolean; | ||
alt?: string; | ||
as?: string; | ||
autocomplete?: string; | ||
autoComplete?: string; | ||
autocorrect?: string; | ||
autoCorrect?: string; | ||
autofocus?: boolean; | ||
autoFocus?: boolean; | ||
autoPlay?: boolean; | ||
capture?: string | boolean; | ||
cellPadding?: string | number; | ||
cellSpacing?: string | number; | ||
charSet?: string; | ||
challenge?: string; | ||
checked?: boolean; | ||
cols?: number; | ||
colSpan?: number; | ||
contentEditable?: boolean; | ||
contextMenu?: string; | ||
controls?: boolean; | ||
controlsList?: string; | ||
coords?: string; | ||
crossOrigin?: string; | ||
dateTime?: string; | ||
disableRemotePlayback?: boolean; | ||
form?: string | undefined; | ||
label?: string | undefined; | ||
slot?: string | undefined; | ||
span?: number | undefined; | ||
style?: string | import("preact").JSX.CSSProperties | undefined; | ||
summary?: string | undefined; | ||
title?: string | undefined; | ||
pattern?: string | undefined; | ||
name?: string | undefined; | ||
className?: string | undefined; | ||
dir?: "auto" | "rtl" | "ltr" | undefined; | ||
class?: string | undefined; | ||
size?: number | undefined; | ||
accept?: string | undefined; | ||
acceptCharset?: string | undefined; | ||
accessKey?: string | undefined; | ||
action?: string | undefined; | ||
allowFullScreen?: boolean | undefined; | ||
allowTransparency?: boolean | undefined; | ||
alt?: string | undefined; | ||
as?: string | undefined; | ||
async?: boolean | undefined; | ||
autocomplete?: string | undefined; | ||
autoComplete?: string | undefined; | ||
autocorrect?: string | undefined; | ||
autoCorrect?: string | undefined; | ||
autofocus?: boolean | undefined; | ||
autoFocus?: boolean | undefined; | ||
autoPlay?: boolean | undefined; | ||
capture?: string | boolean | undefined; | ||
cellPadding?: string | number | undefined; | ||
cellSpacing?: string | number | undefined; | ||
charSet?: string | undefined; | ||
challenge?: string | undefined; | ||
checked?: boolean | undefined; | ||
cols?: number | undefined; | ||
colSpan?: number | undefined; | ||
contentEditable?: boolean | undefined; | ||
contextMenu?: string | undefined; | ||
controls?: boolean | undefined; | ||
controlsList?: string | undefined; | ||
coords?: string | undefined; | ||
crossOrigin?: string | undefined; | ||
dateTime?: string | undefined; | ||
default?: boolean | undefined; | ||
defer?: boolean | undefined; | ||
disabled?: boolean | undefined; | ||
disableRemotePlayback?: boolean | undefined; | ||
download?: any; | ||
draggable?: boolean; | ||
encType?: string; | ||
formAction?: string; | ||
formEncType?: string; | ||
formMethod?: string; | ||
formNoValidate?: boolean; | ||
formTarget?: string; | ||
frameBorder?: string | number; | ||
href?: string; | ||
hrefLang?: string; | ||
for?: string; | ||
htmlFor?: string; | ||
httpEquiv?: string; | ||
icon?: string; | ||
id?: string; | ||
inputMode?: string; | ||
integrity?: string; | ||
is?: string; | ||
keyParams?: string; | ||
keyType?: string; | ||
kind?: string; | ||
lang?: string; | ||
list?: string; | ||
loop?: boolean; | ||
marginHeight?: number; | ||
marginWidth?: number; | ||
maxLength?: number; | ||
mediaGroup?: string; | ||
method?: string; | ||
min?: string | number; | ||
minLength?: number; | ||
multiple?: boolean; | ||
muted?: boolean; | ||
nonce?: string; | ||
noValidate?: boolean; | ||
optimum?: number; | ||
placeholder?: string; | ||
playsInline?: boolean; | ||
poster?: string; | ||
preload?: string; | ||
radioGroup?: string; | ||
readOnly?: boolean; | ||
rel?: string; | ||
role?: string; | ||
rows?: number; | ||
rowSpan?: number; | ||
sandbox?: string; | ||
scope?: string; | ||
scoped?: boolean; | ||
scrolling?: string; | ||
seamless?: boolean; | ||
selected?: boolean; | ||
shape?: string; | ||
sizes?: string; | ||
spellcheck?: boolean; | ||
src?: string; | ||
srcset?: string; | ||
srcDoc?: string; | ||
srcLang?: string; | ||
srcSet?: string; | ||
step?: string | number; | ||
tabIndex?: number; | ||
useMap?: string; | ||
value?: string | number | string[]; | ||
volume?: string | number; | ||
wmode?: string; | ||
wrap?: string; | ||
about?: string; | ||
datatype?: string; | ||
draggable?: boolean | undefined; | ||
encType?: string | undefined; | ||
formAction?: string | undefined; | ||
formEncType?: string | undefined; | ||
formMethod?: string | undefined; | ||
formNoValidate?: boolean | undefined; | ||
formTarget?: string | undefined; | ||
frameBorder?: string | number | undefined; | ||
headers?: string | undefined; | ||
hidden?: boolean | undefined; | ||
high?: number | undefined; | ||
href?: string | undefined; | ||
hrefLang?: string | undefined; | ||
for?: string | undefined; | ||
htmlFor?: string | undefined; | ||
httpEquiv?: string | undefined; | ||
icon?: string | undefined; | ||
id?: string | undefined; | ||
inputMode?: string | undefined; | ||
integrity?: string | undefined; | ||
is?: string | undefined; | ||
keyParams?: string | undefined; | ||
keyType?: string | undefined; | ||
kind?: string | undefined; | ||
lang?: string | undefined; | ||
list?: string | undefined; | ||
loading?: "eager" | "lazy" | undefined; | ||
loop?: boolean | undefined; | ||
low?: number | undefined; | ||
manifest?: string | undefined; | ||
marginHeight?: number | undefined; | ||
marginWidth?: number | undefined; | ||
max?: string | number | undefined; | ||
maxLength?: number | undefined; | ||
media?: string | undefined; | ||
mediaGroup?: string | undefined; | ||
method?: string | undefined; | ||
min?: string | number | undefined; | ||
minLength?: number | undefined; | ||
multiple?: boolean | undefined; | ||
muted?: boolean | undefined; | ||
nonce?: string | undefined; | ||
noValidate?: boolean | undefined; | ||
open?: boolean | undefined; | ||
optimum?: number | undefined; | ||
placeholder?: string | undefined; | ||
playsInline?: boolean | undefined; | ||
poster?: string | undefined; | ||
preload?: string | undefined; | ||
radioGroup?: string | undefined; | ||
readonly?: boolean | undefined; | ||
readOnly?: boolean | undefined; | ||
rel?: string | undefined; | ||
required?: boolean | undefined; | ||
role?: string | undefined; | ||
rows?: number | undefined; | ||
rowSpan?: number | undefined; | ||
sandbox?: string | undefined; | ||
scope?: string | undefined; | ||
scoped?: boolean | undefined; | ||
scrolling?: string | undefined; | ||
seamless?: boolean | undefined; | ||
selected?: boolean | undefined; | ||
shape?: string | undefined; | ||
sizes?: string | undefined; | ||
spellcheck?: boolean | undefined; | ||
src?: string | undefined; | ||
srcset?: string | undefined; | ||
srcDoc?: string | undefined; | ||
srcLang?: string | undefined; | ||
srcSet?: string | undefined; | ||
start?: number | undefined; | ||
step?: string | number | undefined; | ||
tabIndex?: number | undefined; | ||
useMap?: string | undefined; | ||
value?: string | number | string[] | undefined; | ||
volume?: string | number | undefined; | ||
wmode?: string | undefined; | ||
wrap?: string | undefined; | ||
about?: string | undefined; | ||
datatype?: string | undefined; | ||
inlist?: any; | ||
prefix?: string; | ||
property?: string; | ||
resource?: string; | ||
typeof?: string; | ||
vocab?: string; | ||
itemProp?: string; | ||
itemScope?: boolean; | ||
itemType?: string; | ||
itemID?: string; | ||
itemRef?: string; | ||
ref?: import("preact").Ref<HTMLInputElement>; | ||
jsx?: boolean; | ||
onLoad?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onLoadCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onError?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onErrorCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onCopy?: import("preact").JSX.ClipboardEventHandler<HTMLInputElement>; | ||
onCopyCapture?: import("preact").JSX.ClipboardEventHandler<HTMLInputElement>; | ||
onCut?: import("preact").JSX.ClipboardEventHandler<HTMLInputElement>; | ||
onCutCapture?: import("preact").JSX.ClipboardEventHandler<HTMLInputElement>; | ||
onPaste?: import("preact").JSX.ClipboardEventHandler<HTMLInputElement>; | ||
onPasteCapture?: import("preact").JSX.ClipboardEventHandler<HTMLInputElement>; | ||
onCompositionEnd?: import("preact").JSX.CompositionEventHandler<HTMLInputElement>; | ||
onCompositionEndCapture?: import("preact").JSX.CompositionEventHandler<HTMLInputElement>; | ||
onCompositionStart?: import("preact").JSX.CompositionEventHandler<HTMLInputElement>; | ||
onCompositionStartCapture?: import("preact").JSX.CompositionEventHandler<HTMLInputElement>; | ||
onCompositionUpdate?: import("preact").JSX.CompositionEventHandler<HTMLInputElement>; | ||
onCompositionUpdateCapture?: import("preact").JSX.CompositionEventHandler<HTMLInputElement>; | ||
onToggle?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onFocus?: import("preact").JSX.FocusEventHandler<HTMLInputElement>; | ||
onFocusCapture?: import("preact").JSX.FocusEventHandler<HTMLInputElement>; | ||
onBlur?: import("preact").JSX.FocusEventHandler<HTMLInputElement>; | ||
onBlurCapture?: import("preact").JSX.FocusEventHandler<HTMLInputElement>; | ||
onChange?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onChangeCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onInput?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onInputCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onSearch?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onSearchCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onSubmit?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onSubmitCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onInvalid?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onInvalidCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onReset?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onResetCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onFormData?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onFormDataCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onKeyDown?: import("preact").JSX.KeyboardEventHandler<HTMLInputElement>; | ||
onKeyDownCapture?: import("preact").JSX.KeyboardEventHandler<HTMLInputElement>; | ||
onKeyPress?: import("preact").JSX.KeyboardEventHandler<HTMLInputElement>; | ||
onKeyPressCapture?: import("preact").JSX.KeyboardEventHandler<HTMLInputElement>; | ||
onKeyUp?: import("preact").JSX.KeyboardEventHandler<HTMLInputElement>; | ||
onKeyUpCapture?: import("preact").JSX.KeyboardEventHandler<HTMLInputElement>; | ||
onAbort?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onAbortCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onCanPlay?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onCanPlayCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onCanPlayThrough?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onCanPlayThroughCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onDurationChange?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onDurationChangeCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onEmptied?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onEmptiedCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onEncrypted?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onEncryptedCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onEnded?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onEndedCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onLoadedData?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onLoadedDataCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onLoadedMetadata?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onLoadedMetadataCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onLoadStart?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onLoadStartCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onPause?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onPauseCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onPlay?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onPlayCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onPlaying?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onPlayingCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onProgress?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onProgressCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onRateChange?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onRateChangeCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onSeeked?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onSeekedCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onSeeking?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onSeekingCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onStalled?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onStalledCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onSuspend?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onSuspendCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onTimeUpdate?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onTimeUpdateCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onVolumeChange?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onVolumeChangeCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onWaiting?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onWaitingCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onClick?: import("preact").JSX.MouseEventHandler<HTMLInputElement>; | ||
onClickCapture?: import("preact").JSX.MouseEventHandler<HTMLInputElement>; | ||
onContextMenu?: import("preact").JSX.MouseEventHandler<HTMLInputElement>; | ||
onContextMenuCapture?: import("preact").JSX.MouseEventHandler<HTMLInputElement>; | ||
onDblClick?: import("preact").JSX.MouseEventHandler<HTMLInputElement>; | ||
onDblClickCapture?: import("preact").JSX.MouseEventHandler<HTMLInputElement>; | ||
onDrag?: import("preact").JSX.DragEventHandler<HTMLInputElement>; | ||
onDragCapture?: import("preact").JSX.DragEventHandler<HTMLInputElement>; | ||
onDragEnd?: import("preact").JSX.DragEventHandler<HTMLInputElement>; | ||
onDragEndCapture?: import("preact").JSX.DragEventHandler<HTMLInputElement>; | ||
onDragEnter?: import("preact").JSX.DragEventHandler<HTMLInputElement>; | ||
onDragEnterCapture?: import("preact").JSX.DragEventHandler<HTMLInputElement>; | ||
onDragExit?: import("preact").JSX.DragEventHandler<HTMLInputElement>; | ||
onDragExitCapture?: import("preact").JSX.DragEventHandler<HTMLInputElement>; | ||
onDragLeave?: import("preact").JSX.DragEventHandler<HTMLInputElement>; | ||
onDragLeaveCapture?: import("preact").JSX.DragEventHandler<HTMLInputElement>; | ||
onDragOver?: import("preact").JSX.DragEventHandler<HTMLInputElement>; | ||
onDragOverCapture?: import("preact").JSX.DragEventHandler<HTMLInputElement>; | ||
onDragStart?: import("preact").JSX.DragEventHandler<HTMLInputElement>; | ||
onDragStartCapture?: import("preact").JSX.DragEventHandler<HTMLInputElement>; | ||
onDrop?: import("preact").JSX.DragEventHandler<HTMLInputElement>; | ||
onDropCapture?: import("preact").JSX.DragEventHandler<HTMLInputElement>; | ||
onMouseDown?: import("preact").JSX.MouseEventHandler<HTMLInputElement>; | ||
onMouseDownCapture?: import("preact").JSX.MouseEventHandler<HTMLInputElement>; | ||
onMouseEnter?: import("preact").JSX.MouseEventHandler<HTMLInputElement>; | ||
onMouseEnterCapture?: import("preact").JSX.MouseEventHandler<HTMLInputElement>; | ||
onMouseLeave?: import("preact").JSX.MouseEventHandler<HTMLInputElement>; | ||
onMouseLeaveCapture?: import("preact").JSX.MouseEventHandler<HTMLInputElement>; | ||
onMouseMove?: import("preact").JSX.MouseEventHandler<HTMLInputElement>; | ||
onMouseMoveCapture?: import("preact").JSX.MouseEventHandler<HTMLInputElement>; | ||
onMouseOut?: import("preact").JSX.MouseEventHandler<HTMLInputElement>; | ||
onMouseOutCapture?: import("preact").JSX.MouseEventHandler<HTMLInputElement>; | ||
onMouseOver?: import("preact").JSX.MouseEventHandler<HTMLInputElement>; | ||
onMouseOverCapture?: import("preact").JSX.MouseEventHandler<HTMLInputElement>; | ||
onMouseUp?: import("preact").JSX.MouseEventHandler<HTMLInputElement>; | ||
onMouseUpCapture?: import("preact").JSX.MouseEventHandler<HTMLInputElement>; | ||
onSelect?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onSelectCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement>; | ||
onTouchCancel?: import("preact").JSX.TouchEventHandler<HTMLInputElement>; | ||
onTouchCancelCapture?: import("preact").JSX.TouchEventHandler<HTMLInputElement>; | ||
onTouchEnd?: import("preact").JSX.TouchEventHandler<HTMLInputElement>; | ||
onTouchEndCapture?: import("preact").JSX.TouchEventHandler<HTMLInputElement>; | ||
onTouchMove?: import("preact").JSX.TouchEventHandler<HTMLInputElement>; | ||
onTouchMoveCapture?: import("preact").JSX.TouchEventHandler<HTMLInputElement>; | ||
onTouchStart?: import("preact").JSX.TouchEventHandler<HTMLInputElement>; | ||
onTouchStartCapture?: import("preact").JSX.TouchEventHandler<HTMLInputElement>; | ||
onPointerOver?: import("preact").JSX.PointerEventHandler<HTMLInputElement>; | ||
onPointerOverCapture?: import("preact").JSX.PointerEventHandler<HTMLInputElement>; | ||
onPointerEnter?: import("preact").JSX.PointerEventHandler<HTMLInputElement>; | ||
onPointerEnterCapture?: import("preact").JSX.PointerEventHandler<HTMLInputElement>; | ||
onPointerDown?: import("preact").JSX.PointerEventHandler<HTMLInputElement>; | ||
onPointerDownCapture?: import("preact").JSX.PointerEventHandler<HTMLInputElement>; | ||
onPointerMove?: import("preact").JSX.PointerEventHandler<HTMLInputElement>; | ||
onPointerMoveCapture?: import("preact").JSX.PointerEventHandler<HTMLInputElement>; | ||
onPointerUp?: import("preact").JSX.PointerEventHandler<HTMLInputElement>; | ||
onPointerUpCapture?: import("preact").JSX.PointerEventHandler<HTMLInputElement>; | ||
onPointerCancel?: import("preact").JSX.PointerEventHandler<HTMLInputElement>; | ||
onPointerCancelCapture?: import("preact").JSX.PointerEventHandler<HTMLInputElement>; | ||
onPointerOut?: import("preact").JSX.PointerEventHandler<HTMLInputElement>; | ||
onPointerOutCapture?: import("preact").JSX.PointerEventHandler<HTMLInputElement>; | ||
onPointerLeave?: import("preact").JSX.PointerEventHandler<HTMLInputElement>; | ||
onPointerLeaveCapture?: import("preact").JSX.PointerEventHandler<HTMLInputElement>; | ||
onGotPointerCapture?: import("preact").JSX.PointerEventHandler<HTMLInputElement>; | ||
onGotPointerCaptureCapture?: import("preact").JSX.PointerEventHandler<HTMLInputElement>; | ||
onLostPointerCapture?: import("preact").JSX.PointerEventHandler<HTMLInputElement>; | ||
onLostPointerCaptureCapture?: import("preact").JSX.PointerEventHandler<HTMLInputElement>; | ||
onScroll?: import("preact").JSX.UIEventHandler<HTMLInputElement>; | ||
onScrollCapture?: import("preact").JSX.UIEventHandler<HTMLInputElement>; | ||
onWheel?: import("preact").JSX.WheelEventHandler<HTMLInputElement>; | ||
onWheelCapture?: import("preact").JSX.WheelEventHandler<HTMLInputElement>; | ||
onAnimationStart?: import("preact").JSX.AnimationEventHandler<HTMLInputElement>; | ||
onAnimationStartCapture?: import("preact").JSX.AnimationEventHandler<HTMLInputElement>; | ||
onAnimationEnd?: import("preact").JSX.AnimationEventHandler<HTMLInputElement>; | ||
onAnimationEndCapture?: import("preact").JSX.AnimationEventHandler<HTMLInputElement>; | ||
onAnimationIteration?: import("preact").JSX.AnimationEventHandler<HTMLInputElement>; | ||
onAnimationIterationCapture?: import("preact").JSX.AnimationEventHandler<HTMLInputElement>; | ||
onTransitionEnd?: import("preact").JSX.TransitionEventHandler<HTMLInputElement>; | ||
onTransitionEndCapture?: import("preact").JSX.TransitionEventHandler<HTMLInputElement>; | ||
prefix?: string | undefined; | ||
property?: string | undefined; | ||
resource?: string | undefined; | ||
typeof?: string | undefined; | ||
vocab?: string | undefined; | ||
itemProp?: string | undefined; | ||
itemScope?: boolean | undefined; | ||
itemType?: string | undefined; | ||
itemID?: string | undefined; | ||
itemRef?: string | undefined; | ||
ref?: import("preact").RefObject<HTMLInputElement> | import("preact").RefCallback<HTMLInputElement> | undefined; | ||
jsx?: boolean | undefined; | ||
onLoad?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onLoadCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onError?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onErrorCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onCopy?: import("preact").JSX.ClipboardEventHandler<HTMLInputElement> | undefined; | ||
onCopyCapture?: import("preact").JSX.ClipboardEventHandler<HTMLInputElement> | undefined; | ||
onCut?: import("preact").JSX.ClipboardEventHandler<HTMLInputElement> | undefined; | ||
onCutCapture?: import("preact").JSX.ClipboardEventHandler<HTMLInputElement> | undefined; | ||
onPaste?: import("preact").JSX.ClipboardEventHandler<HTMLInputElement> | undefined; | ||
onPasteCapture?: import("preact").JSX.ClipboardEventHandler<HTMLInputElement> | undefined; | ||
onCompositionEnd?: import("preact").JSX.CompositionEventHandler<HTMLInputElement> | undefined; | ||
onCompositionEndCapture?: import("preact").JSX.CompositionEventHandler<HTMLInputElement> | undefined; | ||
onCompositionStart?: import("preact").JSX.CompositionEventHandler<HTMLInputElement> | undefined; | ||
onCompositionStartCapture?: import("preact").JSX.CompositionEventHandler<HTMLInputElement> | undefined; | ||
onCompositionUpdate?: import("preact").JSX.CompositionEventHandler<HTMLInputElement> | undefined; | ||
onCompositionUpdateCapture?: import("preact").JSX.CompositionEventHandler<HTMLInputElement> | undefined; | ||
onToggle?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onFocus?: import("preact").JSX.FocusEventHandler<HTMLInputElement> | undefined; | ||
onFocusCapture?: import("preact").JSX.FocusEventHandler<HTMLInputElement> | undefined; | ||
onBlur?: import("preact").JSX.FocusEventHandler<HTMLInputElement> | undefined; | ||
onBlurCapture?: import("preact").JSX.FocusEventHandler<HTMLInputElement> | undefined; | ||
onChange?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onChangeCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onInput?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onInputCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onSearch?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onSearchCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onSubmit?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onSubmitCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onInvalid?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onInvalidCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onReset?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onResetCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onFormData?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onFormDataCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onKeyDown?: import("preact").JSX.KeyboardEventHandler<HTMLInputElement> | undefined; | ||
onKeyDownCapture?: import("preact").JSX.KeyboardEventHandler<HTMLInputElement> | undefined; | ||
onKeyPress?: import("preact").JSX.KeyboardEventHandler<HTMLInputElement> | undefined; | ||
onKeyPressCapture?: import("preact").JSX.KeyboardEventHandler<HTMLInputElement> | undefined; | ||
onKeyUp?: import("preact").JSX.KeyboardEventHandler<HTMLInputElement> | undefined; | ||
onKeyUpCapture?: import("preact").JSX.KeyboardEventHandler<HTMLInputElement> | undefined; | ||
onAbort?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onAbortCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onCanPlay?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onCanPlayCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onCanPlayThrough?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onCanPlayThroughCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onDurationChange?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onDurationChangeCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onEmptied?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onEmptiedCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onEncrypted?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onEncryptedCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onEnded?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onEndedCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onLoadedData?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onLoadedDataCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onLoadedMetadata?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onLoadedMetadataCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onLoadStart?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onLoadStartCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onPause?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onPauseCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onPlay?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onPlayCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onPlaying?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onPlayingCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onProgress?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onProgressCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onRateChange?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onRateChangeCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onSeeked?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onSeekedCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onSeeking?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onSeekingCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onStalled?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onStalledCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onSuspend?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onSuspendCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onTimeUpdate?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onTimeUpdateCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onVolumeChange?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onVolumeChangeCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onWaiting?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onWaitingCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onClick?: import("preact").JSX.MouseEventHandler<HTMLInputElement> | undefined; | ||
onClickCapture?: import("preact").JSX.MouseEventHandler<HTMLInputElement> | undefined; | ||
onContextMenu?: import("preact").JSX.MouseEventHandler<HTMLInputElement> | undefined; | ||
onContextMenuCapture?: import("preact").JSX.MouseEventHandler<HTMLInputElement> | undefined; | ||
onDblClick?: import("preact").JSX.MouseEventHandler<HTMLInputElement> | undefined; | ||
onDblClickCapture?: import("preact").JSX.MouseEventHandler<HTMLInputElement> | undefined; | ||
onDrag?: import("preact").JSX.DragEventHandler<HTMLInputElement> | undefined; | ||
onDragCapture?: import("preact").JSX.DragEventHandler<HTMLInputElement> | undefined; | ||
onDragEnd?: import("preact").JSX.DragEventHandler<HTMLInputElement> | undefined; | ||
onDragEndCapture?: import("preact").JSX.DragEventHandler<HTMLInputElement> | undefined; | ||
onDragEnter?: import("preact").JSX.DragEventHandler<HTMLInputElement> | undefined; | ||
onDragEnterCapture?: import("preact").JSX.DragEventHandler<HTMLInputElement> | undefined; | ||
onDragExit?: import("preact").JSX.DragEventHandler<HTMLInputElement> | undefined; | ||
onDragExitCapture?: import("preact").JSX.DragEventHandler<HTMLInputElement> | undefined; | ||
onDragLeave?: import("preact").JSX.DragEventHandler<HTMLInputElement> | undefined; | ||
onDragLeaveCapture?: import("preact").JSX.DragEventHandler<HTMLInputElement> | undefined; | ||
onDragOver?: import("preact").JSX.DragEventHandler<HTMLInputElement> | undefined; | ||
onDragOverCapture?: import("preact").JSX.DragEventHandler<HTMLInputElement> | undefined; | ||
onDragStart?: import("preact").JSX.DragEventHandler<HTMLInputElement> | undefined; | ||
onDragStartCapture?: import("preact").JSX.DragEventHandler<HTMLInputElement> | undefined; | ||
onDrop?: import("preact").JSX.DragEventHandler<HTMLInputElement> | undefined; | ||
onDropCapture?: import("preact").JSX.DragEventHandler<HTMLInputElement> | undefined; | ||
onMouseDown?: import("preact").JSX.MouseEventHandler<HTMLInputElement> | undefined; | ||
onMouseDownCapture?: import("preact").JSX.MouseEventHandler<HTMLInputElement> | undefined; | ||
onMouseEnter?: import("preact").JSX.MouseEventHandler<HTMLInputElement> | undefined; | ||
onMouseEnterCapture?: import("preact").JSX.MouseEventHandler<HTMLInputElement> | undefined; | ||
onMouseLeave?: import("preact").JSX.MouseEventHandler<HTMLInputElement> | undefined; | ||
onMouseLeaveCapture?: import("preact").JSX.MouseEventHandler<HTMLInputElement> | undefined; | ||
onMouseMove?: import("preact").JSX.MouseEventHandler<HTMLInputElement> | undefined; | ||
onMouseMoveCapture?: import("preact").JSX.MouseEventHandler<HTMLInputElement> | undefined; | ||
onMouseOut?: import("preact").JSX.MouseEventHandler<HTMLInputElement> | undefined; | ||
onMouseOutCapture?: import("preact").JSX.MouseEventHandler<HTMLInputElement> | undefined; | ||
onMouseOver?: import("preact").JSX.MouseEventHandler<HTMLInputElement> | undefined; | ||
onMouseOverCapture?: import("preact").JSX.MouseEventHandler<HTMLInputElement> | undefined; | ||
onMouseUp?: import("preact").JSX.MouseEventHandler<HTMLInputElement> | undefined; | ||
onMouseUpCapture?: import("preact").JSX.MouseEventHandler<HTMLInputElement> | undefined; | ||
onSelect?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onSelectCapture?: import("preact").JSX.GenericEventHandler<HTMLInputElement> | undefined; | ||
onTouchCancel?: import("preact").JSX.TouchEventHandler<HTMLInputElement> | undefined; | ||
onTouchCancelCapture?: import("preact").JSX.TouchEventHandler<HTMLInputElement> | undefined; | ||
onTouchEnd?: import("preact").JSX.TouchEventHandler<HTMLInputElement> | undefined; | ||
onTouchEndCapture?: import("preact").JSX.TouchEventHandler<HTMLInputElement> | undefined; | ||
onTouchMove?: import("preact").JSX.TouchEventHandler<HTMLInputElement> | undefined; | ||
onTouchMoveCapture?: import("preact").JSX.TouchEventHandler<HTMLInputElement> | undefined; | ||
onTouchStart?: import("preact").JSX.TouchEventHandler<HTMLInputElement> | undefined; | ||
onTouchStartCapture?: import("preact").JSX.TouchEventHandler<HTMLInputElement> | undefined; | ||
onPointerOver?: import("preact").JSX.PointerEventHandler<HTMLInputElement> | undefined; | ||
onPointerOverCapture?: import("preact").JSX.PointerEventHandler<HTMLInputElement> | undefined; | ||
onPointerEnter?: import("preact").JSX.PointerEventHandler<HTMLInputElement> | undefined; | ||
onPointerEnterCapture?: import("preact").JSX.PointerEventHandler<HTMLInputElement> | undefined; | ||
onPointerDown?: import("preact").JSX.PointerEventHandler<HTMLInputElement> | undefined; | ||
onPointerDownCapture?: import("preact").JSX.PointerEventHandler<HTMLInputElement> | undefined; | ||
onPointerMove?: import("preact").JSX.PointerEventHandler<HTMLInputElement> | undefined; | ||
onPointerMoveCapture?: import("preact").JSX.PointerEventHandler<HTMLInputElement> | undefined; | ||
onPointerUp?: import("preact").JSX.PointerEventHandler<HTMLInputElement> | undefined; | ||
onPointerUpCapture?: import("preact").JSX.PointerEventHandler<HTMLInputElement> | undefined; | ||
onPointerCancel?: import("preact").JSX.PointerEventHandler<HTMLInputElement> | undefined; | ||
onPointerCancelCapture?: import("preact").JSX.PointerEventHandler<HTMLInputElement> | undefined; | ||
onPointerOut?: import("preact").JSX.PointerEventHandler<HTMLInputElement> | undefined; | ||
onPointerOutCapture?: import("preact").JSX.PointerEventHandler<HTMLInputElement> | undefined; | ||
onPointerLeave?: import("preact").JSX.PointerEventHandler<HTMLInputElement> | undefined; | ||
onPointerLeaveCapture?: import("preact").JSX.PointerEventHandler<HTMLInputElement> | undefined; | ||
onGotPointerCapture?: import("preact").JSX.PointerEventHandler<HTMLInputElement> | undefined; | ||
onGotPointerCaptureCapture?: import("preact").JSX.PointerEventHandler<HTMLInputElement> | undefined; | ||
onLostPointerCapture?: import("preact").JSX.PointerEventHandler<HTMLInputElement> | undefined; | ||
onLostPointerCaptureCapture?: import("preact").JSX.PointerEventHandler<HTMLInputElement> | undefined; | ||
onScroll?: import("preact").JSX.UIEventHandler<HTMLInputElement> | undefined; | ||
onScrollCapture?: import("preact").JSX.UIEventHandler<HTMLInputElement> | undefined; | ||
onWheel?: import("preact").JSX.WheelEventHandler<HTMLInputElement> | undefined; | ||
onWheelCapture?: import("preact").JSX.WheelEventHandler<HTMLInputElement> | undefined; | ||
onAnimationStart?: import("preact").JSX.AnimationEventHandler<HTMLInputElement> | undefined; | ||
onAnimationStartCapture?: import("preact").JSX.AnimationEventHandler<HTMLInputElement> | undefined; | ||
onAnimationEnd?: import("preact").JSX.AnimationEventHandler<HTMLInputElement> | undefined; | ||
onAnimationEndCapture?: import("preact").JSX.AnimationEventHandler<HTMLInputElement> | undefined; | ||
onAnimationIteration?: import("preact").JSX.AnimationEventHandler<HTMLInputElement> | undefined; | ||
onAnimationIterationCapture?: import("preact").JSX.AnimationEventHandler<HTMLInputElement> | undefined; | ||
onTransitionEnd?: import("preact").JSX.TransitionEventHandler<HTMLInputElement> | undefined; | ||
onTransitionEndCapture?: import("preact").JSX.TransitionEventHandler<HTMLInputElement> | undefined; | ||
children?: import("preact").ComponentChildren; | ||
dangerouslySetInnerHTML?: { | ||
__html: string; | ||
}; | ||
} | undefined; | ||
}; | ||
@@ -391,3 +391,3 @@ /** | ||
*/ | ||
export type TextInputProps = TextInputBaseProps & Pick<import("preact").JSX.HTMLAttributes<HTMLInputElement>, "max" | "required" | "default" | "high" | "low" | "disabled" | "start" | "open" | "media" | "loading" | "hidden" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "async" | "readonly" | "defer" | "manifest" | "content" | "height" | "width" | "target" | "key" | "headers" | "name" | "className" | "class" | "size" | "accept" | "acceptCharset" | "accessKey" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "autocomplete" | "autoComplete" | "autocorrect" | "autoCorrect" | "autofocus" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cols" | "colSpan" | "contentEditable" | "contextMenu" | "controls" | "controlsList" | "coords" | "crossOrigin" | "dateTime" | "disableRemotePlayback" | "download" | "draggable" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "href" | "hrefLang" | "for" | "htmlFor" | "httpEquiv" | "icon" | "id" | "inputMode" | "integrity" | "is" | "keyParams" | "keyType" | "kind" | "lang" | "list" | "loop" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "radioGroup" | "readOnly" | "rel" | "role" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "spellcheck" | "src" | "srcset" | "srcDoc" | "srcLang" | "srcSet" | "step" | "tabIndex" | "useMap" | "value" | "volume" | "wmode" | "wrap" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "ref" | "jsx" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onToggle" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onSearch" | "onSearchCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onReset" | "onResetCapture" | "onFormData" | "onFormDataCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDblClick" | "onDblClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseEnterCapture" | "onMouseLeave" | "onMouseLeaveCapture" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerOut" | "onPointerOutCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "children" | "dangerouslySetInnerHTML">; | ||
export type TextInputProps = TextInputBaseProps & Pick<import("preact").JSX.HTMLAttributes<HTMLInputElement>, "content" | "height" | "width" | "target" | "data" | "key" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "name" | "className" | "dir" | "class" | "size" | "accept" | "acceptCharset" | "accessKey" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autocomplete" | "autoComplete" | "autocorrect" | "autoCorrect" | "autofocus" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cols" | "colSpan" | "contentEditable" | "contextMenu" | "controls" | "controlsList" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "disableRemotePlayback" | "download" | "draggable" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "hidden" | "high" | "href" | "hrefLang" | "for" | "htmlFor" | "httpEquiv" | "icon" | "id" | "inputMode" | "integrity" | "is" | "keyParams" | "keyType" | "kind" | "lang" | "list" | "loading" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "open" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "radioGroup" | "readonly" | "readOnly" | "rel" | "required" | "role" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "spellcheck" | "src" | "srcset" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "tabIndex" | "useMap" | "value" | "volume" | "wmode" | "wrap" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "ref" | "jsx" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onToggle" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onSearch" | "onSearchCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onReset" | "onResetCapture" | "onFormData" | "onFormDataCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDblClick" | "onDblClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseEnterCapture" | "onMouseLeave" | "onMouseLeaveCapture" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerOut" | "onPointerOutCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "children" | "dangerouslySetInnerHTML">; | ||
export type TextInputWithButtonProps = { | ||
@@ -398,3 +398,3 @@ children: Children; | ||
*/ | ||
classes?: string; | ||
classes?: string | undefined; | ||
}; |
@@ -40,4 +40,4 @@ /** | ||
*/ | ||
export function Thumbnail({ children, classes, isLoading, placeholder, size, }: ThumbnailProps): any; | ||
export type Children = string | number | boolean | object | import("preact").VNode<any> | import("preact").ComponentChild[]; | ||
export function Thumbnail({ children, classes, isLoading, placeholder, size, }: ThumbnailProps): import("preact").JSX.Element; | ||
export type Children = string | number | boolean | object | import("preact").VNode<any> | import("preact").ComponentChild[] | null | undefined; | ||
export type ThumbnailProps = { | ||
@@ -51,7 +51,7 @@ /** | ||
*/ | ||
classes?: string; | ||
classes?: string | undefined; | ||
/** | ||
* - Is the thumbnail loading? | ||
*/ | ||
isLoading?: boolean; | ||
isLoading?: boolean | undefined; | ||
/** | ||
@@ -66,3 +66,3 @@ * - Optional placeholder to replace default | ||
*/ | ||
size?: 'small' | 'medium' | 'large'; | ||
size?: "small" | "medium" | "large" | undefined; | ||
}; |
@@ -18,3 +18,3 @@ /** | ||
*/ | ||
export function downcastRef<T, U extends T>(ref: import("preact").Ref<T>): import("preact").Ref<U>; | ||
export function downcastRef<T, U extends T>(ref: import("preact").RefObject<T> | import("preact").RefCallback<T> | undefined): import("preact").RefObject<U> | import("preact").RefCallback<U> | undefined; | ||
export type Ref<T> = import("preact").RefObject<T> | import("preact").RefCallback<T>; |
{ | ||
"name": "@hypothesis/frontend-shared", | ||
"version": "3.8.0", | ||
"version": "3.8.1", | ||
"description": "Shared components, styles and utilities for Hypothesis projects", | ||
@@ -62,4 +62,3 @@ "license": "BSD-2-Clause", | ||
"build-js": "babel src --out-dir lib --source-maps --ignore '**/test' --ignore '**/karma.config.js'", | ||
"build-types": "tsc --allowJs --declaration --emitDeclarationOnly --outDir lib src/index.js", | ||
"build": "yarn build-js && yarn build-types", | ||
"build": "yarn build-js && tsc --build src/tsconfig.json", | ||
"typecheck": "tsc --build src/tsconfig.json", | ||
@@ -66,0 +65,0 @@ "lint": "eslint .", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
765614
182
10570