isomorfeus-preact 10.6.2 → 10.6.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. checksums.yaml +4 -4
  2. data/lib/preact/version.rb +1 -1
  3. data/node_modules/.package-lock.json +3 -3
  4. data/node_modules/preact/LICENSE +21 -21
  5. data/node_modules/preact/README.md +187 -187
  6. data/node_modules/preact/compat/dist/compat.js +1 -1
  7. data/node_modules/preact/compat/dist/compat.js.map +1 -1
  8. data/node_modules/preact/compat/dist/compat.mjs +1 -1
  9. data/node_modules/preact/compat/dist/compat.module.js +1 -1
  10. data/node_modules/preact/compat/dist/compat.module.js.map +1 -1
  11. data/node_modules/preact/compat/dist/compat.umd.js +1 -1
  12. data/node_modules/preact/compat/dist/compat.umd.js.map +1 -1
  13. data/node_modules/preact/compat/jsx-dev-runtime.js +1 -1
  14. data/node_modules/preact/compat/jsx-dev-runtime.mjs +1 -1
  15. data/node_modules/preact/compat/jsx-runtime.js +1 -1
  16. data/node_modules/preact/compat/jsx-runtime.mjs +1 -1
  17. data/node_modules/preact/compat/package.json +19 -19
  18. data/node_modules/preact/compat/scheduler.js +15 -15
  19. data/node_modules/preact/compat/scheduler.mjs +23 -23
  20. data/node_modules/preact/compat/server.js +15 -15
  21. data/node_modules/preact/compat/server.mjs +4 -4
  22. data/node_modules/preact/compat/src/Children.js +21 -21
  23. data/node_modules/preact/compat/src/PureComponent.js +15 -15
  24. data/node_modules/preact/compat/src/forwardRef.js +51 -51
  25. data/node_modules/preact/compat/src/index.d.ts +141 -141
  26. data/node_modules/preact/compat/src/index.js +187 -187
  27. data/node_modules/preact/compat/src/internal.d.ts +47 -47
  28. data/node_modules/preact/compat/src/memo.js +34 -34
  29. data/node_modules/preact/compat/src/portals.js +80 -80
  30. data/node_modules/preact/compat/src/render.js +230 -226
  31. data/node_modules/preact/compat/src/suspense-list.d.ts +14 -14
  32. data/node_modules/preact/compat/src/suspense-list.js +126 -126
  33. data/node_modules/preact/compat/src/suspense.d.ts +15 -15
  34. data/node_modules/preact/compat/src/suspense.js +270 -270
  35. data/node_modules/preact/compat/src/util.js +28 -28
  36. data/node_modules/preact/compat/test-utils.js +1 -1
  37. data/node_modules/preact/debug/dist/debug.js.map +1 -1
  38. data/node_modules/preact/debug/dist/debug.module.js.map +1 -1
  39. data/node_modules/preact/debug/dist/debug.umd.js.map +1 -1
  40. data/node_modules/preact/debug/package.json +18 -18
  41. data/node_modules/preact/debug/src/check-props.js +54 -54
  42. data/node_modules/preact/debug/src/component-stack.js +146 -146
  43. data/node_modules/preact/debug/src/constants.js +3 -3
  44. data/node_modules/preact/debug/src/debug.js +442 -442
  45. data/node_modules/preact/debug/src/index.js +6 -6
  46. data/node_modules/preact/debug/src/internal.d.ts +82 -82
  47. data/node_modules/preact/debug/src/util.js +11 -11
  48. data/node_modules/preact/devtools/dist/devtools.js +1 -1
  49. data/node_modules/preact/devtools/dist/devtools.js.map +1 -1
  50. data/node_modules/preact/devtools/dist/devtools.mjs +1 -1
  51. data/node_modules/preact/devtools/dist/devtools.module.js +1 -1
  52. data/node_modules/preact/devtools/dist/devtools.module.js.map +1 -1
  53. data/node_modules/preact/devtools/dist/devtools.umd.js +1 -1
  54. data/node_modules/preact/devtools/dist/devtools.umd.js.map +1 -1
  55. data/node_modules/preact/devtools/package.json +16 -16
  56. data/node_modules/preact/devtools/src/devtools.js +10 -10
  57. data/node_modules/preact/devtools/src/index.d.ts +8 -8
  58. data/node_modules/preact/devtools/src/index.js +15 -15
  59. data/node_modules/preact/dist/preact.js.map +1 -1
  60. data/node_modules/preact/dist/preact.min.js.map +1 -1
  61. data/node_modules/preact/dist/preact.module.js.map +1 -1
  62. data/node_modules/preact/dist/preact.umd.js.map +1 -1
  63. data/node_modules/preact/hooks/dist/hooks.js +1 -1
  64. data/node_modules/preact/hooks/dist/hooks.js.map +1 -1
  65. data/node_modules/preact/hooks/dist/hooks.mjs +1 -1
  66. data/node_modules/preact/hooks/dist/hooks.module.js +1 -1
  67. data/node_modules/preact/hooks/dist/hooks.module.js.map +1 -1
  68. data/node_modules/preact/hooks/dist/hooks.umd.js +1 -1
  69. data/node_modules/preact/hooks/dist/hooks.umd.js.map +1 -1
  70. data/node_modules/preact/hooks/package.json +26 -26
  71. data/node_modules/preact/hooks/src/index.d.ts +139 -139
  72. data/node_modules/preact/hooks/src/index.js +388 -387
  73. data/node_modules/preact/hooks/src/internal.d.ts +75 -75
  74. data/node_modules/preact/jsx-runtime/dist/jsxRuntime.js.map +1 -1
  75. data/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js.map +1 -1
  76. data/node_modules/preact/jsx-runtime/dist/jsxRuntime.umd.js.map +1 -1
  77. data/node_modules/preact/jsx-runtime/package.json +19 -19
  78. data/node_modules/preact/jsx-runtime/src/index.d.ts +50 -50
  79. data/node_modules/preact/jsx-runtime/src/index.js +77 -77
  80. data/node_modules/preact/package.json +287 -287
  81. data/node_modules/preact/src/cjs.js +3 -3
  82. data/node_modules/preact/src/clone-element.js +34 -34
  83. data/node_modules/preact/src/component.js +225 -225
  84. data/node_modules/preact/src/constants.js +3 -3
  85. data/node_modules/preact/src/create-context.js +68 -68
  86. data/node_modules/preact/src/create-element.js +98 -98
  87. data/node_modules/preact/src/diff/catch-error.js +38 -38
  88. data/node_modules/preact/src/diff/children.js +335 -335
  89. data/node_modules/preact/src/diff/index.js +516 -516
  90. data/node_modules/preact/src/diff/props.js +158 -158
  91. data/node_modules/preact/src/index.d.ts +310 -310
  92. data/node_modules/preact/src/index.js +13 -13
  93. data/node_modules/preact/src/internal.d.ts +146 -146
  94. data/node_modules/preact/src/jsx.d.ts +1005 -1005
  95. data/node_modules/preact/src/options.js +16 -16
  96. data/node_modules/preact/src/render.js +75 -75
  97. data/node_modules/preact/src/util.js +27 -27
  98. data/node_modules/preact/test-utils/dist/testUtils.js.map +1 -1
  99. data/node_modules/preact/test-utils/dist/testUtils.module.js.map +1 -1
  100. data/node_modules/preact/test-utils/dist/testUtils.umd.js.map +1 -1
  101. data/node_modules/preact/test-utils/package.json +19 -19
  102. data/node_modules/preact/test-utils/src/index.d.ts +3 -3
  103. data/node_modules/preact/test-utils/src/index.js +117 -117
  104. data/package.json +1 -1
  105. metadata +17 -37
  106. data/node_modules/preact/compat/dist/compat.mjs.map +0 -1
  107. data/node_modules/preact/compat/dist/compat.modern.js +0 -2
  108. data/node_modules/preact/compat/dist/compat.modern.js.map +0 -1
  109. data/node_modules/preact/debug/dist/debug.mjs.map +0 -1
  110. data/node_modules/preact/debug/dist/debug.modern.js +0 -2
  111. data/node_modules/preact/debug/dist/debug.modern.js.map +0 -1
  112. data/node_modules/preact/devtools/dist/devtools.mjs.map +0 -1
  113. data/node_modules/preact/devtools/dist/devtools.modern.js +0 -2
  114. data/node_modules/preact/devtools/dist/devtools.modern.js.map +0 -1
  115. data/node_modules/preact/dist/index.d.ts +0 -1295
  116. data/node_modules/preact/dist/preact.mjs.map +0 -1
  117. data/node_modules/preact/hooks/dist/hooks.mjs.map +0 -1
  118. data/node_modules/preact/hooks/dist/hooks.modern.js +0 -2
  119. data/node_modules/preact/hooks/dist/hooks.modern.js.map +0 -1
  120. data/node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs.map +0 -1
  121. data/node_modules/preact/jsx-runtime/dist/jsxRuntime.modern.js +0 -2
  122. data/node_modules/preact/jsx-runtime/dist/jsxRuntime.modern.js.map +0 -1
  123. data/node_modules/preact/test-utils/dist/testUtils.mjs.map +0 -1
  124. data/node_modules/preact/test-utils/dist/testUtils.modern.js +0 -2
  125. data/node_modules/preact/test-utils/dist/testUtils.modern.js.map +0 -1
