solid-js 2.0.0-beta.5 → 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
 
@@ -995,15 +996,15 @@ export namespace JSX {
995
996
  ? K extends `on:${infer T}`
996
997
  ? T
997
998
  : K extends `on${infer T}`
998
- ? Lowercase<T>
999
- : never
999
+ ? Lowercase<T>
1000
+ : never
1000
1001
  : never)
1001
1002
  | (keyof EventHandlersElement<any> extends infer K
1002
1003
  ? K extends `on:${infer T}`
1003
1004
  ? T
1004
1005
  : K extends `on${infer T}`
1005
- ? Lowercase<T>
1006
- : never
1006
+ ? Lowercase<T>
1007
+ : never
1007
1008
  : never)
1008
1009
  | (string & {});
1009
1010
 
@@ -1027,8 +1028,7 @@ export namespace JSX {
1027
1028
  * 2. Includes `keys` defined by `Element` and `Node` interfaces.
1028
1029
  */
1029
1030
  interface ElementAttributes<T>
1030
- extends
1031
- CustomAttributes<T>,
1031
+ extends CustomAttributes<T>,
1032
1032
  PropAttributes,
1033
1033
  OnAttributes<T>,
1034
1034
  EventHandlersElement<T>,
@@ -1526,8 +1526,7 @@ export namespace JSX {
1526
1526
  alt?: string | RemoveAttribute;
1527
1527
  autocomplete?: HTMLAutocomplete | RemoveAttribute;
1528
1528
  capture?: "user" | "environment" | RemoveAttribute;
1529
- checked?: BooleanAttribute | RemoveAttribute;
1530
- "prop:checked"?: BooleanProperty | RemoveProperty;
1529
+
1531
1530
  colorspace?: string | RemoveAttribute;
1532
1531
  dirname?: string | RemoveAttribute;
1533
1532
  disabled?: BooleanAttribute | RemoveAttribute;
@@ -1581,8 +1580,6 @@ export namespace JSX {
1581
1580
  | "week"
1582
1581
  | (string & {})
1583
1582
  | RemoveAttribute;
1584
- value?: string | string[] | number | RemoveAttribute;
1585
- "prop:value"?: string | string[] | number | RemoveProperty;
1586
1583
  width?: number | string | RemoveAttribute;
1587
1584
 
1588
1585
  /** @non-standard */
@@ -1592,6 +1589,24 @@ export namespace JSX {
1592
1589
  align?: string | RemoveAttribute;
1593
1590
  /** @deprecated */
1594
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;
1595
1610
  }
1596
1611
  interface ModHTMLAttributes<T> extends HTMLAttributes<T> {
1597
1612
  cite?: string | RemoveAttribute;
@@ -1661,8 +1676,7 @@ export namespace JSX {
1661
1676
  crossorigin?: HTMLCrossorigin | RemoveAttribute;
1662
1677
  disableremoteplayback?: BooleanAttribute | RemoveAttribute;
1663
1678
  loop?: BooleanAttribute | RemoveAttribute;
1664
- muted?: BooleanAttribute | RemoveAttribute;
1665
- "prop:muted"?: BooleanProperty | RemoveProperty;
1679
+
1666
1680
  preload?: "none" | "metadata" | "auto" | EnumeratedAcceptsEmpty | RemoveAttribute;
1667
1681
  src?: string | RemoveAttribute;
1668
1682
 
@@ -1674,6 +1688,16 @@ export namespace JSX {
1674
1688
 
1675
1689
  /** @deprecated */
1676
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;
1677
1701
  }
1678
1702
  interface MenuHTMLAttributes<T> extends HTMLAttributes<T> {
1679
1703
  /** @deprecated */
@@ -1765,10 +1789,27 @@ export namespace JSX {
1765
1789
  interface OptionHTMLAttributes<T> extends HTMLAttributes<T> {
1766
1790
  disabled?: BooleanAttribute | RemoveAttribute;
1767
1791
  label?: string | RemoveAttribute;
1768
- selected?: BooleanAttribute | RemoveAttribute;
1769
- "prop:selected"?: BooleanProperty | RemoveProperty;
1770
- value?: string | string[] | number | RemoveAttribute;
1771
- "prop:value"?: string | string[] | number | RemoveProperty;
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;
1772
1813
  }
1773
1814
  interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
1774
1815
  for?: string | RemoveAttribute;
@@ -1820,8 +1861,24 @@ export namespace JSX {
1820
1861
  name?: string | RemoveAttribute;
1821
1862
  required?: BooleanAttribute | RemoveAttribute;
1822
1863
  size?: number | string | RemoveAttribute;
1823
- value?: string | string[] | number | RemoveAttribute;
1824
- "prop:value"?: string | string[] | number | RemoveProperty;
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;
1825
1882
  }
1826
1883
  interface HTMLSlotElementAttributes<T> extends HTMLAttributes<T> {
1827
1884
  name?: string | RemoveAttribute;
@@ -1895,9 +1952,17 @@ export namespace JSX {
1895
1952
  readonly?: BooleanAttribute | RemoveAttribute;
1896
1953
  required?: BooleanAttribute | RemoveAttribute;
1897
1954
  rows?: number | string | RemoveAttribute;
1898
- value?: string | string[] | number | RemoveAttribute;
1899
- "prop:value"?: string | string[] | number | RemoveProperty;
1900
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;
1901
1966
  }
1902
1967
  interface ThHTMLAttributes<T> extends HTMLAttributes<T> {
1903
1968
  abbr?: string | RemoveAttribute;
@@ -2224,7 +2289,9 @@ export namespace JSX {
2224
2289
  visibility?: "visible" | "hidden" | "collapse" | "inherit" | RemoveAttribute;
2225
2290
  }
2226
2291
  interface AnimationElementSVGAttributes<T>
2227
- extends SVGAttributes<T>, ExternalResourceSVGAttributes, ConditionalProcessingSVGAttributes {
2292
+ extends SVGAttributes<T>,
2293
+ ExternalResourceSVGAttributes,
2294
+ ConditionalProcessingSVGAttributes {
2228
2295
  // TODO TimeEvent is currently undefined on TS
2229
2296
  onBegin?: EventHandlerUnion<T, Event> | undefined;
2230
2297
  "on:begin"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
@@ -2238,8 +2305,7 @@ export namespace JSX {
2238
2305
  "on:repeat"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
2239
2306
  }
2240
2307
  interface ContainerElementSVGAttributes<T>
2241
- extends
2242
- SVGAttributes<T>,
2308
+ extends SVGAttributes<T>,
2243
2309
  ShapeElementSVGAttributes<T>,
2244
2310
  Pick<
2245
2311
  PresentationSVGAttributes,
@@ -2253,7 +2319,8 @@ export namespace JSX {
2253
2319
  | "color-rendering"
2254
2320
  > {}
2255
2321
  interface FilterPrimitiveElementSVGAttributes<T>
2256
- extends SVGAttributes<T>, Pick<PresentationSVGAttributes, "color-interpolation-filters"> {
2322
+ extends SVGAttributes<T>,
2323
+ Pick<PresentationSVGAttributes, "color-interpolation-filters"> {
2257
2324
  height?: number | string | RemoveAttribute;
2258
2325
  result?: string | RemoveAttribute;
2259
2326
  width?: number | string | RemoveAttribute;
@@ -2272,15 +2339,16 @@ export namespace JSX {
2272
2339
  viewBox?: string | RemoveAttribute;
2273
2340
  }
2274
2341
  interface GradientElementSVGAttributes<T>
2275
- extends SVGAttributes<T>, ExternalResourceSVGAttributes, StylableSVGAttributes {
2342
+ extends SVGAttributes<T>,
2343
+ ExternalResourceSVGAttributes,
2344
+ StylableSVGAttributes {
2276
2345
  gradientTransform?: string | RemoveAttribute;
2277
2346
  gradientUnits?: SVGUnits | RemoveAttribute;
2278
2347
  href?: string | RemoveAttribute;
2279
2348
  spreadMethod?: "pad" | "reflect" | "repeat" | RemoveAttribute;
2280
2349
  }
2281
2350
  interface GraphicsElementSVGAttributes<T>
2282
- extends
2283
- SVGAttributes<T>,
2351
+ extends SVGAttributes<T>,
2284
2352
  Pick<
2285
2353
  PresentationSVGAttributes,
2286
2354
  | "clip-rule"
@@ -2296,12 +2364,12 @@ export namespace JSX {
2296
2364
  > {}
2297
2365
  interface LightSourceElementSVGAttributes<T> extends SVGAttributes<T> {}
2298
2366
  interface NewViewportSVGAttributes<T>
2299
- extends SVGAttributes<T>, Pick<PresentationSVGAttributes, "overflow" | "clip"> {
2367
+ extends SVGAttributes<T>,
2368
+ Pick<PresentationSVGAttributes, "overflow" | "clip"> {
2300
2369
  viewBox?: string | RemoveAttribute;
2301
2370
  }
2302
2371
  interface ShapeElementSVGAttributes<T>
2303
- extends
2304
- SVGAttributes<T>,
2372
+ extends SVGAttributes<T>,
2305
2373
  Pick<
2306
2374
  PresentationSVGAttributes,
2307
2375
  | "color"
@@ -2320,8 +2388,7 @@ export namespace JSX {
2320
2388
  | "pathLength"
2321
2389
  > {}
2322
2390
  interface TextContentElementSVGAttributes<T>
2323
- extends
2324
- SVGAttributes<T>,
2391
+ extends SVGAttributes<T>,
2325
2392
  Pick<
2326
2393
  PresentationSVGAttributes,
2327
2394
  | "font-family"
@@ -2362,16 +2429,14 @@ export namespace JSX {
2362
2429
  zoomAndPan?: "disable" | "magnify" | RemoveAttribute;
2363
2430
  }
2364
2431
  interface AnimateSVGAttributes<T>
2365
- extends
2366
- AnimationElementSVGAttributes<T>,
2432
+ extends AnimationElementSVGAttributes<T>,
2367
2433
  AnimationAttributeTargetSVGAttributes,
2368
2434
  AnimationTimingSVGAttributes,
2369
2435
  AnimationValueSVGAttributes,
2370
2436
  AnimationAdditionSVGAttributes,
2371
2437
  Pick<PresentationSVGAttributes, "color-interpolation" | "color-rendering"> {}
2372
2438
  interface AnimateMotionSVGAttributes<T>
2373
- extends
2374
- AnimationElementSVGAttributes<T>,
2439
+ extends AnimationElementSVGAttributes<T>,
2375
2440
  AnimationTimingSVGAttributes,
2376
2441
  AnimationValueSVGAttributes,
2377
2442
  AnimationAdditionSVGAttributes {
@@ -2381,8 +2446,7 @@ export namespace JSX {
2381
2446
  rotate?: number | string | "auto" | "auto-reverse" | RemoveAttribute;
2382
2447
  }
2383
2448
  interface AnimateTransformSVGAttributes<T>
2384
- extends
2385
- AnimationElementSVGAttributes<T>,
2449
+ extends AnimationElementSVGAttributes<T>,
2386
2450
  AnimationAttributeTargetSVGAttributes,
2387
2451
  AnimationTimingSVGAttributes,
2388
2452
  AnimationValueSVGAttributes,
@@ -2390,8 +2454,7 @@ export namespace JSX {
2390
2454
  type?: "translate" | "scale" | "rotate" | "skewX" | "skewY" | RemoveAttribute;
2391
2455
  }
2392
2456
  interface CircleSVGAttributes<T>
2393
- extends
2394
- GraphicsElementSVGAttributes<T>,
2457
+ extends GraphicsElementSVGAttributes<T>,
2395
2458
  ShapeElementSVGAttributes<T>,
2396
2459
  ConditionalProcessingSVGAttributes,
2397
2460
  StylableSVGAttributes,
@@ -2402,8 +2465,7 @@ export namespace JSX {
2402
2465
  r?: number | string | RemoveAttribute;
2403
2466
  }
2404
2467
  interface ClipPathSVGAttributes<T>
2405
- extends
2406
- SVGAttributes<T>,
2468
+ extends SVGAttributes<T>,
2407
2469
  ConditionalProcessingSVGAttributes,
2408
2470
  ExternalResourceSVGAttributes,
2409
2471
  StylableSVGAttributes,
@@ -2412,16 +2474,14 @@ export namespace JSX {
2412
2474
  clipPathUnits?: SVGUnits | RemoveAttribute;
2413
2475
  }
2414
2476
  interface DefsSVGAttributes<T>
2415
- extends
2416
- ContainerElementSVGAttributes<T>,
2477
+ extends ContainerElementSVGAttributes<T>,
2417
2478
  ConditionalProcessingSVGAttributes,
2418
2479
  ExternalResourceSVGAttributes,
2419
2480
  StylableSVGAttributes,
2420
2481
  TransformableSVGAttributes {}
2421
2482
  interface DescSVGAttributes<T> extends SVGAttributes<T>, StylableSVGAttributes {}
2422
2483
  interface EllipseSVGAttributes<T>
2423
- extends
2424
- GraphicsElementSVGAttributes<T>,
2484
+ extends GraphicsElementSVGAttributes<T>,
2425
2485
  ShapeElementSVGAttributes<T>,
2426
2486
  ConditionalProcessingSVGAttributes,
2427
2487
  ExternalResourceSVGAttributes,
@@ -2434,28 +2494,24 @@ export namespace JSX {
2434
2494
  ry?: number | string | RemoveAttribute;
2435
2495
  }
2436
2496
  interface FeBlendSVGAttributes<T>
2437
- extends
2438
- FilterPrimitiveElementSVGAttributes<T>,
2497
+ extends FilterPrimitiveElementSVGAttributes<T>,
2439
2498
  DoubleInputFilterSVGAttributes,
2440
2499
  StylableSVGAttributes {
2441
2500
  mode?: "normal" | "multiply" | "screen" | "darken" | "lighten" | RemoveAttribute;
2442
2501
  }
2443
2502
  interface FeColorMatrixSVGAttributes<T>
2444
- extends
2445
- FilterPrimitiveElementSVGAttributes<T>,
2503
+ extends FilterPrimitiveElementSVGAttributes<T>,
2446
2504
  SingleInputFilterSVGAttributes,
2447
2505
  StylableSVGAttributes {
2448
2506
  type?: "matrix" | "saturate" | "hueRotate" | "luminanceToAlpha" | RemoveAttribute;
2449
2507
  values?: string | RemoveAttribute;
2450
2508
  }
2451
2509
  interface FeComponentTransferSVGAttributes<T>
2452
- extends
2453
- FilterPrimitiveElementSVGAttributes<T>,
2510
+ extends FilterPrimitiveElementSVGAttributes<T>,
2454
2511
  SingleInputFilterSVGAttributes,
2455
2512
  StylableSVGAttributes {}
2456
2513
  interface FeCompositeSVGAttributes<T>
2457
- extends
2458
- FilterPrimitiveElementSVGAttributes<T>,
2514
+ extends FilterPrimitiveElementSVGAttributes<T>,
2459
2515
  DoubleInputFilterSVGAttributes,
2460
2516
  StylableSVGAttributes {
2461
2517
  k1?: number | string | RemoveAttribute;
@@ -2465,8 +2521,7 @@ export namespace JSX {
2465
2521
  operator?: "over" | "in" | "out" | "atop" | "xor" | "arithmetic" | RemoveAttribute;
2466
2522
  }
2467
2523
  interface FeConvolveMatrixSVGAttributes<T>
2468
- extends
2469
- FilterPrimitiveElementSVGAttributes<T>,
2524
+ extends FilterPrimitiveElementSVGAttributes<T>,
2470
2525
  SingleInputFilterSVGAttributes,
2471
2526
  StylableSVGAttributes {
2472
2527
  bias?: number | string | RemoveAttribute;
@@ -2480,8 +2535,7 @@ export namespace JSX {
2480
2535
  targetY?: number | string | RemoveAttribute;
2481
2536
  }
2482
2537
  interface FeDiffuseLightingSVGAttributes<T>
2483
- extends
2484
- FilterPrimitiveElementSVGAttributes<T>,
2538
+ extends FilterPrimitiveElementSVGAttributes<T>,
2485
2539
  SingleInputFilterSVGAttributes,
2486
2540
  StylableSVGAttributes,
2487
2541
  Pick<PresentationSVGAttributes, "color" | "lighting-color"> {
@@ -2490,8 +2544,7 @@ export namespace JSX {
2490
2544
  surfaceScale?: number | string | RemoveAttribute;
2491
2545
  }
2492
2546
  interface FeDisplacementMapSVGAttributes<T>
2493
- extends
2494
- FilterPrimitiveElementSVGAttributes<T>,
2547
+ extends FilterPrimitiveElementSVGAttributes<T>,
2495
2548
  DoubleInputFilterSVGAttributes,
2496
2549
  StylableSVGAttributes {
2497
2550
  scale?: number | string | RemoveAttribute;
@@ -2503,8 +2556,7 @@ export namespace JSX {
2503
2556
  elevation?: number | string | RemoveAttribute;
2504
2557
  }
2505
2558
  interface FeDropShadowSVGAttributes<T>
2506
- extends
2507
- SVGAttributes<T>,
2559
+ extends SVGAttributes<T>,
2508
2560
  FilterPrimitiveElementSVGAttributes<T>,
2509
2561
  StylableSVGAttributes,
2510
2562
  Pick<PresentationSVGAttributes, "color" | "flood-color" | "flood-opacity"> {
@@ -2513,8 +2565,7 @@ export namespace JSX {
2513
2565
  stdDeviation?: number | string | RemoveAttribute;
2514
2566
  }
2515
2567
  interface FeFloodSVGAttributes<T>
2516
- extends
2517
- FilterPrimitiveElementSVGAttributes<T>,
2568
+ extends FilterPrimitiveElementSVGAttributes<T>,
2518
2569
  StylableSVGAttributes,
2519
2570
  Pick<PresentationSVGAttributes, "color" | "flood-color" | "flood-opacity"> {}
2520
2571
  interface FeFuncSVGAttributes<T> extends SVGAttributes<T> {
@@ -2527,34 +2578,31 @@ export namespace JSX {
2527
2578
  type?: "identity" | "table" | "discrete" | "linear" | "gamma" | RemoveAttribute;
2528
2579
  }
2529
2580
  interface FeGaussianBlurSVGAttributes<T>
2530
- extends
2531
- FilterPrimitiveElementSVGAttributes<T>,
2581
+ extends FilterPrimitiveElementSVGAttributes<T>,
2532
2582
  SingleInputFilterSVGAttributes,
2533
2583
  StylableSVGAttributes {
2534
2584
  stdDeviation?: number | string | RemoveAttribute;
2535
2585
  }
2536
2586
  interface FeImageSVGAttributes<T>
2537
- extends
2538
- FilterPrimitiveElementSVGAttributes<T>,
2587
+ extends FilterPrimitiveElementSVGAttributes<T>,
2539
2588
  ExternalResourceSVGAttributes,
2540
2589
  StylableSVGAttributes {
2541
2590
  href?: string | RemoveAttribute;
2542
2591
  preserveAspectRatio?: SVGPreserveAspectRatio | RemoveAttribute;
2543
2592
  }
2544
2593
  interface FeMergeSVGAttributes<T>
2545
- extends FilterPrimitiveElementSVGAttributes<T>, StylableSVGAttributes {}
2594
+ extends FilterPrimitiveElementSVGAttributes<T>,
2595
+ StylableSVGAttributes {}
2546
2596
  interface FeMergeNodeSVGAttributes<T> extends SVGAttributes<T>, SingleInputFilterSVGAttributes {}
2547
2597
  interface FeMorphologySVGAttributes<T>
2548
- extends
2549
- FilterPrimitiveElementSVGAttributes<T>,
2598
+ extends FilterPrimitiveElementSVGAttributes<T>,
2550
2599
  SingleInputFilterSVGAttributes,
2551
2600
  StylableSVGAttributes {
2552
2601
  operator?: "erode" | "dilate" | RemoveAttribute;
2553
2602
  radius?: number | string | RemoveAttribute;
2554
2603
  }
2555
2604
  interface FeOffsetSVGAttributes<T>
2556
- extends
2557
- FilterPrimitiveElementSVGAttributes<T>,
2605
+ extends FilterPrimitiveElementSVGAttributes<T>,
2558
2606
  SingleInputFilterSVGAttributes,
2559
2607
  StylableSVGAttributes {
2560
2608
  dx?: number | string | RemoveAttribute;
@@ -2566,8 +2614,7 @@ export namespace JSX {
2566
2614
  z?: number | string | RemoveAttribute;
2567
2615
  }
2568
2616
  interface FeSpecularLightingSVGAttributes<T>
2569
- extends
2570
- FilterPrimitiveElementSVGAttributes<T>,
2617
+ extends FilterPrimitiveElementSVGAttributes<T>,
2571
2618
  SingleInputFilterSVGAttributes,
2572
2619
  StylableSVGAttributes,
2573
2620
  Pick<PresentationSVGAttributes, "color" | "lighting-color"> {
@@ -2587,12 +2634,12 @@ export namespace JSX {
2587
2634
  z?: number | string | RemoveAttribute;
2588
2635
  }
2589
2636
  interface FeTileSVGAttributes<T>
2590
- extends
2591
- FilterPrimitiveElementSVGAttributes<T>,
2637
+ extends FilterPrimitiveElementSVGAttributes<T>,
2592
2638
  SingleInputFilterSVGAttributes,
2593
2639
  StylableSVGAttributes {}
2594
2640
  interface FeTurbulanceSVGAttributes<T>
2595
- extends FilterPrimitiveElementSVGAttributes<T>, StylableSVGAttributes {
2641
+ extends FilterPrimitiveElementSVGAttributes<T>,
2642
+ StylableSVGAttributes {
2596
2643
  baseFrequency?: number | string | RemoveAttribute;
2597
2644
  numOctaves?: number | string | RemoveAttribute;
2598
2645
  seed?: number | string | RemoveAttribute;
@@ -2600,7 +2647,9 @@ export namespace JSX {
2600
2647
  type?: "fractalNoise" | "turbulence" | RemoveAttribute;
2601
2648
  }
2602
2649
  interface FilterSVGAttributes<T>
2603
- extends SVGAttributes<T>, ExternalResourceSVGAttributes, StylableSVGAttributes {
2650
+ extends SVGAttributes<T>,
2651
+ ExternalResourceSVGAttributes,
2652
+ StylableSVGAttributes {
2604
2653
  filterRes?: number | string | RemoveAttribute;
2605
2654
  filterUnits?: SVGUnits | RemoveAttribute;
2606
2655
  height?: number | string | RemoveAttribute;
@@ -2610,8 +2659,7 @@ export namespace JSX {
2610
2659
  y?: number | string | RemoveAttribute;
2611
2660
  }
2612
2661
  interface ForeignObjectSVGAttributes<T>
2613
- extends
2614
- NewViewportSVGAttributes<T>,
2662
+ extends NewViewportSVGAttributes<T>,
2615
2663
  ConditionalProcessingSVGAttributes,
2616
2664
  ExternalResourceSVGAttributes,
2617
2665
  StylableSVGAttributes,
@@ -2623,16 +2671,14 @@ export namespace JSX {
2623
2671
  y?: number | string | RemoveAttribute;
2624
2672
  }
2625
2673
  interface GSVGAttributes<T>
2626
- extends
2627
- ContainerElementSVGAttributes<T>,
2674
+ extends ContainerElementSVGAttributes<T>,
2628
2675
  ConditionalProcessingSVGAttributes,
2629
2676
  ExternalResourceSVGAttributes,
2630
2677
  StylableSVGAttributes,
2631
2678
  TransformableSVGAttributes,
2632
2679
  Pick<PresentationSVGAttributes, "clip-path" | "display" | "visibility"> {}
2633
2680
  interface ImageSVGAttributes<T>
2634
- extends
2635
- NewViewportSVGAttributes<T>,
2681
+ extends NewViewportSVGAttributes<T>,
2636
2682
  GraphicsElementSVGAttributes<T>,
2637
2683
  ConditionalProcessingSVGAttributes,
2638
2684
  StylableSVGAttributes,
@@ -2646,8 +2692,7 @@ export namespace JSX {
2646
2692
  y?: number | string | RemoveAttribute;
2647
2693
  }
2648
2694
  interface LineSVGAttributes<T>
2649
- extends
2650
- GraphicsElementSVGAttributes<T>,
2695
+ extends GraphicsElementSVGAttributes<T>,
2651
2696
  ShapeElementSVGAttributes<T>,
2652
2697
  ConditionalProcessingSVGAttributes,
2653
2698
  ExternalResourceSVGAttributes,
@@ -2666,8 +2711,7 @@ export namespace JSX {
2666
2711
  y2?: number | string | RemoveAttribute;
2667
2712
  }
2668
2713
  interface MarkerSVGAttributes<T>
2669
- extends
2670
- ContainerElementSVGAttributes<T>,
2714
+ extends ContainerElementSVGAttributes<T>,
2671
2715
  ExternalResourceSVGAttributes,
2672
2716
  StylableSVGAttributes,
2673
2717
  FitToViewBoxSVGAttributes,
@@ -2680,8 +2724,7 @@ export namespace JSX {
2680
2724
  refY?: number | string | RemoveAttribute;
2681
2725
  }
2682
2726
  interface MaskSVGAttributes<T>
2683
- extends
2684
- Omit<ContainerElementSVGAttributes<T>, "opacity" | "filter">,
2727
+ extends Omit<ContainerElementSVGAttributes<T>, "opacity" | "filter">,
2685
2728
  ConditionalProcessingSVGAttributes,
2686
2729
  ExternalResourceSVGAttributes,
2687
2730
  StylableSVGAttributes,
@@ -2696,8 +2739,7 @@ export namespace JSX {
2696
2739
  interface MetadataSVGAttributes<T> extends SVGAttributes<T> {}
2697
2740
  interface MPathSVGAttributes<T> extends SVGAttributes<T> {}
2698
2741
  interface PathSVGAttributes<T>
2699
- extends
2700
- GraphicsElementSVGAttributes<T>,
2742
+ extends GraphicsElementSVGAttributes<T>,
2701
2743
  ShapeElementSVGAttributes<T>,
2702
2744
  ConditionalProcessingSVGAttributes,
2703
2745
  ExternalResourceSVGAttributes,
@@ -2708,8 +2750,7 @@ export namespace JSX {
2708
2750
  pathLength?: number | string | RemoveAttribute;
2709
2751
  }
2710
2752
  interface PatternSVGAttributes<T>
2711
- extends
2712
- ContainerElementSVGAttributes<T>,
2753
+ extends ContainerElementSVGAttributes<T>,
2713
2754
  ConditionalProcessingSVGAttributes,
2714
2755
  ExternalResourceSVGAttributes,
2715
2756
  StylableSVGAttributes,
@@ -2725,8 +2766,7 @@ export namespace JSX {
2725
2766
  y?: number | string | RemoveAttribute;
2726
2767
  }
2727
2768
  interface PolygonSVGAttributes<T>
2728
- extends
2729
- GraphicsElementSVGAttributes<T>,
2769
+ extends GraphicsElementSVGAttributes<T>,
2730
2770
  ShapeElementSVGAttributes<T>,
2731
2771
  ConditionalProcessingSVGAttributes,
2732
2772
  ExternalResourceSVGAttributes,
@@ -2736,8 +2776,7 @@ export namespace JSX {
2736
2776
  points?: string | RemoveAttribute;
2737
2777
  }
2738
2778
  interface PolylineSVGAttributes<T>
2739
- extends
2740
- GraphicsElementSVGAttributes<T>,
2779
+ extends GraphicsElementSVGAttributes<T>,
2741
2780
  ShapeElementSVGAttributes<T>,
2742
2781
  ConditionalProcessingSVGAttributes,
2743
2782
  ExternalResourceSVGAttributes,
@@ -2754,8 +2793,7 @@ export namespace JSX {
2754
2793
  r?: number | string | RemoveAttribute;
2755
2794
  }
2756
2795
  interface RectSVGAttributes<T>
2757
- extends
2758
- GraphicsElementSVGAttributes<T>,
2796
+ extends GraphicsElementSVGAttributes<T>,
2759
2797
  ShapeElementSVGAttributes<T>,
2760
2798
  ConditionalProcessingSVGAttributes,
2761
2799
  ExternalResourceSVGAttributes,
@@ -2770,17 +2808,17 @@ export namespace JSX {
2770
2808
  y?: number | string | RemoveAttribute;
2771
2809
  }
2772
2810
  interface SetSVGAttributes<T>
2773
- extends AnimationElementSVGAttributes<T>, StylableSVGAttributes, AnimationTimingSVGAttributes {}
2811
+ extends AnimationElementSVGAttributes<T>,
2812
+ StylableSVGAttributes,
2813
+ AnimationTimingSVGAttributes {}
2774
2814
  interface StopSVGAttributes<T>
2775
- extends
2776
- SVGAttributes<T>,
2815
+ extends SVGAttributes<T>,
2777
2816
  StylableSVGAttributes,
2778
2817
  Pick<PresentationSVGAttributes, "color" | "stop-color" | "stop-opacity"> {
2779
2818
  offset?: number | string | RemoveAttribute;
2780
2819
  }
2781
2820
  interface SvgSVGAttributes<T>
2782
- extends
2783
- ContainerElementSVGAttributes<T>,
2821
+ extends ContainerElementSVGAttributes<T>,
2784
2822
  NewViewportSVGAttributes<T>,
2785
2823
  ConditionalProcessingSVGAttributes,
2786
2824
  ExternalResourceSVGAttributes,
@@ -2803,16 +2841,14 @@ export namespace JSX {
2803
2841
  version?: string | RemoveAttribute;
2804
2842
  }
2805
2843
  interface SwitchSVGAttributes<T>
2806
- extends
2807
- ContainerElementSVGAttributes<T>,
2844
+ extends ContainerElementSVGAttributes<T>,
2808
2845
  ConditionalProcessingSVGAttributes,
2809
2846
  ExternalResourceSVGAttributes,
2810
2847
  StylableSVGAttributes,
2811
2848
  TransformableSVGAttributes,
2812
2849
  Pick<PresentationSVGAttributes, "display" | "visibility"> {}
2813
2850
  interface SymbolSVGAttributes<T>
2814
- extends
2815
- ContainerElementSVGAttributes<T>,
2851
+ extends ContainerElementSVGAttributes<T>,
2816
2852
  NewViewportSVGAttributes<T>,
2817
2853
  ExternalResourceSVGAttributes,
2818
2854
  StylableSVGAttributes,
@@ -2828,8 +2864,7 @@ export namespace JSX {
2828
2864
  y?: number | string | RemoveAttribute;
2829
2865
  }
2830
2866
  interface TextSVGAttributes<T>
2831
- extends
2832
- TextContentElementSVGAttributes<T>,
2867
+ extends TextContentElementSVGAttributes<T>,
2833
2868
  GraphicsElementSVGAttributes<T>,
2834
2869
  ConditionalProcessingSVGAttributes,
2835
2870
  ExternalResourceSVGAttributes,
@@ -2845,8 +2880,7 @@ export namespace JSX {
2845
2880
  y?: number | string | RemoveAttribute;
2846
2881
  }
2847
2882
  interface TextPathSVGAttributes<T>
2848
- extends
2849
- TextContentElementSVGAttributes<T>,
2883
+ extends TextContentElementSVGAttributes<T>,
2850
2884
  ConditionalProcessingSVGAttributes,
2851
2885
  ExternalResourceSVGAttributes,
2852
2886
  StylableSVGAttributes,
@@ -2860,8 +2894,7 @@ export namespace JSX {
2860
2894
  startOffset?: number | string | RemoveAttribute;
2861
2895
  }
2862
2896
  interface TSpanSVGAttributes<T>
2863
- extends
2864
- TextContentElementSVGAttributes<T>,
2897
+ extends TextContentElementSVGAttributes<T>,
2865
2898
  ConditionalProcessingSVGAttributes,
2866
2899
  ExternalResourceSVGAttributes,
2867
2900
  StylableSVGAttributes,
@@ -2879,8 +2912,7 @@ export namespace JSX {
2879
2912
  }
2880
2913
  /** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/use */
2881
2914
  interface UseSVGAttributes<T>
2882
- extends
2883
- SVGAttributes<T>,
2915
+ extends SVGAttributes<T>,
2884
2916
  StylableSVGAttributes,
2885
2917
  ConditionalProcessingSVGAttributes,
2886
2918
  GraphicsElementSVGAttributes<T>,
@@ -2894,8 +2926,7 @@ export namespace JSX {
2894
2926
  y?: number | string | RemoveAttribute;
2895
2927
  }
2896
2928
  interface ViewSVGAttributes<T>
2897
- extends
2898
- SVGAttributes<T>,
2929
+ extends SVGAttributes<T>,
2899
2930
  ExternalResourceSVGAttributes,
2900
2931
  FitToViewBoxSVGAttributes,
2901
2932
  ZoomAndPanSVGAttributes {
@@ -4180,5 +4211,8 @@ export namespace JSX {
4180
4211
  }
4181
4212
 
4182
4213
  interface IntrinsicElements
4183
- extends HTMLElementTags, HTMLElementDeprecatedTags, SVGElementTags, MathMLElementTags {}
4214
+ extends HTMLElementTags,
4215
+ HTMLElementDeprecatedTags,
4216
+ SVGElementTags,
4217
+ MathMLElementTags {}
4184
4218
  }