@solidjs/h 2.0.0-beta.7 → 2.0.0-beta.8

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.
@@ -41,11 +41,8 @@ export type PropValue =
41
41
  * narrowing
42
42
  * - other types pass through unchanged
43
43
  */
44
- export type WidenPropValue<V> = [V] extends [string]
45
- ? string extends V
46
- ? string | number
47
- : V
48
- : V;
44
+ type WidenString<V> = string extends V ? string | number : V;
45
+ export type WidenPropValue<V> = [V] extends [string] ? WidenString<V> : V;
49
46
 
50
47
  /**
51
48
  * Structurally identical → `Y`; distinct → `N`. Used by `IsReadonlyKey` to detect
@@ -179,8 +179,7 @@ export namespace JSX {
179
179
  > = EHandler | BoundEventHandler<T, E, EHandler>;
180
180
 
181
181
  interface EventHandlerWithOptions<T, E extends Event, EHandler = EventHandler<T, E>>
182
- extends AddEventListenerOptions,
183
- EventListenerOptions {
182
+ extends AddEventListenerOptions, EventListenerOptions {
184
183
  handleEvent: EHandler;
185
184
  }
186
185
 
@@ -1021,15 +1020,15 @@ export namespace JSX {
1021
1020
  ? K extends `on:${infer T}`
1022
1021
  ? T
1023
1022
  : K extends `on${infer T}`
1024
- ? Lowercase<T>
1025
- : never
1023
+ ? Lowercase<T>
1024
+ : never
1026
1025
  : never)
1027
1026
  | (keyof EventHandlersElement<any> extends infer K
1028
1027
  ? K extends `on:${infer T}`
1029
1028
  ? T
1030
1029
  : K extends `on${infer T}`
1031
- ? Lowercase<T>
1032
- : never
1030
+ ? Lowercase<T>
1031
+ : never
1033
1032
  : never)
1034
1033
  | (string & {});
1035
1034
 
@@ -1053,7 +1052,8 @@ export namespace JSX {
1053
1052
  * 2. Includes `keys` defined by `Element` and `Node` interfaces.
1054
1053
  */
1055
1054
  interface ElementAttributes<T>
1056
- extends CustomAttributes<T>,
1055
+ extends
1056
+ CustomAttributes<T>,
1057
1057
  PropAttributes,
1058
1058
  OnAttributes<T>,
1059
1059
  EventHandlersElement<T>,
@@ -2327,9 +2327,7 @@ export namespace JSX {
2327
2327
  visibility?: FunctionMaybe<"visible" | "hidden" | "collapse" | "inherit" | RemoveAttribute>;
2328
2328
  }
2329
2329
  interface AnimationElementSVGAttributes<T>
