solid-js 2.0.0-beta.3 → 2.0.0-beta.5

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/types/jsx.d.ts CHANGED
@@ -162,8 +162,7 @@ export namespace JSX {
162
162
  > = EHandler | BoundEventHandler<T, E, EHandler>;
163
163
 
164
164
  interface EventHandlerWithOptions<T, E extends Event, EHandler = EventHandler<T, E>>
165
- extends AddEventListenerOptions,
166
- EventListenerOptions {
165
+ extends AddEventListenerOptions, EventListenerOptions {
167
166
  handleEvent: EHandler;
168
167
  }
169
168
 
@@ -278,12 +277,16 @@ export namespace JSX {
278
277
 
279
278
  type BooleanAttribute = true | false | "";
280
279
 
280
+ type BooleanProperty = true | false;
281
+
281
282
  type EnumeratedPseudoBoolean = "false" | "true";
282
283
 
283
284
  type EnumeratedAcceptsEmpty = "" | true;
284
285
 
285
286
  type RemoveAttribute = undefined | false;
286
287
 
288
+ type RemoveProperty = undefined;
289
+
287
290
  // ARIA
288
291
 
289
292
  // All the WAI-ARIA 1.1 attributes from https://www.w3.org/TR/wai-aria-1.1/
@@ -985,23 +988,36 @@ export namespace JSX {
985
988
  "on:wheel"?: EventHandlerWithOptionsUnion<T, WheelEvent> | undefined;
986
989
  }
987
990
 
988
- type EventType =
991
+ // EventName = "click" | "mousedown" ...
992
+
993
+ type EventName =
989
994
  | (keyof EventHandlersWindow<any> extends infer K
990
995
  ? K extends `on:${infer T}`
991
996
  ? T
992
997
  : K extends `on${infer T}`
993
- ? Lowercase<T>
994
- : never
998
+ ? Lowercase<T>
999
+ : never
995
1000
  : never)
996
1001
  | (keyof EventHandlersElement<any> extends infer K
997
1002
  ? K extends `on:${infer T}`
998
1003
  ? T
999
1004
  : K extends `on${infer T}`
1000
- ? Lowercase<T>
1001
- : never
1005
+ ? Lowercase<T>
1006
+ : never
1002
1007
  : never)
1003
1008
  | (string & {});
1004
1009
 
1010
+ type ExtractEventType<T> = {
1011
+ [K in keyof T as K extends `on:${infer Name}`
1012
+ ? Name
1013
+ : never]: T[K] extends EventHandlerWithOptionsUnion<Element, infer E> ? E : never;
1014
+ };
1015
+
1016
+ // EventType["click"] = MouseEvent
1017
+
1018
+ type EventType = ExtractEventType<EventHandlersElement<Element>> &
1019
+ ExtractEventType<EventHandlersWindow<Element>>;
1020
+
1005
1021
  // GLOBAL ATTRIBUTES
1006
1022
 
1007
1023
  /**
@@ -1011,7 +1027,8 @@ export namespace JSX {
1011
1027
  * 2. Includes `keys` defined by `Element` and `Node` interfaces.
1012
1028
  */
1013
1029
  interface ElementAttributes<T>
1014
- extends CustomAttributes<T>,
1030
+ extends
1031
+ CustomAttributes<T>,
1015
1032
  PropAttributes,
1016
1033
  OnAttributes<T>,
1017
1034
  EventHandlersElement<T>,
@@ -1239,7 +1256,7 @@ export namespace JSX {
1239
1256
  | "worker";
1240
1257
 
1241
1258
  interface AnchorHTMLAttributes<T> extends HTMLAttributes<T> {
1242
- download?: string | RemoveAttribute;
1259
+ download?: string | EnumeratedAcceptsEmpty | RemoveAttribute;
1243
1260
  href?: string | RemoveAttribute;
1244
1261
  hreflang?: string | RemoveAttribute;
1245
1262
  ping?: string | RemoveAttribute;
@@ -1266,7 +1283,7 @@ export namespace JSX {
1266
1283
  interface AreaHTMLAttributes<T> extends HTMLAttributes<T> {
1267
1284
  alt?: string | RemoveAttribute;
1268
1285
  coords?: string | RemoveAttribute;
1269
- download?: string | RemoveAttribute;
1286
+ download?: string | EnumeratedAcceptsEmpty | RemoveAttribute;
1270
1287
  href?: string | RemoveAttribute;
1271
1288
  ping?: string | RemoveAttribute;
1272
1289
  referrerpolicy?: HTMLReferrerPolicy | RemoveAttribute;
@@ -1510,6 +1527,7 @@ export namespace JSX {
1510
1527
  autocomplete?: HTMLAutocomplete | RemoveAttribute;
1511
1528
  capture?: "user" | "environment" | RemoveAttribute;
1512
1529
  checked?: BooleanAttribute | RemoveAttribute;
1530
+ "prop:checked"?: BooleanProperty | RemoveProperty;
1513
1531
  colorspace?: string | RemoveAttribute;
1514
1532
  dirname?: string | RemoveAttribute;
1515
1533
  disabled?: BooleanAttribute | RemoveAttribute;
@@ -1564,6 +1582,7 @@ export namespace JSX {
1564
1582
  | (string & {})
1565
1583
  | RemoveAttribute;
1566
1584
  value?: string | string[] | number | RemoveAttribute;
1585
+ "prop:value"?: string | string[] | number | RemoveProperty;
1567
1586
  width?: number | string | RemoveAttribute;
1568
1587
 
1569
1588
  /** @non-standard */
@@ -1643,6 +1662,7 @@ export namespace JSX {
1643
1662
  disableremoteplayback?: BooleanAttribute | RemoveAttribute;
1644
1663
  loop?: BooleanAttribute | RemoveAttribute;
1645
1664
  muted?: BooleanAttribute | RemoveAttribute;
1665
+ "prop:muted"?: BooleanProperty | RemoveProperty;
1646
1666
  preload?: "none" | "metadata" | "auto" | EnumeratedAcceptsEmpty | RemoveAttribute;
1647
1667
  src?: string | RemoveAttribute;
1648
1668
 
@@ -1746,7 +1766,9 @@ export namespace JSX {
1746
1766
  disabled?: BooleanAttribute | RemoveAttribute;
1747
1767
  label?: string | RemoveAttribute;
1748
1768
  selected?: BooleanAttribute | RemoveAttribute;
1769
+ "prop:selected"?: BooleanProperty | RemoveProperty;
1749
1770
  value?: string | string[] | number | RemoveAttribute;
1771
+ "prop:value"?: string | string[] | number | RemoveProperty;
1750
1772
  }
1751
1773
  interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
1752
1774
  for?: string | RemoveAttribute;
@@ -1799,6 +1821,7 @@ export namespace JSX {
1799
1821
  required?: BooleanAttribute | RemoveAttribute;
1800
1822
  size?: number | string | RemoveAttribute;
1801
1823
  value?: string | string[] | number | RemoveAttribute;
1824
+ "prop:value"?: string | string[] | number | RemoveProperty;
1802
1825
  }
1803
1826
  interface HTMLSlotElementAttributes<T> extends HTMLAttributes<T> {
1804
1827
  name?: string | RemoveAttribute;
@@ -1873,6 +1896,7 @@ export namespace JSX {
1873
1896
  required?: BooleanAttribute | RemoveAttribute;
1874
1897
  rows?: number | string | RemoveAttribute;
1875
1898
  value?: string | string[] | number | RemoveAttribute;
1899
+ "prop:value"?: string | string[] | number | RemoveProperty;
1876
1900
  wrap?: "hard" | "soft" | "off" | RemoveAttribute;
1877
1901
  }
1878
1902
  interface ThHTMLAttributes<T> extends HTMLAttributes<T> {
@@ -2200,9 +2224,7 @@ export namespace JSX {
2200
2224
  visibility?: "visible" | "hidden" | "collapse" | "inherit" | RemoveAttribute;
2201
2225
  }
2202
2226
  interface AnimationElementSVGAttributes<T>
2203
- extends SVGAttributes<T>,
2204
- ExternalResourceSVGAttributes,
2205
- ConditionalProcessingSVGAttributes {
2227
+ extends SVGAttributes<T>, ExternalResourceSVGAttributes, ConditionalProcessingSVGAttributes {
2206
2228
  // TODO TimeEvent is currently undefined on TS
2207
2229
  onBegin?: EventHandlerUnion<T, Event> | undefined;
2208
2230
  "on:begin"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
@@ -2216,7 +2238,8 @@ export namespace JSX {
2216
2238
  "on:repeat"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
2217
2239
  }
2218
2240
  interface ContainerElementSVGAttributes<T>
2219
- extends SVGAttributes<T>,
2241
+ extends
2242
+ SVGAttributes<T>,
2220
2243
  ShapeElementSVGAttributes<T>,
2221
2244
  Pick<
2222
2245
  PresentationSVGAttributes,
@@ -2230,8 +2253,7 @@ export namespace JSX {
2230
2253
  | "color-rendering"
2231
2254
  > {}
2232
2255
  interface FilterPrimitiveElementSVGAttributes<T>
2233
- extends SVGAttributes<T>,
2234
- Pick<PresentationSVGAttributes, "color-interpolation-filters"> {
2256
+ extends SVGAttributes<T>, Pick<PresentationSVGAttributes, "color-interpolation-filters"> {
2235
2257
  height?: number | string | RemoveAttribute;
2236
2258
  result?: string | RemoveAttribute;
2237
2259
  width?: number | string | RemoveAttribute;
@@ -2250,16 +2272,15 @@ export namespace JSX {
2250
2272
  viewBox?: string | RemoveAttribute;
2251
2273
  }
2252
2274
  interface GradientElementSVGAttributes<T>
2253
- extends SVGAttributes<T>,
2254
- ExternalResourceSVGAttributes,
2255
- StylableSVGAttributes {
2275
+ extends SVGAttributes<T>, ExternalResourceSVGAttributes, StylableSVGAttributes {
2256
2276
  gradientTransform?: string | RemoveAttribute;
2257
2277
  gradientUnits?: SVGUnits | RemoveAttribute;
2258
2278
  href?: string | RemoveAttribute;
2259
2279
  spreadMethod?: "pad" | "reflect" | "repeat" | RemoveAttribute;
2260
2280
  }
2261
2281
  interface GraphicsElementSVGAttributes<T>
2262
- extends SVGAttributes<T>,
2282
+ extends
2283
+ SVGAttributes<T>,
2263
2284
  Pick<
2264
2285
  PresentationSVGAttributes,
2265
2286
  | "clip-rule"
@@ -2275,12 +2296,12 @@ export namespace JSX {
2275
2296
  > {}
2276
2297
  interface LightSourceElementSVGAttributes<T> extends SVGAttributes<T> {}
2277
2298
  interface NewViewportSVGAttributes<T>
2278
- extends SVGAttributes<T>,
2279
- Pick<PresentationSVGAttributes, "overflow" | "clip"> {
2299
+ extends SVGAttributes<T>, Pick<PresentationSVGAttributes, "overflow" | "clip"> {
2280
2300
  viewBox?: string | RemoveAttribute;
2281
2301
  }
2282
2302
  interface ShapeElementSVGAttributes<T>
2283
- extends SVGAttributes<T>,
2303
+ extends
2304
+ SVGAttributes<T>,
2284
2305
  Pick<
2285
2306
  PresentationSVGAttributes,
2286
2307
  | "color"
@@ -2299,7 +2320,8 @@ export namespace JSX {
2299
2320
  | "pathLength"
2300
2321
  > {}
2301
2322
  interface TextContentElementSVGAttributes<T>
2302
- extends SVGAttributes<T>,
2323
+ extends
2324
+ SVGAttributes<T>,
2303
2325
  Pick<
2304
2326
  PresentationSVGAttributes,
2305
2327
  | "font-family"
@@ -2340,14 +2362,16 @@ export namespace JSX {
2340
2362
  zoomAndPan?: "disable" | "magnify" | RemoveAttribute;
2341
2363
  }
2342
2364
  interface AnimateSVGAttributes<T>
2343
- extends AnimationElementSVGAttributes<T>,
2365
+ extends
2366
+ AnimationElementSVGAttributes<T>,
2344
2367
  AnimationAttributeTargetSVGAttributes,
2345
2368
  AnimationTimingSVGAttributes,
2346
2369
  AnimationValueSVGAttributes,
2347
2370
  AnimationAdditionSVGAttributes,
2348
2371
  Pick<PresentationSVGAttributes, "color-interpolation" | "color-rendering"> {}
2349
2372
  interface AnimateMotionSVGAttributes<T>
2350
- extends AnimationElementSVGAttributes<T>,
2373
+ extends
2374
+ AnimationElementSVGAttributes<T>,
2351
2375
  AnimationTimingSVGAttributes,
2352
2376
  AnimationValueSVGAttributes,
2353
2377
  AnimationAdditionSVGAttributes {
@@ -2357,7 +2381,8 @@ export namespace JSX {
2357
2381
  rotate?: number | string | "auto" | "auto-reverse" | RemoveAttribute;
2358
2382
  }
2359
2383
  interface AnimateTransformSVGAttributes<T>
2360
- extends AnimationElementSVGAttributes<T>,
2384
+ extends
2385
+ AnimationElementSVGAttributes<T>,
2361
2386
  AnimationAttributeTargetSVGAttributes,
2362
2387
  AnimationTimingSVGAttributes,
2363
2388
  AnimationValueSVGAttributes,
@@ -2365,7 +2390,8 @@ export namespace JSX {
2365
2390
  type?: "translate" | "scale" | "rotate" | "skewX" | "skewY" | RemoveAttribute;
2366
2391
  }
2367
2392
  interface CircleSVGAttributes<T>
2368
- extends GraphicsElementSVGAttributes<T>,
2393
+ extends
2394
+ GraphicsElementSVGAttributes<T>,
2369
2395
  ShapeElementSVGAttributes<T>,
2370
2396
  ConditionalProcessingSVGAttributes,
2371
2397
  StylableSVGAttributes,
@@ -2376,7 +2402,8 @@ export namespace JSX {
2376
2402
  r?: number | string | RemoveAttribute;
2377
2403
  }
2378
2404
  interface ClipPathSVGAttributes<T>
2379
- extends SVGAttributes<T>,
2405
+ extends
2406
+ SVGAttributes<T>,
2380
2407
  ConditionalProcessingSVGAttributes,
2381
2408
  ExternalResourceSVGAttributes,
2382
2409
  StylableSVGAttributes,
@@ -2385,14 +2412,16 @@ export namespace JSX {
2385
2412
  clipPathUnits?: SVGUnits | RemoveAttribute;
2386
2413
  }
2387
2414
  interface DefsSVGAttributes<T>
2388
- extends ContainerElementSVGAttributes<T>,
2415
+ extends
2416
+ ContainerElementSVGAttributes<T>,
2389
2417
  ConditionalProcessingSVGAttributes,
2390
2418
  ExternalResourceSVGAttributes,
2391
2419
  StylableSVGAttributes,
2392
2420
  TransformableSVGAttributes {}
2393
2421
  interface DescSVGAttributes<T> extends SVGAttributes<T>, StylableSVGAttributes {}
2394
2422
  interface EllipseSVGAttributes<T>
2395
- extends GraphicsElementSVGAttributes<T>,
2423
+ extends
2424
+ GraphicsElementSVGAttributes<T>,
2396
2425
  ShapeElementSVGAttributes<T>,
2397
2426
  ConditionalProcessingSVGAttributes,
2398
2427
  ExternalResourceSVGAttributes,
@@ -2405,24 +2434,28 @@ export namespace JSX {
2405
2434
  ry?: number | string | RemoveAttribute;
2406
2435
  }
2407
2436
  interface FeBlendSVGAttributes<T>
2408
- extends FilterPrimitiveElementSVGAttributes<T>,
2437
+ extends
2438
+ FilterPrimitiveElementSVGAttributes<T>,
2409
2439
  DoubleInputFilterSVGAttributes,
2410
2440
  StylableSVGAttributes {
2411
2441
  mode?: "normal" | "multiply" | "screen" | "darken" | "lighten" | RemoveAttribute;
2412
2442
  }
2413
2443
  interface FeColorMatrixSVGAttributes<T>
2414
- extends FilterPrimitiveElementSVGAttributes<T>,
2444
+ extends
2445
+ FilterPrimitiveElementSVGAttributes<T>,
2415
2446
  SingleInputFilterSVGAttributes,
2416
2447
  StylableSVGAttributes {
2417
2448
  type?: "matrix" | "saturate" | "hueRotate" | "luminanceToAlpha" | RemoveAttribute;
2418
2449
  values?: string | RemoveAttribute;
2419
2450
  }
2420
2451
  interface FeComponentTransferSVGAttributes<T>
2421
- extends FilterPrimitiveElementSVGAttributes<T>,
2452
+ extends
2453
+ FilterPrimitiveElementSVGAttributes<T>,
2422
2454
  SingleInputFilterSVGAttributes,
2423
2455
  StylableSVGAttributes {}
2424
2456
  interface FeCompositeSVGAttributes<T>
2425
- extends FilterPrimitiveElementSVGAttributes<T>,
2457
+ extends
2458
+ FilterPrimitiveElementSVGAttributes<T>,
2426
2459
  DoubleInputFilterSVGAttributes,
2427
2460
  StylableSVGAttributes {
2428
2461
  k1?: number | string | RemoveAttribute;
@@ -2432,7 +2465,8 @@ export namespace JSX {
2432
2465
  operator?: "over" | "in" | "out" | "atop" | "xor" | "arithmetic" | RemoveAttribute;
2433
2466
  }
2434
2467
  interface FeConvolveMatrixSVGAttributes<T>
2435
- extends FilterPrimitiveElementSVGAttributes<T>,
2468
+ extends
2469
+ FilterPrimitiveElementSVGAttributes<T>,
2436
2470
  SingleInputFilterSVGAttributes,
2437
2471
  StylableSVGAttributes {
2438
2472
  bias?: number | string | RemoveAttribute;
@@ -2446,7 +2480,8 @@ export namespace JSX {
2446
2480
  targetY?: number | string | RemoveAttribute;
2447
2481
  }
2448
2482
  interface FeDiffuseLightingSVGAttributes<T>
2449
- extends FilterPrimitiveElementSVGAttributes<T>,
2483
+ extends
2484
+ FilterPrimitiveElementSVGAttributes<T>,
2450
2485
  SingleInputFilterSVGAttributes,
2451
2486
  StylableSVGAttributes,
2452
2487
  Pick<PresentationSVGAttributes, "color" | "lighting-color"> {
@@ -2455,7 +2490,8 @@ export namespace JSX {
2455
2490
  surfaceScale?: number | string | RemoveAttribute;
2456
2491
  }
2457
2492
  interface FeDisplacementMapSVGAttributes<T>
2458
- extends FilterPrimitiveElementSVGAttributes<T>,
2493
+ extends
2494
+ FilterPrimitiveElementSVGAttributes<T>,
2459
2495
  DoubleInputFilterSVGAttributes,
2460
2496
  StylableSVGAttributes {
2461
2497
  scale?: number | string | RemoveAttribute;
@@ -2467,7 +2503,8 @@ export namespace JSX {
2467
2503
  elevation?: number | string | RemoveAttribute;
2468
2504
  }
2469
2505
  interface FeDropShadowSVGAttributes<T>
2470
- extends SVGAttributes<T>,
2506
+ extends
2507
+ SVGAttributes<T>,
2471
2508
  FilterPrimitiveElementSVGAttributes<T>,
2472
2509
  StylableSVGAttributes,
2473
2510
  Pick<PresentationSVGAttributes, "color" | "flood-color" | "flood-opacity"> {
@@ -2476,7 +2513,8 @@ export namespace JSX {
2476
2513
  stdDeviation?: number | string | RemoveAttribute;
2477
2514
  }
2478
2515
  interface FeFloodSVGAttributes<T>
2479
- extends FilterPrimitiveElementSVGAttributes<T>,
2516
+ extends
2517
+ FilterPrimitiveElementSVGAttributes<T>,
2480
2518
  StylableSVGAttributes,
2481
2519
  Pick<PresentationSVGAttributes, "color" | "flood-color" | "flood-opacity"> {}
2482
2520
  interface FeFuncSVGAttributes<T> extends SVGAttributes<T> {
@@ -2489,31 +2527,34 @@ export namespace JSX {
2489
2527
  type?: "identity" | "table" | "discrete" | "linear" | "gamma" | RemoveAttribute;
2490
2528
  }
2491
2529
  interface FeGaussianBlurSVGAttributes<T>
2492
- extends FilterPrimitiveElementSVGAttributes<T>,
2530
+ extends
2531
+ FilterPrimitiveElementSVGAttributes<T>,
2493
2532
  SingleInputFilterSVGAttributes,
2494
2533
  StylableSVGAttributes {
2495
2534
  stdDeviation?: number | string | RemoveAttribute;
2496
2535
  }
2497
2536
  interface FeImageSVGAttributes<T>
2498
- extends FilterPrimitiveElementSVGAttributes<T>,
2537
+ extends
2538
+ FilterPrimitiveElementSVGAttributes<T>,
2499
2539
  ExternalResourceSVGAttributes,
2500
2540
  StylableSVGAttributes {
2501
2541
  href?: string | RemoveAttribute;
2502
2542
  preserveAspectRatio?: SVGPreserveAspectRatio | RemoveAttribute;
2503
2543
  }
2504
2544
  interface FeMergeSVGAttributes<T>
2505
- extends FilterPrimitiveElementSVGAttributes<T>,
2506
- StylableSVGAttributes {}
2545
+ extends FilterPrimitiveElementSVGAttributes<T>, StylableSVGAttributes {}
2507
2546
  interface FeMergeNodeSVGAttributes<T> extends SVGAttributes<T>, SingleInputFilterSVGAttributes {}
2508
2547
  interface FeMorphologySVGAttributes<T>
2509
- extends FilterPrimitiveElementSVGAttributes<T>,
2548
+ extends
2549
+ FilterPrimitiveElementSVGAttributes<T>,
2510
2550
  SingleInputFilterSVGAttributes,
2511
2551
  StylableSVGAttributes {
2512
2552
  operator?: "erode" | "dilate" | RemoveAttribute;
2513
2553
  radius?: number | string | RemoveAttribute;
2514
2554
  }
2515
2555
  interface FeOffsetSVGAttributes<T>
2516
- extends FilterPrimitiveElementSVGAttributes<T>,
2556
+ extends
2557
+ FilterPrimitiveElementSVGAttributes<T>,
2517
2558
  SingleInputFilterSVGAttributes,
2518
2559
  StylableSVGAttributes {
2519
2560
  dx?: number | string | RemoveAttribute;
@@ -2525,7 +2566,8 @@ export namespace JSX {
2525
2566
  z?: number | string | RemoveAttribute;
2526
2567
  }
2527
2568
  interface FeSpecularLightingSVGAttributes<T>
2528
- extends FilterPrimitiveElementSVGAttributes<T>,
2569
+ extends
2570
+ FilterPrimitiveElementSVGAttributes<T>,
2529
2571
  SingleInputFilterSVGAttributes,
2530
2572
  StylableSVGAttributes,
2531
2573
  Pick<PresentationSVGAttributes, "color" | "lighting-color"> {
@@ -2545,12 +2587,12 @@ export namespace JSX {
2545
2587
  z?: number | string | RemoveAttribute;
2546
2588
  }
2547
2589
  interface FeTileSVGAttributes<T>
2548
- extends FilterPrimitiveElementSVGAttributes<T>,
2590
+ extends
2591
+ FilterPrimitiveElementSVGAttributes<T>,
2549
2592
  SingleInputFilterSVGAttributes,
2550
2593
  StylableSVGAttributes {}
2551
2594
  interface FeTurbulanceSVGAttributes<T>
2552
- extends FilterPrimitiveElementSVGAttributes<T>,
2553
- StylableSVGAttributes {
2595
+ extends FilterPrimitiveElementSVGAttributes<T>, StylableSVGAttributes {
2554
2596
  baseFrequency?: number | string | RemoveAttribute;
2555
2597
  numOctaves?: number | string | RemoveAttribute;
2556
2598
  seed?: number | string | RemoveAttribute;
@@ -2558,9 +2600,7 @@ export namespace JSX {
2558
2600
  type?: "fractalNoise" | "turbulence" | RemoveAttribute;
2559
2601
  }
2560
2602
  interface FilterSVGAttributes<T>
2561
- extends SVGAttributes<T>,
2562
- ExternalResourceSVGAttributes,
2563
- StylableSVGAttributes {
2603
+ extends SVGAttributes<T>, ExternalResourceSVGAttributes, StylableSVGAttributes {
2564
2604
  filterRes?: number | string | RemoveAttribute;
2565
2605
  filterUnits?: SVGUnits | RemoveAttribute;
2566
2606
  height?: number | string | RemoveAttribute;
@@ -2570,7 +2610,8 @@ export namespace JSX {
2570
2610
  y?: number | string | RemoveAttribute;
2571
2611
  }
2572
2612
  interface ForeignObjectSVGAttributes<T>
2573
- extends NewViewportSVGAttributes<T>,
2613
+ extends
2614
+ NewViewportSVGAttributes<T>,
2574
2615
  ConditionalProcessingSVGAttributes,
2575
2616
  ExternalResourceSVGAttributes,
2576
2617
  StylableSVGAttributes,
@@ -2582,14 +2623,16 @@ export namespace JSX {
2582
2623
  y?: number | string | RemoveAttribute;
2583
2624
  }
2584
2625
  interface GSVGAttributes<T>
2585
- extends ContainerElementSVGAttributes<T>,
2626
+ extends
2627
+ ContainerElementSVGAttributes<T>,
2586
2628
  ConditionalProcessingSVGAttributes,
2587
2629
  ExternalResourceSVGAttributes,
2588
2630
  StylableSVGAttributes,
2589
2631
  TransformableSVGAttributes,
2590
2632
  Pick<PresentationSVGAttributes, "clip-path" | "display" | "visibility"> {}
2591
2633
  interface ImageSVGAttributes<T>
2592
- extends NewViewportSVGAttributes<T>,
2634
+ extends
2635
+ NewViewportSVGAttributes<T>,
2593
2636
  GraphicsElementSVGAttributes<T>,
2594
2637
  ConditionalProcessingSVGAttributes,
2595
2638
  StylableSVGAttributes,
@@ -2603,7 +2646,8 @@ export namespace JSX {
2603
2646
  y?: number | string | RemoveAttribute;
2604
2647
  }
2605
2648
  interface LineSVGAttributes<T>
2606
- extends GraphicsElementSVGAttributes<T>,
2649
+ extends
2650
+ GraphicsElementSVGAttributes<T>,
2607
2651
  ShapeElementSVGAttributes<T>,
2608
2652
  ConditionalProcessingSVGAttributes,
2609
2653
  ExternalResourceSVGAttributes,
@@ -2622,7 +2666,8 @@ export namespace JSX {
2622
2666
  y2?: number | string | RemoveAttribute;
2623
2667
  }
2624
2668
  interface MarkerSVGAttributes<T>
2625
- extends ContainerElementSVGAttributes<T>,
2669
+ extends
2670
+ ContainerElementSVGAttributes<T>,
2626
2671
  ExternalResourceSVGAttributes,
2627
2672
  StylableSVGAttributes,
2628
2673
  FitToViewBoxSVGAttributes,
@@ -2635,7 +2680,8 @@ export namespace JSX {
2635
2680
  refY?: number | string | RemoveAttribute;
2636
2681
  }
2637
2682
  interface MaskSVGAttributes<T>
2638
- extends Omit<ContainerElementSVGAttributes<T>, "opacity" | "filter">,
2683
+ extends
2684
+ Omit<ContainerElementSVGAttributes<T>, "opacity" | "filter">,
2639
2685
  ConditionalProcessingSVGAttributes,
2640
2686
  ExternalResourceSVGAttributes,
2641
2687
  StylableSVGAttributes,
@@ -2650,7 +2696,8 @@ export namespace JSX {
2650
2696
  interface MetadataSVGAttributes<T> extends SVGAttributes<T> {}
2651
2697
  interface MPathSVGAttributes<T> extends SVGAttributes<T> {}
2652
2698
  interface PathSVGAttributes<T>
2653
- extends GraphicsElementSVGAttributes<T>,
2699
+ extends
2700
+ GraphicsElementSVGAttributes<T>,
2654
2701
  ShapeElementSVGAttributes<T>,
2655
2702
  ConditionalProcessingSVGAttributes,
2656
2703
  ExternalResourceSVGAttributes,
@@ -2661,7 +2708,8 @@ export namespace JSX {
2661
2708
  pathLength?: number | string | RemoveAttribute;
2662
2709
  }
2663
2710
  interface PatternSVGAttributes<T>
2664
- extends ContainerElementSVGAttributes<T>,
2711
+ extends
2712
+ ContainerElementSVGAttributes<T>,
2665
2713
  ConditionalProcessingSVGAttributes,
2666
2714
  ExternalResourceSVGAttributes,
2667
2715
  StylableSVGAttributes,
@@ -2677,7 +2725,8 @@ export namespace JSX {
2677
2725
  y?: number | string | RemoveAttribute;
2678
2726
  }
2679
2727
  interface PolygonSVGAttributes<T>
2680
- extends GraphicsElementSVGAttributes<T>,
2728
+ extends
2729
+ GraphicsElementSVGAttributes<T>,
2681
2730
  ShapeElementSVGAttributes<T>,
2682
2731
  ConditionalProcessingSVGAttributes,
2683
2732
  ExternalResourceSVGAttributes,
@@ -2687,7 +2736,8 @@ export namespace JSX {
2687
2736
  points?: string | RemoveAttribute;
2688
2737
  }
2689
2738
  interface PolylineSVGAttributes<T>
2690
- extends GraphicsElementSVGAttributes<T>,
2739
+ extends
2740
+ GraphicsElementSVGAttributes<T>,
2691
2741
  ShapeElementSVGAttributes<T>,
2692
2742
  ConditionalProcessingSVGAttributes,
2693
2743
  ExternalResourceSVGAttributes,
@@ -2704,7 +2754,8 @@ export namespace JSX {
2704
2754
  r?: number | string | RemoveAttribute;
2705
2755
  }
2706
2756
  interface RectSVGAttributes<T>
2707
- extends GraphicsElementSVGAttributes<T>,
2757
+ extends
2758
+ GraphicsElementSVGAttributes<T>,
2708
2759
  ShapeElementSVGAttributes<T>,
2709
2760
  ConditionalProcessingSVGAttributes,
2710
2761
  ExternalResourceSVGAttributes,
@@ -2719,17 +2770,17 @@ export namespace JSX {
2719
2770
  y?: number | string | RemoveAttribute;
2720
2771
  }
2721
2772
  interface SetSVGAttributes<T>
2722
- extends AnimationElementSVGAttributes<T>,
2723
- StylableSVGAttributes,
2724
- AnimationTimingSVGAttributes {}
2773
+ extends AnimationElementSVGAttributes<T>, StylableSVGAttributes, AnimationTimingSVGAttributes {}
2725
2774
  interface StopSVGAttributes<T>
2726
- extends SVGAttributes<T>,
2775
+ extends
2776
+ SVGAttributes<T>,
2727
2777
  StylableSVGAttributes,
2728
2778
  Pick<PresentationSVGAttributes, "color" | "stop-color" | "stop-opacity"> {
2729
2779
  offset?: number | string | RemoveAttribute;
2730
2780
  }
2731
2781
  interface SvgSVGAttributes<T>
2732
- extends ContainerElementSVGAttributes<T>,
2782
+ extends
2783
+ ContainerElementSVGAttributes<T>,
2733
2784
  NewViewportSVGAttributes<T>,
2734
2785
  ConditionalProcessingSVGAttributes,
2735
2786
  ExternalResourceSVGAttributes,
@@ -2752,14 +2803,16 @@ export namespace JSX {
2752
2803
  version?: string | RemoveAttribute;
2753
2804
  }
2754
2805
  interface SwitchSVGAttributes<T>
2755
- extends ContainerElementSVGAttributes<T>,
2806
+ extends
2807
+ ContainerElementSVGAttributes<T>,
2756
2808
  ConditionalProcessingSVGAttributes,
2757
2809
  ExternalResourceSVGAttributes,
2758
2810
  StylableSVGAttributes,
2759
2811
  TransformableSVGAttributes,
2760
2812
  Pick<PresentationSVGAttributes, "display" | "visibility"> {}
2761
2813
  interface SymbolSVGAttributes<T>
2762
- extends ContainerElementSVGAttributes<T>,
2814
+ extends
2815
+ ContainerElementSVGAttributes<T>,
2763
2816
  NewViewportSVGAttributes<T>,
2764
2817
  ExternalResourceSVGAttributes,
2765
2818
  StylableSVGAttributes,
@@ -2775,7 +2828,8 @@ export namespace JSX {
2775
2828
  y?: number | string | RemoveAttribute;
2776
2829
  }
2777
2830
  interface TextSVGAttributes<T>
2778
- extends TextContentElementSVGAttributes<T>,
2831
+ extends
2832
+ TextContentElementSVGAttributes<T>,
2779
2833
  GraphicsElementSVGAttributes<T>,
2780
2834
  ConditionalProcessingSVGAttributes,
2781
2835
  ExternalResourceSVGAttributes,
@@ -2791,7 +2845,8 @@ export namespace JSX {
2791
2845
  y?: number | string | RemoveAttribute;
2792
2846
  }
2793
2847
  interface TextPathSVGAttributes<T>
2794
- extends TextContentElementSVGAttributes<T>,
2848
+ extends
2849
+ TextContentElementSVGAttributes<T>,
2795
2850
  ConditionalProcessingSVGAttributes,
2796
2851
  ExternalResourceSVGAttributes,
2797
2852
  StylableSVGAttributes,
@@ -2805,7 +2860,8 @@ export namespace JSX {
2805
2860
  startOffset?: number | string | RemoveAttribute;
2806
2861
  }
2807
2862
  interface TSpanSVGAttributes<T>
2808
- extends TextContentElementSVGAttributes<T>,
2863
+ extends
2864
+ TextContentElementSVGAttributes<T>,
2809
2865
  ConditionalProcessingSVGAttributes,
2810
2866
  ExternalResourceSVGAttributes,
2811
2867
  StylableSVGAttributes,
@@ -2823,7 +2879,8 @@ export namespace JSX {
2823
2879
  }
2824
2880
  /** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/use */
2825
2881
  interface UseSVGAttributes<T>
2826
- extends SVGAttributes<T>,
2882
+ extends
2883
+ SVGAttributes<T>,
2827
2884
  StylableSVGAttributes,
2828
2885
  ConditionalProcessingSVGAttributes,
2829
2886
  GraphicsElementSVGAttributes<T>,
@@ -2837,7 +2894,8 @@ export namespace JSX {
2837
2894
  y?: number | string | RemoveAttribute;
2838
2895
  }
2839
2896
  interface ViewSVGAttributes<T>
2840
- extends SVGAttributes<T>,
2897
+ extends
2898
+ SVGAttributes<T>,
2841
2899
  ExternalResourceSVGAttributes,
2842
2900
  FitToViewBoxSVGAttributes,
2843
2901
  ZoomAndPanSVGAttributes {
@@ -4122,8 +4180,5 @@ export namespace JSX {
4122
4180
  }
4123
4181
 
4124
4182
  interface IntrinsicElements
4125
- extends HTMLElementTags,
4126
- HTMLElementDeprecatedTags,
4127
- SVGElementTags,
4128
- MathMLElementTags {}
4183
+ extends HTMLElementTags, HTMLElementDeprecatedTags, SVGElementTags, MathMLElementTags {}
4129
4184
  }