effect-start 0.20.1 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -4
- package/dist/Cookies.js +392 -0
- package/dist/FileSystem.js +131 -0
- package/dist/Socket.js +37 -0
- package/package.json +39 -40
- package/src/Commander.ts +73 -130
- package/src/ContentNegotiation.ts +68 -100
- package/src/Cookies.ts +408 -0
- package/src/Development.ts +48 -63
- package/src/Effectify.ts +222 -206
- package/src/Entity.ts +59 -86
- package/src/FilePathPattern.ts +5 -5
- package/src/FileRouter.ts +38 -63
- package/src/FileRouterCodegen.ts +64 -56
- package/src/FileSystem.ts +390 -0
- package/src/Http.ts +17 -50
- package/src/PathPattern.ts +33 -41
- package/src/PlatformError.ts +29 -50
- package/src/PlatformRuntime.ts +39 -47
- package/src/Route.ts +68 -187
- package/src/RouteBody.ts +45 -161
- package/src/RouteHook.ts +22 -45
- package/src/RouteHttp.ts +88 -142
- package/src/RouteHttpTracer.ts +25 -26
- package/src/RouteMount.ts +100 -238
- package/src/RouteSchema.ts +67 -201
- package/src/RouteSse.ts +28 -82
- package/src/RouteTree.ts +31 -79
- package/src/RouteTrie.ts +13 -32
- package/src/SchemaExtra.ts +3 -5
- package/src/Socket.ts +51 -0
- package/src/Start.ts +20 -21
- package/src/StreamExtra.ts +93 -96
- package/src/TuplePathPattern.ts +54 -43
- package/src/Unique.ts +9 -15
- package/src/Values.ts +26 -30
- package/src/bun/BunBundle.ts +27 -73
- package/src/bun/BunImportTrackerPlugin.ts +67 -65
- package/src/bun/BunRoute.ts +12 -31
- package/src/bun/BunRuntime.ts +3 -10
- package/src/bun/BunServer.ts +50 -60
- package/src/bun/BunVirtualFilesPlugin.ts +1 -4
- package/src/bun/_BunEnhancedResolve.ts +17 -42
- package/src/bun/_empty.html +0 -1
- package/src/bundler/Bundle.ts +20 -36
- package/src/bundler/BundleFiles.ts +36 -56
- package/src/client/Overlay.ts +1 -2
- package/src/client/ScrollState.ts +5 -9
- package/src/client/index.ts +10 -13
- package/src/datastar/actions/fetch.ts +29 -48
- package/src/datastar/actions/peek.ts +1 -5
- package/src/datastar/actions/setAll.ts +2 -2
- package/src/datastar/actions/toggleAll.ts +2 -2
- package/src/datastar/attributes/attr.ts +17 -18
- package/src/datastar/attributes/bind.ts +41 -61
- package/src/datastar/attributes/class.ts +2 -5
- package/src/datastar/attributes/computed.ts +2 -10
- package/src/datastar/attributes/effect.ts +1 -2
- package/src/datastar/attributes/indicator.ts +2 -8
- package/src/datastar/attributes/init.ts +2 -10
- package/src/datastar/attributes/jsonSignals.ts +1 -6
- package/src/datastar/attributes/on.ts +4 -13
- package/src/datastar/attributes/onIntersect.ts +10 -22
- package/src/datastar/attributes/onInterval.ts +2 -10
- package/src/datastar/attributes/onSignalPatch.ts +18 -28
- package/src/datastar/attributes/ref.ts +1 -2
- package/src/datastar/attributes/show.ts +1 -2
- package/src/datastar/attributes/signals.ts +1 -5
- package/src/datastar/attributes/style.ts +6 -12
- package/src/datastar/attributes/text.ts +1 -2
- package/src/datastar/engine.ts +102 -158
- package/src/datastar/index.ts +2 -2
- package/src/datastar/utils.ts +16 -51
- package/src/datastar/watchers/patchElements.ts +35 -93
- package/src/datastar/watchers/patchSignals.ts +1 -2
- package/src/experimental/EncryptedCookies.ts +81 -175
- package/src/experimental/index.ts +0 -1
- package/src/hyper/Hyper.ts +14 -33
- package/src/hyper/HyperHtml.ts +13 -10
- package/src/hyper/HyperNode.ts +2 -7
- package/src/hyper/HyperRoute.ts +2 -5
- package/src/hyper/jsx-runtime.ts +2 -10
- package/src/hyper/jsx.d.ts +171 -440
- package/src/lint/plugin.js +276 -0
- package/src/node/NodeFileSystem.ts +140 -202
- package/src/node/NodeUtils.ts +1 -3
- package/src/testing/TestLogger.ts +9 -22
- package/src/testing/index.ts +0 -1
- package/src/testing/utils.ts +30 -31
- package/src/x/cloudflare/CloudflareTunnel.ts +53 -65
- package/src/x/datastar/Datastar.ts +3 -10
- package/src/x/datastar/index.ts +1 -3
- package/src/x/datastar/jsx-datastar.d.ts +1 -4
- package/src/x/tailwind/TailwindPlugin.ts +119 -112
- package/src/x/tailwind/compile.ts +10 -33
- package/src/x/tailwind/plugin.ts +2 -2
- package/src/HttpAppExtra.ts +0 -478
- package/src/HttpUtils.ts +0 -17
- package/src/bun/BunPlatformHttpServer.ts +0 -88
- package/src/bun/BunServerRequest.ts +0 -396
- package/src/bundler/BundleHttp.ts +0 -259
- package/src/experimental/SseHttpResponse.ts +0 -55
- package/src/middlewares/BasicAuthMiddleware.ts +0 -36
- package/src/middlewares/index.ts +0 -1
- package/src/testing/TestHttpClient.ts +0 -148
package/src/hyper/jsx.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as HyperNode from "./hyper/HyperNode.ts"
|
|
1
|
+
import type * as HyperNode from "./hyper/HyperNode.ts"
|
|
2
2
|
import type { DatastarAttributes } from "./x/datastar/jsx-datastar.ts"
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -18,22 +18,12 @@ type DOMElement = never
|
|
|
18
18
|
|
|
19
19
|
export namespace JSX {
|
|
20
20
|
type Element = HyperNode.HyperNode
|
|
21
|
-
type Child =
|
|
22
|
-
|
|
23
|
-
| string
|
|
24
|
-
| number
|
|
25
|
-
| bigint
|
|
26
|
-
type Children =
|
|
27
|
-
| Child
|
|
28
|
-
| SilentChild
|
|
29
|
-
| Iterable<Children>
|
|
21
|
+
type Child = Element | string | number | bigint
|
|
22
|
+
type Children = Child | SilentChild | Iterable<Children>
|
|
30
23
|
|
|
31
24
|
// a child that is not rendered and is often a result
|
|
32
25
|
// of conditional rendering, like: `{condition && <div>...</div>}`
|
|
33
|
-
type SilentChild =
|
|
34
|
-
| boolean
|
|
35
|
-
| null
|
|
36
|
-
| undefined
|
|
26
|
+
type SilentChild = boolean | null | undefined
|
|
37
27
|
|
|
38
28
|
interface ElementClass {
|
|
39
29
|
// empty, libs can define requirements downstream
|
|
@@ -70,11 +60,8 @@ export namespace JSX {
|
|
|
70
60
|
EHandler extends EventHandler<T, any> = EventHandler<T, E>,
|
|
71
61
|
> = EHandler | BoundEventHandler<T, E, EHandler>
|
|
72
62
|
|
|
73
|
-
interface EventHandlerWithOptions<
|
|
74
|
-
|
|
75
|
-
E extends Event,
|
|
76
|
-
EHandler = EventHandler<T, E>,
|
|
77
|
-
> extends AddEventListenerOptions, EventListenerOptions {
|
|
63
|
+
interface EventHandlerWithOptions<T, E extends Event, EHandler = EventHandler<T, E>>
|
|
64
|
+
extends AddEventListenerOptions, EventListenerOptions {
|
|
78
65
|
handleEvent: EHandler
|
|
79
66
|
}
|
|
80
67
|
|
|
@@ -88,10 +75,8 @@ export namespace JSX {
|
|
|
88
75
|
(
|
|
89
76
|
e: E & {
|
|
90
77
|
currentTarget: T
|
|
91
|
-
target: T extends
|
|
92
|
-
|
|
93
|
-
| HTMLSelectElement
|
|
94
|
-
| HTMLTextAreaElement ? T
|
|
78
|
+
target: T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement
|
|
79
|
+
? T
|
|
95
80
|
: DOMElement
|
|
96
81
|
},
|
|
97
82
|
): void
|
|
@@ -106,10 +91,8 @@ export namespace JSX {
|
|
|
106
91
|
(
|
|
107
92
|
e: E & {
|
|
108
93
|
currentTarget: T
|
|
109
|
-
target: T extends
|
|
110
|
-
|
|
111
|
-
| HTMLSelectElement
|
|
112
|
-
| HTMLTextAreaElement ? T
|
|
94
|
+
target: T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement
|
|
95
|
+
? T
|
|
113
96
|
: DOMElement
|
|
114
97
|
},
|
|
115
98
|
): void
|
|
@@ -124,10 +107,8 @@ export namespace JSX {
|
|
|
124
107
|
(
|
|
125
108
|
e: E & {
|
|
126
109
|
currentTarget: T
|
|
127
|
-
target: T extends
|
|
128
|
-
|
|
129
|
-
| HTMLSelectElement
|
|
130
|
-
| HTMLTextAreaElement ? T
|
|
110
|
+
target: T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement
|
|
111
|
+
? T
|
|
131
112
|
: DOMElement
|
|
132
113
|
},
|
|
133
114
|
): void
|
|
@@ -153,8 +134,8 @@ export namespace JSX {
|
|
|
153
134
|
children?: Children
|
|
154
135
|
classList?:
|
|
155
136
|
| {
|
|
156
|
-
|
|
157
|
-
|
|
137
|
+
[k: string]: boolean | undefined
|
|
138
|
+
}
|
|
158
139
|
| undefined
|
|
159
140
|
}
|
|
160
141
|
type Accessor<T> = () => T
|
|
@@ -172,18 +153,20 @@ export namespace JSX {
|
|
|
172
153
|
[Key in keyof Directives as `use:${Key}`]?: Directives[Key]
|
|
173
154
|
}
|
|
174
155
|
type DirectiveFunctionAttributes<T> = {
|
|
175
|
-
[
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
]?: DirectiveFunctions[K] extends (
|
|
156
|
+
[K in keyof DirectiveFunctions as string extends K
|
|
157
|
+
? never
|
|
158
|
+
: `use:${K}`]?: DirectiveFunctions[K] extends (
|
|
179
159
|
el: infer E, // will be unknown if not provided
|
|
180
|
-
...rest: infer R
|
|
181
|
-
)
|
|
160
|
+
...rest: infer R
|
|
161
|
+
) // use rest so that we can check whether it's provided or not
|
|
162
|
+
=> void
|
|
163
|
+
? T extends E // everything extends unknown if E is unknown
|
|
182
164
|
? R extends [infer A] // check if has accessor provided
|
|
183
|
-
? A extends Accessor<infer V>
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
165
|
+
? A extends Accessor<infer V>
|
|
166
|
+
? V // it's an accessor
|
|
167
|
+
: never // it isn't, type error
|
|
168
|
+
: true // no accessor provided
|
|
169
|
+
: never // T is the wrong element
|
|
187
170
|
: never // it isn't a function
|
|
188
171
|
}
|
|
189
172
|
type PropAttributes = {
|
|
@@ -193,14 +176,10 @@ export namespace JSX {
|
|
|
193
176
|
[Key in keyof ExplicitAttributes as `attr:${Key}`]?: ExplicitAttributes[Key]
|
|
194
177
|
}
|
|
195
178
|
type BoolAttributes = {
|
|
196
|
-
[Key in keyof ExplicitBoolAttributes as `bool:${Key}`]?:
|
|
197
|
-
ExplicitBoolAttributes[Key]
|
|
179
|
+
[Key in keyof ExplicitBoolAttributes as `bool:${Key}`]?: ExplicitBoolAttributes[Key]
|
|
198
180
|
}
|
|
199
181
|
type OnAttributes<T> = {
|
|
200
|
-
[Key in keyof CustomEvents as `on:${Key}`]?: EventHandlerWithOptionsUnion<
|
|
201
|
-
T,
|
|
202
|
-
CustomEvents[Key]
|
|
203
|
-
>
|
|
182
|
+
[Key in keyof CustomEvents as `on:${Key}`]?: EventHandlerWithOptionsUnion<T, CustomEvents[Key]>
|
|
204
183
|
}
|
|
205
184
|
type OnCaptureAttributes<T> = {
|
|
206
185
|
[Key in keyof CustomCaptureEvents as `oncapture:${Key}`]?: EventHandler<
|
|
@@ -237,9 +216,7 @@ export namespace JSX {
|
|
|
237
216
|
onPopstate?: EventHandlerUnion<T, PopStateEvent> | undefined
|
|
238
217
|
onRejectionHandled?: EventHandlerUnion<T, PromiseRejectionEvent> | undefined
|
|
239
218
|
onStorage?: EventHandlerUnion<T, StorageEvent> | undefined
|
|
240
|
-
onUnhandledRejection?:
|
|
241
|
-
| EventHandlerUnion<T, PromiseRejectionEvent>
|
|
242
|
-
| undefined
|
|
219
|
+
onUnhandledRejection?: EventHandlerUnion<T, PromiseRejectionEvent> | undefined
|
|
243
220
|
onUnload?: EventHandlerUnion<T, Event> | undefined
|
|
244
221
|
|
|
245
222
|
onafterprint?: EventHandlerUnion<T, Event> | undefined
|
|
@@ -262,50 +239,30 @@ export namespace JSX {
|
|
|
262
239
|
onpopstate?: EventHandlerUnion<T, PopStateEvent> | undefined
|
|
263
240
|
onrejectionhandled?: EventHandlerUnion<T, PromiseRejectionEvent> | undefined
|
|
264
241
|
onstorage?: EventHandlerUnion<T, StorageEvent> | undefined
|
|
265
|
-
onunhandledrejection?:
|
|
266
|
-
| EventHandlerUnion<T, PromiseRejectionEvent>
|
|
267
|
-
| undefined
|
|
242
|
+
onunhandledrejection?: EventHandlerUnion<T, PromiseRejectionEvent> | undefined
|
|
268
243
|
onunload?: EventHandlerUnion<T, Event> | undefined
|
|
269
244
|
|
|
270
245
|
"on:afterprint"?: EventHandlerWithOptionsUnion<T, Event> | undefined
|
|
271
246
|
"on:beforeprint"?: EventHandlerWithOptionsUnion<T, Event> | undefined
|
|
272
|
-
"on:beforeunload"?:
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
"on:
|
|
276
|
-
| EventHandlerWithOptionsUnion<T, GamepadEvent>
|
|
277
|
-
| undefined
|
|
278
|
-
"on:gamepaddisconnected"?:
|
|
279
|
-
| EventHandlerWithOptionsUnion<T, GamepadEvent>
|
|
280
|
-
| undefined
|
|
281
|
-
"on:hashchange"?:
|
|
282
|
-
| EventHandlerWithOptionsUnion<T, HashChangeEvent>
|
|
283
|
-
| undefined
|
|
247
|
+
"on:beforeunload"?: EventHandlerWithOptionsUnion<T, BeforeUnloadEvent> | undefined
|
|
248
|
+
"on:gamepadconnected"?: EventHandlerWithOptionsUnion<T, GamepadEvent> | undefined
|
|
249
|
+
"on:gamepaddisconnected"?: EventHandlerWithOptionsUnion<T, GamepadEvent> | undefined
|
|
250
|
+
"on:hashchange"?: EventHandlerWithOptionsUnion<T, HashChangeEvent> | undefined
|
|
284
251
|
"on:languagechange"?: EventHandlerWithOptionsUnion<T, Event> | undefined
|
|
285
252
|
"on:message"?: EventHandlerWithOptionsUnion<T, MessageEvent> | undefined
|
|
286
|
-
"on:messageerror"?:
|
|
287
|
-
| EventHandlerWithOptionsUnion<T, MessageEvent>
|
|
288
|
-
| undefined
|
|
253
|
+
"on:messageerror"?: EventHandlerWithOptionsUnion<T, MessageEvent> | undefined
|
|
289
254
|
"on:offline"?: EventHandlerWithOptionsUnion<T, Event> | undefined
|
|
290
255
|
"on:online"?: EventHandlerWithOptionsUnion<T, Event> | undefined
|
|
291
|
-
"on:pagehide"?:
|
|
292
|
-
| EventHandlerWithOptionsUnion<T, PageTransitionEvent>
|
|
293
|
-
| undefined
|
|
256
|
+
"on:pagehide"?: EventHandlerWithOptionsUnion<T, PageTransitionEvent> | undefined
|
|
294
257
|
// TODO `PageRevealEvent` is currently undefined in TS
|
|
295
258
|
"on:pagereveal"?: EventHandlerWithOptionsUnion<T, Event> | undefined
|
|
296
|
-
"on:pageshow"?:
|
|
297
|
-
| EventHandlerWithOptionsUnion<T, PageTransitionEvent>
|
|
298
|
-
| undefined
|
|
259
|
+
"on:pageshow"?: EventHandlerWithOptionsUnion<T, PageTransitionEvent> | undefined
|
|
299
260
|
// TODO `PageSwapEvent` is currently undefined in TS
|
|
300
261
|
"on:pageswap"?: EventHandlerWithOptionsUnion<T, Event> | undefined
|
|
301
262
|
"on:popstate"?: EventHandlerWithOptionsUnion<T, PopStateEvent> | undefined
|
|
302
|
-
"on:rejectionhandled"?:
|
|
303
|
-
| EventHandlerWithOptionsUnion<T, PromiseRejectionEvent>
|
|
304
|
-
| undefined
|
|
263
|
+
"on:rejectionhandled"?: EventHandlerWithOptionsUnion<T, PromiseRejectionEvent> | undefined
|
|
305
264
|
"on:storage"?: EventHandlerWithOptionsUnion<T, StorageEvent> | undefined
|
|
306
|
-
"on:unhandledrejection"?:
|
|
307
|
-
| EventHandlerWithOptionsUnion<T, PromiseRejectionEvent>
|
|
308
|
-
| undefined
|
|
265
|
+
"on:unhandledrejection"?: EventHandlerWithOptionsUnion<T, PromiseRejectionEvent> | undefined
|
|
309
266
|
"on:unload"?: EventHandlerWithOptionsUnion<T, Event> | undefined
|
|
310
267
|
}
|
|
311
268
|
|
|
@@ -412,9 +369,7 @@ export namespace JSX {
|
|
|
412
369
|
onScrollSnapChange?: EventHandlerUnion<T, Event> | undefined
|
|
413
370
|
// todo `SnapEvent` is currently undefined in TS
|
|
414
371
|
onScrollSnapChanging?: EventHandlerUnion<T, Event> | undefined
|
|
415
|
-
onSecurityPolicyViolation?:
|
|
416
|
-
| EventHandlerUnion<T, SecurityPolicyViolationEvent>
|
|
417
|
-
| undefined
|
|
372
|
+
onSecurityPolicyViolation?: EventHandlerUnion<T, SecurityPolicyViolationEvent> | undefined
|
|
418
373
|
onSeeked?: EventHandlerUnion<T, Event> | undefined
|
|
419
374
|
onSeeking?: EventHandlerUnion<T, Event> | undefined
|
|
420
375
|
onSelect?: EventHandlerUnion<T, Event> | undefined
|
|
@@ -465,9 +420,7 @@ export namespace JSX {
|
|
|
465
420
|
oncompositionend?: string | undefined
|
|
466
421
|
oncompositionstart?: string | undefined
|
|
467
422
|
oncompositionupdate?: string | undefined
|
|
468
|
-
oncontentvisibilityautostatechange?:
|
|
469
|
-
| string
|
|
470
|
-
| undefined
|
|
423
|
+
oncontentvisibilityautostatechange?: string | undefined
|
|
471
424
|
oncontextlost?: string | undefined
|
|
472
425
|
oncontextmenu?: string | undefined
|
|
473
426
|
oncontextrestored?: string | undefined
|
|
@@ -534,9 +487,7 @@ export namespace JSX {
|
|
|
534
487
|
onscrollsnapchange?: string | undefined
|
|
535
488
|
// todo `SnapEvent` is currently undefined in TS
|
|
536
489
|
onscrollsnapchanging?: string | undefined
|
|
537
|
-
onsecuritypolicyviolation?:
|
|
538
|
-
| string
|
|
539
|
-
| undefined
|
|
490
|
+
onsecuritypolicyviolation?: string | undefined
|
|
540
491
|
onseeked?: string | undefined
|
|
541
492
|
onseeking?: string | undefined
|
|
542
493
|
onselect?: string | undefined
|
|
@@ -581,8 +532,7 @@ export namespace JSX {
|
|
|
581
532
|
CustomEventHandlersCamelCase<T>,
|
|
582
533
|
CustomEventHandlersLowerCase<T>,
|
|
583
534
|
AriaAttributes,
|
|
584
|
-
DatastarAttributes
|
|
585
|
-
{
|
|
535
|
+
DatastarAttributes {
|
|
586
536
|
// [key: ClassKeys]: boolean;
|
|
587
537
|
|
|
588
538
|
// properties
|
|
@@ -602,13 +552,7 @@ export namespace JSX {
|
|
|
602
552
|
tabIndex?: number | string | undefined
|
|
603
553
|
}
|
|
604
554
|
|
|
605
|
-
type HTMLAutocapitalize =
|
|
606
|
-
| "off"
|
|
607
|
-
| "none"
|
|
608
|
-
| "on"
|
|
609
|
-
| "sentences"
|
|
610
|
-
| "words"
|
|
611
|
-
| "characters"
|
|
555
|
+
type HTMLAutocapitalize = "off" | "none" | "on" | "sentences" | "words" | "characters"
|
|
612
556
|
type HTMLAutocomplete =
|
|
613
557
|
| "additional-name"
|
|
614
558
|
| "address-level1"
|
|
@@ -674,10 +618,7 @@ export namespace JSX {
|
|
|
674
618
|
| "work"
|
|
675
619
|
| (string & {})
|
|
676
620
|
type HTMLDir = "ltr" | "rtl" | "auto"
|
|
677
|
-
type HTMLFormEncType =
|
|
678
|
-
| "application/x-www-form-urlencoded"
|
|
679
|
-
| "multipart/form-data"
|
|
680
|
-
| "text/plain"
|
|
621
|
+
type HTMLFormEncType = "application/x-www-form-urlencoded" | "multipart/form-data" | "text/plain"
|
|
681
622
|
type HTMLFormMethod = "post" | "get" | "dialog"
|
|
682
623
|
type HTMLCrossorigin = "anonymous" | "use-credentials" | ""
|
|
683
624
|
type HTMLReferrerPolicy =
|
|
@@ -843,14 +784,7 @@ export namespace JSX {
|
|
|
843
784
|
*
|
|
844
785
|
* @deprecated In ARIA 1.1
|
|
845
786
|
*/
|
|
846
|
-
"aria-dropeffect"?:
|
|
847
|
-
| "none"
|
|
848
|
-
| "copy"
|
|
849
|
-
| "execute"
|
|
850
|
-
| "link"
|
|
851
|
-
| "move"
|
|
852
|
-
| "popup"
|
|
853
|
-
| undefined
|
|
787
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined
|
|
854
788
|
/**
|
|
855
789
|
* Identifies the element that provides an error message for the object.
|
|
856
790
|
*
|
|
@@ -899,13 +833,7 @@ export namespace JSX {
|
|
|
899
833
|
*
|
|
900
834
|
* @see aria-errormessage.
|
|
901
835
|
*/
|
|
902
|
-
"aria-invalid"?:
|
|
903
|
-
| boolean
|
|
904
|
-
| "false"
|
|
905
|
-
| "true"
|
|
906
|
-
| "grammar"
|
|
907
|
-
| "spelling"
|
|
908
|
-
| undefined
|
|
836
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined
|
|
909
837
|
/**
|
|
910
838
|
* Indicates keyboard shortcuts that an author has implemented to activate or give focus to an
|
|
911
839
|
* element.
|
|
@@ -1123,24 +1051,10 @@ export namespace JSX {
|
|
|
1123
1051
|
accesskey?: string | undefined
|
|
1124
1052
|
autocapitalize?: HTMLAutocapitalize | undefined
|
|
1125
1053
|
autocorrect?: "on" | "off" | undefined
|
|
1126
|
-
contenteditable?:
|
|
1127
|
-
| "true"
|
|
1128
|
-
| "false"
|
|
1129
|
-
| boolean
|
|
1130
|
-
| "plaintext-only"
|
|
1131
|
-
| "inherit"
|
|
1132
|
-
| undefined
|
|
1054
|
+
contenteditable?: "true" | "false" | boolean | "plaintext-only" | "inherit" | undefined
|
|
1133
1055
|
dir?: HTMLDir | undefined
|
|
1134
1056
|
draggable?: boolean | "false" | "true" | undefined
|
|
1135
|
-
enterkeyhint?:
|
|
1136
|
-
| "enter"
|
|
1137
|
-
| "done"
|
|
1138
|
-
| "go"
|
|
1139
|
-
| "next"
|
|
1140
|
-
| "previous"
|
|
1141
|
-
| "search"
|
|
1142
|
-
| "send"
|
|
1143
|
-
| undefined
|
|
1057
|
+
enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined
|
|
1144
1058
|
exportparts?: string | undefined
|
|
1145
1059
|
hidden?: boolean | "hidden" | "until-found" | undefined
|
|
1146
1060
|
inert?: boolean | undefined
|
|
@@ -1264,9 +1178,7 @@ export namespace JSX {
|
|
|
1264
1178
|
interface BlockquoteHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1265
1179
|
cite?: string | undefined
|
|
1266
1180
|
}
|
|
1267
|
-
interface BodyHTMLAttributes<T>
|
|
1268
|
-
extends HTMLAttributes<T>, WindowEventMap<T>
|
|
1269
|
-
{}
|
|
1181
|
+
interface BodyHTMLAttributes<T> extends HTMLAttributes<T>, WindowEventMap<T> {}
|
|
1270
1182
|
interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1271
1183
|
disabled?: boolean | undefined
|
|
1272
1184
|
form?: string | undefined
|
|
@@ -1274,13 +1186,7 @@ export namespace JSX {
|
|
|
1274
1186
|
formenctype?: HTMLFormEncType | undefined
|
|
1275
1187
|
formmethod?: HTMLFormMethod | undefined
|
|
1276
1188
|
formnovalidate?: boolean | undefined
|
|
1277
|
-
formtarget?:
|
|
1278
|
-
| "_self"
|
|
1279
|
-
| "_blank"
|
|
1280
|
-
| "_parent"
|
|
1281
|
-
| "_top"
|
|
1282
|
-
| (string & {})
|
|
1283
|
-
| undefined
|
|
1189
|
+
formtarget?: "_self" | "_blank" | "_parent" | "_top" | (string & {}) | undefined
|
|
1284
1190
|
name?: string | undefined
|
|
1285
1191
|
popovertarget?: string | undefined
|
|
1286
1192
|
popovertargetaction?: "hide" | "show" | "toggle" | undefined
|
|
@@ -1660,9 +1566,7 @@ export namespace JSX {
|
|
|
1660
1566
|
src?: string | undefined
|
|
1661
1567
|
|
|
1662
1568
|
onEncrypted?: EventHandlerUnion<T, MediaEncryptedEvent> | undefined
|
|
1663
|
-
"on:encrypted"?:
|
|
1664
|
-
| EventHandlerWithOptionsUnion<T, MediaEncryptedEvent>
|
|
1665
|
-
| undefined
|
|
1569
|
+
"on:encrypted"?: EventHandlerWithOptionsUnion<T, MediaEncryptedEvent> | undefined
|
|
1666
1570
|
onencrypted?: EventHandlerUnion<T, MediaEncryptedEvent> | undefined
|
|
1667
1571
|
|
|
1668
1572
|
onWaitingForKey?: EventHandlerUnion<T, Event> | undefined
|
|
@@ -1798,12 +1702,7 @@ export namespace JSX {
|
|
|
1798
1702
|
nomodule?: boolean | undefined
|
|
1799
1703
|
referrerpolicy?: HTMLReferrerPolicy | undefined
|
|
1800
1704
|
src?: string | undefined
|
|
1801
|
-
type?:
|
|
1802
|
-
| "importmap"
|
|
1803
|
-
| "module"
|
|
1804
|
-
| "speculationrules"
|
|
1805
|
-
| (string & {})
|
|
1806
|
-
| undefined
|
|
1705
|
+
type?: "importmap" | "module" | "speculationrules" | (string & {}) | undefined
|
|
1807
1706
|
|
|
1808
1707
|
/** @experimental */
|
|
1809
1708
|
attributionsrc?: string | undefined
|
|
@@ -1828,9 +1727,10 @@ export namespace JSX {
|
|
|
1828
1727
|
// Using a union in a single interface (`children?: Function | Children`)
|
|
1829
1728
|
// doesn't work because TS can't infer callback parameter types from unions.
|
|
1830
1729
|
// By splitting into two interfaces, TS can discriminate based on children
|
|
1831
|
-
interface ScriptHTMLAttributesWithHandler<T>
|
|
1832
|
-
|
|
1833
|
-
|
|
1730
|
+
interface ScriptHTMLAttributesWithHandler<T> extends Omit<
|
|
1731
|
+
ScriptHTMLAttributes<T>,
|
|
1732
|
+
"children" | "type"
|
|
1733
|
+
> {
|
|
1834
1734
|
children: (window: Window) => void
|
|
1835
1735
|
type?: never
|
|
1836
1736
|
}
|
|
@@ -1988,25 +1888,13 @@ export namespace JSX {
|
|
|
1988
1888
|
poster?: string | undefined
|
|
1989
1889
|
width?: number | string | undefined
|
|
1990
1890
|
|
|
1991
|
-
onEnterPictureInPicture?:
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
"on:enterpictureinpicture"?:
|
|
1995
|
-
| EventHandlerWithOptionsUnion<T, PictureInPictureEvent>
|
|
1996
|
-
| undefined
|
|
1997
|
-
onenterpictureinpicture?:
|
|
1998
|
-
| EventHandlerUnion<T, PictureInPictureEvent>
|
|
1999
|
-
| undefined
|
|
1891
|
+
onEnterPictureInPicture?: EventHandlerUnion<T, PictureInPictureEvent> | undefined
|
|
1892
|
+
"on:enterpictureinpicture"?: EventHandlerWithOptionsUnion<T, PictureInPictureEvent> | undefined
|
|
1893
|
+
onenterpictureinpicture?: EventHandlerUnion<T, PictureInPictureEvent> | undefined
|
|
2000
1894
|
|
|
2001
|
-
onLeavePictureInPicture?:
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
"on:leavepictureinpicture"?:
|
|
2005
|
-
| EventHandlerWithOptionsUnion<T, PictureInPictureEvent>
|
|
2006
|
-
| undefined
|
|
2007
|
-
onleavepictureinpicture?:
|
|
2008
|
-
| EventHandlerUnion<T, PictureInPictureEvent>
|
|
2009
|
-
| undefined
|
|
1895
|
+
onLeavePictureInPicture?: EventHandlerUnion<T, PictureInPictureEvent> | undefined
|
|
1896
|
+
"on:leavepictureinpicture"?: EventHandlerWithOptionsUnion<T, PictureInPictureEvent> | undefined
|
|
1897
|
+
onleavepictureinpicture?: EventHandlerUnion<T, PictureInPictureEvent> | undefined
|
|
2010
1898
|
}
|
|
2011
1899
|
|
|
2012
1900
|
interface WebViewHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
@@ -2170,25 +2058,10 @@ export namespace JSX {
|
|
|
2170
2058
|
"baseline-shift"?: number | string | undefined
|
|
2171
2059
|
"clip-path"?: string | undefined
|
|
2172
2060
|
"clip-rule"?: "nonzero" | "evenodd" | "inherit" | undefined
|
|
2173
|
-
"color-interpolation"?:
|
|
2174
|
-
|
|
2175
|
-
| "sRGB"
|
|
2176
|
-
| "linearRGB"
|
|
2177
|
-
| "inherit"
|
|
2178
|
-
| undefined
|
|
2179
|
-
"color-interpolation-filters"?:
|
|
2180
|
-
| "auto"
|
|
2181
|
-
| "sRGB"
|
|
2182
|
-
| "linearRGB"
|
|
2183
|
-
| "inherit"
|
|
2184
|
-
| undefined
|
|
2061
|
+
"color-interpolation"?: "auto" | "sRGB" | "linearRGB" | "inherit" | undefined
|
|
2062
|
+
"color-interpolation-filters"?: "auto" | "sRGB" | "linearRGB" | "inherit" | undefined
|
|
2185
2063
|
"color-profile"?: string | undefined
|
|
2186
|
-
"color-rendering"?:
|
|
2187
|
-
| "auto"
|
|
2188
|
-
| "optimizeSpeed"
|
|
2189
|
-
| "optimizeQuality"
|
|
2190
|
-
| "inherit"
|
|
2191
|
-
| undefined
|
|
2064
|
+
"color-rendering"?: "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit" | undefined
|
|
2192
2065
|
"dominant-baseline"?:
|
|
2193
2066
|
| "auto"
|
|
2194
2067
|
| "text-bottom"
|
|
@@ -2215,12 +2088,7 @@ export namespace JSX {
|
|
|
2215
2088
|
"font-weight"?: number | string | undefined
|
|
2216
2089
|
"glyph-orientation-horizontal"?: string | undefined
|
|
2217
2090
|
"glyph-orientation-vertical"?: string | undefined
|
|
2218
|
-
"image-rendering"?:
|
|
2219
|
-
| "auto"
|
|
2220
|
-
| "optimizeQuality"
|
|
2221
|
-
| "optimizeSpeed"
|
|
2222
|
-
| "inherit"
|
|
2223
|
-
| undefined
|
|
2091
|
+
"image-rendering"?: "auto" | "optimizeQuality" | "optimizeSpeed" | "inherit" | undefined
|
|
2224
2092
|
"letter-spacing"?: number | string | undefined
|
|
2225
2093
|
"lighting-color"?: string | undefined
|
|
2226
2094
|
"marker-end"?: string | undefined
|
|
@@ -2252,14 +2120,7 @@ export namespace JSX {
|
|
|
2252
2120
|
"stroke-dasharray"?: string | undefined
|
|
2253
2121
|
"stroke-dashoffset"?: number | string | undefined
|
|
2254
2122
|
"stroke-linecap"?: "butt" | "round" | "square" | "inherit" | undefined
|
|
2255
|
-
"stroke-linejoin"?:
|
|
2256
|
-
| "arcs"
|
|
2257
|
-
| "bevel"
|
|
2258
|
-
| "miter"
|
|
2259
|
-
| "miter-clip"
|
|
2260
|
-
| "round"
|
|
2261
|
-
| "inherit"
|
|
2262
|
-
| undefined
|
|
2123
|
+
"stroke-linejoin"?: "arcs" | "bevel" | "miter" | "miter-clip" | "round" | "inherit" | undefined
|
|
2263
2124
|
"stroke-miterlimit"?: number | string | "inherit" | undefined
|
|
2264
2125
|
"stroke-opacity"?: number | string | "inherit" | undefined
|
|
2265
2126
|
"stroke-width"?: number | string | undefined
|
|
@@ -2281,15 +2142,7 @@ export namespace JSX {
|
|
|
2281
2142
|
| undefined
|
|
2282
2143
|
"unicode-bidi"?: string | undefined
|
|
2283
2144
|
"word-spacing"?: number | string | undefined
|
|
2284
|
-
"writing-mode"?:
|
|
2285
|
-
| "lr-tb"
|
|
2286
|
-
| "rl-tb"
|
|
2287
|
-
| "tb-rl"
|
|
2288
|
-
| "lr"
|
|
2289
|
-
| "rl"
|
|
2290
|
-
| "tb"
|
|
2291
|
-
| "inherit"
|
|
2292
|
-
| undefined
|
|
2145
|
+
"writing-mode"?: "lr-tb" | "rl-tb" | "tb-rl" | "lr" | "rl" | "tb" | "inherit" | undefined
|
|
2293
2146
|
clip?: string | undefined
|
|
2294
2147
|
color?: string | undefined
|
|
2295
2148
|
cursor?: string | undefined
|
|
@@ -2309,8 +2162,7 @@ export namespace JSX {
|
|
|
2309
2162
|
extends
|
|
2310
2163
|
CoreSVGAttributes<T>,
|
|
2311
2164
|
ExternalResourceSVGAttributes,
|
|
2312
|
-
ConditionalProcessingSVGAttributes
|
|
2313
|
-
{
|
|
2165
|
+
ConditionalProcessingSVGAttributes {
|
|
2314
2166
|
// TODO TimeEvent is currently undefined on TS
|
|
2315
2167
|
onBegin?: EventHandlerUnion<T, Event> | undefined
|
|
2316
2168
|
onbegin?: EventHandlerUnion<T, Event> | undefined
|
|
@@ -2341,13 +2193,9 @@ export namespace JSX {
|
|
|
2341
2193
|
| "enable-background"
|
|
2342
2194
|
| "color-interpolation"
|
|
2343
2195
|
| "color-rendering"
|
|
2344
|
-
>
|
|
2345
|
-
{}
|
|
2196
|
+
> {}
|
|
2346
2197
|
interface FilterPrimitiveElementSVGAttributes<T>
|
|
2347
|
-
extends
|
|
2348
|
-
CoreSVGAttributes<T>,
|
|
2349
|
-
Pick<PresentationSVGAttributes, "color-interpolation-filters">
|
|
2350
|
-
{
|
|
2198
|
+
extends CoreSVGAttributes<T>, Pick<PresentationSVGAttributes, "color-interpolation-filters"> {
|
|
2351
2199
|
height?: number | string | undefined
|
|
2352
2200
|
result?: string | undefined
|
|
2353
2201
|
width?: number | string | undefined
|
|
@@ -2366,60 +2214,53 @@ export namespace JSX {
|
|
|
2366
2214
|
viewBox?: string | undefined
|
|
2367
2215
|
}
|
|
2368
2216
|
interface GradientElementSVGAttributes<T>
|
|
2369
|
-
extends
|
|
2370
|
-
CoreSVGAttributes<T>,
|
|
2371
|
-
ExternalResourceSVGAttributes,
|
|
2372
|
-
StylableSVGAttributes
|
|
2373
|
-
{
|
|
2217
|
+
extends CoreSVGAttributes<T>, ExternalResourceSVGAttributes, StylableSVGAttributes {
|
|
2374
2218
|
gradientTransform?: string | undefined
|
|
2375
2219
|
gradientUnits?: SVGUnits | undefined
|
|
2376
2220
|
href?: string | undefined
|
|
2377
2221
|
spreadMethod?: "pad" | "reflect" | "repeat" | undefined
|
|
2378
2222
|
}
|
|
2379
|
-
interface GraphicsElementSVGAttributes<T>
|
|
2380
|
-
CoreSVGAttributes<T>,
|
|
2381
|
-
Pick<
|
|
2382
|
-
PresentationSVGAttributes,
|
|
2383
|
-
| "clip-rule"
|
|
2384
|
-
| "mask"
|
|
2385
|
-
| "pointer-events"
|
|
2386
|
-
| "cursor"
|
|
2387
|
-
| "opacity"
|
|
2388
|
-
| "filter"
|
|
2389
|
-
| "display"
|
|
2390
|
-
| "visibility"
|
|
2391
|
-
| "color-interpolation"
|
|
2392
|
-
| "color-rendering"
|
|
2393
|
-
>
|
|
2394
|
-
{}
|
|
2395
|
-
interface LightSourceElementSVGAttributes<T> extends CoreSVGAttributes<T> {}
|
|
2396
|
-
interface NewViewportSVGAttributes<T>
|
|
2223
|
+
interface GraphicsElementSVGAttributes<T>
|
|
2397
2224
|
extends
|
|
2398
2225
|
CoreSVGAttributes<T>,
|
|
2399
|
-
Pick<
|
|
2400
|
-
|
|
2226
|
+
Pick<
|
|
2227
|
+
PresentationSVGAttributes,
|
|
2228
|
+
| "clip-rule"
|
|
2229
|
+
| "mask"
|
|
2230
|
+
| "pointer-events"
|
|
2231
|
+
| "cursor"
|
|
2232
|
+
| "opacity"
|
|
2233
|
+
| "filter"
|
|
2234
|
+
| "display"
|
|
2235
|
+
| "visibility"
|
|
2236
|
+
| "color-interpolation"
|
|
2237
|
+
| "color-rendering"
|
|
2238
|
+
> {}
|
|
2239
|
+
interface LightSourceElementSVGAttributes<T> extends CoreSVGAttributes<T> {}
|
|
2240
|
+
interface NewViewportSVGAttributes<T>
|
|
2241
|
+
extends CoreSVGAttributes<T>, Pick<PresentationSVGAttributes, "overflow" | "clip"> {
|
|
2401
2242
|
viewBox?: string | undefined
|
|
2402
2243
|
}
|
|
2403
|
-
interface ShapeElementSVGAttributes<T>
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2244
|
+
interface ShapeElementSVGAttributes<T>
|
|
2245
|
+
extends
|
|
2246
|
+
CoreSVGAttributes<T>,
|
|
2247
|
+
Pick<
|
|
2248
|
+
PresentationSVGAttributes,
|
|
2249
|
+
| "color"
|
|
2250
|
+
| "fill"
|
|
2251
|
+
| "fill-rule"
|
|
2252
|
+
| "fill-opacity"
|
|
2253
|
+
| "stroke"
|
|
2254
|
+
| "stroke-width"
|
|
2255
|
+
| "stroke-linecap"
|
|
2256
|
+
| "stroke-linejoin"
|
|
2257
|
+
| "stroke-miterlimit"
|
|
2258
|
+
| "stroke-dasharray"
|
|
2259
|
+
| "stroke-dashoffset"
|
|
2260
|
+
| "stroke-opacity"
|
|
2261
|
+
| "shape-rendering"
|
|
2262
|
+
| "pathLength"
|
|
2263
|
+
> {}
|
|
2423
2264
|
interface TextContentElementSVGAttributes<T>
|
|
2424
2265
|
extends
|
|
2425
2266
|
CoreSVGAttributes<T>,
|
|
@@ -2454,8 +2295,7 @@ export namespace JSX {
|
|
|
2454
2295
|
| "stroke-dasharray"
|
|
2455
2296
|
| "stroke-dashoffset"
|
|
2456
2297
|
| "stroke-opacity"
|
|
2457
|
-
>
|
|
2458
|
-
{}
|
|
2298
|
+
> {}
|
|
2459
2299
|
interface ZoomAndPanSVGAttributes {
|
|
2460
2300
|
/**
|
|
2461
2301
|
* @deprecated
|
|
@@ -2470,18 +2310,13 @@ export namespace JSX {
|
|
|
2470
2310
|
AnimationTimingSVGAttributes,
|
|
2471
2311
|
AnimationValueSVGAttributes,
|
|
2472
2312
|
AnimationAdditionSVGAttributes,
|
|
2473
|
-
Pick<
|
|
2474
|
-
PresentationSVGAttributes,
|
|
2475
|
-
"color-interpolation" | "color-rendering"
|
|
2476
|
-
>
|
|
2477
|
-
{}
|
|
2313
|
+
Pick<PresentationSVGAttributes, "color-interpolation" | "color-rendering"> {}
|
|
2478
2314
|
interface AnimateMotionSVGAttributes<T>
|
|
2479
2315
|
extends
|
|
2480
2316
|
AnimationElementSVGAttributes<T>,
|
|
2481
2317
|
AnimationTimingSVGAttributes,
|
|
2482
2318
|
AnimationValueSVGAttributes,
|
|
2483
|
-
AnimationAdditionSVGAttributes
|
|
2484
|
-
{
|
|
2319
|
+
AnimationAdditionSVGAttributes {
|
|
2485
2320
|
keyPoints?: string | undefined
|
|
2486
2321
|
origin?: "default" | undefined
|
|
2487
2322
|
path?: string | undefined
|
|
@@ -2493,8 +2328,7 @@ export namespace JSX {
|
|
|
2493
2328
|
AnimationAttributeTargetSVGAttributes,
|
|
2494
2329
|
AnimationTimingSVGAttributes,
|
|
2495
2330
|
AnimationValueSVGAttributes,
|
|
2496
|
-
AnimationAdditionSVGAttributes
|
|
2497
|
-
{
|
|
2331
|
+
AnimationAdditionSVGAttributes {
|
|
2498
2332
|
type?: "translate" | "scale" | "rotate" | "skewX" | "skewY" | undefined
|
|
2499
2333
|
}
|
|
2500
2334
|
interface CircleSVGAttributes<T>
|
|
@@ -2504,8 +2338,7 @@ export namespace JSX {
|
|
|
2504
2338
|
ConditionalProcessingSVGAttributes,
|
|
2505
2339
|
StylableSVGAttributes,
|
|
2506
2340
|
TransformableSVGAttributes,
|
|
2507
|
-
Pick<PresentationSVGAttributes, "clip-path">
|
|
2508
|
-
{
|
|
2341
|
+
Pick<PresentationSVGAttributes, "clip-path"> {
|
|
2509
2342
|
cx?: number | string | undefined
|
|
2510
2343
|
cy?: number | string | undefined
|
|
2511
2344
|
r?: number | string | undefined
|
|
@@ -2517,8 +2350,7 @@ export namespace JSX {
|
|
|
2517
2350
|
ExternalResourceSVGAttributes,
|
|
2518
2351
|
StylableSVGAttributes,
|
|
2519
2352
|
TransformableSVGAttributes,
|
|
2520
|
-
Pick<PresentationSVGAttributes, "clip-path">
|
|
2521
|
-
{
|
|
2353
|
+
Pick<PresentationSVGAttributes, "clip-path"> {
|
|
2522
2354
|
clipPathUnits?: SVGUnits | undefined
|
|
2523
2355
|
}
|
|
2524
2356
|
interface DefsSVGAttributes<T>
|
|
@@ -2527,11 +2359,8 @@ export namespace JSX {
|
|
|
2527
2359
|
ConditionalProcessingSVGAttributes,
|
|
2528
2360
|
ExternalResourceSVGAttributes,
|
|
2529
2361
|
StylableSVGAttributes,
|
|
2530
|
-
TransformableSVGAttributes
|
|
2531
|
-
{}
|
|
2532
|
-
interface DescSVGAttributes<T>
|
|
2533
|
-
extends CoreSVGAttributes<T>, StylableSVGAttributes
|
|
2534
|
-
{}
|
|
2362
|
+
TransformableSVGAttributes {}
|
|
2363
|
+
interface DescSVGAttributes<T> extends CoreSVGAttributes<T>, StylableSVGAttributes {}
|
|
2535
2364
|
interface EllipseSVGAttributes<T>
|
|
2536
2365
|
extends
|
|
2537
2366
|
GraphicsElementSVGAttributes<T>,
|
|
@@ -2540,8 +2369,7 @@ export namespace JSX {
|
|
|
2540
2369
|
ExternalResourceSVGAttributes,
|
|
2541
2370
|
StylableSVGAttributes,
|
|
2542
2371
|
TransformableSVGAttributes,
|
|
2543
|
-
Pick<PresentationSVGAttributes, "clip-path">
|
|
2544
|
-
{
|
|
2372
|
+
Pick<PresentationSVGAttributes, "clip-path"> {
|
|
2545
2373
|
cx?: number | string | undefined
|
|
2546
2374
|
cy?: number | string | undefined
|
|
2547
2375
|
rx?: number | string | undefined
|
|
@@ -2551,16 +2379,14 @@ export namespace JSX {
|
|
|
2551
2379
|
extends
|
|
2552
2380
|
FilterPrimitiveElementSVGAttributes<T>,
|
|
2553
2381
|
DoubleInputFilterSVGAttributes,
|
|
2554
|
-
StylableSVGAttributes
|
|
2555
|
-
{
|
|
2382
|
+
StylableSVGAttributes {
|
|
2556
2383
|
mode?: "normal" | "multiply" | "screen" | "darken" | "lighten" | undefined
|
|
2557
2384
|
}
|
|
2558
2385
|
interface FeColorMatrixSVGAttributes<T>
|
|
2559
2386
|
extends
|
|
2560
2387
|
FilterPrimitiveElementSVGAttributes<T>,
|
|
2561
2388
|
SingleInputFilterSVGAttributes,
|
|
2562
|
-
StylableSVGAttributes
|
|
2563
|
-
{
|
|
2389
|
+
StylableSVGAttributes {
|
|
2564
2390
|
type?: "matrix" | "saturate" | "hueRotate" | "luminanceToAlpha" | undefined
|
|
2565
2391
|
values?: string | undefined
|
|
2566
2392
|
}
|
|
@@ -2568,14 +2394,12 @@ export namespace JSX {
|
|
|
2568
2394
|
extends
|
|
2569
2395
|
FilterPrimitiveElementSVGAttributes<T>,
|
|
2570
2396
|
SingleInputFilterSVGAttributes,
|
|
2571
|
-
StylableSVGAttributes
|
|
2572
|
-
{}
|
|
2397
|
+
StylableSVGAttributes {}
|
|
2573
2398
|
interface FeCompositeSVGAttributes<T>
|
|
2574
2399
|
extends
|
|
2575
2400
|
FilterPrimitiveElementSVGAttributes<T>,
|
|
2576
2401
|
DoubleInputFilterSVGAttributes,
|
|
2577
|
-
StylableSVGAttributes
|
|
2578
|
-
{
|
|
2402
|
+
StylableSVGAttributes {
|
|
2579
2403
|
k1?: number | string | undefined
|
|
2580
2404
|
k2?: number | string | undefined
|
|
2581
2405
|
k3?: number | string | undefined
|
|
@@ -2586,8 +2410,7 @@ export namespace JSX {
|
|
|
2586
2410
|
extends
|
|
2587
2411
|
FilterPrimitiveElementSVGAttributes<T>,
|
|
2588
2412
|
SingleInputFilterSVGAttributes,
|
|
2589
|
-
StylableSVGAttributes
|
|
2590
|
-
{
|
|
2413
|
+
StylableSVGAttributes {
|
|
2591
2414
|
bias?: number | string | undefined
|
|
2592
2415
|
divisor?: number | string | undefined
|
|
2593
2416
|
edgeMode?: "duplicate" | "wrap" | "none" | undefined
|
|
@@ -2603,8 +2426,7 @@ export namespace JSX {
|
|
|
2603
2426
|
FilterPrimitiveElementSVGAttributes<T>,
|
|
2604
2427
|
SingleInputFilterSVGAttributes,
|
|
2605
2428
|
StylableSVGAttributes,
|
|
2606
|
-
Pick<PresentationSVGAttributes, "color" | "lighting-color">
|
|
2607
|
-
{
|
|
2429
|
+
Pick<PresentationSVGAttributes, "color" | "lighting-color"> {
|
|
2608
2430
|
diffuseConstant?: number | string | undefined
|
|
2609
2431
|
kernelUnitLength?: number | string | undefined
|
|
2610
2432
|
surfaceScale?: number | string | undefined
|
|
@@ -2613,15 +2435,12 @@ export namespace JSX {
|
|
|
2613
2435
|
extends
|
|
2614
2436
|
FilterPrimitiveElementSVGAttributes<T>,
|
|
2615
2437
|
DoubleInputFilterSVGAttributes,
|
|
2616
|
-
StylableSVGAttributes
|
|
2617
|
-
{
|
|
2438
|
+
StylableSVGAttributes {
|
|
2618
2439
|
scale?: number | string | undefined
|
|
2619
2440
|
xChannelSelector?: "R" | "G" | "B" | "A" | undefined
|
|
2620
2441
|
yChannelSelector?: "R" | "G" | "B" | "A" | undefined
|
|
2621
2442
|
}
|
|
2622
|
-
interface FeDistantLightSVGAttributes<T>
|
|
2623
|
-
extends LightSourceElementSVGAttributes<T>
|
|
2624
|
-
{
|
|
2443
|
+
interface FeDistantLightSVGAttributes<T> extends LightSourceElementSVGAttributes<T> {
|
|
2625
2444
|
azimuth?: number | string | undefined
|
|
2626
2445
|
elevation?: number | string | undefined
|
|
2627
2446
|
}
|
|
@@ -2630,11 +2449,7 @@ export namespace JSX {
|
|
|
2630
2449
|
CoreSVGAttributes<T>,
|
|
2631
2450
|
FilterPrimitiveElementSVGAttributes<T>,
|
|
2632
2451
|
StylableSVGAttributes,
|
|
2633
|
-
Pick<
|
|
2634
|
-
PresentationSVGAttributes,
|
|
2635
|
-
"color" | "flood-color" | "flood-opacity"
|
|
2636
|
-
>
|
|
2637
|
-
{
|
|
2452
|
+
Pick<PresentationSVGAttributes, "color" | "flood-color" | "flood-opacity"> {
|
|
2638
2453
|
dx?: number | string | undefined
|
|
2639
2454
|
dy?: number | string | undefined
|
|
2640
2455
|
stdDeviation?: number | string | undefined
|
|
@@ -2643,11 +2458,7 @@ export namespace JSX {
|
|
|
2643
2458
|
extends
|
|
2644
2459
|
FilterPrimitiveElementSVGAttributes<T>,
|
|
2645
2460
|
StylableSVGAttributes,
|
|
2646
|
-
Pick<
|
|
2647
|
-
PresentationSVGAttributes,
|
|
2648
|
-
"color" | "flood-color" | "flood-opacity"
|
|
2649
|
-
>
|
|
2650
|
-
{}
|
|
2461
|
+
Pick<PresentationSVGAttributes, "color" | "flood-color" | "flood-opacity"> {}
|
|
2651
2462
|
interface FeFuncSVGAttributes<T> extends CoreSVGAttributes<T> {
|
|
2652
2463
|
amplitude?: number | string | undefined
|
|
2653
2464
|
exponent?: number | string | undefined
|
|
@@ -2661,31 +2472,26 @@ export namespace JSX {
|
|
|
2661
2472
|
extends
|
|
2662
2473
|
FilterPrimitiveElementSVGAttributes<T>,
|
|
2663
2474
|
SingleInputFilterSVGAttributes,
|
|
2664
|
-
StylableSVGAttributes
|
|
2665
|
-
{
|
|
2475
|
+
StylableSVGAttributes {
|
|
2666
2476
|
stdDeviation?: number | string | undefined
|
|
2667
2477
|
}
|
|
2668
2478
|
interface FeImageSVGAttributes<T>
|
|
2669
2479
|
extends
|
|
2670
2480
|
FilterPrimitiveElementSVGAttributes<T>,
|
|
2671
2481
|
ExternalResourceSVGAttributes,
|
|
2672
|
-
StylableSVGAttributes
|
|
2673
|
-
{
|
|
2482
|
+
StylableSVGAttributes {
|
|
2674
2483
|
href?: string | undefined
|
|
2675
2484
|
preserveAspectRatio?: SVGPreserveAspectRatio | undefined
|
|
2676
2485
|
}
|
|
2677
2486
|
interface FeMergeSVGAttributes<T>
|
|
2678
|
-
extends FilterPrimitiveElementSVGAttributes<T>, StylableSVGAttributes
|
|
2679
|
-
{}
|
|
2487
|
+
extends FilterPrimitiveElementSVGAttributes<T>, StylableSVGAttributes {}
|
|
2680
2488
|
interface FeMergeNodeSVGAttributes<T>
|
|
2681
|
-
extends CoreSVGAttributes<T>, SingleInputFilterSVGAttributes
|
|
2682
|
-
{}
|
|
2489
|
+
extends CoreSVGAttributes<T>, SingleInputFilterSVGAttributes {}
|
|
2683
2490
|
interface FeMorphologySVGAttributes<T>
|
|
2684
2491
|
extends
|
|
2685
2492
|
FilterPrimitiveElementSVGAttributes<T>,
|
|
2686
2493
|
SingleInputFilterSVGAttributes,
|
|
2687
|
-
StylableSVGAttributes
|
|
2688
|
-
{
|
|
2494
|
+
StylableSVGAttributes {
|
|
2689
2495
|
operator?: "erode" | "dilate" | undefined
|
|
2690
2496
|
radius?: number | string | undefined
|
|
2691
2497
|
}
|
|
@@ -2693,14 +2499,11 @@ export namespace JSX {
|
|
|
2693
2499
|
extends
|
|
2694
2500
|
FilterPrimitiveElementSVGAttributes<T>,
|
|
2695
2501
|
SingleInputFilterSVGAttributes,
|
|
2696
|
-
StylableSVGAttributes
|
|
2697
|
-
{
|
|
2502
|
+
StylableSVGAttributes {
|
|
2698
2503
|
dx?: number | string | undefined
|
|
2699
2504
|
dy?: number | string | undefined
|
|
2700
2505
|
}
|
|
2701
|
-
interface FePointLightSVGAttributes<T>
|
|
2702
|
-
extends LightSourceElementSVGAttributes<T>
|
|
2703
|
-
{
|
|
2506
|
+
interface FePointLightSVGAttributes<T> extends LightSourceElementSVGAttributes<T> {
|
|
2704
2507
|
x?: number | string | undefined
|
|
2705
2508
|
y?: number | string | undefined
|
|
2706
2509
|
z?: number | string | undefined
|
|
@@ -2710,16 +2513,13 @@ export namespace JSX {
|
|
|
2710
2513
|
FilterPrimitiveElementSVGAttributes<T>,
|
|
2711
2514
|
SingleInputFilterSVGAttributes,
|
|
2712
2515
|
StylableSVGAttributes,
|
|
2713
|
-
Pick<PresentationSVGAttributes, "color" | "lighting-color">
|
|
2714
|
-
{
|
|
2516
|
+
Pick<PresentationSVGAttributes, "color" | "lighting-color"> {
|
|
2715
2517
|
kernelUnitLength?: number | string | undefined
|
|
2716
2518
|
specularConstant?: string | undefined
|
|
2717
2519
|
specularExponent?: string | undefined
|
|
2718
2520
|
surfaceScale?: string | undefined
|
|
2719
2521
|
}
|
|
2720
|
-
interface FeSpotLightSVGAttributes<T>
|
|
2721
|
-
extends LightSourceElementSVGAttributes<T>
|
|
2722
|
-
{
|
|
2522
|
+
interface FeSpotLightSVGAttributes<T> extends LightSourceElementSVGAttributes<T> {
|
|
2723
2523
|
limitingConeAngle?: number | string | undefined
|
|
2724
2524
|
pointsAtX?: number | string | undefined
|
|
2725
2525
|
pointsAtY?: number | string | undefined
|
|
@@ -2733,11 +2533,9 @@ export namespace JSX {
|
|
|
2733
2533
|
extends
|
|
2734
2534
|
FilterPrimitiveElementSVGAttributes<T>,
|
|
2735
2535
|
SingleInputFilterSVGAttributes,
|
|
2736
|
-
StylableSVGAttributes
|
|
2737
|
-
{}
|
|
2536
|
+
StylableSVGAttributes {}
|
|
2738
2537
|
interface FeTurbulanceSVGAttributes<T>
|
|
2739
|
-
extends FilterPrimitiveElementSVGAttributes<T>, StylableSVGAttributes
|
|
2740
|
-
{
|
|
2538
|
+
extends FilterPrimitiveElementSVGAttributes<T>, StylableSVGAttributes {
|
|
2741
2539
|
baseFrequency?: number | string | undefined
|
|
2742
2540
|
numOctaves?: number | string | undefined
|
|
2743
2541
|
seed?: number | string | undefined
|
|
@@ -2745,11 +2543,7 @@ export namespace JSX {
|
|
|
2745
2543
|
type?: "fractalNoise" | "turbulence" | undefined
|
|
2746
2544
|
}
|
|
2747
2545
|
interface FilterSVGAttributes<T>
|
|
2748
|
-
extends
|
|
2749
|
-
CoreSVGAttributes<T>,
|
|
2750
|
-
ExternalResourceSVGAttributes,
|
|
2751
|
-
StylableSVGAttributes
|
|
2752
|
-
{
|
|
2546
|
+
extends CoreSVGAttributes<T>, ExternalResourceSVGAttributes, StylableSVGAttributes {
|
|
2753
2547
|
filterRes?: number | string | undefined
|
|
2754
2548
|
filterUnits?: SVGUnits | undefined
|
|
2755
2549
|
height?: number | string | undefined
|
|
@@ -2765,8 +2559,7 @@ export namespace JSX {
|
|
|
2765
2559
|
ExternalResourceSVGAttributes,
|
|
2766
2560
|
StylableSVGAttributes,
|
|
2767
2561
|
TransformableSVGAttributes,
|
|
2768
|
-
Pick<PresentationSVGAttributes, "display" | "visibility">
|
|
2769
|
-
{
|
|
2562
|
+
Pick<PresentationSVGAttributes, "display" | "visibility"> {
|
|
2770
2563
|
height?: number | string | undefined
|
|
2771
2564
|
width?: number | string | undefined
|
|
2772
2565
|
x?: number | string | undefined
|
|
@@ -2779,8 +2572,7 @@ export namespace JSX {
|
|
|
2779
2572
|
ExternalResourceSVGAttributes,
|
|
2780
2573
|
StylableSVGAttributes,
|
|
2781
2574
|
TransformableSVGAttributes,
|
|
2782
|
-
Pick<PresentationSVGAttributes, "clip-path" | "display" | "visibility">
|
|
2783
|
-
{}
|
|
2575
|
+
Pick<PresentationSVGAttributes, "clip-path" | "display" | "visibility"> {}
|
|
2784
2576
|
interface ImageSVGAttributes<T>
|
|
2785
2577
|
extends
|
|
2786
2578
|
NewViewportSVGAttributes<T>,
|
|
@@ -2788,11 +2580,7 @@ export namespace JSX {
|
|
|
2788
2580
|
ConditionalProcessingSVGAttributes,
|
|
2789
2581
|
StylableSVGAttributes,
|
|
2790
2582
|
TransformableSVGAttributes,
|
|
2791
|
-
Pick<
|
|
2792
|
-
PresentationSVGAttributes,
|
|
2793
|
-
"clip-path" | "color-profile" | "image-rendering"
|
|
2794
|
-
>
|
|
2795
|
-
{
|
|
2583
|
+
Pick<PresentationSVGAttributes, "clip-path" | "color-profile" | "image-rendering"> {
|
|
2796
2584
|
height?: number | string | undefined
|
|
2797
2585
|
href?: string | undefined
|
|
2798
2586
|
preserveAspectRatio?: ImagePreserveAspectRatio | undefined
|
|
@@ -2808,19 +2596,13 @@ export namespace JSX {
|
|
|
2808
2596
|
ExternalResourceSVGAttributes,
|
|
2809
2597
|
StylableSVGAttributes,
|
|
2810
2598
|
TransformableSVGAttributes,
|
|
2811
|
-
Pick<
|
|
2812
|
-
PresentationSVGAttributes,
|
|
2813
|
-
"clip-path" | "marker-start" | "marker-mid" | "marker-end"
|
|
2814
|
-
>
|
|
2815
|
-
{
|
|
2599
|
+
Pick<PresentationSVGAttributes, "clip-path" | "marker-start" | "marker-mid" | "marker-end"> {
|
|
2816
2600
|
x1?: number | string | undefined
|
|
2817
2601
|
x2?: number | string | undefined
|
|
2818
2602
|
y1?: number | string | undefined
|
|
2819
2603
|
y2?: number | string | undefined
|
|
2820
2604
|
}
|
|
2821
|
-
interface LinearGradientSVGAttributes<T>
|
|
2822
|
-
extends GradientElementSVGAttributes<T>
|
|
2823
|
-
{
|
|
2605
|
+
interface LinearGradientSVGAttributes<T> extends GradientElementSVGAttributes<T> {
|
|
2824
2606
|
x1?: number | string | undefined
|
|
2825
2607
|
x2?: number | string | undefined
|
|
2826
2608
|
y1?: number | string | undefined
|
|
@@ -2832,8 +2614,7 @@ export namespace JSX {
|
|
|
2832
2614
|
ExternalResourceSVGAttributes,
|
|
2833
2615
|
StylableSVGAttributes,
|
|
2834
2616
|
FitToViewBoxSVGAttributes,
|
|
2835
|
-
Pick<PresentationSVGAttributes, "clip-path" | "overflow" | "clip">
|
|
2836
|
-
{
|
|
2617
|
+
Pick<PresentationSVGAttributes, "clip-path" | "overflow" | "clip"> {
|
|
2837
2618
|
markerHeight?: number | string | undefined
|
|
2838
2619
|
markerUnits?: "strokeWidth" | "userSpaceOnUse" | undefined
|
|
2839
2620
|
markerWidth?: number | string | undefined
|
|
@@ -2847,8 +2628,7 @@ export namespace JSX {
|
|
|
2847
2628
|
ConditionalProcessingSVGAttributes,
|
|
2848
2629
|
ExternalResourceSVGAttributes,
|
|
2849
2630
|
StylableSVGAttributes,
|
|
2850
|
-
Pick<PresentationSVGAttributes, "clip-path">
|
|
2851
|
-
{
|
|
2631
|
+
Pick<PresentationSVGAttributes, "clip-path"> {
|
|
2852
2632
|
height?: number | string | undefined
|
|
2853
2633
|
maskContentUnits?: SVGUnits | undefined
|
|
2854
2634
|
maskUnits?: SVGUnits | undefined
|
|
@@ -2866,11 +2646,7 @@ export namespace JSX {
|
|
|
2866
2646
|
ExternalResourceSVGAttributes,
|
|
2867
2647
|
StylableSVGAttributes,
|
|
2868
2648
|
TransformableSVGAttributes,
|
|
2869
|
-
Pick<
|
|
2870
|
-
PresentationSVGAttributes,
|
|
2871
|
-
"clip-path" | "marker-start" | "marker-mid" | "marker-end"
|
|
2872
|
-
>
|
|
2873
|
-
{
|
|
2649
|
+
Pick<PresentationSVGAttributes, "clip-path" | "marker-start" | "marker-mid" | "marker-end"> {
|
|
2874
2650
|
d?: string | undefined
|
|
2875
2651
|
pathLength?: number | string | undefined
|
|
2876
2652
|
}
|
|
@@ -2881,8 +2657,7 @@ export namespace JSX {
|
|
|
2881
2657
|
ExternalResourceSVGAttributes,
|
|
2882
2658
|
StylableSVGAttributes,
|
|
2883
2659
|
FitToViewBoxSVGAttributes,
|
|
2884
|
-
Pick<PresentationSVGAttributes, "clip-path" | "overflow" | "clip">
|
|
2885
|
-
{
|
|
2660
|
+
Pick<PresentationSVGAttributes, "clip-path" | "overflow" | "clip"> {
|
|
2886
2661
|
height?: number | string | undefined
|
|
2887
2662
|
href?: string | undefined
|
|
2888
2663
|
patternContentUnits?: SVGUnits | undefined
|
|
@@ -2900,11 +2675,7 @@ export namespace JSX {
|
|
|
2900
2675
|
ExternalResourceSVGAttributes,
|
|
2901
2676
|
StylableSVGAttributes,
|
|
2902
2677
|
TransformableSVGAttributes,
|
|
2903
|
-
Pick<
|
|
2904
|
-
PresentationSVGAttributes,
|
|
2905
|
-
"clip-path" | "marker-start" | "marker-mid" | "marker-end"
|
|
2906
|
-
>
|
|
2907
|
-
{
|
|
2678
|
+
Pick<PresentationSVGAttributes, "clip-path" | "marker-start" | "marker-mid" | "marker-end"> {
|
|
2908
2679
|
points?: string | undefined
|
|
2909
2680
|
}
|
|
2910
2681
|
interface PolylineSVGAttributes<T>
|
|
@@ -2915,16 +2686,10 @@ export namespace JSX {
|
|
|
2915
2686
|
ExternalResourceSVGAttributes,
|
|
2916
2687
|
StylableSVGAttributes,
|
|
2917
2688
|
TransformableSVGAttributes,
|
|
2918
|
-
Pick<
|
|
2919
|
-
PresentationSVGAttributes,
|
|
2920
|
-
"clip-path" | "marker-start" | "marker-mid" | "marker-end"
|
|
2921
|
-
>
|
|
2922
|
-
{
|
|
2689
|
+
Pick<PresentationSVGAttributes, "clip-path" | "marker-start" | "marker-mid" | "marker-end"> {
|
|
2923
2690
|
points?: string | undefined
|
|
2924
2691
|
}
|
|
2925
|
-
interface RadialGradientSVGAttributes<T>
|
|
2926
|
-
extends GradientElementSVGAttributes<T>
|
|
2927
|
-
{
|
|
2692
|
+
interface RadialGradientSVGAttributes<T> extends GradientElementSVGAttributes<T> {
|
|
2928
2693
|
cx?: number | string | undefined
|
|
2929
2694
|
cy?: number | string | undefined
|
|
2930
2695
|
fx?: number | string | undefined
|
|
@@ -2939,8 +2704,7 @@ export namespace JSX {
|
|
|
2939
2704
|
ExternalResourceSVGAttributes,
|
|
2940
2705
|
StylableSVGAttributes,
|
|
2941
2706
|
TransformableSVGAttributes,
|
|
2942
|
-
Pick<PresentationSVGAttributes, "clip-path">
|
|
2943
|
-
{
|
|
2707
|
+
Pick<PresentationSVGAttributes, "clip-path"> {
|
|
2944
2708
|
height?: number | string | undefined
|
|
2945
2709
|
rx?: number | string | undefined
|
|
2946
2710
|
ry?: number | string | undefined
|
|
@@ -2949,17 +2713,12 @@ export namespace JSX {
|
|
|
2949
2713
|
y?: number | string | undefined
|
|
2950
2714
|
}
|
|
2951
2715
|
interface SetSVGAttributes<T>
|
|
2952
|
-
extends
|
|
2953
|
-
AnimationElementSVGAttributes<T>,
|
|
2954
|
-
StylableSVGAttributes,
|
|
2955
|
-
AnimationTimingSVGAttributes
|
|
2956
|
-
{}
|
|
2716
|
+
extends AnimationElementSVGAttributes<T>, StylableSVGAttributes, AnimationTimingSVGAttributes {}
|
|
2957
2717
|
interface StopSVGAttributes<T>
|
|
2958
2718
|
extends
|
|
2959
2719
|
CoreSVGAttributes<T>,
|
|
2960
2720
|
StylableSVGAttributes,
|
|
2961
|
-
Pick<PresentationSVGAttributes, "color" | "stop-color" | "stop-opacity">
|
|
2962
|
-
{
|
|
2721
|
+
Pick<PresentationSVGAttributes, "color" | "stop-color" | "stop-opacity"> {
|
|
2963
2722
|
offset?: number | string | undefined
|
|
2964
2723
|
}
|
|
2965
2724
|
interface SvgSVGAttributes<T>
|
|
@@ -2972,8 +2731,7 @@ export namespace JSX {
|
|
|
2972
2731
|
FitToViewBoxSVGAttributes,
|
|
2973
2732
|
ZoomAndPanSVGAttributes,
|
|
2974
2733
|
PresentationSVGAttributes,
|
|
2975
|
-
WindowEventMap<T>
|
|
2976
|
-
{
|
|
2734
|
+
WindowEventMap<T> {
|
|
2977
2735
|
"xmlns:xlink"?: string | undefined
|
|
2978
2736
|
[`xmlns:${string}`]?: string | undefined
|
|
2979
2737
|
contentScriptType?: string | undefined
|
|
@@ -2996,8 +2754,7 @@ export namespace JSX {
|
|
|
2996
2754
|
ExternalResourceSVGAttributes,
|
|
2997
2755
|
StylableSVGAttributes,
|
|
2998
2756
|
TransformableSVGAttributes,
|
|
2999
|
-
Pick<PresentationSVGAttributes, "display" | "visibility">
|
|
3000
|
-
{}
|
|
2757
|
+
Pick<PresentationSVGAttributes, "display" | "visibility"> {}
|
|
3001
2758
|
interface SymbolSVGAttributes<T>
|
|
3002
2759
|
extends
|
|
3003
2760
|
ContainerElementSVGAttributes<T>,
|
|
@@ -3005,8 +2762,7 @@ export namespace JSX {
|
|
|
3005
2762
|
ExternalResourceSVGAttributes,
|
|
3006
2763
|
StylableSVGAttributes,
|
|
3007
2764
|
FitToViewBoxSVGAttributes,
|
|
3008
|
-
Pick<PresentationSVGAttributes, "clip-path">
|
|
3009
|
-
{
|
|
2765
|
+
Pick<PresentationSVGAttributes, "clip-path"> {
|
|
3010
2766
|
height?: number | string | undefined
|
|
3011
2767
|
preserveAspectRatio?: SVGPreserveAspectRatio | undefined
|
|
3012
2768
|
refX?: number | string | undefined
|
|
@@ -3024,11 +2780,7 @@ export namespace JSX {
|
|
|
3024
2780
|
ExternalResourceSVGAttributes,
|
|
3025
2781
|
StylableSVGAttributes,
|
|
3026
2782
|
TransformableSVGAttributes,
|
|
3027
|
-
Pick<
|
|
3028
|
-
PresentationSVGAttributes,
|
|
3029
|
-
"clip-path" | "writing-mode" | "text-rendering"
|
|
3030
|
-
>
|
|
3031
|
-
{
|
|
2783
|
+
Pick<PresentationSVGAttributes, "clip-path" | "writing-mode" | "text-rendering"> {
|
|
3032
2784
|
dx?: number | string | undefined
|
|
3033
2785
|
dy?: number | string | undefined
|
|
3034
2786
|
lengthAdjust?: "spacing" | "spacingAndGlyphs" | undefined
|
|
@@ -3046,8 +2798,7 @@ export namespace JSX {
|
|
|
3046
2798
|
Pick<
|
|
3047
2799
|
PresentationSVGAttributes,
|
|
3048
2800
|
"alignment-baseline" | "baseline-shift" | "display" | "visibility"
|
|
3049
|
-
>
|
|
3050
|
-
{
|
|
2801
|
+
> {
|
|
3051
2802
|
href?: string | undefined
|
|
3052
2803
|
method?: "align" | "stretch" | undefined
|
|
3053
2804
|
spacing?: "auto" | "exact" | undefined
|
|
@@ -3062,8 +2813,7 @@ export namespace JSX {
|
|
|
3062
2813
|
Pick<
|
|
3063
2814
|
PresentationSVGAttributes,
|
|
3064
2815
|
"alignment-baseline" | "baseline-shift" | "display" | "visibility"
|
|
3065
|
-
>
|
|
3066
|
-
{
|
|
2816
|
+
> {
|
|
3067
2817
|
dx?: number | string | undefined
|
|
3068
2818
|
dy?: number | string | undefined
|
|
3069
2819
|
lengthAdjust?: "spacing" | "spacingAndGlyphs" | undefined
|
|
@@ -3081,8 +2831,7 @@ export namespace JSX {
|
|
|
3081
2831
|
GraphicsElementSVGAttributes<T>,
|
|
3082
2832
|
PresentationSVGAttributes,
|
|
3083
2833
|
ExternalResourceSVGAttributes,
|
|
3084
|
-
TransformableSVGAttributes
|
|
3085
|
-
{
|
|
2834
|
+
TransformableSVGAttributes {
|
|
3086
2835
|
height?: number | string | undefined
|
|
3087
2836
|
href?: string | undefined
|
|
3088
2837
|
width?: number | string | undefined
|
|
@@ -3094,8 +2843,7 @@ export namespace JSX {
|
|
|
3094
2843
|
CoreSVGAttributes<T>,
|
|
3095
2844
|
ExternalResourceSVGAttributes,
|
|
3096
2845
|
FitToViewBoxSVGAttributes,
|
|
3097
|
-
ZoomAndPanSVGAttributes
|
|
3098
|
-
{
|
|
2846
|
+
ZoomAndPanSVGAttributes {
|
|
3099
2847
|
viewTarget?: string | undefined
|
|
3100
2848
|
}
|
|
3101
2849
|
|
|
@@ -3124,9 +2872,7 @@ export namespace JSX {
|
|
|
3124
2872
|
/** @deprecated */
|
|
3125
2873
|
src?: string | undefined
|
|
3126
2874
|
}
|
|
3127
|
-
interface MathMLAnnotationXmlElementAttributes<T>
|
|
3128
|
-
extends MathMLAttributes<T>
|
|
3129
|
-
{
|
|
2875
|
+
interface MathMLAnnotationXmlElementAttributes<T> extends MathMLAttributes<T> {
|
|
3130
2876
|
encoding?: string | undefined
|
|
3131
2877
|
|
|
3132
2878
|
/** @deprecated */
|
|
@@ -3166,9 +2912,7 @@ export namespace JSX {
|
|
|
3166
2912
|
mathvariant?: "normal" | undefined
|
|
3167
2913
|
}
|
|
3168
2914
|
|
|
3169
|
-
interface MathMLMmultiscriptsElementAttributes<T>
|
|
3170
|
-
extends MathMLAttributes<T>
|
|
3171
|
-
{
|
|
2915
|
+
interface MathMLMmultiscriptsElementAttributes<T> extends MathMLAttributes<T> {
|
|
3172
2916
|
/**
|
|
3173
2917
|
* @deprecated
|
|
3174
2918
|
* @non-standard
|
|
@@ -3987,9 +3731,7 @@ export namespace JSX {
|
|
|
3987
3731
|
* @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feComponentTransfer
|
|
3988
3732
|
* @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEComponentTransferElemen
|
|
3989
3733
|
*/
|
|
3990
|
-
feComponentTransfer: FeComponentTransferSVGAttributes<
|
|
3991
|
-
SVGFEComponentTransferElement
|
|
3992
|
-
>
|
|
3734
|
+
feComponentTransfer: FeComponentTransferSVGAttributes<SVGFEComponentTransferElement>
|
|
3993
3735
|
/**
|
|
3994
3736
|
* @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feComposite
|
|
3995
3737
|
* @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement
|
|
@@ -4004,16 +3746,12 @@ export namespace JSX {
|
|
|
4004
3746
|
* @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDiffuseLighting
|
|
4005
3747
|
* @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement
|
|
4006
3748
|
*/
|
|
4007
|
-
feDiffuseLighting: FeDiffuseLightingSVGAttributes<
|
|
4008
|
-
SVGFEDiffuseLightingElement
|
|
4009
|
-
>
|
|
3749
|
+
feDiffuseLighting: FeDiffuseLightingSVGAttributes<SVGFEDiffuseLightingElement>
|
|
4010
3750
|
/**
|
|
4011
3751
|
* @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDisplacementMap
|
|
4012
3752
|
* @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement
|
|
4013
3753
|
*/
|
|
4014
|
-
feDisplacementMap: FeDisplacementMapSVGAttributes<
|
|
4015
|
-
SVGFEDisplacementMapElement
|
|
4016
|
-
>
|
|
3754
|
+
feDisplacementMap: FeDisplacementMapSVGAttributes<SVGFEDisplacementMapElement>
|
|
4017
3755
|
/**
|
|
4018
3756
|
* @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDistantLight
|
|
4019
3757
|
* @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDistantLightElement
|
|
@@ -4088,9 +3826,7 @@ export namespace JSX {
|
|
|
4088
3826
|
* @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feSpecularLighting
|
|
4089
3827
|
* @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement
|
|
4090
3828
|
*/
|
|
4091
|
-
feSpecularLighting: FeSpecularLightingSVGAttributes<
|
|
4092
|
-
SVGFESpecularLightingElement
|
|
4093
|
-
>
|
|
3829
|
+
feSpecularLighting: FeSpecularLightingSVGAttributes<SVGFESpecularLightingElement>
|
|
4094
3830
|
/**
|
|
4095
3831
|
* @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feSpotLight
|
|
4096
3832
|
* @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement
|
|
@@ -4406,12 +4142,7 @@ export namespace JSX {
|
|
|
4406
4142
|
}
|
|
4407
4143
|
|
|
4408
4144
|
export interface IntrinsicElements
|
|
4409
|
-
extends
|
|
4410
|
-
HTMLElementTags,
|
|
4411
|
-
HTMLElementDeprecatedTags,
|
|
4412
|
-
SVGElementTags,
|
|
4413
|
-
MathMLElementTags
|
|
4414
|
-
{
|
|
4145
|
+
extends HTMLElementTags, HTMLElementDeprecatedTags, SVGElementTags, MathMLElementTags {
|
|
4415
4146
|
[elemName: string]: DOMAttributes<HTMLElement>
|
|
4416
4147
|
}
|
|
4417
4148
|
}
|