@@ -1,1295 +0,0 @@
1
- // Generated by dts-bundle v0.7.3
2
-
3
- declare module 'preact' {
4
- export as namespace preact;
5
-
6
- import { JSXInternal } from 'preact/jsx';
7
-
8
- export import JSX = JSXInternal;
9
-
10
-
11
- export interface VNode<P = {}> {
12
- type: ComponentType<P> | string;
13
- props: P & { children: ComponentChildren };
14
- key: Key;
15
- /**
16
- * ref is not guaranteed by React.ReactElement, for compatibility reasons
17
- * with popular react libs we define it as optional too
18
- */
19
- ref?: Ref<any> | null;
20
- /**
21
- * The time this `vnode` started rendering. Will only be set when
22
- * the devtools are attached.
23
- * Default value: `0`
24
- */
25
- startTime?: number;
26
- /**
27
- * The time that the rendering of this `vnode` was completed. Will only be
28
- * set when the devtools are attached.
29
- * Default value: `-1`
30
- */
31
- endTime?: number;
32
- }
33
-
34
-
35
- export type Key = string | number | any;
36
-
37
- export type RefObject<T> = { current: T | null };
38
- export type RefCallback<T> = (instance: T | null) => void;
39
- export type Ref<T> = RefObject<T> | RefCallback<T>;
40
-
41
- export type ComponentChild =
42
- | VNode<any>
43
- | object
44
- | string
45
- | number
46
- | bigint
47
- | boolean
48
- | null
49
- | undefined;
50
- export type ComponentChildren = ComponentChild[] | ComponentChild;
51
-
52
- export interface Attributes {
53
- key?: Key;
54
- jsx?: boolean;
55
- }
56
-
57
- export interface ClassAttributes<T> extends Attributes {
58
- ref?: Ref<T>;
59
- }
60
-
61
- export interface PreactDOMAttributes {
62
- children?: ComponentChildren;
63
- dangerouslySetInnerHTML?: {
64
- __html: string;
65
- };
66
- }
67
-
68
- export type RenderableProps<P, RefType = any> = P &
69
- Readonly<Attributes & { children?: ComponentChildren; ref?: Ref<RefType> }>;
70
-
71
- export type ComponentType<P = {}> = ComponentClass<P> | FunctionComponent<P>;
72
- export type ComponentFactory<P = {}> = ComponentType<P>;
73
-
74
- export type ComponentProps<
75
- C extends ComponentType<any> | keyof JSXInternal.IntrinsicElements
76
- > = C extends ComponentType<infer P>
77
- ? P
78
- : C extends keyof JSXInternal.IntrinsicElements
79
- ? JSXInternal.IntrinsicElements[C]
80
- : never;
81
-
82
- export interface FunctionComponent<P = {}> {
83
- (props: RenderableProps<P>, context?: any): VNode<any> | null;
84
- displayName?: string;
85
- defaultProps?: Partial<P>;
86
- }
87
- export interface FunctionalComponent<P = {}> extends FunctionComponent<P> {}
88
-
89
- export interface ComponentClass<P = {}, S = {}> {
90
- new (props: P, context?: any): Component<P, S>;
91
- displayName?: string;
92
- defaultProps?: Partial<P>;
93
- contextType?: Context<any>;
94
- getDerivedStateFromProps?(
95
- props: Readonly<P>,
96
- state: Readonly<S>
97
- ): Partial<S> | null;
98
- getDerivedStateFromError?(error: any): Partial<S> | null;
99
- }
100
- export interface ComponentConstructor<P = {}, S = {}>
101
- extends ComponentClass<P, S> {}
102
-
103
- export type AnyComponent<P = {}, S = {}> =
104
- | FunctionComponent<P>
105
- | Component<P, S>;
106
-
107
- export interface Component<P = {}, S = {}> {
108
- componentWillMount?(): void;
109
- componentDidMount?(): void;
110
- componentWillUnmount?(): void;
111
- getChildContext?(): object;
112
- componentWillReceiveProps?(nextProps: Readonly<P>, nextContext: any): void;
113
- shouldComponentUpdate?(
114
- nextProps: Readonly<P>,
115
- nextState: Readonly<S>,
116
- nextContext: any
117
- ): boolean;
118
- componentWillUpdate?(
119
- nextProps: Readonly<P>,
120
- nextState: Readonly<S>,
121
- nextContext: any
122
- ): void;
123
- getSnapshotBeforeUpdate?(oldProps: Readonly<P>, oldState: Readonly<S>): any;
124
- componentDidUpdate?(
125
- previousProps: Readonly<P>,
126
- previousState: Readonly<S>,
127
- snapshot: any
128
- ): void;
129
- componentDidCatch?(error: any, errorInfo: any): void;
130
- }
131
-
132
- export abstract class Component<P, S> {
133
- constructor(props?: P, context?: any);
134
-
135
- static displayName?: string;
136
- static defaultProps?: any;
137
- static contextType?: Context<any>;
138
-
139
- // Static members cannot reference class type parameters. This is not
140
- // supported in TypeScript. Reusing the same type arguments from `Component`
141
- // will lead to an impossible state where one cannot satisfy the type
142
- // constraint under no circumstances, see #1356.In general type arguments
143
- // seem to be a bit buggy and not supported well at the time of this
144
- // writing with TS 3.3.3333.
145
- static getDerivedStateFromProps?(
146
- props: Readonly<object>,
147
- state: Readonly<object>
148
- ): object | null;
149
- static getDerivedStateFromError?(error: any): object | null;
150
-
151
- state: Readonly<S>;
152
- props: RenderableProps<P>;
153
- context: any;
154
- base?: Element | Text;
155
-
156
- // From https://github.com/DefinitelyTyped/DefinitelyTyped/blob/e836acc75a78cf0655b5dfdbe81d69fdd4d8a252/types/react/index.d.ts#L402
157
- // // We MUST keep setState() as a unified signature because it allows proper checking of the method return type.
158
- // // See: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/18365#issuecomment-351013257
159
- setState<K extends keyof S>(
160
- state:
161
- | ((
162
- prevState: Readonly<S>,
163
- props: Readonly<P>
164
- ) => Pick<S, K> | Partial<S> | null)
165
- | (Pick<S, K> | Partial<S> | null),
166
- callback?: () => void
167
- ): void;
168
-
169
- forceUpdate(callback?: () => void): void;
170
-
171
- abstract render(
172
- props?: RenderableProps<P>,
173
- state?: Readonly<S>,
174
- context?: any
175
- ): ComponentChild;
176
- }
177
-
178
-
179
- export function createElement(
180
- type: string,
181
- props:
182
- | (JSXInternal.HTMLAttributes &
183
- JSXInternal.SVGAttributes &
184
- Record<string, any>)
185
- | null,
186
- ...children: ComponentChildren[]
187
- ): VNode<any>;
188
- export function createElement<P>(
189
- type: ComponentType<P>,
190
- props: (Attributes & P) | null,
191
- ...children: ComponentChildren[]
192
- ): VNode<any>;
193
- export namespace createElement {
194
- export import JSX = JSXInternal;
195
- }
196
-
197
- export function h(
198
- type: string,
199
- props:
200
- | (JSXInternal.HTMLAttributes &
201
- JSXInternal.SVGAttributes &
202
- Record<string, any>)
203
- | null,
204
- ...children: ComponentChildren[]
205
- ): VNode<any>;
206
- export function h<P>(
207
- type: ComponentType<P>,
208
- props: (Attributes & P) | null,
209
- ...children: ComponentChildren[]
210
- ): VNode<any>;
211
- export namespace h {
212
- export import JSX = JSXInternal;
213
- }
214
-
215
-
216
- export function render(
217
- vnode: ComponentChild,
218
- parent: Element | Document | ShadowRoot | DocumentFragment,
219
- replaceNode?: Element | Text
220
- ): void;
221
- export function hydrate(
222
- vnode: ComponentChild,
223
- parent: Element | Document | ShadowRoot | DocumentFragment
224
- ): void;
225
- export function cloneElement(
226
- vnode: VNode<any>,
227
- props?: any,
228
- ...children: ComponentChildren[]
229
- ): VNode<any>;
230
- export function cloneElement<P>(
231
- vnode: VNode<P>,
232
- props?: any,
233
- ...children: ComponentChildren[]
234
- ): VNode<P>;
235
-
236
-
237
- export const Fragment: ComponentClass<{}, {}>;
238
-
239
-
240
- /**
241
- * Global options for preact
242
- */
243
- export interface Options {
244
- /** Attach a hook that is invoked whenever a VNode is created. */
245
- vnode?(vnode: VNode): void;
246
- /** Attach a hook that is invoked immediately before a vnode is unmounted. */
247
- unmount?(vnode: VNode): void;
248
- /** Attach a hook that is invoked after a vnode has rendered. */
249
- diffed?(vnode: VNode): void;
250
- event?(e: Event): any;
251
- requestAnimationFrame?: typeof requestAnimationFrame;
252
- debounceRendering?(cb: () => void): void;
253
- useDebugValue?(value: string | number): void;
254
- _addHookName?(name: string | number): void;
255
- __suspenseDidResolve?(vnode: VNode, cb: () => void): void;
256
- // __canSuspenseResolve?(vnode: VNode, cb: () => void): void;
257
- }
258
-
259
- export const options: Options;
260
-
261
- export function createRef<T = any>(): RefObject<T>;
262
- export function toChildArray(
263
- children: ComponentChildren
264
- ): Array<VNode | string | number>;
265
- export function isValidElement(vnode: any): vnode is VNode;
266
-
267
- export interface Consumer<T>
268
- extends FunctionComponent<{
269
- children: (value: T) => ComponentChildren;
270
- }> {}
271
- export interface PreactConsumer<T> extends Consumer<T> {}
272
-
273
- export interface Provider<T>
274
- extends FunctionComponent<{
275
- value: T;
276
- children: ComponentChildren;
277
- }> {}
278
- export interface PreactProvider<T> extends Provider<T> {}
279
-
280
- export interface Context<T> {
281
- Consumer: Consumer<T>;
282
- Provider: Provider<T>;
283
- displayName?: string;
284
- }
285
- export interface PreactContext<T> extends Context<T> {}
286
-
287
- export function createContext<T>(defaultValue: T): Context<T>;
288
- }
289
-
290
- declare module 'preact/jsx' {
291
-
292
- import {
293
- ClassAttributes,
294
- Component,
295
- PreactDOMAttributes,
296
- VNode
297
- } from './';
298
-
299
- type Defaultize<Props, Defaults> =
300
- // Distribute over unions
301
- Props extends any // Make any properties included in Default optional
302
- ? Partial<Pick<Props, Extract<keyof Props, keyof Defaults>>> & // Include the remaining properties from Props
303
- Pick<Props, Exclude<keyof Props, keyof Defaults>>
304
- : never;
305
-
306
- export namespace JSXInternal {
307
- export type LibraryManagedAttributes<Component, Props> = Component extends {
308
- defaultProps: infer Defaults;
309
- }
310
- ? Defaultize<Props, Defaults>
311
- : Props;
312
-
313
- export interface IntrinsicAttributes {
314
- key?: any;
315
- }
316
-
317
- export interface Element extends VNode<any> {}
318
-
319
- export interface ElementClass extends Component<any, any> {}
320
-
321
- export interface ElementAttributesProperty {
322
- props: any;
323
- }
324
-
325
- export interface ElementChildrenAttribute {
326
- children: any;
327
- }
328
-
329
- export type DOMCSSProperties = {
330
- [key in keyof Omit<
331
- CSSStyleDeclaration,
332
- | 'item'
333
- | 'setProperty'
334
- | 'removeProperty'
335
- | 'getPropertyValue'
336
- | 'getPropertyPriority'
337
- >]?: string | number | null | undefined;
338
- };
339
- export type AllCSSProperties = {
340
- [key: string]: string | number | null | undefined;
341
- };
342
- export interface CSSProperties extends AllCSSProperties, DOMCSSProperties {
343
- cssText?: string | null;
344
- }
345
-
346
- export interface SVGAttributes<Target extends EventTarget = SVGElement>
347
- extends HTMLAttributes<Target> {
348
- accentHeight?: number | string;
349
- accumulate?: 'none' | 'sum';
350
- additive?: 'replace' | 'sum';
351
- alignmentBaseline?:
352
- | 'auto'
353
- | 'baseline'
354
- | 'before-edge'
355
- | 'text-before-edge'
356
- | 'middle'
357
- | 'central'
358
- | 'after-edge'
359
- | 'text-after-edge'
360
- | 'ideographic'
361
- | 'alphabetic'
362
- | 'hanging'
363
- | 'mathematical'
364
- | 'inherit';
365
- allowReorder?: 'no' | 'yes';
366
- alphabetic?: number | string;
367
- amplitude?: number | string;
368
- arabicForm?: 'initial' | 'medial' | 'terminal' | 'isolated';
369
- ascent?: number | string;
370
- attributeName?: string;
371
- attributeType?: string;
372
- autoReverse?: number | string;
373
- azimuth?: number | string;
374
- baseFrequency?: number | string;
375
- baselineShift?: number | string;
376
- baseProfile?: number | string;
377
- bbox?: number | string;
378
- begin?: number | string;
379
- bias?: number | string;
380
- by?: number | string;
381
- calcMode?: number | string;
382
- capHeight?: number | string;
383
- clip?: number | string;
384
- clipPath?: string;
385
- clipPathUnits?: number | string;
386
- clipRule?: number | string;
387
- colorInterpolation?: number | string;
388
- colorInterpolationFilters?: 'auto' | 'sRGB' | 'linearRGB' | 'inherit';
389
- colorProfile?: number | string;
390
- colorRendering?: number | string;
391
- contentScriptType?: number | string;
392
- contentStyleType?: number | string;
393
- cursor?: number | string;
394
- cx?: number | string;
395
- cy?: number | string;
396
- d?: string;
397
- decelerate?: number | string;
398
- descent?: number | string;
399
- diffuseConstant?: number | string;
400
- direction?: number | string;
401
- display?: number | string;
402
- divisor?: number | string;
403
- dominantBaseline?: number | string;
404
- dur?: number | string;
405
- dx?: number | string;
406
- dy?: number | string;
407
- edgeMode?: number | string;
408
- elevation?: number | string;
409
- enableBackground?: number | string;
410
- end?: number | string;
411
- exponent?: number | string;
412
- externalResourcesRequired?: number | string;
413
- fill?: string;
414
- fillOpacity?: number | string;
415
- fillRule?: 'nonzero' | 'evenodd' | 'inherit';
416
- filter?: string;
417
- filterRes?: number | string;
418
- filterUnits?: number | string;
419
- floodColor?: number | string;
420
- floodOpacity?: number | string;
421
- focusable?: number | string;
422
- fontFamily?: string;
423
- fontSize?: number | string;
424
- fontSizeAdjust?: number | string;
425
- fontStretch?: number | string;
426
- fontStyle?: number | string;
427
- fontVariant?: number | string;
428
- fontWeight?: number | string;
429
- format?: number | string;
430
- from?: number | string;
431
- fx?: number | string;
432
- fy?: number | string;
433
- g1?: number | string;
434
- g2?: number | string;
435
- glyphName?: number | string;
436
- glyphOrientationHorizontal?: number | string;
437
- glyphOrientationVertical?: number | string;
438
- glyphRef?: number | string;
439
- gradientTransform?: string;
440
- gradientUnits?: string;
441
- hanging?: number | string;
442
- horizAdvX?: number | string;
443
- horizOriginX?: number | string;
444
- ideographic?: number | string;
445
- imageRendering?: number | string;
446
- in2?: number | string;
447
- in?: string;
448
- intercept?: number | string;
449
- k1?: number | string;
450
- k2?: number | string;
451
- k3?: number | string;
452
- k4?: number | string;
453
- k?: number | string;
454
- kernelMatrix?: number | string;
455
- kernelUnitLength?: number | string;
456
- kerning?: number | string;
457
- keyPoints?: number | string;
458
- keySplines?: number | string;
459
- keyTimes?: number | string;
460
- lengthAdjust?: number | string;
461
- letterSpacing?: number | string;
462
- lightingColor?: number | string;
463
- limitingConeAngle?: number | string;
464
- local?: number | string;
465
- markerEnd?: string;
466
- markerHeight?: number | string;
467
- markerMid?: string;
468
- markerStart?: string;
469
- markerUnits?: number | string;
470
- markerWidth?: number | string;
471
- mask?: string;
472
- maskContentUnits?: number | string;
473
- maskUnits?: number | string;
474
- mathematical?: number | string;
475
- mode?: number | string;
476
- numOctaves?: number | string;
477
- offset?: number | string;
478
- opacity?: number | string;
479
- operator?: number | string;
480
- order?: number | string;
481
- orient?: number | string;
482
- orientation?: number | string;
483
- origin?: number | string;
484
- overflow?: number | string;
485
- overlinePosition?: number | string;
486
- overlineThickness?: number | string;
487
- paintOrder?: number | string;
488
- panose1?: number | string;
489
- pathLength?: number | string;
490
- patternContentUnits?: string;
491
- patternTransform?: number | string;
492
- patternUnits?: string;
493
- pointerEvents?: number | string;
494
- points?: string;
495
- pointsAtX?: number | string;
496
- pointsAtY?: number | string;
497
- pointsAtZ?: number | string;
498
- preserveAlpha?: number | string;
499
- preserveAspectRatio?: string;
500
- primitiveUnits?: number | string;
501
- r?: number | string;
502
- radius?: number | string;
503
- refX?: number | string;
504
- refY?: number | string;
505
- renderingIntent?: number | string;
506
- repeatCount?: number | string;
507
- repeatDur?: number | string;
508
- requiredExtensions?: number | string;
509
- requiredFeatures?: number | string;
510
- restart?: number | string;
511
- result?: string;
512
- rotate?: number | string;
513
- rx?: number | string;
514
- ry?: number | string;
515
- scale?: number | string;
516
- seed?: number | string;
517
- shapeRendering?: number | string;
518
- slope?: number | string;
519
- spacing?: number | string;
520
- specularConstant?: number | string;
521
- specularExponent?: number | string;
522
- speed?: number | string;
523
- spreadMethod?: string;
524
- startOffset?: number | string;
525
- stdDeviation?: number | string;
526
- stemh?: number | string;
527
- stemv?: number | string;
528
- stitchTiles?: number | string;
529
- stopColor?: string;
530
- stopOpacity?: number | string;
531
- strikethroughPosition?: number | string;
532
- strikethroughThickness?: number | string;
533
- string?: number | string;
534
- stroke?: string;
535
- strokeDasharray?: string | number;
536
- strokeDashoffset?: string | number;
537
- strokeLinecap?: 'butt' | 'round' | 'square' | 'inherit';
538
- strokeLinejoin?: 'miter' | 'round' | 'bevel' | 'inherit';
539
- strokeMiterlimit?: string | number;
540
- strokeOpacity?: number | string;
541
- strokeWidth?: number | string;
542
- surfaceScale?: number | string;
543
- systemLanguage?: number | string;
544
- tableValues?: number | string;
545
- targetX?: number | string;
546
- targetY?: number | string;
547
- textAnchor?: string;
548
- textDecoration?: number | string;
549
- textLength?: number | string;
550
- textRendering?: number | string;
551
- to?: number | string;
552
- transform?: string;
553
- u1?: number | string;
554
- u2?: number | string;
555
- underlinePosition?: number | string;
556
- underlineThickness?: number | string;
557
- unicode?: number | string;
558
- unicodeBidi?: number | string;
559
- unicodeRange?: number | string;
560
- unitsPerEm?: number | string;
561
- vAlphabetic?: number | string;
562
- values?: string;
563
- vectorEffect?: number | string;
564
- version?: string;
565
- vertAdvY?: number | string;
566
- vertOriginX?: number | string;
567
- vertOriginY?: number | string;
568
- vHanging?: number | string;
569
- vIdeographic?: number | string;
570
- viewBox?: string;
571
- viewTarget?: number | string;
572
- visibility?: number | string;
573
- vMathematical?: number | string;
574
- widths?: number | string;
575
- wordSpacing?: number | string;
576
- writingMode?: number | string;
577
- x1?: number | string;
578
- x2?: number | string;
579
- x?: number | string;
580
- xChannelSelector?: string;
581
- xHeight?: number | string;
582
- xlinkActuate?: string;
583
- xlinkArcrole?: string;
584
- xlinkHref?: string;
585
- xlinkRole?: string;
586
- xlinkShow?: string;
587
- xlinkTitle?: string;
588
- xlinkType?: string;
589
- xmlBase?: string;
590
- xmlLang?: string;
591
- xmlns?: string;
592
- xmlnsXlink?: string;
593
- xmlSpace?: string;
594
- y1?: number | string;
595
- y2?: number | string;
596
- y?: number | string;
597
- yChannelSelector?: string;
598
- z?: number | string;
599
- zoomAndPan?: string;
600
- }
601
-
602
- export interface PathAttributes {
603
- d: string;
604
- }
605
-
606
- export type TargetedEvent<
607
- Target extends EventTarget = EventTarget,
608
- TypedEvent extends Event = Event
609
- > = Omit<TypedEvent, 'currentTarget'> & {
610
- readonly currentTarget: Target;
611
- };
612
-
613
- export type TargetedAnimationEvent<
614
- Target extends EventTarget
615
- > = TargetedEvent<Target, AnimationEvent>;
616
- export type TargetedClipboardEvent<
617
- Target extends EventTarget
618
- > = TargetedEvent<Target, ClipboardEvent>;
619
- export type TargetedCompositionEvent<
620
- Target extends EventTarget
621
- > = TargetedEvent<Target, CompositionEvent>;
622
- export type TargetedDragEvent<Target extends EventTarget> = TargetedEvent<
623
- Target,
624
- DragEvent
625
- >;
626
- export type TargetedFocusEvent<Target extends EventTarget> = TargetedEvent<
627
- Target,
628
- FocusEvent
629
- >;
630
- export type TargetedKeyboardEvent<Target extends EventTarget> = TargetedEvent<
631
- Target,
632
- KeyboardEvent
633
- >;
634
- export type TargetedMouseEvent<Target extends EventTarget> = TargetedEvent<
635
- Target,
636
- MouseEvent
637
- >;
638
- export type TargetedPointerEvent<Target extends EventTarget> = TargetedEvent<
639
- Target,
640
- PointerEvent
641
- >;
642
- export type TargetedTouchEvent<Target extends EventTarget> = TargetedEvent<
643
- Target,
644
- TouchEvent
645
- >;
646
- export type TargetedTransitionEvent<
647
- Target extends EventTarget
648
- > = TargetedEvent<Target, TransitionEvent>;
649
- export type TargetedUIEvent<Target extends EventTarget> = TargetedEvent<
650
- Target,
651
- UIEvent
652
- >;
653
- export type TargetedWheelEvent<Target extends EventTarget> = TargetedEvent<
654
- Target,
655
- WheelEvent
656
- >;
657
-
658
- export interface EventHandler<E extends TargetedEvent> {
659
- /**
660
- * The `this` keyword always points to the DOM element the event handler
661
- * was invoked on. See: https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Event_handlers#Event_handlers_parameters_this_binding_and_the_return_value
662
- */
663
- (this: never, event: E): void;
664
- }
665
-
666
- export type AnimationEventHandler<Target extends EventTarget> = EventHandler<
667
- TargetedAnimationEvent<Target>
668
- >;
669
- export type ClipboardEventHandler<Target extends EventTarget> = EventHandler<
670
- TargetedClipboardEvent<Target>
671
- >;
672
- export type CompositionEventHandler<
673
- Target extends EventTarget
674
- > = EventHandler<TargetedCompositionEvent<Target>>;
675
- export type DragEventHandler<Target extends EventTarget> = EventHandler<
676
- TargetedDragEvent<Target>
677
- >;
678
- export type FocusEventHandler<Target extends EventTarget> = EventHandler<
679
- TargetedFocusEvent<Target>
680
- >;
681
- export type GenericEventHandler<Target extends EventTarget> = EventHandler<
682
- TargetedEvent<Target>
683
- >;
684
- export type KeyboardEventHandler<Target extends EventTarget> = EventHandler<
685
- TargetedKeyboardEvent<Target>
686
- >;
687
- export type MouseEventHandler<Target extends EventTarget> = EventHandler<
688
- TargetedMouseEvent<Target>
689
- >;
690
- export type PointerEventHandler<Target extends EventTarget> = EventHandler<
691
- TargetedPointerEvent<Target>
692
- >;
693
- export type TouchEventHandler<Target extends EventTarget> = EventHandler<
694
- TargetedTouchEvent<Target>
695
- >;
696
- export type TransitionEventHandler<Target extends EventTarget> = EventHandler<
697
- TargetedTransitionEvent<Target>
698
- >;
699
- export type UIEventHandler<Target extends EventTarget> = EventHandler<
700
- TargetedUIEvent<Target>
701
- >;
702
- export type WheelEventHandler<Target extends EventTarget> = EventHandler<
703
- TargetedWheelEvent<Target>
704
- >;
705
-
706
- export interface DOMAttributes<Target extends EventTarget>
707
- extends PreactDOMAttributes {
708
- // Image Events
709
- onLoad?: GenericEventHandler<Target>;
710
- onLoadCapture?: GenericEventHandler<Target>;
711
- onError?: GenericEventHandler<Target>;
712
- onErrorCapture?: GenericEventHandler<Target>;
713
-
714
- // Clipboard Events
715
- onCopy?: ClipboardEventHandler<Target>;
716
- onCopyCapture?: ClipboardEventHandler<Target>;
717
- onCut?: ClipboardEventHandler<Target>;
718
- onCutCapture?: ClipboardEventHandler<Target>;
719
- onPaste?: ClipboardEventHandler<Target>;
720
- onPasteCapture?: ClipboardEventHandler<Target>;
721
-
722
- // Composition Events
723
- onCompositionEnd?: CompositionEventHandler<Target>;
724
- onCompositionEndCapture?: CompositionEventHandler<Target>;
725
- onCompositionStart?: CompositionEventHandler<Target>;
726
- onCompositionStartCapture?: CompositionEventHandler<Target>;
727
- onCompositionUpdate?: CompositionEventHandler<Target>;
728
- onCompositionUpdateCapture?: CompositionEventHandler<Target>;
729
-
730
- // Details Events
731
- onToggle?: GenericEventHandler<Target>;
732
-
733
- // Focus Events
734
- onFocus?: FocusEventHandler<Target>;
735
- onFocusCapture?: FocusEventHandler<Target>;
736
- onfocusin?: FocusEventHandler<Target>;
737
- onfocusinCapture?: FocusEventHandler<Target>;
738
- onfocusout?: FocusEventHandler<Target>;
739
- onfocusoutCapture?: FocusEventHandler<Target>;
740
- onBlur?: FocusEventHandler<Target>;
741
- onBlurCapture?: FocusEventHandler<Target>;
742
-
743
- // Form Events
744
- onChange?: GenericEventHandler<Target>;
745
- onChangeCapture?: GenericEventHandler<Target>;
746
- onInput?: GenericEventHandler<Target>;
747
- onInputCapture?: GenericEventHandler<Target>;
748
- onBeforeInput?: GenericEventHandler<Target>;
749
- onBeforeInputCapture?: GenericEventHandler<Target>;
750
- onSearch?: GenericEventHandler<Target>;
751
- onSearchCapture?: GenericEventHandler<Target>;
752
- onSubmit?: GenericEventHandler<Target>;
753
- onSubmitCapture?: GenericEventHandler<Target>;
754
- onInvalid?: GenericEventHandler<Target>;
755
- onInvalidCapture?: GenericEventHandler<Target>;
756
- onReset?: GenericEventHandler<Target>;
757
- onResetCapture?: GenericEventHandler<Target>;
758
- onFormData?: GenericEventHandler<Target>;
759
- onFormDataCapture?: GenericEventHandler<Target>;
760
-
761
- // Keyboard Events
762
- onKeyDown?: KeyboardEventHandler<Target>;
763
- onKeyDownCapture?: KeyboardEventHandler<Target>;
764
- onKeyPress?: KeyboardEventHandler<Target>;
765
- onKeyPressCapture?: KeyboardEventHandler<Target>;
766
- onKeyUp?: KeyboardEventHandler<Target>;
767
- onKeyUpCapture?: KeyboardEventHandler<Target>;
768
-
769
- // Media Events
770
- onAbort?: GenericEventHandler<Target>;
771
- onAbortCapture?: GenericEventHandler<Target>;
772
- onCanPlay?: GenericEventHandler<Target>;
773
- onCanPlayCapture?: GenericEventHandler<Target>;
774
- onCanPlayThrough?: GenericEventHandler<Target>;
775
- onCanPlayThroughCapture?: GenericEventHandler<Target>;
776
- onDurationChange?: GenericEventHandler<Target>;
777
- onDurationChangeCapture?: GenericEventHandler<Target>;
778
- onEmptied?: GenericEventHandler<Target>;
779
- onEmptiedCapture?: GenericEventHandler<Target>;
780
- onEncrypted?: GenericEventHandler<Target>;
781
- onEncryptedCapture?: GenericEventHandler<Target>;
782
- onEnded?: GenericEventHandler<Target>;
783
- onEndedCapture?: GenericEventHandler<Target>;
784
- onLoadedData?: GenericEventHandler<Target>;
785
- onLoadedDataCapture?: GenericEventHandler<Target>;
786
- onLoadedMetadata?: GenericEventHandler<Target>;
787
- onLoadedMetadataCapture?: GenericEventHandler<Target>;
788
- onLoadStart?: GenericEventHandler<Target>;
789
- onLoadStartCapture?: GenericEventHandler<Target>;
790
- onPause?: GenericEventHandler<Target>;
791
- onPauseCapture?: GenericEventHandler<Target>;
792
- onPlay?: GenericEventHandler<Target>;
793
- onPlayCapture?: GenericEventHandler<Target>;
794
- onPlaying?: GenericEventHandler<Target>;
795
- onPlayingCapture?: GenericEventHandler<Target>;
796
- onProgress?: GenericEventHandler<Target>;
797
- onProgressCapture?: GenericEventHandler<Target>;
798
- onRateChange?: GenericEventHandler<Target>;
799
- onRateChangeCapture?: GenericEventHandler<Target>;
800
- onSeeked?: GenericEventHandler<Target>;
801
- onSeekedCapture?: GenericEventHandler<Target>;
802
- onSeeking?: GenericEventHandler<Target>;
803
- onSeekingCapture?: GenericEventHandler<Target>;
804
- onStalled?: GenericEventHandler<Target>;
805
- onStalledCapture?: GenericEventHandler<Target>;
806
- onSuspend?: GenericEventHandler<Target>;
807
- onSuspendCapture?: GenericEventHandler<Target>;
808
- onTimeUpdate?: GenericEventHandler<Target>;
809
- onTimeUpdateCapture?: GenericEventHandler<Target>;
810
- onVolumeChange?: GenericEventHandler<Target>;
811
- onVolumeChangeCapture?: GenericEventHandler<Target>;
812
- onWaiting?: GenericEventHandler<Target>;
813
- onWaitingCapture?: GenericEventHandler<Target>;
814
-
815
- // MouseEvents
816
- onClick?: MouseEventHandler<Target>;
817
- onClickCapture?: MouseEventHandler<Target>;
818
- onContextMenu?: MouseEventHandler<Target>;
819
- onContextMenuCapture?: MouseEventHandler<Target>;
820
- onDblClick?: MouseEventHandler<Target>;
821
- onDblClickCapture?: MouseEventHandler<Target>;
822
- onDrag?: DragEventHandler<Target>;
823
- onDragCapture?: DragEventHandler<Target>;
824
- onDragEnd?: DragEventHandler<Target>;
825
- onDragEndCapture?: DragEventHandler<Target>;
826
- onDragEnter?: DragEventHandler<Target>;
827
- onDragEnterCapture?: DragEventHandler<Target>;
828
- onDragExit?: DragEventHandler<Target>;
829
- onDragExitCapture?: DragEventHandler<Target>;
830
- onDragLeave?: DragEventHandler<Target>;
831
- onDragLeaveCapture?: DragEventHandler<Target>;
832
- onDragOver?: DragEventHandler<Target>;
833
- onDragOverCapture?: DragEventHandler<Target>;
834
- onDragStart?: DragEventHandler<Target>;
835
- onDragStartCapture?: DragEventHandler<Target>;
836
- onDrop?: DragEventHandler<Target>;
837
- onDropCapture?: DragEventHandler<Target>;
838
- onMouseDown?: MouseEventHandler<Target>;
839
- onMouseDownCapture?: MouseEventHandler<Target>;
840
- onMouseEnter?: MouseEventHandler<Target>;
841
- onMouseEnterCapture?: MouseEventHandler<Target>;
842
- onMouseLeave?: MouseEventHandler<Target>;
843
- onMouseLeaveCapture?: MouseEventHandler<Target>;
844
- onMouseMove?: MouseEventHandler<Target>;
845
- onMouseMoveCapture?: MouseEventHandler<Target>;
846
- onMouseOut?: MouseEventHandler<Target>;
847
- onMouseOutCapture?: MouseEventHandler<Target>;
848
- onMouseOver?: MouseEventHandler<Target>;
849
- onMouseOverCapture?: MouseEventHandler<Target>;
850
- onMouseUp?: MouseEventHandler<Target>;
851
- onMouseUpCapture?: MouseEventHandler<Target>;
852
-
853
- // Selection Events
854
- onSelect?: GenericEventHandler<Target>;
855
- onSelectCapture?: GenericEventHandler<Target>;
856
-
857
- // Touch Events
858
- onTouchCancel?: TouchEventHandler<Target>;
859
- onTouchCancelCapture?: TouchEventHandler<Target>;
860
- onTouchEnd?: TouchEventHandler<Target>;
861
- onTouchEndCapture?: TouchEventHandler<Target>;
862
- onTouchMove?: TouchEventHandler<Target>;
863
- onTouchMoveCapture?: TouchEventHandler<Target>;
864
- onTouchStart?: TouchEventHandler<Target>;
865
- onTouchStartCapture?: TouchEventHandler<Target>;
866
-
867
- // Pointer Events
868
- onPointerOver?: PointerEventHandler<Target>;
869
- onPointerOverCapture?: PointerEventHandler<Target>;
870
- onPointerEnter?: PointerEventHandler<Target>;
871
- onPointerEnterCapture?: PointerEventHandler<Target>;
872
- onPointerDown?: PointerEventHandler<Target>;
873
- onPointerDownCapture?: PointerEventHandler<Target>;
874
- onPointerMove?: PointerEventHandler<Target>;
875
- onPointerMoveCapture?: PointerEventHandler<Target>;
876
- onPointerUp?: PointerEventHandler<Target>;
877
- onPointerUpCapture?: PointerEventHandler<Target>;
878
- onPointerCancel?: PointerEventHandler<Target>;
879
- onPointerCancelCapture?: PointerEventHandler<Target>;
880
- onPointerOut?: PointerEventHandler<Target>;
881
- onPointerOutCapture?: PointerEventHandler<Target>;
882
- onPointerLeave?: PointerEventHandler<Target>;
883
- onPointerLeaveCapture?: PointerEventHandler<Target>;
884
- onGotPointerCapture?: PointerEventHandler<Target>;
885
- onGotPointerCaptureCapture?: PointerEventHandler<Target>;
886
- onLostPointerCapture?: PointerEventHandler<Target>;
887
- onLostPointerCaptureCapture?: PointerEventHandler<Target>;
888
-
889
- // UI Events
890
- onScroll?: UIEventHandler<Target>;
891
- onScrollCapture?: UIEventHandler<Target>;
892
-
893
- // Wheel Events
894
- onWheel?: WheelEventHandler<Target>;
895
- onWheelCapture?: WheelEventHandler<Target>;
896
-
897
- // Animation Events
898
- onAnimationStart?: AnimationEventHandler<Target>;
899
- onAnimationStartCapture?: AnimationEventHandler<Target>;
900
- onAnimationEnd?: AnimationEventHandler<Target>;
901
- onAnimationEndCapture?: AnimationEventHandler<Target>;
902
- onAnimationIteration?: AnimationEventHandler<Target>;
903
- onAnimationIterationCapture?: AnimationEventHandler<Target>;
904
-
905
- // Transition Events
906
- onTransitionEnd?: TransitionEventHandler<Target>;
907
- onTransitionEndCapture?: TransitionEventHandler<Target>;
908
- }
909
-
910
- export interface HTMLAttributes<RefType extends EventTarget = EventTarget>
911
- extends ClassAttributes<RefType>,
912
- DOMAttributes<RefType> {
913
- // Standard HTML Attributes
914
- accept?: string;
915
- acceptCharset?: string;
916
- accessKey?: string;
917
- action?: string;
918
- allow?: string;
919
- allowFullScreen?: boolean;
920
- allowTransparency?: boolean;
921
- alt?: string;
922
- as?: string;
923
- async?: boolean;
924
- autocomplete?: string;
925
- autoComplete?: string;
926
- autocorrect?: string;
927
- autoCorrect?: string;
928
- autofocus?: boolean;
929
- autoFocus?: boolean;
930
- autoPlay?: boolean;
931
- capture?: boolean | string;
932
- cellPadding?: number | string;
933
- cellSpacing?: number | string;
934
- charSet?: string;
935
- challenge?: string;
936
- checked?: boolean;
937
- cite?: string;
938
- class?: string;
939
- className?: string;
940
- cols?: number;
941
- colSpan?: number;
942
- content?: string;
943
- contentEditable?: boolean;
944
- contextMenu?: string;
945
- controls?: boolean;
946
- controlsList?: string;
947
- coords?: string;
948
- crossOrigin?: string;
949
- data?: string;
950
- dateTime?: string;
951
- default?: boolean;
952
- defer?: boolean;
953
- dir?: 'auto' | 'rtl' | 'ltr';
954
- disabled?: boolean;
955
- disableRemotePlayback?: boolean;
956
- download?: any;
957
- decoding?: 'sync' | 'async' | 'auto';
958
- draggable?: boolean;
959
- encType?: string;
960
- enterkeyhint?:
961
- | 'enter'
962
- | 'done'
963
- | 'go'
964
- | 'next'
965
- | 'previous'
966
- | 'search'
967
- | 'send';
968
- form?: string;
969
- formAction?: string;
970
- formEncType?: string;
971
- formMethod?: string;
972
- formNoValidate?: boolean;
973
- formTarget?: string;
974
- frameBorder?: number | string;
975
- headers?: string;
976
- height?: number | string;
977
- hidden?: boolean;
978
- high?: number;
979
- href?: string;
980
- hrefLang?: string;
981
- for?: string;
982
- htmlFor?: string;
983
- httpEquiv?: string;
984
- icon?: string;
985
- id?: string;
986
- inputMode?: string;
987
- integrity?: string;
988
- is?: string;
989
- keyParams?: string;
990
- keyType?: string;
991
- kind?: string;
992
- label?: string;
993
- lang?: string;
994
- list?: string;
995
- loading?: 'eager' | 'lazy';
996
- loop?: boolean;
997
- low?: number;
998
- manifest?: string;
999
- marginHeight?: number;
1000
- marginWidth?: number;
1001
- max?: number | string;
1002
- maxLength?: number;
1003
- media?: string;
1004
- mediaGroup?: string;
1005
- method?: string;
1006
- min?: number | string;
1007
- minLength?: number;
1008
- multiple?: boolean;
1009
- muted?: boolean;
1010
- name?: string;
1011
- nomodule?: boolean;
1012
- nonce?: string;
1013
- noValidate?: boolean;
1014
- open?: boolean;
1015
- optimum?: number;
1016
- pattern?: string;
1017
- ping?: string;
1018
- placeholder?: string;
1019
- playsInline?: boolean;
1020
- poster?: string;
1021
- preload?: string;
1022
- radioGroup?: string;
1023
- readonly?: boolean;
1024
- readOnly?: boolean;
1025
- referrerpolicy?:
1026
- | 'no-referrer'
1027
- | 'no-referrer-when-downgrade'
1028
- | 'origin'
1029
- | 'origin-when-cross-origin'
1030
- | 'same-origin'
1031
- | 'strict-origin'
1032
- | 'strict-origin-when-cross-origin'
1033
- | 'unsafe-url';
1034
- rel?: string;
1035
- required?: boolean;
1036
- reversed?: boolean;
1037
- role?: string;
1038
- rows?: number;
1039
- rowSpan?: number;
1040
- sandbox?: string;
1041
- scope?: string;
1042
- scoped?: boolean;
1043
- scrolling?: string;
1044
- seamless?: boolean;
1045
- selected?: boolean;
1046
- shape?: string;
1047
- size?: number;
1048
- sizes?: string;
1049
- slot?: string;
1050
- span?: number;
1051
- spellcheck?: boolean;
1052
- spellCheck?: boolean;
1053
- src?: string;
1054
- srcset?: string;
1055
- srcDoc?: string;
1056
- srcLang?: string;
1057
- srcSet?: string;
1058
- start?: number;
1059
- step?: number | string;
1060
- style?: string | CSSProperties;
1061
- summary?: string;
1062
- tabIndex?: number;
1063
- target?: string;
1064
- title?: string;
1065
- type?: string;
1066
- useMap?: string;
1067
- value?: string | string[] | number;
1068
- volume?: string | number;
1069
- width?: number | string;
1070
- wmode?: string;
1071
- wrap?: string;
1072
-
1073
- // Non-standard Attributes
1074
- autocapitalize?:
1075
- | 'off'
1076
- | 'none'
1077
- | 'on'
1078
- | 'sentences'
1079
- | 'words'
1080
- | 'characters';
1081
- autoCapitalize?:
1082
- | 'off'
1083
- | 'none'
1084
- | 'on'
1085
- | 'sentences'
1086
- | 'words'
1087
- | 'characters';
1088
- disablePictureInPicture?: boolean;
1089
- results?: number;
1090
- translate?: 'yes' | 'no';
1091
-
1092
- // RDFa Attributes
1093
- about?: string;
1094
- datatype?: string;
1095
- inlist?: any;
1096
- prefix?: string;
1097
- property?: string;
1098
- resource?: string;
1099
- typeof?: string;
1100
- vocab?: string;
1101
-
1102
- // Microdata Attributes
1103
- itemProp?: string;
1104
- itemScope?: boolean;
1105
- itemType?: string;
1106
- itemID?: string;
1107
- itemRef?: string;
1108
- }
1109
-
1110
- export interface HTMLMarqueeElement extends HTMLElement {
1111
- behavior?: 'scroll' | 'slide' | 'alternate';
1112
- bgColor?: string;
1113
- direction?: 'left' | 'right' | 'up' | 'down';
1114
- height?: number | string;
1115
- hspace?: number | string;
1116
- loop?: number | string;
1117
- scrollAmount?: number | string;
1118
- scrollDelay?: number | string;
1119
- trueSpeed?: boolean;
1120
- vspace?: number | string;
1121
- width?: number | string;
1122
- }
1123
-
1124
- export interface IntrinsicElements {
1125
- // HTML
1126
- a: HTMLAttributes<HTMLAnchorElement>;
1127
- abbr: HTMLAttributes<HTMLElement>;
1128
- address: HTMLAttributes<HTMLElement>;
1129
- area: HTMLAttributes<HTMLAreaElement>;
1130
- article: HTMLAttributes<HTMLElement>;
1131
- aside: HTMLAttributes<HTMLElement>;
1132
- audio: HTMLAttributes<HTMLAudioElement>;
1133
- b: HTMLAttributes<HTMLElement>;
1134
- base: HTMLAttributes<HTMLBaseElement>;
1135
- bdi: HTMLAttributes<HTMLElement>;
1136
- bdo: HTMLAttributes<HTMLElement>;
1137
- big: HTMLAttributes<HTMLElement>;
1138
- blockquote: HTMLAttributes<HTMLQuoteElement>;
1139
- body: HTMLAttributes<HTMLBodyElement>;
1140
- br: HTMLAttributes<HTMLBRElement>;
1141
- button: HTMLAttributes<HTMLButtonElement>;
1142
- canvas: HTMLAttributes<HTMLCanvasElement>;
1143
- caption: HTMLAttributes<HTMLTableCaptionElement>;
1144
- cite: HTMLAttributes<HTMLElement>;
1145
- code: HTMLAttributes<HTMLElement>;
1146
- col: HTMLAttributes<HTMLTableColElement>;
1147
- colgroup: HTMLAttributes<HTMLTableColElement>;
1148
- data: HTMLAttributes<HTMLDataElement>;
1149
- datalist: HTMLAttributes<HTMLDataListElement>;
1150
- dd: HTMLAttributes<HTMLElement>;
1151
- del: HTMLAttributes<HTMLModElement>;
1152
- details: HTMLAttributes<HTMLDetailsElement>;
1153
- dfn: HTMLAttributes<HTMLElement>;
1154
- dialog: HTMLAttributes<HTMLDialogElement>;
1155
- div: HTMLAttributes<HTMLDivElement>;
1156
- dl: HTMLAttributes<HTMLDListElement>;
1157
- dt: HTMLAttributes<HTMLElement>;
1158
- em: HTMLAttributes<HTMLElement>;
1159
- embed: HTMLAttributes<HTMLEmbedElement>;
1160
- fieldset: HTMLAttributes<HTMLFieldSetElement>;
1161
- figcaption: HTMLAttributes<HTMLElement>;
1162
- figure: HTMLAttributes<HTMLElement>;
1163
- footer: HTMLAttributes<HTMLElement>;
1164
- form: HTMLAttributes<HTMLFormElement>;
1165
- h1: HTMLAttributes<HTMLHeadingElement>;
1166
- h2: HTMLAttributes<HTMLHeadingElement>;
1167
- h3: HTMLAttributes<HTMLHeadingElement>;
1168
- h4: HTMLAttributes<HTMLHeadingElement>;
1169
- h5: HTMLAttributes<HTMLHeadingElement>;
1170
- h6: HTMLAttributes<HTMLHeadingElement>;
1171
- head: HTMLAttributes<HTMLHeadElement>;
1172
- header: HTMLAttributes<HTMLElement>;
1173
- hgroup: HTMLAttributes<HTMLElement>;
1174
- hr: HTMLAttributes<HTMLHRElement>;
1175
- html: HTMLAttributes<HTMLHtmlElement>;
1176
- i: HTMLAttributes<HTMLElement>;
1177
- iframe: HTMLAttributes<HTMLIFrameElement>;
1178
- img: HTMLAttributes<HTMLImageElement>;
1179
- input: HTMLAttributes<HTMLInputElement>;
1180
- ins: HTMLAttributes<HTMLModElement>;
1181
- kbd: HTMLAttributes<HTMLElement>;
1182
- keygen: HTMLAttributes<HTMLUnknownElement>;
1183
- label: HTMLAttributes<HTMLLabelElement>;
1184
- legend: HTMLAttributes<HTMLLegendElement>;
1185
- li: HTMLAttributes<HTMLLIElement>;
1186
- link: HTMLAttributes<HTMLLinkElement>;
1187
- main: HTMLAttributes<HTMLElement>;
1188
- map: HTMLAttributes<HTMLMapElement>;
1189
- mark: HTMLAttributes<HTMLElement>;
1190
- marquee: HTMLAttributes<HTMLMarqueeElement>;
1191
- menu: HTMLAttributes<HTMLMenuElement>;
1192
- menuitem: HTMLAttributes<HTMLUnknownElement>;
1193
- meta: HTMLAttributes<HTMLMetaElement>;
1194
- meter: HTMLAttributes<HTMLMeterElement>;
1195
- nav: HTMLAttributes<HTMLElement>;
1196
- noscript: HTMLAttributes<HTMLElement>;
1197
- object: HTMLAttributes<HTMLObjectElement>;
1198
- ol: HTMLAttributes<HTMLOListElement>;
1199
- optgroup: HTMLAttributes<HTMLOptGroupElement>;
1200
- option: HTMLAttributes<HTMLOptionElement>;
1201
- output: HTMLAttributes<HTMLOutputElement>;
1202
- p: HTMLAttributes<HTMLParagraphElement>;
1203
- param: HTMLAttributes<HTMLParamElement>;
1204
- picture: HTMLAttributes<HTMLPictureElement>;
1205
- pre: HTMLAttributes<HTMLPreElement>;
1206
- progress: HTMLAttributes<HTMLProgressElement>;
1207
- q: HTMLAttributes<HTMLQuoteElement>;
1208
- rp: HTMLAttributes<HTMLElement>;
1209
- rt: HTMLAttributes<HTMLElement>;
1210
- ruby: HTMLAttributes<HTMLElement>;
1211
- s: HTMLAttributes<HTMLElement>;
1212
- samp: HTMLAttributes<HTMLElement>;
1213
- script: HTMLAttributes<HTMLScriptElement>;
1214
- section: HTMLAttributes<HTMLElement>;
1215
- select: HTMLAttributes<HTMLSelectElement>;
1216
- slot: HTMLAttributes<HTMLSlotElement>;
1217
- small: HTMLAttributes<HTMLElement>;
1218
- source: HTMLAttributes<HTMLSourceElement>;
1219
- span: HTMLAttributes<HTMLSpanElement>;
1220
- strong: HTMLAttributes<HTMLElement>;
1221
- style: HTMLAttributes<HTMLStyleElement>;
1222
- sub: HTMLAttributes<HTMLElement>;
1223
- summary: HTMLAttributes<HTMLElement>;
1224
- sup: HTMLAttributes<HTMLElement>;
1225
- table: HTMLAttributes<HTMLTableElement>;
1226
- tbody: HTMLAttributes<HTMLTableSectionElement>;
1227
- td: HTMLAttributes<HTMLTableCellElement>;
1228
- textarea: HTMLAttributes<HTMLTextAreaElement>;
1229
- tfoot: HTMLAttributes<HTMLTableSectionElement>;
1230
- th: HTMLAttributes<HTMLTableCellElement>;
1231
- thead: HTMLAttributes<HTMLTableSectionElement>;
1232
- time: HTMLAttributes<HTMLTimeElement>;
1233
- title: HTMLAttributes<HTMLTitleElement>;
1234
- tr: HTMLAttributes<HTMLTableRowElement>;
1235
- track: HTMLAttributes<HTMLTrackElement>;
1236
- u: HTMLAttributes<HTMLElement>;
1237
- ul: HTMLAttributes<HTMLUListElement>;
1238
- var: HTMLAttributes<HTMLElement>;
1239
- video: HTMLAttributes<HTMLVideoElement>;
1240
- wbr: HTMLAttributes<HTMLElement>;
1241
-
1242
- //SVG
1243
- svg: SVGAttributes<SVGSVGElement>;
1244
- animate: SVGAttributes<SVGAnimateElement>;
1245
- circle: SVGAttributes<SVGCircleElement>;
1246
- animateTransform: SVGAttributes<SVGAnimateElement>;
1247
- clipPath: SVGAttributes<SVGClipPathElement>;
1248
- defs: SVGAttributes<SVGDefsElement>;
1249
- desc: SVGAttributes<SVGDescElement>;
1250
- ellipse: SVGAttributes<SVGEllipseElement>;
1251
- feBlend: SVGAttributes<SVGFEBlendElement>;
1252
- feColorMatrix: SVGAttributes<SVGFEColorMatrixElement>;
1253
- feComponentTransfer: SVGAttributes<SVGFEComponentTransferElement>;
1254
- feComposite: SVGAttributes<SVGFECompositeElement>;
1255
- feConvolveMatrix: SVGAttributes<SVGFEConvolveMatrixElement>;
1256
- feDiffuseLighting: SVGAttributes<SVGFEDiffuseLightingElement>;
1257
- feDisplacementMap: SVGAttributes<SVGFEDisplacementMapElement>;
1258
- feDropShadow: SVGAttributes<SVGFEDropShadowElement>;
1259
- feFlood: SVGAttributes<SVGFEFloodElement>;
1260
- feFuncA: SVGAttributes<SVGFEFuncAElement>;
1261
- feFuncB: SVGAttributes<SVGFEFuncBElement>;
1262
- feFuncG: SVGAttributes<SVGFEFuncGElement>;
1263
- feFuncR: SVGAttributes<SVGFEFuncRElement>;
1264
- feGaussianBlur: SVGAttributes<SVGFEGaussianBlurElement>;
1265
- feImage: SVGAttributes<SVGFEImageElement>;
1266
- feMerge: SVGAttributes<SVGFEMergeElement>;
1267
- feMergeNode: SVGAttributes<SVGFEMergeNodeElement>;
1268
- feMorphology: SVGAttributes<SVGFEMorphologyElement>;
1269
- feOffset: SVGAttributes<SVGFEOffsetElement>;
1270
- feSpecularLighting: SVGAttributes<SVGFESpecularLightingElement>;
1271
- feTile: SVGAttributes<SVGFETileElement>;
1272
- feTurbulence: SVGAttributes<SVGFETurbulenceElement>;
1273
- filter: SVGAttributes<SVGFilterElement>;
1274
- foreignObject: SVGAttributes<SVGForeignObjectElement>;
1275
- g: SVGAttributes<SVGGElement>;
1276
- image: SVGAttributes<SVGImageElement>;
1277
- line: SVGAttributes<SVGLineElement>;
1278
- linearGradient: SVGAttributes<SVGLinearGradientElement>;
1279
- marker: SVGAttributes<SVGMarkerElement>;
1280
- mask: SVGAttributes<SVGMaskElement>;
1281
- path: SVGAttributes<SVGPathElement>;
1282
- pattern: SVGAttributes<SVGPatternElement>;
1283
- polygon: SVGAttributes<SVGPolygonElement>;
1284
- polyline: SVGAttributes<SVGPolylineElement>;
1285
- radialGradient: SVGAttributes<SVGRadialGradientElement>;
1286
- rect: SVGAttributes<SVGRectElement>;
1287
- stop: SVGAttributes<SVGStopElement>;
1288
- symbol: SVGAttributes<SVGSymbolElement>;
1289
- text: SVGAttributes<SVGTextElement>;
1290
- tspan: SVGAttributes<SVGTSpanElement>;
1291
- use: SVGAttributes<SVGUseElement>;
1292
- }
1293
- }
1294
- }
1295
-