solid-js 2.0.0-beta.4 → 2.0.0-beta.6

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,7 +162,8 @@ 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, EventListenerOptions {
165
+ extends AddEventListenerOptions,
166
+ EventListenerOptions {
166
167
  handleEvent: EHandler;
167
168
  }
168
169
 
@@ -277,12 +278,16 @@ export namespace JSX {
277
278
 
278
279
  type BooleanAttribute = true | false | "";
279
280
 
281
+ type BooleanProperty = true | false;
282
+
280
283
  type EnumeratedPseudoBoolean = "false" | "true";
281
284
 
282
285
  type EnumeratedAcceptsEmpty = "" | true;
283
286
 
284
287
  type RemoveAttribute = undefined | false;
285
288
 
289
+ type RemoveProperty = undefined;
290
+
286
291
  // ARIA
287
292
 
288
293
  // All the WAI-ARIA 1.1 attributes from https://www.w3.org/TR/wai-aria-1.1/
@@ -991,15 +996,15 @@ export namespace JSX {
991
996
  ? K extends `on:${infer T}`
992
997
  ? T
993
998
  : K extends `on${infer T}`
994
- ? Lowercase<T>
995
- : never
999
+ ? Lowercase<T>
1000
+ : never
996
1001
  : never)
997
1002
  | (keyof EventHandlersElement<any> extends infer K
998
1003
  ? K extends `on:${infer T}`
999
1004
  ? T
1000
1005
  : K extends `on${infer T}`
1001
- ? Lowercase<T>
1002
- : never
1006
+ ? Lowercase<T>
1007
+ : never
1003
1008
  : never)
1004
1009
  | (string & {});
1005
1010
 
@@ -1023,8 +1028,7 @@ export namespace JSX {
1023
1028
  * 2. Includes `keys` defined by `Element` and `Node` interfaces.
1024
1029
  */
1025
1030
  interface ElementAttributes<T>
1026
- extends
1027
- CustomAttributes<T>,
1031
+ extends CustomAttributes<T>,
1028
1032
  PropAttributes,
1029
1033
  OnAttributes<T>,
1030
1034
  EventHandlersElement<T>,
@@ -1522,7 +1526,7 @@ export namespace JSX {
1522
1526
  alt?: string | RemoveAttribute;
1523
1527
  autocomplete?: HTMLAutocomplete | RemoveAttribute;
1524
1528
  capture?: "user" | "environment" | RemoveAttribute;
1525
- checked?: BooleanAttribute | RemoveAttribute;
1529
+
1526
1530
  colorspace?: string | RemoveAttribute;
1527
1531
  dirname?: string | RemoveAttribute;
1528
1532
  disabled?: BooleanAttribute | RemoveAttribute;
@@ -1576,7 +1580,6 @@ export namespace JSX {
1576
1580
  | "week"
1577
1581
  | (string & {})
1578
1582
  | RemoveAttribute;
1579
- value?: string | string[] | number | RemoveAttribute;
1580
1583
  width?: number | string | RemoveAttribute;
1581
1584
 
1582
1585
  /** @non-standard */
@@ -1586,6 +1589,24 @@ export namespace JSX {
1586
1589
  align?: string | RemoveAttribute;
1587
1590
  /** @deprecated */
1588
1591
  usemap?: string | RemoveAttribute;
1592
+
1593
+ // special cases locked to properties
1594
+
1595
+ checked?: BooleanProperty | RemoveProperty;
1596
+ /** @error use `<input checked={..}/>` instead */
1597
+ "prop:checked"?: never;
1598
+
1599
+ defaultChecked?: BooleanProperty | RemoveProperty;
1600
+ /** @error use `<input defaultChecked={..}/>` instead */
1601
+ "prop:defaultChecked"?: never;
1602
+
1603
+ value?: string | string[] | number | RemoveProperty;
1604
+ /** @error use `<input value={..}/>` instead */
1605
+ "prop:value"?: never;
1606
+
1607
+ defaultValue?: string | string[] | number | RemoveProperty;
1608
+ /** @error use `<input defaultValue={..}/>` instead */
1609
+ "prop:defaultValue"?: never;
1589
1610
  }
1590
1611
  interface ModHTMLAttributes<T> extends HTMLAttributes<T> {
1591
1612
  cite?: string | RemoveAttribute;
@@ -1655,7 +1676,7 @@ export namespace JSX {
1655
1676
  crossorigin?: HTMLCrossorigin | RemoveAttribute;
1656
1677
  disableremoteplayback?: BooleanAttribute | RemoveAttribute;
1657
1678
  loop?: BooleanAttribute | RemoveAttribute;
1658
- muted?: BooleanAttribute | RemoveAttribute;
1679
+
1659
1680
  preload?: "none" | "metadata" | "auto" | EnumeratedAcceptsEmpty | RemoveAttribute;
1660
1681
  src?: string | RemoveAttribute;
1661
1682
 
@@ -1667,6 +1688,16 @@ export namespace JSX {
1667
1688
 
1668
1689
  /** @deprecated */
1669
1690
  mediagroup?: string | RemoveAttribute;
1691
+
1692
+ // special cases locked to properties
1693
+
1694
+ muted?: BooleanProperty | RemoveProperty;
1695
+ /** @error use `<video/audio muted={..}/>` instead */
1696
+ "prop:muted"?: never;
1697
+
1698
+ defaultMuted?: BooleanProperty | RemoveProperty;
1699
+ /** @error use `<video/audio defaultMuted={..}/>` instead */
1700
+ "prop:defaultMuted"?: never;
1670
1701
  }
1671
1702
  interface MenuHTMLAttributes<T> extends HTMLAttributes<T> {
1672
1703
  /** @deprecated */
@@ -1758,8 +1789,27 @@ export namespace JSX {
1758
1789
  interface OptionHTMLAttributes<T> extends HTMLAttributes<T> {
1759
1790
  disabled?: BooleanAttribute | RemoveAttribute;
1760
1791
  label?: string | RemoveAttribute;
1761
- selected?: BooleanAttribute | RemoveAttribute;
1762
- value?: string | string[] | number | RemoveAttribute;
1792
+
1793
+ // special cases locked to properties
1794
+
1795
+ selected?: BooleanProperty | RemoveProperty;
1796
+ /** @error use `<option selected={..}/>` instead */
1797
+ "prop:selected"?: never;
1798
+
1799
+ defaultSelected?: BooleanProperty | RemoveProperty;
1800
+ /** @error use `<option defaultSelected={..}/>` instead */
1801
+ "prop:defaultSelected"?: never;
1802
+
1803
+ value?: string | string[] | number | RemoveProperty;
1804
+ /** @error use `<option value={..}/>` instead */
1805
+ "prop:value"?: never;
1806
+
1807
+ // for sanity
1808
+
1809
+ /** @error This doesn't exists for `<option/>` */
1810
+ "prop:defaultValue"?: never;
1811
+ /** @error This doesn't exists for `<option/>` */
1812
+ defaultValue?: never;
1763
1813
  }
1764
1814
  interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
1765
1815
  for?: string | RemoveAttribute;
@@ -1811,7 +1861,24 @@ export namespace JSX {
1811
1861
  name?: string | RemoveAttribute;
1812
1862
  required?: BooleanAttribute | RemoveAttribute;
1813
1863
  size?: number | string | RemoveAttribute;
1814
- value?: string | string[] | number | RemoveAttribute;
1864
+
1865
+ // special cases locked to properties
1866
+
1867
+ value?: string | string[] | number | RemoveProperty;
1868
+ /** @error use `<select value={..}/>` instead */
1869
+ "prop:value"?: never;
1870
+
1871
+ // for sanity
1872
+
1873
+ /** @error use `<option defaultSelected={..}/>` instead */
1874
+ defaultSelected?: never;
1875
+ /** @error use `<option defaultSelected={..}/>` instead */
1876
+ "prop:defaultSelected"?: never;
1877
+
1878
+ /** @error use `<option defaultSelected={..}/>` instead */
1879
+ selected?: never;
1880
+ /** @error use `<option defaultSelected={..}/>` instead */
1881
+ "prop:selected"?: never;
1815
1882
  }
1816
1883
  interface HTMLSlotElementAttributes<T> extends HTMLAttributes<T> {
1817
1884
  name?: string | RemoveAttribute;
@@ -1885,8 +1952,17 @@ export namespace JSX {
1885
1952
  readonly?: BooleanAttribute | RemoveAttribute;
1886
1953
  required?: BooleanAttribute | RemoveAttribute;
1887
1954
  rows?: number | string | RemoveAttribute;
1888
- value?: string | string[] | number | RemoveAttribute;
1889
1955
  wrap?: "hard" | "soft" | "off" | RemoveAttribute;
1956
+
1957
+ // special cases locked to properties
1958
+
1959
+ value?: string | string[] | number | RemoveProperty;
1960
+ /** @error use `<textarea value={..}/>` instead */
1961
+ "prop:value"?: never;
1962
+
1963
+ defaultValue?: string | string[] | number | RemoveProperty;
1964
+ /** @error use `<textarea defaultValue={..}/>` instead */
1965
+ "prop:defaultValue"?: never;
1890
1966
  }
1891
1967
  interface ThHTMLAttributes<T> extends HTMLAttributes<T> {
1892
1968
  abbr?: string | RemoveAttribute;
@@ -2213,7 +2289,9 @@ export namespace JSX {
2213
2289
  visibility?: "visible" | "hidden" | "collapse" | "inherit" | RemoveAttribute;
2214
2290
  }
2215
2291
  interface AnimationElementSVGAttributes<T>
2216
- extends SVGAttributes<T>, ExternalResourceSVGAttributes, ConditionalProcessingSVGAttributes {
2292
+ extends SVGAttributes<T>,
2293
+ ExternalResourceSVGAttributes,
2294
+ ConditionalProcessingSVGAttributes {
2217
2295
  // TODO TimeEvent is currently undefined on TS
2218
2296
  onBegin?: EventHandlerUnion<T, Event> | undefined;
2219
2297
  "on:begin"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
@@ -2227,8 +2305,7 @@ export namespace JSX {
2227
2305
  "on:repeat"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
2228
2306
  }
2229
2307
  interface ContainerElementSVGAttributes<T>
2230
- extends
2231
- SVGAttributes<T>,
2308
+ extends SVGAttributes<T>,
2232
2309
  ShapeElementSVGAttributes<T>,
2233
2310
  Pick<
2234
2311
  PresentationSVGAttributes,
@@ -2242,7 +2319,8 @@ export namespace JSX {
2242
2319
  | "color-rendering"
2243
2320
  > {}
2244
2321
  interface FilterPrimitiveElementSVGAttributes<T>
2245
- extends SVGAttributes<T>, Pick<PresentationSVGAttributes, "color-interpolation-filters"> {
2322
+ extends SVGAttributes<T>,
2323
+ Pick<PresentationSVGAttributes, "color-interpolation-filters"> {
2246
2324
  height?: number | string | RemoveAttribute;
2247
2325
  result?: string | RemoveAttribute;
2248
2326
  width?: number | string | RemoveAttribute;
@@ -2261,15 +2339,16 @@ export namespace JSX {
2261
2339
  viewBox?: string | RemoveAttribute;
2262
2340
  }
2263
2341
  interface GradientElementSVGAttributes<T>
2264
- extends SVGAttributes<T>, ExternalResourceSVGAttributes, StylableSVGAttributes {
2342
+ extends SVGAttributes<T>,
2343
+ ExternalResourceSVGAttributes,
2344
+ StylableSVGAttributes {
2265
2345
  gradientTransform?: string | RemoveAttribute;
2266
2346
  gradientUnits?: SVGUnits | RemoveAttribute;
2267
2347
  href?: string | RemoveAttribute;
2268
2348
  spreadMethod?: "pad" | "reflect" | "repeat" | RemoveAttribute;
2269
2349
  }
2270
2350
  interface GraphicsElementSVGAttributes<T>
2271
- extends
2272
- SVGAttributes<T>,
2351
+ extends SVGAttributes<T>,
2273
2352
  Pick<
2274
2353
  PresentationSVGAttributes,
2275
2354
  | "clip-rule"
@@ -2285,12 +2364,12 @@ export namespace JSX {
2285
2364
  > {}
2286
2365
  interface LightSourceElementSVGAttributes<T> extends SVGAttributes<T> {}
2287
2366
  interface NewViewportSVGAttributes<T>
2288
- extends SVGAttributes<T>, Pick<PresentationSVGAttributes, "overflow" | "clip"> {
2367
+ extends SVGAttributes<T>,
2368
+ Pick<PresentationSVGAttributes, "overflow" | "clip"> {
2289
2369
  viewBox?: string | RemoveAttribute;
2290
2370
  }
2291
2371
  interface ShapeElementSVGAttributes<T>
2292
- extends
2293
- SVGAttributes<T>,
2372
+ extends SVGAttributes<T>,
2294
2373
  Pick<
2295
2374
  PresentationSVGAttributes,
2296
2375
  | "color"
@@ -2309,8 +2388,7 @@ export namespace JSX {
2309
2388
  | "pathLength"
2310
2389
  > {}
2311
2390
  interface TextContentElementSVGAttributes<T>
2312
- extends
2313
- SVGAttributes<T>,
2391
+ extends SVGAttributes<T>,
2314
2392
  Pick<
2315
2393
  PresentationSVGAttributes,
2316
2394
  | "font-family"
@@ -2351,16 +2429,14 @@ export namespace JSX {
2351
2429
  zoomAndPan?: "disable" | "magnify" | RemoveAttribute;
2352
2430
  }
2353
2431
  interface AnimateSVGAttributes<T>
2354
- extends
2355
- AnimationElementSVGAttributes<T>,
2432
+ extends AnimationElementSVGAttributes<T>,
2356
2433
  AnimationAttributeTargetSVGAttributes,
2357
2434
  AnimationTimingSVGAttributes,
2358
2435
  AnimationValueSVGAttributes,
2359
2436
  AnimationAdditionSVGAttributes,
2360
2437
  Pick<PresentationSVGAttributes, "color-interpolation" | "color-rendering"> {}
2361
2438
  interface AnimateMotionSVGAttributes<T>
2362
- extends
2363
- AnimationElementSVGAttributes<T>,
2439
+ extends AnimationElementSVGAttributes<T>,
2364
2440
  AnimationTimingSVGAttributes,
2365
2441
  AnimationValueSVGAttributes,
2366
2442
  AnimationAdditionSVGAttributes {
@@ -2370,8 +2446,7 @@ export namespace JSX {
2370
2446
  rotate?: number | string | "auto" | "auto-reverse" | RemoveAttribute;
2371
2447
  }
2372
2448
  interface AnimateTransformSVGAttributes<T>
2373
- extends
2374
- AnimationElementSVGAttributes<T>,
2449
+ extends AnimationElementSVGAttributes<T>,
2375
2450
  AnimationAttributeTargetSVGAttributes,
2376
2451
  AnimationTimingSVGAttributes,
2377
2452
  AnimationValueSVGAttributes,
@@ -2379,8 +2454,7 @@ export namespace JSX {
2379
2454
  type?: "translate" | "scale" | "rotate" | "skewX" | "skewY" | RemoveAttribute;
2380
2455
  }
2381
2456
  interface CircleSVGAttributes<T>
2382
- extends
2383
- GraphicsElementSVGAttributes<T>,
2457
+ extends GraphicsElementSVGAttributes<T>,
2384
2458
  ShapeElementSVGAttributes<T>,
2385
2459
  ConditionalProcessingSVGAttributes,
2386
2460
  StylableSVGAttributes,
@@ -2391,8 +2465,7 @@ export namespace JSX {
2391
2465
  r?: number | string | RemoveAttribute;
2392
2466
  }
2393
2467
  interface ClipPathSVGAttributes<T>
2394
- extends
2395
- SVGAttributes<T>,
2468
+ extends SVGAttributes<T>,
2396
2469
  ConditionalProcessingSVGAttributes,
2397
2470
  ExternalResourceSVGAttributes,
2398
2471
  StylableSVGAttributes,
@@ -2401,16 +2474,14 @@ export namespace JSX {
2401
2474
  clipPathUnits?: SVGUnits | RemoveAttribute;
2402
2475
  }
2403
2476
  interface DefsSVGAttributes<T>
2404
- extends
2405
- ContainerElementSVGAttributes<T>,
2477
+ extends ContainerElementSVGAttributes<T>,
2406
2478
  ConditionalProcessingSVGAttributes,
2407
2479
  ExternalResourceSVGAttributes,
2408
2480
  StylableSVGAttributes,
2409
2481
  TransformableSVGAttributes {}
2410
2482
  interface DescSVGAttributes<T> extends SVGAttributes<T>, StylableSVGAttributes {}
2411
2483
  interface EllipseSVGAttributes<T>
2412
- extends
2413
- GraphicsElementSVGAttributes<T>,
2484
+ extends GraphicsElementSVGAttributes<T>,
2414
2485
  ShapeElementSVGAttributes<T>,
2415
2486
  ConditionalProcessingSVGAttributes,
2416
2487
  ExternalResourceSVGAttributes,
@@ -2423,28 +2494,24 @@ export namespace JSX {
2423
2494
  ry?: number | string | RemoveAttribute;
2424
2495
  }
2425
2496
  interface FeBlendSVGAttributes<T>
2426
- extends
2427
- FilterPrimitiveElementSVGAttributes<T>,
2497
+ extends FilterPrimitiveElementSVGAttributes<T>,
2428
2498
  DoubleInputFilterSVGAttributes,
2429
2499
  StylableSVGAttributes {
2430
2500
  mode?: "normal" | "multiply" | "screen" | "darken" | "lighten" | RemoveAttribute;
2431
2501
  }
2432
2502
  interface FeColorMatrixSVGAttributes<T>
2433
- extends
2434
- FilterPrimitiveElementSVGAttributes<T>,
2503
+ extends FilterPrimitiveElementSVGAttributes<T>,
2435
2504
  SingleInputFilterSVGAttributes,
2436
2505
  StylableSVGAttributes {
2437
2506
  type?: "matrix" | "saturate" | "hueRotate" | "luminanceToAlpha" | RemoveAttribute;
2438
2507
  values?: string | RemoveAttribute;
2439
2508
  }
2440
2509
  interface FeComponentTransferSVGAttributes<T>
2441
- extends
2442
- FilterPrimitiveElementSVGAttributes<T>,
2510
+ extends FilterPrimitiveElementSVGAttributes<T>,
2443
2511
  SingleInputFilterSVGAttributes,
2444
2512
  StylableSVGAttributes {}
2445
2513
  interface FeCompositeSVGAttributes<T>
2446
- extends
2447
- FilterPrimitiveElementSVGAttributes<T>,
2514
+ extends FilterPrimitiveElementSVGAttributes<T>,
2448
2515
  DoubleInputFilterSVGAttributes,
2449
2516
  StylableSVGAttributes {
2450
2517
  k1?: number | string | RemoveAttribute;
@@ -2454,8 +2521,7 @@ export namespace JSX {
2454
2521
  operator?: "over" | "in" | "out" | "atop" | "xor" | "arithmetic" | RemoveAttribute;
2455
2522
  }
2456
2523
  interface FeConvolveMatrixSVGAttributes<T>
2457
- extends
2458
- FilterPrimitiveElementSVGAttributes<T>,
2524
+ extends FilterPrimitiveElementSVGAttributes<T>,
2459
2525
  SingleInputFilterSVGAttributes,
2460
2526
  StylableSVGAttributes {
2461
2527
  bias?: number | string | RemoveAttribute;
@@ -2469,8 +2535,7 @@ export namespace JSX {
2469
2535
  targetY?: number | string | RemoveAttribute;
2470
2536
  }
2471
2537
  interface FeDiffuseLightingSVGAttributes<T>
2472
- extends
2473
- FilterPrimitiveElementSVGAttributes<T>,
2538
+ extends FilterPrimitiveElementSVGAttributes<T>,
2474
2539
  SingleInputFilterSVGAttributes,
2475
2540
  StylableSVGAttributes,
2476
2541
  Pick<PresentationSVGAttributes, "color" | "lighting-color"> {
@@ -2479,8 +2544,7 @@ export namespace JSX {
2479
2544
  surfaceScale?: number | string | RemoveAttribute;
2480
2545
  }
2481
2546
  interface FeDisplacementMapSVGAttributes<T>
2482
- extends
2483
- FilterPrimitiveElementSVGAttributes<T>,
2547
+ extends FilterPrimitiveElementSVGAttributes<T>,
2484
2548
  DoubleInputFilterSVGAttributes,
2485
2549
  StylableSVGAttributes {
2486
2550
  scale?: number | string | RemoveAttribute;
@@ -2492,8 +2556,7 @@ export namespace JSX {
2492
2556
  elevation?: number | string | RemoveAttribute;
2493
2557
  }
2494
2558
  interface FeDropShadowSVGAttributes<T>
2495
- extends
2496
- SVGAttributes<T>,
2559
+ extends SVGAttributes<T>,
2497
2560
  FilterPrimitiveElementSVGAttributes<T>,
2498
2561
  StylableSVGAttributes,
2499
2562
  Pick<PresentationSVGAttributes, "color" | "flood-color" | "flood-opacity"> {
@@ -2502,8 +2565,7 @@ export namespace JSX {
2502
2565
  stdDeviation?: number | string | RemoveAttribute;
2503
2566
  }
2504
2567
  interface FeFloodSVGAttributes<T>
2505
- extends
2506
- FilterPrimitiveElementSVGAttributes<T>,
2568
+ extends FilterPrimitiveElementSVGAttributes<T>,
2507
2569
  StylableSVGAttributes,
2508
2570
  Pick<PresentationSVGAttributes, "color" | "flood-color" | "flood-opacity"> {}
2509
2571
  interface FeFuncSVGAttributes<T> extends SVGAttributes<T> {
@@ -2516,34 +2578,31 @@ export namespace JSX {
2516
2578
  type?: "identity" | "table" | "discrete" | "linear" | "gamma" | RemoveAttribute;
2517
2579
  }
2518
2580
  interface FeGaussianBlurSVGAttributes<T>
2519
- extends
2520
- FilterPrimitiveElementSVGAttributes<T>,
2581
+ extends FilterPrimitiveElementSVGAttributes<T>,
2521
2582
  SingleInputFilterSVGAttributes,
2522
2583
  StylableSVGAttributes {
2523
2584
  stdDeviation?: number | string | RemoveAttribute;
2524
2585
  }
2525
2586
  interface FeImageSVGAttributes<T>
2526
- extends
2527
- FilterPrimitiveElementSVGAttributes<T>,
2587
+ extends FilterPrimitiveElementSVGAttributes<T>,
2528
2588
  ExternalResourceSVGAttributes,
2529
2589
  StylableSVGAttributes {
2530
2590
  href?: string | RemoveAttribute;
2531
2591
  preserveAspectRatio?: SVGPreserveAspectRatio | RemoveAttribute;
2532
2592
  }
2533
2593
  interface FeMergeSVGAttributes<T>
2534
- extends FilterPrimitiveElementSVGAttributes<T>, StylableSVGAttributes {}
2594
+ extends FilterPrimitiveElementSVGAttributes<T>,
2595
+ StylableSVGAttributes {}
2535
2596
  interface FeMergeNodeSVGAttributes<T> extends SVGAttributes<T>, SingleInputFilterSVGAttributes {}
2536
2597
  interface FeMorphologySVGAttributes<T>
2537
- extends
2538
- FilterPrimitiveElementSVGAttributes<T>,
2598
+ extends FilterPrimitiveElementSVGAttributes<T>,
2539
2599
  SingleInputFilterSVGAttributes,
2540
2600
  StylableSVGAttributes {
2541
2601
  operator?: "erode" | "dilate" | RemoveAttribute;
2542
2602
  radius?: number | string | RemoveAttribute;
2543
2603
  }
2544
2604
  interface FeOffsetSVGAttributes<T>
2545
- extends
2546
- FilterPrimitiveElementSVGAttributes<T>,
2605
+ extends FilterPrimitiveElementSVGAttributes<T>,
2547
2606
  SingleInputFilterSVGAttributes,
2548
2607
  StylableSVGAttributes {
2549
2608
  dx?: number | string | RemoveAttribute;
@@ -2555,8 +2614,7 @@ export namespace JSX {
2555
2614
  z?: number | string | RemoveAttribute;
2556
2615
  }
2557
2616
  interface FeSpecularLightingSVGAttributes<T>
2558
- extends
2559
- FilterPrimitiveElementSVGAttributes<T>,
2617
+ extends FilterPrimitiveElementSVGAttributes<T>,
2560
2618
  SingleInputFilterSVGAttributes,
2561
2619
  StylableSVGAttributes,
2562
2620
  Pick<PresentationSVGAttributes, "color" | "lighting-color"> {
@@ -2576,12 +2634,12 @@ export namespace JSX {
2576
2634
  z?: number | string | RemoveAttribute;
2577
2635
  }
2578
2636
  interface FeTileSVGAttributes<T>
2579
- extends
2580
- FilterPrimitiveElementSVGAttributes<T>,
2637
+ extends FilterPrimitiveElementSVGAttributes<T>,
2581
2638
  SingleInputFilterSVGAttributes,
2582
2639
  StylableSVGAttributes {}
2583
2640
  interface FeTurbulanceSVGAttributes<T>
2584
- extends FilterPrimitiveElementSVGAttributes<T>, StylableSVGAttributes {
2641
+ extends FilterPrimitiveElementSVGAttributes<T>,
2642
+ StylableSVGAttributes {
2585
2643
  baseFrequency?: number | string | RemoveAttribute;
2586
2644
  numOctaves?: number | string | RemoveAttribute;
2587
2645
  seed?: number | string | RemoveAttribute;
@@ -2589,7 +2647,9 @@ export namespace JSX {
2589
2647
  type?: "fractalNoise" | "turbulence" | RemoveAttribute;
2590
2648
  }
2591
2649
  interface FilterSVGAttributes<T>
2592
- extends SVGAttributes<T>, ExternalResourceSVGAttributes, StylableSVGAttributes {
2650
+ extends SVGAttributes<T>,
2651
+ ExternalResourceSVGAttributes,
2652
+ StylableSVGAttributes {
2593
2653
  filterRes?: number | string | RemoveAttribute;
2594
2654
  filterUnits?: SVGUnits | RemoveAttribute;
2595
2655
  height?: number | string | RemoveAttribute;
@@ -2599,8 +2659,7 @@ export namespace JSX {
2599
2659
  y?: number | string | RemoveAttribute;
2600
2660
  }
2601
2661
  interface ForeignObjectSVGAttributes<T>
2602
- extends
2603
- NewViewportSVGAttributes<T>,
2662
+ extends NewViewportSVGAttributes<T>,
2604
2663
  ConditionalProcessingSVGAttributes,
2605
2664
  ExternalResourceSVGAttributes,
2606
2665
  StylableSVGAttributes,
@@ -2612,16 +2671,14 @@ export namespace JSX {
2612
2671
  y?: number | string | RemoveAttribute;
2613
2672
  }
2614
2673
  interface GSVGAttributes<T>
2615
- extends
2616
- ContainerElementSVGAttributes<T>,
2674
+ extends ContainerElementSVGAttributes<T>,
2617
2675
  ConditionalProcessingSVGAttributes,
2618
2676
  ExternalResourceSVGAttributes,
2619
2677
  StylableSVGAttributes,
2620
2678
  TransformableSVGAttributes,
2621
2679
  Pick<PresentationSVGAttributes, "clip-path" | "display" | "visibility"> {}
2622
2680
  interface ImageSVGAttributes<T>
2623
- extends
2624
- NewViewportSVGAttributes<T>,
2681
+ extends NewViewportSVGAttributes<T>,
2625
2682
  GraphicsElementSVGAttributes<T>,
2626
2683
  ConditionalProcessingSVGAttributes,
2627
2684
  StylableSVGAttributes,
@@ -2635,8 +2692,7 @@ export namespace JSX {
2635
2692
  y?: number | string | RemoveAttribute;
2636
2693
  }
2637
2694
  interface LineSVGAttributes<T>
2638
- extends
2639
- GraphicsElementSVGAttributes<T>,
2695
+ extends GraphicsElementSVGAttributes<T>,
2640
2696
  ShapeElementSVGAttributes<T>,
2641
2697
  ConditionalProcessingSVGAttributes,
2642
2698
  ExternalResourceSVGAttributes,
@@ -2655,8 +2711,7 @@ export namespace JSX {
2655
2711
  y2?: number | string | RemoveAttribute;
2656
2712
  }
2657
2713
  interface MarkerSVGAttributes<T>
2658
- extends
2659
- ContainerElementSVGAttributes<T>,
2714
+ extends ContainerElementSVGAttributes<T>,
2660
2715
  ExternalResourceSVGAttributes,
2661
2716
  StylableSVGAttributes,
2662
2717
  FitToViewBoxSVGAttributes,
@@ -2669,8 +2724,7 @@ export namespace JSX {
2669
2724
  refY?: number | string | RemoveAttribute;
2670
2725
  }
2671
2726
  interface MaskSVGAttributes<T>
2672
- extends
2673
- Omit<ContainerElementSVGAttributes<T>, "opacity" | "filter">,
2727
+ extends Omit<ContainerElementSVGAttributes<T>, "opacity" | "filter">,
2674
2728
  ConditionalProcessingSVGAttributes,
2675
2729
  ExternalResourceSVGAttributes,
2676
2730
  StylableSVGAttributes,
@@ -2685,8 +2739,7 @@ export namespace JSX {
2685
2739
  interface MetadataSVGAttributes<T> extends SVGAttributes<T> {}
2686
2740
  interface MPathSVGAttributes<T> extends SVGAttributes<T> {}
2687
2741
  interface PathSVGAttributes<T>
2688
- extends
2689
- GraphicsElementSVGAttributes<T>,
2742
+ extends GraphicsElementSVGAttributes<T>,
2690
2743
  ShapeElementSVGAttributes<T>,
2691
2744
  ConditionalProcessingSVGAttributes,
2692
2745
  ExternalResourceSVGAttributes,
@@ -2697,8 +2750,7 @@ export namespace JSX {
2697
2750
  pathLength?: number | string | RemoveAttribute;
2698
2751
  }
2699
2752
  interface PatternSVGAttributes<T>
2700
- extends
2701
- ContainerElementSVGAttributes<T>,
2753
+ extends ContainerElementSVGAttributes<T>,
2702
2754
  ConditionalProcessingSVGAttributes,
2703
2755
  ExternalResourceSVGAttributes,
2704
2756
  StylableSVGAttributes,
@@ -2714,8 +2766,7 @@ export namespace JSX {
2714
2766
  y?: number | string | RemoveAttribute;
2715
2767
  }
2716
2768
  interface PolygonSVGAttributes<T>
2717
- extends
2718
- GraphicsElementSVGAttributes<T>,
2769
+ extends GraphicsElementSVGAttributes<T>,
2719
2770
  ShapeElementSVGAttributes<T>,
2720
2771
  ConditionalProcessingSVGAttributes,
2721
2772
  ExternalResourceSVGAttributes,
@@ -2725,8 +2776,7 @@ export namespace JSX {
2725
2776
  points?: string | RemoveAttribute;
2726
2777
  }
2727
2778
  interface PolylineSVGAttributes<T>
2728
- extends
2729
- GraphicsElementSVGAttributes<T>,
2779
+ extends GraphicsElementSVGAttributes<T>,
2730
2780
  ShapeElementSVGAttributes<T>,
2731
2781
  ConditionalProcessingSVGAttributes,
2732
2782
  ExternalResourceSVGAttributes,
@@ -2743,8 +2793,7 @@ export namespace JSX {
2743
2793
  r?: number | string | RemoveAttribute;
2744
2794
  }
2745
2795
  interface RectSVGAttributes<T>
2746
- extends
2747
- GraphicsElementSVGAttributes<T>,
2796
+ extends GraphicsElementSVGAttributes<T>,
2748
2797
  ShapeElementSVGAttributes<T>,
2749
2798
  ConditionalProcessingSVGAttributes,
2750
2799
  ExternalResourceSVGAttributes,
@@ -2759,17 +2808,17 @@ export namespace JSX {
2759
2808
  y?: number | string | RemoveAttribute;
2760
2809
  }
2761
2810
  interface SetSVGAttributes<T>
2762
- extends AnimationElementSVGAttributes<T>, StylableSVGAttributes, AnimationTimingSVGAttributes {}
2811
+ extends AnimationElementSVGAttributes<T>,
2812
+ StylableSVGAttributes,
2813
+ AnimationTimingSVGAttributes {}
2763
2814
  interface StopSVGAttributes<T>
2764
- extends
2765
- SVGAttributes<T>,
2815
+ extends SVGAttributes<T>,
2766
2816
  StylableSVGAttributes,
2767
2817
  Pick<PresentationSVGAttributes, "color" | "stop-color" | "stop-opacity"> {
2768
2818
  offset?: number | string | RemoveAttribute;
2769
2819
  }
2770
2820
  interface SvgSVGAttributes<T>
2771
- extends
2772
- ContainerElementSVGAttributes<T>,
2821
+ extends ContainerElementSVGAttributes<T>,
2773
2822
  NewViewportSVGAttributes<T>,
2774
2823
  ConditionalProcessingSVGAttributes,
2775
2824
  ExternalResourceSVGAttributes,
@@ -2792,16 +2841,14 @@ export namespace JSX {
2792
2841
  version?: string | RemoveAttribute;
2793
2842
  }
2794
2843
  interface SwitchSVGAttributes<T>
2795
- extends
2796
- ContainerElementSVGAttributes<T>,
2844
+ extends ContainerElementSVGAttributes<T>,
2797
2845
  ConditionalProcessingSVGAttributes,
2798
2846
  ExternalResourceSVGAttributes,
2799
2847
  StylableSVGAttributes,
2800
2848
  TransformableSVGAttributes,
2801
2849
  Pick<PresentationSVGAttributes, "display" | "visibility"> {}
2802
2850
  interface SymbolSVGAttributes<T>
2803
- extends
2804
- ContainerElementSVGAttributes<T>,
2851
+ extends ContainerElementSVGAttributes<T>,
2805
2852
  NewViewportSVGAttributes<T>,
2806
2853
  ExternalResourceSVGAttributes,
2807
2854
  StylableSVGAttributes,
@@ -2817,8 +2864,7 @@ export namespace JSX {
2817
2864
  y?: number | string | RemoveAttribute;
2818
2865
  }
2819
2866
  interface TextSVGAttributes<T>
2820
- extends
2821
- TextContentElementSVGAttributes<T>,
2867
+ extends TextContentElementSVGAttributes<T>,
2822
2868
  GraphicsElementSVGAttributes<T>,
2823
2869
  ConditionalProcessingSVGAttributes,
2824
2870
  ExternalResourceSVGAttributes,
@@ -2834,8 +2880,7 @@ export namespace JSX {
2834
2880
  y?: number | string | RemoveAttribute;
2835
2881
  }
2836
2882
  interface TextPathSVGAttributes<T>
2837
- extends
2838
- TextContentElementSVGAttributes<T>,
2883
+ extends TextContentElementSVGAttributes<T>,
2839
2884
  ConditionalProcessingSVGAttributes,
2840
2885
  ExternalResourceSVGAttributes,
2841
2886
  StylableSVGAttributes,
@@ -2849,8 +2894,7 @@ export namespace JSX {
2849
2894
  startOffset?: number | string | RemoveAttribute;
2850
2895
  }
2851
2896
  interface TSpanSVGAttributes<T>
2852
- extends
2853
- TextContentElementSVGAttributes<T>,
2897
+ extends TextContentElementSVGAttributes<T>,
2854
2898
  ConditionalProcessingSVGAttributes,
2855
2899
  ExternalResourceSVGAttributes,
2856
2900
  StylableSVGAttributes,
@@ -2868,8 +2912,7 @@ export namespace JSX {
2868
2912
  }
2869
2913
  /** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/use */
2870
2914
  interface UseSVGAttributes<T>
2871
- extends
2872
- SVGAttributes<T>,
2915
+ extends SVGAttributes<T>,
2873
2916
  StylableSVGAttributes,
2874
2917
  ConditionalProcessingSVGAttributes,
2875
2918
  GraphicsElementSVGAttributes<T>,
@@ -2883,8 +2926,7 @@ export namespace JSX {
2883
2926
  y?: number | string | RemoveAttribute;
2884
2927
  }
2885
2928
  interface ViewSVGAttributes<T>
2886
- extends
2887
- SVGAttributes<T>,
2929
+ extends SVGAttributes<T>,
2888
2930
  ExternalResourceSVGAttributes,
2889
2931
  FitToViewBoxSVGAttributes,
2890
2932
  ZoomAndPanSVGAttributes {
@@ -4169,5 +4211,8 @@ export namespace JSX {
4169
4211
  }
4170
4212
 
4171
4213
  interface IntrinsicElements
4172
- extends HTMLElementTags, HTMLElementDeprecatedTags, SVGElementTags, MathMLElementTags {}
4214
+ extends HTMLElementTags,
4215
+ HTMLElementDeprecatedTags,
4216
+ SVGElementTags,
4217
+ MathMLElementTags {}
4173
4218
  }