2330
- extends SVGAttributes<T>,
2331
- ExternalResourceSVGAttributes,
2332
- ConditionalProcessingSVGAttributes {
2330
+ extends SVGAttributes<T>, ExternalResourceSVGAttributes, ConditionalProcessingSVGAttributes {
2333
2331
  onBegin?: EventHandlerUnion<T, TimeEvent> | undefined;
2334
2332
  "on:begin"?: EventHandlerWithOptionsUnion<T, TimeEvent> | undefined;
2335
2333
 
@@ -2340,7 +2338,8 @@ export namespace JSX {
2340
2338
  "on:repeat"?: EventHandlerWithOptionsUnion<T, TimeEvent> | undefined;
2341
2339
  }
2342
2340
  interface ContainerElementSVGAttributes<T>
2343
- extends SVGAttributes<T>,
2341
+ extends
2342
+ SVGAttributes<T>,
2344
2343
  ShapeElementSVGAttributes<T>,
2345
2344
  Pick<
2346
2345
  PresentationSVGAttributes,
@@ -2354,8 +2353,7 @@ export namespace JSX {
2354
2353
  | "color-rendering"
2355
2354
  > {}
2356
2355
  interface FilterPrimitiveElementSVGAttributes<T>
2357
- extends SVGAttributes<T>,
2358
- Pick<PresentationSVGAttributes, "color-interpolation-filters"> {
2356
+ extends SVGAttributes<T>, Pick<PresentationSVGAttributes, "color-interpolation-filters"> {
2359
2357
  height?: FunctionMaybe<number | string | RemoveAttribute>;
2360
2358
  result?: FunctionMaybe<string | RemoveAttribute>;
2361
2359
  width?: FunctionMaybe<number | string | RemoveAttribute>;
@@ -2374,16 +2372,15 @@ export namespace JSX {
2374
2372
  viewBox?: FunctionMaybe<string | RemoveAttribute>;
2375
2373
  }
2376
2374
  interface GradientElementSVGAttributes<T>
2377
- extends SVGAttributes<T>,
2378
- ExternalResourceSVGAttributes,
2379
- StylableSVGAttributes {
2375
+ extends SVGAttributes<T>, ExternalResourceSVGAttributes, StylableSVGAttributes {
2380
2376
  gradientTransform?: FunctionMaybe<string | RemoveAttribute>;
2381
2377
  gradientUnits?: FunctionMaybe<SVGUnits | RemoveAttribute>;
2382
2378
  href?: FunctionMaybe<string | RemoveAttribute>;
2383
2379
  spreadMethod?: FunctionMaybe<"pad" | "reflect" | "repeat" | RemoveAttribute>;
2384
2380
  }
2385
2381
  interface GraphicsElementSVGAttributes<T>
2386
- extends SVGAttributes<T>,
2382
+ extends
2383
+ SVGAttributes<T>,
2387
2384
  Pick<
2388
2385
  PresentationSVGAttributes,
2389
2386
  | "clip-rule"
@@ -2399,12 +2396,12 @@ export namespace JSX {
2399
2396
  > {}
2400
2397
  interface LightSourceElementSVGAttributes<T> extends SVGAttributes<T> {}
2401
2398
  interface NewViewportSVGAttributes<T>
2402
- extends SVGAttributes<T>,
2403
- Pick<PresentationSVGAttributes, "overflow" | "clip"> {
2399
+ extends SVGAttributes<T>, Pick<PresentationSVGAttributes, "overflow" | "clip"> {
2404
2400
  viewBox?: FunctionMaybe<string | RemoveAttribute>;
2405
2401
  }
2406
2402
  interface ShapeElementSVGAttributes<T>
2407
- extends SVGAttributes<T>,
2403
+ extends
2404
+ SVGAttributes<T>,
2408
2405
  Pick<
2409
2406
  PresentationSVGAttributes,
2410
2407
  | "color"
@@ -2423,7 +2420,8 @@ export namespace JSX {
2423
2420
  | "pathLength"
2424
2421
  > {}
2425
2422
  interface TextContentElementSVGAttributes<T>
2426
- extends SVGAttributes<T>,
2423
+ extends
2424
+ SVGAttributes<T>,
2427
2425
  Pick<
2428
2426
  PresentationSVGAttributes,
2429
2427
  | "font-family"
@@ -2464,14 +2462,16 @@ export namespace JSX {
2464
2462
  zoomAndPan?: FunctionMaybe<"disable" | "magnify" | RemoveAttribute>;
2465
2463
  }
2466
2464
  interface AnimateSVGAttributes<T>
2467
- extends AnimationElementSVGAttributes<T>,
2465
+ extends
2466
+ AnimationElementSVGAttributes<T>,
2468
2467
  AnimationAttributeTargetSVGAttributes,
2469
2468
  AnimationTimingSVGAttributes,
2470
2469
  AnimationValueSVGAttributes,
2471
2470
  AnimationAdditionSVGAttributes,
2472
2471
  Pick<PresentationSVGAttributes, "color-interpolation" | "color-rendering"> {}
2473
2472
  interface AnimateMotionSVGAttributes<T>
2474
- extends AnimationElementSVGAttributes<T>,
2473
+ extends
2474
+ AnimationElementSVGAttributes<T>,
2475
2475
  AnimationTimingSVGAttributes,
2476
2476
  AnimationValueSVGAttributes,
2477
2477
  AnimationAdditionSVGAttributes {
@@ -2481,7 +2481,8 @@ export namespace JSX {
2481
2481
  rotate?: FunctionMaybe<number | string | "auto" | "auto-reverse" | RemoveAttribute>;
2482
2482
  }
2483
2483
  interface AnimateTransformSVGAttributes<T>
2484
- extends AnimationElementSVGAttributes<T>,
2484
+ extends
2485
+ AnimationElementSVGAttributes<T>,
2485
2486
  AnimationAttributeTargetSVGAttributes,
2486
2487
  AnimationTimingSVGAttributes,
2487
2488
  AnimationValueSVGAttributes,
@@ -2489,7 +2490,8 @@ export namespace JSX {
2489
2490
  type?: FunctionMaybe<"translate" | "scale" | "rotate" | "skewX" | "skewY" | RemoveAttribute>;
2490
2491
  }
2491
2492
  interface CircleSVGAttributes<T>
2492
- extends GraphicsElementSVGAttributes<T>,
2493
+ extends
2494
+ GraphicsElementSVGAttributes<T>,
2493
2495
  ShapeElementSVGAttributes<T>,
2494
2496
  ConditionalProcessingSVGAttributes,
2495
2497
  StylableSVGAttributes,
@@ -2500,7 +2502,8 @@ export namespace JSX {
2500
2502
  r?: FunctionMaybe<number | string | RemoveAttribute>;
2501
2503
  }
2502
2504
  interface ClipPathSVGAttributes<T>
2503
- extends SVGAttributes<T>,
2505
+ extends
2506
+ SVGAttributes<T>,
2504
2507
  ConditionalProcessingSVGAttributes,
2505
2508
  ExternalResourceSVGAttributes,
2506
2509
  StylableSVGAttributes,
@@ -2509,14 +2512,16 @@ export namespace JSX {
2509
2512
  clipPathUnits?: FunctionMaybe<SVGUnits | RemoveAttribute>;
2510
2513
  }
2511
2514
  interface DefsSVGAttributes<T>
2512
- extends ContainerElementSVGAttributes<T>,
2515
+ extends
2516
+ ContainerElementSVGAttributes<T>,
2513
2517
  ConditionalProcessingSVGAttributes,
2514
2518
  ExternalResourceSVGAttributes,
2515
2519
  StylableSVGAttributes,
2516
2520
  TransformableSVGAttributes {}
2517
2521
  interface DescSVGAttributes<T> extends SVGAttributes<T>, StylableSVGAttributes {}
2518
2522
  interface EllipseSVGAttributes<T>
2519
- extends GraphicsElementSVGAttributes<T>,
2523
+ extends
2524
+ GraphicsElementSVGAttributes<T>,
2520
2525
  ShapeElementSVGAttributes<T>,
2521
2526
  ConditionalProcessingSVGAttributes,
2522
2527
  ExternalResourceSVGAttributes,
@@ -2529,13 +2534,15 @@ export namespace JSX {
2529
2534
  ry?: FunctionMaybe<number | string | RemoveAttribute>;
2530
2535
  }
2531
2536
  interface FeBlendSVGAttributes<T>
2532
- extends FilterPrimitiveElementSVGAttributes<T>,
2537
+ extends
2538
+ FilterPrimitiveElementSVGAttributes<T>,
2533
2539
  DoubleInputFilterSVGAttributes,
2534
2540
  StylableSVGAttributes {
2535
2541
  mode?: FunctionMaybe<"normal" | "multiply" | "screen" | "darken" | "lighten" | RemoveAttribute>;
2536
2542
  }
2537
2543
  interface FeColorMatrixSVGAttributes<T>
2538
- extends FilterPrimitiveElementSVGAttributes<T>,
2544
+ extends
2545
+ FilterPrimitiveElementSVGAttributes<T>,
2539
2546
  SingleInputFilterSVGAttributes,
2540
2547
  StylableSVGAttributes {
2541
2548
  type?: FunctionMaybe<
@@ -2544,11 +2551,13 @@ export namespace JSX {
2544
2551
  values?: FunctionMaybe<string | RemoveAttribute>;
2545
2552
  }
2546
2553
  interface FeComponentTransferSVGAttributes<T>
2547
- extends FilterPrimitiveElementSVGAttributes<T>,
2554
+ extends
2555
+ FilterPrimitiveElementSVGAttributes<T>,
2548
2556
  SingleInputFilterSVGAttributes,
2549
2557
  StylableSVGAttributes {}
2550
2558
  interface FeCompositeSVGAttributes<T>
2551
- extends FilterPrimitiveElementSVGAttributes<T>,
2559
+ extends
2560
+ FilterPrimitiveElementSVGAttributes<T>,
2552
2561
  DoubleInputFilterSVGAttributes,
2553
2562
  StylableSVGAttributes {
2554
2563
  k1?: FunctionMaybe<number | string | RemoveAttribute>;
@@ -2560,7 +2569,8 @@ export namespace JSX {
2560
2569
  >;
2561
2570
  }
2562
2571
  interface FeConvolveMatrixSVGAttributes<T>
2563
- extends FilterPrimitiveElementSVGAttributes<T>,
2572
+ extends
2573
+ FilterPrimitiveElementSVGAttributes<T>,
2564
2574
  SingleInputFilterSVGAttributes,
2565
2575
  StylableSVGAttributes {
2566
2576
  bias?: FunctionMaybe<number | string | RemoveAttribute>;
@@ -2574,7 +2584,8 @@ export namespace JSX {
2574
2584
  targetY?: FunctionMaybe<number | string | RemoveAttribute>;
2575
2585
  }
2576
2586
  interface FeDiffuseLightingSVGAttributes<T>
2577
- extends FilterPrimitiveElementSVGAttributes<T>,
2587
+ extends
2588
+ FilterPrimitiveElementSVGAttributes<T>,
2578
2589
  SingleInputFilterSVGAttributes,
2579
2590
  StylableSVGAttributes,
2580
2591
  Pick<PresentationSVGAttributes, "color" | "lighting-color"> {
@@ -2583,7 +2594,8 @@ export namespace JSX {
2583
2594
  surfaceScale?: FunctionMaybe<number | string | RemoveAttribute>;
2584
2595
  }
2585
2596
  interface FeDisplacementMapSVGAttributes<T>
2586
- extends FilterPrimitiveElementSVGAttributes<T>,
2597
+ extends
2598
+ FilterPrimitiveElementSVGAttributes<T>,
2587
2599
  DoubleInputFilterSVGAttributes,
2588
2600
  StylableSVGAttributes {
2589
2601
  scale?: FunctionMaybe<number | string | RemoveAttribute>;
@@ -2595,7 +2607,8 @@ export namespace JSX {
2595
2607
  elevation?: FunctionMaybe<number | string | RemoveAttribute>;
2596
2608
  }
2597
2609
  interface FeDropShadowSVGAttributes<T>
2598
- extends SVGAttributes<T>,
2610
+ extends
2611
+ SVGAttributes<T>,
2599
2612
  FilterPrimitiveElementSVGAttributes<T>,
2600
2613
  StylableSVGAttributes,
2601
2614
  Pick<PresentationSVGAttributes, "color" | "flood-color" | "flood-opacity"> {
@@ -2604,7 +2617,8 @@ export namespace JSX {
2604
2617
  stdDeviation?: FunctionMaybe<number | string | RemoveAttribute>;
2605
2618
  }
2606
2619
  interface FeFloodSVGAttributes<T>
2607
- extends FilterPrimitiveElementSVGAttributes<T>,
2620
+ extends
2621
+ FilterPrimitiveElementSVGAttributes<T>,
2608
2622
  StylableSVGAttributes,
2609
2623
  Pick<PresentationSVGAttributes, "color" | "flood-color" | "flood-opacity"> {}
2610
2624
  interface FeFuncSVGAttributes<T> extends SVGAttributes<T> {
@@ -2617,31 +2631,34 @@ export namespace JSX {
2617
2631
  type?: FunctionMaybe<"identity" | "table" | "discrete" | "linear" | "gamma" | RemoveAttribute>;
2618
2632
  }
2619
2633
  interface FeGaussianBlurSVGAttributes<T>
2620
- extends FilterPrimitiveElementSVGAttributes<T>,
2634
+ extends
2635
+ FilterPrimitiveElementSVGAttributes<T>,
2621
2636
  SingleInputFilterSVGAttributes,
2622
2637
  StylableSVGAttributes {
2623
2638
  stdDeviation?: FunctionMaybe<number | string | RemoveAttribute>;
2624
2639
  }
2625
2640
  interface FeImageSVGAttributes<T>
2626
- extends FilterPrimitiveElementSVGAttributes<T>,
2641
+ extends
2642
+ FilterPrimitiveElementSVGAttributes<T>,
2627
2643
  ExternalResourceSVGAttributes,
2628
2644
  StylableSVGAttributes {
2629
2645
  href?: FunctionMaybe<string | RemoveAttribute>;
2630
2646
  preserveAspectRatio?: FunctionMaybe<SVGPreserveAspectRatio | RemoveAttribute>;
2631
2647
  }
2632
2648
  interface FeMergeSVGAttributes<T>
2633
- extends FilterPrimitiveElementSVGAttributes<T>,
2634
- StylableSVGAttributes {}
2649
+ extends FilterPrimitiveElementSVGAttributes<T>, StylableSVGAttributes {}
2635
2650
  interface FeMergeNodeSVGAttributes<T> extends SVGAttributes<T>, SingleInputFilterSVGAttributes {}
2636
2651
  interface FeMorphologySVGAttributes<T>
2637
- extends FilterPrimitiveElementSVGAttributes<T>,
2652
+ extends
2653
+ FilterPrimitiveElementSVGAttributes<T>,
2638
2654
  SingleInputFilterSVGAttributes,
2639
2655
  StylableSVGAttributes {
2640
2656
  operator?: FunctionMaybe<"erode" | "dilate" | RemoveAttribute>;
2641
2657
  radius?: FunctionMaybe<number | string | RemoveAttribute>;
2642
2658
  }
2643
2659
  interface FeOffsetSVGAttributes<T>
2644
- extends FilterPrimitiveElementSVGAttributes<T>,
2660
+ extends
2661
+ FilterPrimitiveElementSVGAttributes<T>,
2645
2662
  SingleInputFilterSVGAttributes,
2646
2663
  StylableSVGAttributes {
2647
2664
  dx?: FunctionMaybe<number | string | RemoveAttribute>;
@@ -2653,7 +2670,8 @@ export namespace JSX {
2653
2670
  z?: FunctionMaybe<number | string | RemoveAttribute>;
2654
2671
  }
2655
2672
  interface FeSpecularLightingSVGAttributes<T>
2656
- extends FilterPrimitiveElementSVGAttributes<T>,
2673
+ extends
2674
+ FilterPrimitiveElementSVGAttributes<T>,
2657
2675
  SingleInputFilterSVGAttributes,
2658
2676
  StylableSVGAttributes,
2659
2677
  Pick<PresentationSVGAttributes, "color" | "lighting-color"> {
@@ -2673,12 +2691,12 @@ export namespace JSX {
2673
2691
  z?: FunctionMaybe<number | string | RemoveAttribute>;
2674
2692
  }
2675
2693
  interface FeTileSVGAttributes<T>
2676
- extends FilterPrimitiveElementSVGAttributes<T>,
2694
+ extends
2695
+ FilterPrimitiveElementSVGAttributes<T>,
2677
2696
  SingleInputFilterSVGAttributes,
2678
2697
  StylableSVGAttributes {}
2679
2698
  interface FeTurbulanceSVGAttributes<T>
2680
- extends FilterPrimitiveElementSVGAttributes<T>,
2681
- StylableSVGAttributes {
2699
+ extends FilterPrimitiveElementSVGAttributes<T>, StylableSVGAttributes {
2682
2700
  baseFrequency?: FunctionMaybe<number | string | RemoveAttribute>;
2683
2701
  numOctaves?: FunctionMaybe<number | string | RemoveAttribute>;
2684
2702
  seed?: FunctionMaybe<number | string | RemoveAttribute>;
@@ -2686,9 +2704,7 @@ export namespace JSX {
2686
2704
  type?: FunctionMaybe<"fractalNoise" | "turbulence" | RemoveAttribute>;
2687
2705
  }
2688
2706
  interface FilterSVGAttributes<T>
2689
- extends SVGAttributes<T>,
2690
- ExternalResourceSVGAttributes,
2691
- StylableSVGAttributes {
2707
+ extends SVGAttributes<T>, ExternalResourceSVGAttributes, StylableSVGAttributes {
2692
2708
  filterRes?: FunctionMaybe<number | string | RemoveAttribute>;
2693
2709
  filterUnits?: FunctionMaybe<SVGUnits | RemoveAttribute>;
2694
2710
  height?: FunctionMaybe<number | string | RemoveAttribute>;
@@ -2698,7 +2714,8 @@ export namespace JSX {
2698
2714
  y?: FunctionMaybe<number | string | RemoveAttribute>;
2699
2715
  }
2700
2716
  interface ForeignObjectSVGAttributes<T>
2701
- extends NewViewportSVGAttributes<T>,
2717
+ extends
2718
+ NewViewportSVGAttributes<T>,
2702
2719
  ConditionalProcessingSVGAttributes,
2703
2720
  ExternalResourceSVGAttributes,
2704
2721
  StylableSVGAttributes,
@@ -2710,14 +2727,16 @@ export namespace JSX {
2710
2727
  y?: FunctionMaybe<number | string | RemoveAttribute>;
2711
2728
  }
2712
2729
  interface GSVGAttributes<T>
2713
- extends ContainerElementSVGAttributes<T>,
2730
+ extends
2731
+ ContainerElementSVGAttributes<T>,
2714
2732
  ConditionalProcessingSVGAttributes,
2715
2733
  ExternalResourceSVGAttributes,
2716
2734
  StylableSVGAttributes,
2717
2735
  TransformableSVGAttributes,
2718
2736
  Pick<PresentationSVGAttributes, "clip-path" | "display" | "visibility"> {}
2719
2737
  interface ImageSVGAttributes<T>
2720
- extends NewViewportSVGAttributes<T>,
2738
+ extends
2739
+ NewViewportSVGAttributes<T>,
2721
2740
  GraphicsElementSVGAttributes<T>,
2722
2741
  ConditionalProcessingSVGAttributes,
2723
2742
  StylableSVGAttributes,
@@ -2731,7 +2750,8 @@ export namespace JSX {
2731
2750
  y?: FunctionMaybe<number | string | RemoveAttribute>;
2732
2751
  }
2733
2752
  interface LineSVGAttributes<T>
2734
- extends GraphicsElementSVGAttributes<T>,
2753
+ extends
2754
+ GraphicsElementSVGAttributes<T>,
2735
2755
  ShapeElementSVGAttributes<T>,
2736
2756
  ConditionalProcessingSVGAttributes,
2737
2757
  ExternalResourceSVGAttributes,
@@ -2750,7 +2770,8 @@ export namespace JSX {
2750
2770
  y2?: FunctionMaybe<number | string | RemoveAttribute>;
2751
2771
  }
2752
2772
  interface MarkerSVGAttributes<T>
2753
- extends ContainerElementSVGAttributes<T>,
2773
+ extends
2774
+ ContainerElementSVGAttributes<T>,
2754
2775
  ExternalResourceSVGAttributes,
2755
2776
  StylableSVGAttributes,
2756
2777
  FitToViewBoxSVGAttributes,
@@ -2763,7 +2784,8 @@ export namespace JSX {
2763
2784
  refY?: FunctionMaybe<number | string | RemoveAttribute>;
2764
2785
  }
2765
2786
  interface MaskSVGAttributes<T>
2766
- extends Omit<ContainerElementSVGAttributes<T>, "opacity" | "filter">,
2787
+ extends
2788
+ Omit<ContainerElementSVGAttributes<T>, "opacity" | "filter">,
2767
2789
  ConditionalProcessingSVGAttributes,
2768
2790
  ExternalResourceSVGAttributes,
2769
2791
  StylableSVGAttributes,
@@ -2778,7 +2800,8 @@ export namespace JSX {
2778
2800
  interface MetadataSVGAttributes<T> extends SVGAttributes<T> {}
2779
2801
  interface MPathSVGAttributes<T> extends SVGAttributes<T> {}
2780
2802
  interface PathSVGAttributes<T>
2781
- extends GraphicsElementSVGAttributes<T>,
2803
+ extends
2804
+ GraphicsElementSVGAttributes<T>,
2782
2805
  ShapeElementSVGAttributes<T>,
2783
2806
  ConditionalProcessingSVGAttributes,
2784
2807
  ExternalResourceSVGAttributes,
@@ -2789,7 +2812,8 @@ export namespace JSX {
2789
2812
  pathLength?: FunctionMaybe<number | string | RemoveAttribute>;
2790
2813
  }
2791
2814
  interface PatternSVGAttributes<T>
2792
- extends ContainerElementSVGAttributes<T>,
2815
+ extends
2816
+ ContainerElementSVGAttributes<T>,
2793
2817
  ConditionalProcessingSVGAttributes,
2794
2818
  ExternalResourceSVGAttributes,
2795
2819
  StylableSVGAttributes,
@@ -2805,7 +2829,8 @@ export namespace JSX {
2805
2829
  y?: FunctionMaybe<number | string | RemoveAttribute>;
2806
2830
  }
2807
2831
  interface PolygonSVGAttributes<T>
2808
- extends GraphicsElementSVGAttributes<T>,
2832
+ extends
2833
+ GraphicsElementSVGAttributes<T>,
2809
2834
  ShapeElementSVGAttributes<T>,
2810
2835
  ConditionalProcessingSVGAttributes,
2811
2836
  ExternalResourceSVGAttributes,
@@ -2815,7 +2840,8 @@ export namespace JSX {
2815
2840
  points?: FunctionMaybe<string | RemoveAttribute>;
2816
2841
  }
2817
2842
  interface PolylineSVGAttributes<T>
2818
- extends GraphicsElementSVGAttributes<T>,
2843
+ extends
2844
+ GraphicsElementSVGAttributes<T>,
2819
2845
  ShapeElementSVGAttributes<T>,
2820
2846
  ConditionalProcessingSVGAttributes,
2821
2847
  ExternalResourceSVGAttributes,
@@ -2832,7 +2858,8 @@ export namespace JSX {
2832
2858
  r?: FunctionMaybe<number | string | RemoveAttribute>;
2833
2859
  }
2834
2860
  interface RectSVGAttributes<T>
2835
- extends GraphicsElementSVGAttributes<T>,
2861
+ extends
2862
+ GraphicsElementSVGAttributes<T>,
2836
2863
  ShapeElementSVGAttributes<T>,
2837
2864
  ConditionalProcessingSVGAttributes,
2838
2865
  ExternalResourceSVGAttributes,
@@ -2847,17 +2874,17 @@ export namespace JSX {
2847
2874
  y?: FunctionMaybe<number | string | RemoveAttribute>;
2848
2875
  }
2849
2876
  interface SetSVGAttributes<T>
2850
- extends AnimationElementSVGAttributes<T>,
2851
- StylableSVGAttributes,
2852
- AnimationTimingSVGAttributes {}
2877
+ extends AnimationElementSVGAttributes<T>, StylableSVGAttributes, AnimationTimingSVGAttributes {}
2853
2878
  interface StopSVGAttributes<T>
2854
- extends SVGAttributes<T>,
2879
+ extends
2880
+ SVGAttributes<T>,
2855
2881
  StylableSVGAttributes,
2856
2882
  Pick<PresentationSVGAttributes, "color" | "stop-color" | "stop-opacity"> {
2857
2883
  offset?: FunctionMaybe<number | string | RemoveAttribute>;
2858
2884
  }
2859
2885
  interface SvgSVGAttributes<T>
2860
- extends ContainerElementSVGAttributes<T>,
2886
+ extends
2887
+ ContainerElementSVGAttributes<T>,
2861
2888
  NewViewportSVGAttributes<T>,
2862
2889
  ConditionalProcessingSVGAttributes,
2863
2890
  ExternalResourceSVGAttributes,
@@ -2880,14 +2907,16 @@ export namespace JSX {
2880
2907
  version?: FunctionMaybe<string | RemoveAttribute>;
2881
2908
  }
2882
2909
  interface SwitchSVGAttributes<T>
2883
- extends ContainerElementSVGAttributes<T>,
2910
+ extends
2911
+ ContainerElementSVGAttributes<T>,
2884
2912
  ConditionalProcessingSVGAttributes,
2885
2913
  ExternalResourceSVGAttributes,
2886
2914
  StylableSVGAttributes,
2887
2915
  TransformableSVGAttributes,
2888
2916
  Pick<PresentationSVGAttributes, "display" | "visibility"> {}
2889
2917
  interface SymbolSVGAttributes<T>
2890
- extends ContainerElementSVGAttributes<T>,
2918
+ extends
2919
+ ContainerElementSVGAttributes<T>,
2891
2920
  NewViewportSVGAttributes<T>,
2892
2921
  ExternalResourceSVGAttributes,
2893
2922
  StylableSVGAttributes,
@@ -2903,7 +2932,8 @@ export namespace JSX {
2903
2932
  y?: FunctionMaybe<number | string | RemoveAttribute>;
2904
2933
  }
2905
2934
  interface TextSVGAttributes<T>
2906
- extends TextContentElementSVGAttributes<T>,
2935
+ extends
2936
+ TextContentElementSVGAttributes<T>,
2907
2937
  GraphicsElementSVGAttributes<T>,
2908
2938
  ConditionalProcessingSVGAttributes,
2909
2939
  ExternalResourceSVGAttributes,
@@ -2919,7 +2949,8 @@ export namespace JSX {
2919
2949
  y?: FunctionMaybe<number | string | RemoveAttribute>;
2920
2950
  }
2921
2951
  interface TextPathSVGAttributes<T>
2922
- extends TextContentElementSVGAttributes<T>,
2952
+ extends
2953
+ TextContentElementSVGAttributes<T>,
2923
2954
  ConditionalProcessingSVGAttributes,
2924
2955
  ExternalResourceSVGAttributes,
2925
2956
  StylableSVGAttributes,
@@ -2933,7 +2964,8 @@ export namespace JSX {
2933
2964
  startOffset?: FunctionMaybe<number | string | RemoveAttribute>;
2934
2965
  }
2935
2966
  interface TSpanSVGAttributes<T>
2936
- extends TextContentElementSVGAttributes<T>,
2967
+ extends
2968
+ TextContentElementSVGAttributes<T>,
2937
2969
  ConditionalProcessingSVGAttributes,
2938
2970
  ExternalResourceSVGAttributes,
2939
2971
  StylableSVGAttributes,
@@ -2951,7 +2983,8 @@ export namespace JSX {
2951
2983
  }
2952
2984
  /** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/use */
2953
2985
  interface UseSVGAttributes<T>
2954
- extends SVGAttributes<T>,
2986
+ extends
2987
+ SVGAttributes<T>,
2955
2988
  StylableSVGAttributes,
2956
2989
  ConditionalProcessingSVGAttributes,
2957
2990
  GraphicsElementSVGAttributes<T>,
@@ -2965,7 +2998,8 @@ export namespace JSX {
2965
2998
  y?: FunctionMaybe<number | string | RemoveAttribute>;
2966
2999
  }
2967
3000
  interface ViewSVGAttributes<T>
2968
- extends SVGAttributes<T>,
3001
+ extends
3002
+ SVGAttributes<T>,
2969
3003
  ExternalResourceSVGAttributes,
2970
3004
  FitToViewBoxSVGAttributes,
2971
3005
  ZoomAndPanSVGAttributes {
@@ -4270,8 +4304,5 @@ export namespace JSX {
4270
4304
  }
4271
4305
 
4272
4306
  interface IntrinsicElements
4273
- extends HTMLElementTags,
4274
- HTMLElementDeprecatedTags,
4275
- SVGElementTags,
4276
- MathMLElementTags {}
4307
+ extends HTMLElementTags, HTMLElementDeprecatedTags, SVGElementTags, MathMLElementTags {}
4277
4308
  }
@@ -41,11 +41,8 @@ export type PropValue =
41
41
  * narrowing
42
42
  * - other types pass through unchanged
43
43
  */
44
- export type WidenPropValue<V> = [V] extends [string]
45
- ? string extends V
46
- ? string | number
47
- : V
48
- : V;
44
+ type WidenString<V> = string extends V ? string | number : V;
45
+ export type WidenPropValue<V> = [V] extends [string] ? WidenString<V> : V;
49
46
 
50
47
  /**
51
48
  * Structurally identical → `Y`; distinct → `N`. Used by `IsReadonlyKey` to detect
@@ -179,8 +179,7 @@ export namespace JSX {
179
179
  > = EHandler | BoundEventHandler<T, E, EHandler>;
180
180
 
181
181
  interface EventHandlerWithOptions<T, E extends Event, EHandler = EventHandler<T, E>>
182
- extends AddEventListenerOptions,
183
- EventListenerOptions {
182
+ extends AddEventListenerOptions, EventListenerOptions {
184
183
  handleEvent: EHandler;
185
184
  }
186
185
 
@@ -1021,15 +1020,15 @@ export namespace JSX {
1021
1020
  ? K extends `on:${infer T}`
1022
1021
  ? T
1023
1022
  : K extends `on${infer T}`
1024
- ? Lowercase<T>
1025
- : never
1023
+ ? Lowercase<T>
1024
+ : never
1026
1025
  : never)
1027
1026
  | (keyof EventHandlersElement<any> extends infer K
1028
1027
  ? K extends `on:${infer T}`
1029
1028
  ? T
1030
1029
  : K extends `on${infer T}`
1031
- ? Lowercase<T>
1032
- : never
1030
+ ? Lowercase<T>
1031
+ : never
1033
1032
  : never)
1034
1033
  | (string & {});
1035
1034
 
@@ -1053,7 +1052,8 @@ export namespace JSX {
1053
1052
  * 2. Includes `keys` defined by `Element` and `Node` interfaces.
1054
1053
  */
1055
1054
  interface ElementAttributes<T>
1056
- extends CustomAttributes<T>,
1055
+ extends
1056
+ CustomAttributes<T>,
1057
1057
  PropAttributes,
1058
1058
  OnAttributes<T>,
1059
1059
  EventHandlersElement<T>,
@@ -2327,9 +2327,7 @@ export namespace JSX {
2327
2327
  visibility?: FunctionMaybe<"visible" | "hidden" | "collapse" | "inherit" | RemoveAttribute>;
2328
2328
  }
2329
2329
  interface AnimationElementSVGAttributes<T>
2330
- extends SVGAttributes<T>,
2331
- ExternalResourceSVGAttributes,
2332
- ConditionalProcessingSVGAttributes {
2330
+ extends SVGAttributes<T>, ExternalResourceSVGAttributes, ConditionalProcessingSVGAttributes {
2333
2331
  onBegin?: EventHandlerUnion<T, TimeEvent> | undefined;
2334
2332
  "on:begin"?: EventHandlerWithOptionsUnion<T, TimeEvent> | undefined;
2335
2333
 
@@ -2340,7 +2338,8 @@ export namespace JSX {
2340
2338
  "on:repeat"?: EventHandlerWithOptionsUnion<T, TimeEvent> | undefined;
2341
2339
  }
2342
2340
  interface ContainerElementSVGAttributes<T>
2343
- extends SVGAttributes<T>,
2341
+ extends
2342
+ SVGAttributes<T>,
2344
2343
  ShapeElementSVGAttributes<T>,
2345
2344
  Pick<
2346
2345
  PresentationSVGAttributes,
@@ -2354,8 +2353,7 @@ export namespace JSX {
2354
2353
  | "color-rendering"
2355
2354
  > {}
2356
2355
  interface FilterPrimitiveElementSVGAttributes<T>
2357
- extends SVGAttributes<T>,
2358
- Pick<PresentationSVGAttributes, "color-interpolation-filters"> {
2356
+ extends SVGAttributes<T>, Pick<PresentationSVGAttributes, "color-interpolation-filters"> {
2359
2357
  height?: FunctionMaybe<number | string | RemoveAttribute>;
2360
2358
  result?: FunctionMaybe<string | RemoveAttribute>;
2361
2359
  width?: FunctionMaybe<number | string | RemoveAttribute>;
@@ -2374,16 +2372,15 @@ export namespace JSX {
2374
2372
  viewBox?: FunctionMaybe<string | RemoveAttribute>;
2375
2373
  }
2376
2374
  interface GradientElementSVGAttributes<T>
2377
- extends SVGAttributes<T>,
2378
- ExternalResourceSVGAttributes,
2379
- StylableSVGAttributes {
2375
+ extends SVGAttributes<T>, ExternalResourceSVGAttributes, StylableSVGAttributes {
2380
2376
  gradientTransform?: FunctionMaybe<string | RemoveAttribute>;
2381
2377
  gradientUnits?: FunctionMaybe<SVGUnits | RemoveAttribute>;
2382
2378
  href?: FunctionMaybe<string | RemoveAttribute>;
2383
2379
  spreadMethod?: FunctionMaybe<"pad" | "reflect" | "repeat" | RemoveAttribute>;
2384
2380
  }
2385
2381
  interface GraphicsElementSVGAttributes<T>
2386
- extends SVGAttributes<T>,
2382
+ extends
2383
+ SVGAttributes<T>,
2387
2384
  Pick<
2388
2385
  PresentationSVGAttributes,
2389
2386
  | "clip-rule"
@@ -2399,12 +2396,12 @@ export namespace JSX {
2399
2396
  > {}
2400
2397
  interface LightSourceElementSVGAttributes<T> extends SVGAttributes<T> {}
2401
2398
  interface NewViewportSVGAttributes<T>
2402
- extends SVGAttributes<T>,
2403
- Pick<PresentationSVGAttributes, "overflow" | "clip"> {
2399
+ extends SVGAttributes<T>, Pick<PresentationSVGAttributes, "overflow" | "clip"> {
2404
2400
  viewBox?: FunctionMaybe<string | RemoveAttribute>;
2405
2401
  }
2406
2402
  interface ShapeElementSVGAttributes<T>
2407
- extends SVGAttributes<T>,
2403
+ extends
2404
+ SVGAttributes<T>,
2408
2405
  Pick<
2409
2406
  PresentationSVGAttributes,
2410
2407
  | "color"
@@ -2423,7 +2420,8 @@ export namespace JSX {
2423
2420
  | "pathLength"
2424
2421
  > {}
2425
2422
  interface TextContentElementSVGAttributes<T>
2426
- extends SVGAttributes<T>,
2423
+ extends
2424
+ SVGAttributes<T>,
2427
2425
  Pick<
2428
2426
  PresentationSVGAttributes,
2429
2427
  | "font-family"
@@ -2464,14 +2462,16 @@ export namespace JSX {
2464
2462
  zoomAndPan?: FunctionMaybe<"disable" | "magnify" | RemoveAttribute>;
2465
2463
  }
2466
2464
  interface AnimateSVGAttributes<T>
2467
- extends AnimationElementSVGAttributes<T>,
2465
+ extends
2466
+ AnimationElementSVGAttributes<T>,
2468
2467
  AnimationAttributeTargetSVGAttributes,
2469
2468
  AnimationTimingSVGAttributes,
2470
2469
  AnimationValueSVGAttributes,
2471
2470
  AnimationAdditionSVGAttributes,
2472
2471
  Pick<PresentationSVGAttributes, "color-interpolation" | "color-rendering"> {}
2473
2472
  interface AnimateMotionSVGAttributes<T>
2474
- extends AnimationElementSVGAttributes<T>,
2473
+ extends
2474
+ AnimationElementSVGAttributes<T>,
2475
2475
  AnimationTimingSVGAttributes,
2476
2476
  AnimationValueSVGAttributes,
2477
2477
  AnimationAdditionSVGAttributes {
@@ -2481,7 +2481,8 @@ export namespace JSX {
2481
2481
  rotate?: FunctionMaybe<number | string | "auto" | "auto-reverse" | RemoveAttribute>;
2482
2482
  }
2483
2483
  interface AnimateTransformSVGAttributes<T>
2484
- extends AnimationElementSVGAttributes<T>,
2484
+ extends
2485
+ AnimationElementSVGAttributes<T>,
2485
2486
  AnimationAttributeTargetSVGAttributes,
2486
2487
  AnimationTimingSVGAttributes,
2487
2488
  AnimationValueSVGAttributes,
@@ -2489,7 +2490,8 @@ export namespace JSX {
2489
2490
  type?: FunctionMaybe<"translate" | "scale" | "rotate" | "skewX" | "skewY" | RemoveAttribute>;
2490
2491
  }
2491
2492
  interface CircleSVGAttributes<T>
2492
- extends GraphicsElementSVGAttributes<T>,
2493
+ extends
2494
+ GraphicsElementSVGAttributes<T>,
2493
2495
  ShapeElementSVGAttributes<T>,
2494
2496
  ConditionalProcessingSVGAttributes,
2495
2497
  StylableSVGAttributes,
@@ -2500,7 +2502,8 @@ export namespace JSX {
2500
2502
  r?: FunctionMaybe<number | string | RemoveAttribute>;
2501
2503
  }
2502
2504
  interface ClipPathSVGAttributes<T>
2503
- extends SVGAttributes<T>,
2505
+ extends
2506
+ SVGAttributes<T>,
2504
2507
  ConditionalProcessingSVGAttributes,
2505
2508
  ExternalResourceSVGAttributes,
2506
2509
  StylableSVGAttributes,
@@ -2509,14 +2512,16 @@ export namespace JSX {
2509
2512
  clipPathUnits?: FunctionMaybe<SVGUnits | RemoveAttribute>;
2510
2513
  }
2511
2514
  interface DefsSVGAttributes<T>
2512
- extends ContainerElementSVGAttributes<T>,
2515
+ extends
2516
+ ContainerElementSVGAttributes<T>,
2513
2517
  ConditionalProcessingSVGAttributes,
2514
2518
  ExternalResourceSVGAttributes,
2515
2519
  StylableSVGAttributes,
2516
2520
  TransformableSVGAttributes {}
2517
2521
  interface DescSVGAttributes<T> extends SVGAttributes<T>, StylableSVGAttributes {}
2518
2522
  interface EllipseSVGAttributes<T>
2519
- extends GraphicsElementSVGAttributes<T>,
2523
+ extends
2524
+ GraphicsElementSVGAttributes<T>,
2520
2525
  ShapeElementSVGAttributes<T>,
2521
2526
  ConditionalProcessingSVGAttributes,
2522
2527
  ExternalResourceSVGAttributes,
@@ -2529,13 +2534,15 @@ export namespace JSX {
2529
2534
  ry?: FunctionMaybe<number | string | RemoveAttribute>;
2530
2535
  }
2531
2536
  interface FeBlendSVGAttributes<T>
2532
- extends FilterPrimitiveElementSVGAttributes<T>,
2537
+ extends
2538
+ FilterPrimitiveElementSVGAttributes<T>,
2533
2539
  DoubleInputFilterSVGAttributes,
2534
2540
  StylableSVGAttributes {
2535
2541
  mode?: FunctionMaybe<"normal" | "multiply" | "screen" | "darken" | "lighten" | RemoveAttribute>;
2536
2542
  }
2537
2543
  interface FeColorMatrixSVGAttributes<T>
2538
- extends FilterPrimitiveElementSVGAttributes<T>,
2544
+ extends
2545
+ FilterPrimitiveElementSVGAttributes<T>,
2539
2546
  SingleInputFilterSVGAttributes,
2540
2547
  StylableSVGAttributes {
2541
2548
  type?: FunctionMaybe<
@@ -2544,11 +2551,13 @@ export namespace JSX {
2544
2551
  values?: FunctionMaybe<string | RemoveAttribute>;
2545
2552
  }
2546
2553
  interface FeComponentTransferSVGAttributes<T>
2547
- extends FilterPrimitiveElementSVGAttributes<T>,
2554
+ extends
2555
+ FilterPrimitiveElementSVGAttributes<T>,
2548
2556
  SingleInputFilterSVGAttributes,
2549
2557
  StylableSVGAttributes {}
2550
2558
  interface FeCompositeSVGAttributes<T>
2551
- extends FilterPrimitiveElementSVGAttributes<T>,
2559
+ extends
2560
+ FilterPrimitiveElementSVGAttributes<T>,
2552
2561
  DoubleInputFilterSVGAttributes,
2553
2562
  StylableSVGAttributes {
2554
2563
  k1?: FunctionMaybe<number | string | RemoveAttribute>;
@@ -2560,7 +2569,8 @@ export namespace JSX {
2560
2569
  >;
2561
2570
  }
2562
2571
  interface FeConvolveMatrixSVGAttributes<T>
2563
- extends FilterPrimitiveElementSVGAttributes<T>,
2572
+ extends
2573
+ FilterPrimitiveElementSVGAttributes<T>,
2564
2574
  SingleInputFilterSVGAttributes,
2565
2575
  StylableSVGAttributes {
2566
2576
  bias?: FunctionMaybe<number | string | RemoveAttribute>;
@@ -2574,7 +2584,8 @@ export namespace JSX {
2574
2584
  targetY?: FunctionMaybe<number | string | RemoveAttribute>;
2575
2585
  }
2576
2586
  interface FeDiffuseLightingSVGAttributes<T>
2577
- extends FilterPrimitiveElementSVGAttributes<T>,
2587
+ extends
2588
+ FilterPrimitiveElementSVGAttributes<T>,
2578
2589
  SingleInputFilterSVGAttributes,
2579
2590
  StylableSVGAttributes,
2580
2591
  Pick<PresentationSVGAttributes, "color" | "lighting-color"> {
@@ -2583,7 +2594,8 @@ export namespace JSX {
2583
2594
  surfaceScale?: FunctionMaybe<number | string | RemoveAttribute>;
2584
2595
  }
2585
2596
  interface FeDisplacementMapSVGAttributes<T>
2586
- extends FilterPrimitiveElementSVGAttributes<T>,
2597
+ extends
2598
+ FilterPrimitiveElementSVGAttributes<T>,
2587
2599
  DoubleInputFilterSVGAttributes,
2588
2600
  StylableSVGAttributes {
2589
2601
  scale?: FunctionMaybe<number | string | RemoveAttribute>;
@@ -2595,7 +2607,8 @@ export namespace JSX {
2595
2607
  elevation?: FunctionMaybe<number | string | RemoveAttribute>;
2596
2608
  }
2597
2609
  interface FeDropShadowSVGAttributes<T>
2598
- extends SVGAttributes<T>,
2610
+ extends
2611
+ SVGAttributes<T>,
2599
2612
  FilterPrimitiveElementSVGAttributes<T>,
2600
2613
  StylableSVGAttributes,
2601
2614
  Pick<PresentationSVGAttributes, "color" | "flood-color" | "flood-opacity"> {
@@ -2604,7 +2617,8 @@ export namespace JSX {
2604
2617
  stdDeviation?: FunctionMaybe<number | string | RemoveAttribute>;
2605
2618
  }
2606
2619
  interface FeFloodSVGAttributes<T>
2607
- extends FilterPrimitiveElementSVGAttributes<T>,
2620
+ extends
2621
+ FilterPrimitiveElementSVGAttributes<T>,
2608
2622
  StylableSVGAttributes,
2609
2623
  Pick<PresentationSVGAttributes, "color" | "flood-color" | "flood-opacity"> {}
2610
2624
  interface FeFuncSVGAttributes<T> extends SVGAttributes<T> {
@@ -2617,31 +2631,34 @@ export namespace JSX {
2617
2631
  type?: FunctionMaybe<"identity" | "table" | "discrete" | "linear" | "gamma" | RemoveAttribute>;
2618
2632
  }
2619
2633
  interface FeGaussianBlurSVGAttributes<T>
2620
- extends FilterPrimitiveElementSVGAttributes<T>,
2634
+ extends
2635
+ FilterPrimitiveElementSVGAttributes<T>,
2621
2636
  SingleInputFilterSVGAttributes,
2622
2637
  StylableSVGAttributes {
2623
2638
  stdDeviation?: FunctionMaybe<number | string | RemoveAttribute>;
2624
2639
  }
2625
2640
  interface FeImageSVGAttributes<T>
2626
- extends FilterPrimitiveElementSVGAttributes<T>,
2641
+ extends
2642
+ FilterPrimitiveElementSVGAttributes<T>,
2627
2643
  ExternalResourceSVGAttributes,
2628
2644
  StylableSVGAttributes {
2629
2645
  href?: FunctionMaybe<string | RemoveAttribute>;
2630
2646
  preserveAspectRatio?: FunctionMaybe<SVGPreserveAspectRatio | RemoveAttribute>;
2631
2647
  }
2632
2648
  interface FeMergeSVGAttributes<T>
2633
- extends FilterPrimitiveElementSVGAttributes<T>,
2634
- StylableSVGAttributes {}
2649
+ extends FilterPrimitiveElementSVGAttributes<T>, StylableSVGAttributes {}
2635
2650
  interface FeMergeNodeSVGAttributes<T> extends SVGAttributes<T>, SingleInputFilterSVGAttributes {}
2636
2651
  interface FeMorphologySVGAttributes<T>
2637
- extends FilterPrimitiveElementSVGAttributes<T>,
2652
+ extends
2653
+ FilterPrimitiveElementSVGAttributes<T>,
2638
2654
  SingleInputFilterSVGAttributes,
2639
2655
  StylableSVGAttributes {
2640
2656
  operator?: FunctionMaybe<"erode" | "dilate" | RemoveAttribute>;
2641
2657
  radius?: FunctionMaybe<number | string | RemoveAttribute>;
2642
2658
  }
2643
2659
  interface FeOffsetSVGAttributes<T>
2644
- extends FilterPrimitiveElementSVGAttributes<T>,
2660
+ extends
2661
+ FilterPrimitiveElementSVGAttributes<T>,
2645
2662
  SingleInputFilterSVGAttributes,
2646
2663
  StylableSVGAttributes {
2647
2664
  dx?: FunctionMaybe<number | string | RemoveAttribute>;
@@ -2653,7 +2670,8 @@ export namespace JSX {
2653
2670
  z?: FunctionMaybe<number | string | RemoveAttribute>;
2654
2671
  }
2655
2672
  interface FeSpecularLightingSVGAttributes<T>
2656
- extends FilterPrimitiveElementSVGAttributes<T>,
2673
+ extends
2674
+ FilterPrimitiveElementSVGAttributes<T>,
2657
2675
  SingleInputFilterSVGAttributes,
2658
2676
  StylableSVGAttributes,
2659
2677
  Pick<PresentationSVGAttributes, "color" | "lighting-color"> {
@@ -2673,12 +2691,12 @@ export namespace JSX {
2673
2691
  z?: FunctionMaybe<number | string | RemoveAttribute>;
2674
2692
  }
2675
2693
  interface FeTileSVGAttributes<T>
2676
- extends FilterPrimitiveElementSVGAttributes<T>,
2694
+ extends
2695
+ FilterPrimitiveElementSVGAttributes<T>,
2677
2696
  SingleInputFilterSVGAttributes,
2678
2697
  StylableSVGAttributes {}
2679
2698
  interface FeTurbulanceSVGAttributes<T>
2680
- extends FilterPrimitiveElementSVGAttributes<T>,
2681
- StylableSVGAttributes {
2699
+ extends FilterPrimitiveElementSVGAttributes<T>, StylableSVGAttributes {
2682
2700
  baseFrequency?: FunctionMaybe<number | string | RemoveAttribute>;
2683
2701
  numOctaves?: FunctionMaybe<number | string | RemoveAttribute>;
2684
2702
  seed?: FunctionMaybe<number | string | RemoveAttribute>;
@@ -2686,9 +2704,7 @@ export namespace JSX {
2686
2704
  type?: FunctionMaybe<"fractalNoise" | "turbulence" | RemoveAttribute>;
2687
2705
  }
2688
2706
  interface FilterSVGAttributes<T>
2689
- extends SVGAttributes<T>,
2690
- ExternalResourceSVGAttributes,
2691
- StylableSVGAttributes {
2707
+ extends SVGAttributes<T>, ExternalResourceSVGAttributes, StylableSVGAttributes {
2692
2708
  filterRes?: FunctionMaybe<number | string | RemoveAttribute>;
2693
2709
  filterUnits?: FunctionMaybe<SVGUnits | RemoveAttribute>;
2694
2710
  height?: FunctionMaybe<number | string | RemoveAttribute>;
@@ -2698,7 +2714,8 @@ export namespace JSX {
2698
2714
  y?: FunctionMaybe<number | string | RemoveAttribute>;
2699
2715
  }
2700
2716
  interface ForeignObjectSVGAttributes<T>
2701
- extends NewViewportSVGAttributes<T>,
2717
+ extends
2718
+ NewViewportSVGAttributes<T>,
2702
2719
  ConditionalProcessingSVGAttributes,
2703
2720
  ExternalResourceSVGAttributes,
2704
2721
  StylableSVGAttributes,
@@ -2710,14 +2727,16 @@ export namespace JSX {
2710
2727
  y?: FunctionMaybe<number | string | RemoveAttribute>;
2711
2728
  }
2712
2729
  interface GSVGAttributes<T>
2713
- extends ContainerElementSVGAttributes<T>,
2730
+ extends
2731
+ ContainerElementSVGAttributes<T>,
2714
2732
  ConditionalProcessingSVGAttributes,
2715
2733
  ExternalResourceSVGAttributes,
2716
2734
  StylableSVGAttributes,
2717
2735
  TransformableSVGAttributes,
2718
2736
  Pick<PresentationSVGAttributes, "clip-path" | "display" | "visibility"> {}
2719
2737
  interface ImageSVGAttributes<T>
2720
- extends NewViewportSVGAttributes<T>,
2738
+ extends
2739
+ NewViewportSVGAttributes<T>,
2721
2740
  GraphicsElementSVGAttributes<T>,
2722
2741
  ConditionalProcessingSVGAttributes,
2723
2742
  StylableSVGAttributes,
@@ -2731,7 +2750,8 @@ export namespace JSX {
2731
2750
  y?: FunctionMaybe<number | string | RemoveAttribute>;
2732
2751
  }
2733
2752
  interface LineSVGAttributes<T>
2734
- extends GraphicsElementSVGAttributes<T>,
2753
+ extends
2754
+ GraphicsElementSVGAttributes<T>,
2735
2755
  ShapeElementSVGAttributes<T>,
2736
2756
  ConditionalProcessingSVGAttributes,
2737
2757
  ExternalResourceSVGAttributes,
@@ -2750,7 +2770,8 @@ export namespace JSX {
2750
2770
  y2?: FunctionMaybe<number | string | RemoveAttribute>;
2751
2771
  }
2752
2772
  interface MarkerSVGAttributes<T>
2753
- extends ContainerElementSVGAttributes<T>,
2773
+ extends
2774
+ ContainerElementSVGAttributes<T>,
2754
2775
  ExternalResourceSVGAttributes,
2755
2776
  StylableSVGAttributes,
2756
2777
  FitToViewBoxSVGAttributes,
@@ -2763,7 +2784,8 @@ export namespace JSX {
2763
2784
  refY?: FunctionMaybe<number | string | RemoveAttribute>;
2764
2785
  }
2765
2786
  interface MaskSVGAttributes<T>
2766
- extends Omit<ContainerElementSVGAttributes<T>, "opacity" | "filter">,
2787
+ extends
2788
+ Omit<ContainerElementSVGAttributes<T>, "opacity" | "filter">,
2767
2789
  ConditionalProcessingSVGAttributes,
2768
2790
  ExternalResourceSVGAttributes,
2769
2791
  StylableSVGAttributes,
@@ -2778,7 +2800,8 @@ export namespace JSX {
2778
2800
  interface MetadataSVGAttributes<T> extends SVGAttributes<T> {}
2779
2801
  interface MPathSVGAttributes<T> extends SVGAttributes<T> {}
2780
2802
  interface PathSVGAttributes<T>
2781
- extends GraphicsElementSVGAttributes<T>,
2803
+ extends
2804
+ GraphicsElementSVGAttributes<T>,
2782
2805
  ShapeElementSVGAttributes<T>,
2783
2806
  ConditionalProcessingSVGAttributes,
2784
2807
  ExternalResourceSVGAttributes,
@@ -2789,7 +2812,8 @@ export namespace JSX {
2789
2812
  pathLength?: FunctionMaybe<number | string | RemoveAttribute>;
2790
2813
  }
2791
2814
  interface PatternSVGAttributes<T>
2792
- extends ContainerElementSVGAttributes<T>,
2815
+ extends
2816
+ ContainerElementSVGAttributes<T>,
2793
2817
  ConditionalProcessingSVGAttributes,
2794
2818
  ExternalResourceSVGAttributes,
2795
2819
  StylableSVGAttributes,
@@ -2805,7 +2829,8 @@ export namespace JSX {
2805
2829
  y?: FunctionMaybe<number | string | RemoveAttribute>;
2806
2830
  }
2807
2831
  interface PolygonSVGAttributes<T>
2808
- extends GraphicsElementSVGAttributes<T>,
2832
+ extends
2833
+ GraphicsElementSVGAttributes<T>,
2809
2834
  ShapeElementSVGAttributes<T>,
2810
2835
  ConditionalProcessingSVGAttributes,
2811
2836
  ExternalResourceSVGAttributes,
@@ -2815,7 +2840,8 @@ export namespace JSX {
2815
2840
  points?: FunctionMaybe<string | RemoveAttribute>;
2816
2841
  }
2817
2842
  interface PolylineSVGAttributes<T>
2818
- extends GraphicsElementSVGAttributes<T>,
2843
+ extends
2844
+ GraphicsElementSVGAttributes<T>,
2819
2845
  ShapeElementSVGAttributes<T>,
2820
2846
  ConditionalProcessingSVGAttributes,
2821
2847
  ExternalResourceSVGAttributes,
@@ -2832,7 +2858,8 @@ export namespace JSX {
2832
2858
  r?: FunctionMaybe<number | string | RemoveAttribute>;
2833
2859
  }
2834
2860
  interface RectSVGAttributes<T>
2835
- extends GraphicsElementSVGAttributes<T>,
2861
+ extends
2862
+ GraphicsElementSVGAttributes<T>,
2836
2863
  ShapeElementSVGAttributes<T>,
2837
2864
  ConditionalProcessingSVGAttributes,
2838
2865
  ExternalResourceSVGAttributes,
@@ -2847,17 +2874,17 @@ export namespace JSX {
2847
2874
  y?: FunctionMaybe<number | string | RemoveAttribute>;
2848
2875
  }
2849
2876
  interface SetSVGAttributes<T>
2850
- extends AnimationElementSVGAttributes<T>,
2851
- StylableSVGAttributes,
2852
- AnimationTimingSVGAttributes {}
2877
+ extends AnimationElementSVGAttributes<T>, StylableSVGAttributes, AnimationTimingSVGAttributes {}
2853
2878
  interface StopSVGAttributes<T>
2854
- extends SVGAttributes<T>,
2879
+ extends
2880
+ SVGAttributes<T>,
2855
2881
  StylableSVGAttributes,
2856
2882
  Pick<PresentationSVGAttributes, "color" | "stop-color" | "stop-opacity"> {
2857
2883
  offset?: FunctionMaybe<number | string | RemoveAttribute>;
2858
2884
  }
2859
2885
  interface SvgSVGAttributes<T>
2860
- extends ContainerElementSVGAttributes<T>,
2886
+ extends
2887
+ ContainerElementSVGAttributes<T>,
2861
2888
  NewViewportSVGAttributes<T>,
2862
2889
  ConditionalProcessingSVGAttributes,
2863
2890
  ExternalResourceSVGAttributes,
@@ -2880,14 +2907,16 @@ export namespace JSX {
2880
2907
  version?: FunctionMaybe<string | RemoveAttribute>;
2881
2908
  }
2882
2909
  interface SwitchSVGAttributes<T>
2883
- extends ContainerElementSVGAttributes<T>,
2910
+ extends
2911
+ ContainerElementSVGAttributes<T>,
2884
2912
  ConditionalProcessingSVGAttributes,
2885
2913
  ExternalResourceSVGAttributes,
2886
2914
  StylableSVGAttributes,
2887
2915
  TransformableSVGAttributes,
2888
2916
  Pick<PresentationSVGAttributes, "display" | "visibility"> {}
2889
2917
  interface SymbolSVGAttributes<T>
2890
- extends ContainerElementSVGAttributes<T>,
2918
+ extends
2919
+ ContainerElementSVGAttributes<T>,
2891
2920
  NewViewportSVGAttributes<T>,
2892
2921
  ExternalResourceSVGAttributes,
2893
2922
  StylableSVGAttributes,
@@ -2903,7 +2932,8 @@ export namespace JSX {
2903
2932
  y?: FunctionMaybe<number | string | RemoveAttribute>;
2904
2933
  }
2905
2934
  interface TextSVGAttributes<T>
2906
- extends TextContentElementSVGAttributes<T>,
2935
+ extends
2936
+ TextContentElementSVGAttributes<T>,
2907
2937
  GraphicsElementSVGAttributes<T>,
2908
2938
  ConditionalProcessingSVGAttributes,
2909
2939
  ExternalResourceSVGAttributes,
@@ -2919,7 +2949,8 @@ export namespace JSX {
2919
2949
  y?: FunctionMaybe<number | string | RemoveAttribute>;
2920
2950
  }
2921
2951
  interface TextPathSVGAttributes<T>
2922
- extends TextContentElementSVGAttributes<T>,
2952
+ extends
2953
+ TextContentElementSVGAttributes<T>,
2923
2954
  ConditionalProcessingSVGAttributes,
2924
2955
  ExternalResourceSVGAttributes,
2925
2956
  StylableSVGAttributes,
@@ -2933,7 +2964,8 @@ export namespace JSX {
2933
2964
  startOffset?: FunctionMaybe<number | string | RemoveAttribute>;
2934
2965
  }
2935
2966
  interface TSpanSVGAttributes<T>
2936
- extends TextContentElementSVGAttributes<T>,
2967
+ extends
2968
+ TextContentElementSVGAttributes<T>,
2937
2969
  ConditionalProcessingSVGAttributes,
2938
2970
  ExternalResourceSVGAttributes,
2939
2971
  StylableSVGAttributes,
@@ -2951,7 +2983,8 @@ export namespace JSX {
2951
2983
  }
2952
2984
  /** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/use */
2953
2985
  interface UseSVGAttributes<T>
2954
- extends SVGAttributes<T>,
2986
+ extends
2987
+ SVGAttributes<T>,
2955
2988
  StylableSVGAttributes,
2956
2989
  ConditionalProcessingSVGAttributes,
2957
2990
  GraphicsElementSVGAttributes<T>,
@@ -2965,7 +2998,8 @@ export namespace JSX {
2965
2998
  y?: FunctionMaybe<number | string | RemoveAttribute>;
2966
2999
  }
2967
3000
  interface ViewSVGAttributes<T>
2968
- extends SVGAttributes<T>,
3001
+ extends
3002
+ SVGAttributes<T>,
2969
3003
  ExternalResourceSVGAttributes,
2970
3004
  FitToViewBoxSVGAttributes,
2971
3005
  ZoomAndPanSVGAttributes {
@@ -4270,8 +4304,5 @@ export namespace JSX {
4270
4304
  }
4271
4305
 
4272
4306
  interface IntrinsicElements
4273
- extends HTMLElementTags,
4274
- HTMLElementDeprecatedTags,
4275
- SVGElementTags,
4276
- MathMLElementTags {}
4307
+ extends HTMLElementTags, HTMLElementDeprecatedTags, SVGElementTags, MathMLElementTags {}
4277
4308
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@solidjs/h",
3
3
  "description": "A standard (less-optimal) JSX factory for Solid",
4
- "version": "2.0.0-beta.7",
4
+ "version": "2.0.0-beta.8",
5
5
  "author": "Ryan Carniato",
6
6
  "license": "MIT",
7
7
  "homepage": "https://solidjs.com",
@@ -62,10 +62,10 @@
62
62
  "./types/*": "./types/*"
63
63
  },
64
64
  "peerDependencies": {
65
- "@solidjs/web": "^2.0.0-beta.7"
65
+ "@solidjs/web": "^2.0.0-beta.8"
66
66
  },
67
67
  "devDependencies": {
68
- "@solidjs/web": "2.0.0-beta.7"
68
+ "@solidjs/web": "2.0.0-beta.8"
69
69
  },
70
70
  "scripts": {
71
71
  "build": "npm-run-all -nl build:*",