marko 6.0.17 → 6.0.18

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/tags-html.d.ts CHANGED
@@ -122,6 +122,107 @@ declare global {
122
122
  var: NativeTag<Marko.HTML.Var, HTMLElement>;
123
123
  video: NativeTag<Marko.HTML.Video, HTMLVideoElement>;
124
124
  wbr: NativeTag<Marko.HTML.WBr, HTMLElement>;
125
+
126
+ animate: NativeTag<Marko.SVG.Animate, SVGAnimateElement>;
127
+ animateMotion: NativeTag<
128
+ Marko.SVG.AnimateMotion,
129
+ SVGAnimateMotionElement
130
+ >;
131
+ animateTransform: NativeTag<
132
+ Marko.SVG.AnimateTransform,
133
+ SVGAnimateTransformElement
134
+ >;
135
+ circle: NativeTag<Marko.SVG.Circle, SVGCircleElement>;
136
+ clipPath: NativeTag<Marko.SVG.ClipPath, SVGClipPathElement>;
137
+ defs: NativeTag<Marko.SVG.Defs, SVGDefsElement>;
138
+ desc: NativeTag<Marko.SVG.Desc, SVGDescElement>;
139
+ discard: NativeTag<Marko.SVG.Discard, SVGElement>;
140
+ ellipse: NativeTag<Marko.SVG.Ellipse, SVGEllipseElement>;
141
+ feBlend: NativeTag<Marko.SVG.FEBlend, SVGFEBlendElement>;
142
+ feColorMatrix: NativeTag<
143
+ Marko.SVG.FEColorMatrix,
144
+ SVGFEColorMatrixElement
145
+ >;
146
+ feComponentTransfer: NativeTag<
147
+ Marko.SVG.FEComponentTransfer,
148
+ SVGFEComponentTransferElement
149
+ >;
150
+ feComposite: NativeTag<Marko.SVG.FEComposite, SVGFECompositeElement>;
151
+ feConvolveMatrix: NativeTag<
152
+ Marko.SVG.FEConvolveMatrix,
153
+ SVGFEConvolveMatrixElement
154
+ >;
155
+ feDiffuseLighting: NativeTag<
156
+ Marko.SVG.FEDiffuseLighting,
157
+ SVGFEDiffuseLightingElement
158
+ >;
159
+ feDisplacementMap: NativeTag<
160
+ Marko.SVG.FEDisplacementMap,
161
+ SVGFEDisplacementMapElement
162
+ >;
163
+ feDistantLight: NativeTag<
164
+ Marko.SVG.FEDistantLight,
165
+ SVGFEDistantLightElement
166
+ >;
167
+ feDropShadow: NativeTag<Marko.SVG.FEDropShadow, SVGFEDropShadowElement>;
168
+ feFlood: NativeTag<Marko.SVG.FEFlood, SVGFEFloodElement>;
169
+ feFuncA: NativeTag<Marko.SVG.FEFuncA, SVGFEFuncAElement>;
170
+ feFuncB: NativeTag<Marko.SVG.FEFuncB, SVGFEFuncBElement>;
171
+ feFuncG: NativeTag<Marko.SVG.FEFuncG, SVGFEFuncGElement>;
172
+ feFuncR: NativeTag<Marko.SVG.FEFuncR, SVGFEFuncRElement>;
173
+ feGaussianBlur: NativeTag<
174
+ Marko.SVG.FEGaussianBlur,
175
+ SVGFEGaussianBlurElement
176
+ >;
177
+ feImage: NativeTag<Marko.SVG.FEImage, SVGFEImageElement>;
178
+ feMerge: NativeTag<Marko.SVG.FEMerge, SVGFEMergeElement>;
179
+ feMergeNode: NativeTag<Marko.SVG.FEMergeNode, SVGFEMergeNodeElement>;
180
+ feMorphology: NativeTag<Marko.SVG.FEMorphology, SVGFEMorphologyElement>;
181
+ feOffset: NativeTag<Marko.SVG.FEOffset, SVGFEOffsetElement>;
182
+ fePointLight: NativeTag<Marko.SVG.FEPointLight, SVGFEPointLightElement>;
183
+ feSpecularLighting: NativeTag<
184
+ Marko.SVG.FESpecularLighting,
185
+ SVGFESpecularLightingElement
186
+ >;
187
+ feSpotLight: NativeTag<Marko.SVG.FESpotLight, SVGFESpotLightElement>;
188
+ feTile: NativeTag<Marko.SVG.FETile, SVGFETileElement>;
189
+ feTurbulence: NativeTag<Marko.SVG.FETurbulence, SVGFETurbulenceElement>;
190
+ filter: NativeTag<Marko.SVG.Filter, SVGFilterElement>;
191
+ foreignObject: NativeTag<
192
+ Marko.SVG.ForeignObject,
193
+ SVGForeignObjectElement
194
+ >;
195
+ g: NativeTag<Marko.SVG.G, SVGGElement>;
196
+ image: NativeTag<Marko.SVG.Image, SVGImageElement>;
197
+ line: NativeTag<Marko.SVG.Line, SVGLineElement>;
198
+ linearGradient: NativeTag<
199
+ Marko.SVG.LinearGradient,
200
+ SVGLinearGradientElement
201
+ >;
202
+ marker: NativeTag<Marko.SVG.Marker, SVGMarkerElement>;
203
+ mask: NativeTag<Marko.SVG.Mask, SVGMaskElement>;
204
+ metadata: NativeTag<Marko.SVG.Metadata, SVGMetadataElement>;
205
+ mpath: NativeTag<Marko.SVG.MPath, SVGMPathElement>;
206
+ path: NativeTag<Marko.SVG.Path, SVGPathElement>;
207
+ pattern: NativeTag<Marko.SVG.Pattern, SVGPatternElement>;
208
+ polygon: NativeTag<Marko.SVG.Polygon, SVGPolygonElement>;
209
+ polyline: NativeTag<Marko.SVG.Polyline, SVGPolylineElement>;
210
+ radialGradient: NativeTag<
211
+ Marko.SVG.RadialGradient,
212
+ SVGRadialGradientElement
213
+ >;
214
+ rect: NativeTag<Marko.SVG.Rect, SVGRectElement>;
215
+ set: NativeTag<Marko.SVG.Set, SVGSetElement>;
216
+ stop: NativeTag<Marko.SVG.Stop, SVGStopElement>;
217
+ svg: NativeTag<Marko.SVG.SVG, SVGSVGElement>;
218
+ switch: NativeTag<Marko.SVG.Switch, SVGSwitchElement>;
219
+ symbol: NativeTag<Marko.SVG.Symbol, SVGSymbolElement>;
220
+ text: NativeTag<Marko.SVG.Text, SVGTextElement>;
221
+ textPath: NativeTag<Marko.SVG.TextPath, SVGTextPathElement>;
222
+ title: NativeTag<Marko.SVG.Title, SVGTitleElement>;
223
+ tspan: NativeTag<Marko.SVG.TSpan, SVGTSpanElement>;
224
+ use: NativeTag<Marko.SVG.Use, SVGUseElement>;
225
+ view: NativeTag<Marko.SVG.View, SVGViewElement>;
125
226
  }
126
227
 
127
228
  namespace CSS {
@@ -2395,212 +2496,1818 @@ declare global {
2395
2496
  interface WBr extends HTMLAttributes<HTMLElement> {}
2396
2497
  }
2397
2498
 
2398
- interface Directives {
2499
+ /**
2500
+ * Elements pulled from https://www.w3.org/TR/SVG2/eltindex.html and a few other spec sources
2501
+ */
2502
+ namespace SVG {
2399
2503
  /**
2400
- * Used to uniquely identify a tag within a template in order
2401
- * to get an element reference to it later.
2402
- *
2403
- * @see Marko.Component.getEl
2404
- * @see Marko.Component.getComponent
2504
+ * @see https://www.w3.org/TR/SVG2/linking.html#AElement
2405
2505
  */
2406
- key?: AttrString;
2506
+ interface A
2507
+ extends SVGCoreAttributes<SVGAElement>,
2508
+ SVGConditionalProcessingAttributes {
2509
+ /**
2510
+ * @see https://www.w3.org/TR/SVG2/linking.html#AElementHrefAttribute
2511
+ */
2512
+ href?: AttrString;
2407
2513
 
2408
- /**
2409
- * Tells Marko to avoid updating the element or its contents (excluding custom tags which may rerender independently).
2410
- */
2411
- "no-update"?: AttrBoolean;
2514
+ /**
2515
+ * @see https://www.w3.org/TR/SVG2/linking.html#AElementTargetAttribute
2516
+ */
2517
+ target?: AttrTarget;
2412
2518
 
2413
- /**
2414
- * Tells Marko to avoid updating an element's contents (excluding custom tags which may rerender independently). Used instead of no-update when runtime functionality is needed.
2415
- */
2416
- "no-update-if"?: AttrBoolean;
2519
+ /**
2520
+ * any value (if non-empty, value represents a suggested file name)
2521
+ * @see https://www.w3.org/TR/SVG2/linking.html#AElementDownloadAttribute
2522
+ */
2523
+ download?: AttrString;
2417
2524
 
2418
- /**
2419
- * Tells Marko to avoid updating an element's body.
2420
- */
2421
- "no-update-body"?: AttrBoolean;
2525
+ /**
2526
+ * space-separated valid non-empty URL tokens
2527
+ * @see https://www.w3.org/TR/SVG2/linking.html#AElementPingAttribute
2528
+ */
2529
+ ping?: HTML.A["ping"];
2422
2530
 
2423
- /**
2424
- * Tells Marko to avoid updating an element's body. Used instead of no-update-body when runtime functionality is needed.
2425
- * @see https://markojs.com/docs/syntax/#conditional-rendering
2426
- */
2427
- "no-update-body-if"?: AttrBoolean;
2428
- }
2531
+ /**
2532
+ * space-separated keyword tokens
2533
+ * @see https://www.w3.org/TR/SVG2/linking.html#AElementRelAttribute
2534
+ */
2535
+ rel?: HTML.A["rel"];
2429
2536
 
2430
- interface HTMLAttributes<T extends Element = Element>
2431
- extends AriaAttributes {
2432
- /**
2433
- * Specifies a keyboard shortcut to activate or focus on an element.
2434
- * @see https://html.spec.whatwg.org/multipage/interaction.html#the-accesskey-attribute
2435
- */
2436
- accesskey?: AttrString;
2537
+ /**
2538
+ * @see https://www.w3.org/TR/SVG2/linking.html#AElementHreflangAttribute
2539
+ */
2540
+ hreflang?: HTML.A["hreflang"];
2437
2541
 
2438
- /**
2439
- * Controls the capitalization behavior of user input.
2440
- * @see https://html.spec.whatwg.org/multipage/interaction.html#attr-autocapitalize
2441
- */
2442
- autocapitalize?:
2443
- | AttrOnOff
2444
- | "characters"
2445
- | "none"
2446
- | "sentences"
2447
- | "words";
2542
+ /**
2543
+ * A MIME type string
2544
+ * @see https://www.w3.org/TR/SVG2/linking.html#AElementTypeAttribute
2545
+ */
2546
+ type?: HTML.A["type"];
2448
2547
 
2449
- /**
2450
- * Indicates whether the element should automatically get focus when the page loads.
2451
- * @see https://html.spec.whatwg.org/multipage/interaction.html#the-autofocus-attribute
2452
- */
2453
- autofocus?: AttrBoolean;
2548
+ /**
2549
+ * @see https://www.w3.org/TR/SVG2/linking.html#AElementReferrerpolicyAttribute
2550
+ */
2551
+ referrerPolicy?: AttrReferrerPolicy;
2552
+ }
2454
2553
 
2455
2554
  /**
2456
- * Specifies a space-separated list of class names for an element.
2457
- * @see https://markojs.com/docs/syntax/#class-attribute
2458
- * @see https://html.spec.whatwg.org/multipage/dom.html#classes
2555
+ * @see https://svgwg.org/specs/animations/#AnimateElement
2459
2556
  */
2460
- class?: AttrClass;
2557
+ interface Animate
2558
+ extends SVGCoreAttributes<SVGAnimateElement>,
2559
+ SVGAnimationAdditionAttributes,
2560
+ SVGAnimationTargetElementAttributes,
2561
+ SVGAnimationAttributeTargetAttributes,
2562
+ SVGAnimationTimingAttributes,
2563
+ SVGAnimationValueAttributes {}
2461
2564
 
2462
2565
  /**
2463
- * Specifies whether the content of an element is editable or not.
2464
- * @see https://html.spec.whatwg.org/multipage/interaction.html#attr-contenteditable
2566
+ * @see https://svgwg.org/specs/animations/#AnimateMotionElement
2465
2567
  */
2466
- contenteditable?: AttrBooleanString | "plaintext-only";
2568
+ interface AnimateMotion
2569
+ extends SVGCoreAttributes<SVGAnimateMotionElement>,
2570
+ SVGAnimationAdditionAttributes,
2571
+ SVGAnimationTargetElementAttributes,
2572
+ SVGAnimationTimingAttributes,
2573
+ SVGAnimationValueAttributes {
2574
+ /**
2575
+ * @see https://svgwg.org/specs/animations/#AnimateMotionElementPathAttribute
2576
+ */
2577
+ path?: AttrString;
2467
2578
 
2468
- /**
2469
- * Specifies the ID of a context menu to show when the element is right-clicked.
2470
- * @see https://html.spec.whatwg.org/multipage/interaction.html#attr-contextmenu
2471
- */
2472
- contextmenu?: AttrString;
2579
+ /**
2580
+ * A semicolon-separated list of floating point values between 0 and 1
2581
+ * @see https://svgwg.org/specs/animations/#KeyPointsAttribute
2582
+ */
2583
+ keyPoints?: AttrString;
2473
2584
 
2474
- /**
2475
- * Specifies the text direction for the content of an element.
2476
- * @see https://html.spec.whatwg.org/multipage/dom.html#the-dir-attribute
2477
- */
2478
- dir?: AttrMissing | "ltr" | "rtl" | "auto";
2585
+ /**
2586
+ * @see https://svgwg.org/specs/animations/#RotateAttribute
2587
+ */
2588
+ rotate?: AttrMissing | number | "auto" | "auto-reverse" | (string & {});
2479
2589
 
2480
- /**
2481
- * Specifies whether an element is draggable or not.
2482
- * @see https://html.spec.whatwg.org/multipage/dnd.html#the-draggable-attribute
2483
- */
2484
- draggable?: AttrBooleanString;
2590
+ /**
2591
+ * @see https://svgwg.org/specs/animations/#OriginAttribute
2592
+ */
2593
+ origin?: AttrMissing | "default";
2594
+ }
2485
2595
 
2486
2596
  /**
2487
- * A string used to identify the element for performance measurement purposes.
2488
- * @see https://wicg.github.io/element-timing/#sec-elements-exposed
2597
+ * @see https://svgwg.org/specs/animations/#AnimateTransformElement
2489
2598
  */
2490
- elementtiming?: AttrString;
2599
+ interface AnimateTransform
2600
+ extends SVGCoreAttributes<SVGAnimateTransformElement>,
2601
+ SVGAnimationAdditionAttributes,
2602
+ SVGAnimationTargetElementAttributes,
2603
+ SVGAnimationAttributeTargetAttributes,
2604
+ SVGAnimationTimingAttributes,
2605
+ SVGAnimationValueAttributes {
2606
+ /**
2607
+ * @see https://svgwg.org/specs/animations/#AnimateTransformElementTypeAttribute
2608
+ */
2609
+ type?:
2610
+ | AttrMissing
2611
+ | "translate"
2612
+ | "scale"
2613
+ | "rotate"
2614
+ | "skewX"
2615
+ | "skewY";
2616
+ }
2491
2617
 
2492
2618
  /**
2493
- * Provides a hint to the user agent about the type of action expected from the "Enter" key.
2494
- * @see https://html.spec.whatwg.org/multipage/interaction.html#attr-enterkeyhint
2619
+ * @see https://www.w3.org/TR/SVG2/shapes.html#CircleElement
2495
2620
  */
2496
- enterkeyhint?:
2497
- | AttrMissing
2498
- | "enter"
2499
- | "done"
2500
- | "go"
2501
- | "next"
2502
- | "previous"
2503
- | "search"
2504
- | "send";
2621
+ interface Circle
2622
+ extends SVGCoreAttributes<SVGCircleElement>,
2623
+ SVGConditionalProcessingAttributes {
2624
+ /**
2625
+ * @see https://www.w3.org/TR/SVG2/paths.html#PathLengthAttribute
2626
+ */
2627
+ pathLength?: AttrStringOrNumber;
2505
2628
 
2506
- /**
2507
- * Specifies a list of part names for the element that are available for CSS ::part() selector.
2508
- * @see https://drafts.csswg.org/css-shadow-parts-1/#exportparts-attribute
2509
- */
2510
- exportparts?: AttrString;
2629
+ /**
2630
+ * @see https://www.w3.org/TR/SVG2/geometry.html#CxProperty
2631
+ */
2632
+ cx?: AttrStringOrNumber;
2511
2633
 
2512
- /**
2513
- * Indicates whether the element should be hidden from rendering or not.
2514
- * @see https://html.spec.whatwg.org/multipage/interaction.html#the-hidden-attribute
2515
- */
2516
- hidden?: AttrBoolean | "until-found";
2634
+ /**
2635
+ * @see https://www.w3.org/TR/SVG2/geometry.html#CyProperty
2636
+ */
2637
+ cy?: AttrStringOrNumber;
2517
2638
 
2518
- /**
2519
- * Specifies a unique identifier for the element within the document.
2520
- * @see https://html.spec.whatwg.org/multipage/dom.html#the-id-attribute
2521
- */
2522
- id?: AttrString;
2639
+ /**
2640
+ * @see https://www.w3.org/TR/SVG2/geometry.html#RProperty
2641
+ */
2642
+ r?: AttrStringOrNumber;
2643
+ }
2523
2644
 
2524
2645
  /**
2525
- * Specifies whether an element should be inert or not, preventing user interaction and making it non-focusable.
2526
- * @see https://html.spec.whatwg.org/multipage/interaction.html#inert-subtrees
2646
+ * @see https://www.w3.org/TR/css-masking-1/#elementdef-clippath
2527
2647
  */
2528
- inert?: AttrBoolean;
2648
+ interface ClipPath
2649
+ extends SVGCoreAttributes<SVGClipPathElement>,
2650
+ SVGConditionalProcessingAttributes {
2651
+ /**
2652
+ * @see https://www.w3.org/TR/2011/REC-SVG11-20110816/struct.html#ExternalResourcesRequiredAttribute
2653
+ */
2654
+ externalResourcesRequired?: AttrBooleanString;
2529
2655
 
2530
- /**
2531
- * Provides a hint to the user agent about the type of virtual keyboard to display for text input.
2532
- * @see https://html.spec.whatwg.org/multipage/interaction.html#attr-inputmode
2533
- */
2534
- inputmode?:
2535
- | AttrMissing
2536
- | "decimal"
2537
- | "email"
2538
- | "none"
2539
- | "numeric"
2540
- | "search"
2541
- | "tel"
2542
- | "text"
2543
- | "url";
2656
+ /**
2657
+ * @see https://www.w3.org/TR/2011/REC-SVG11-20110816/coords.html#TransformAttribute
2658
+ */
2659
+ transform?: AttrString;
2544
2660
 
2545
- /**
2546
- * Specifies the name of a custom element to use as a replacement for the standard built-in element.
2547
- * @see https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is
2548
- */
2549
- is?: AttrString;
2661
+ /**
2662
+ * @see https://www.w3.org/TR/css-masking-1/#element-attrdef-clippath-clippathunits
2663
+ */
2664
+ clipPathUnits?: AttrMissing | "userSpaceOnUse" | "objectBoundingBox";
2665
+ }
2550
2666
 
2551
2667
  /**
2552
- * Specifies a globally unique identifier (URI) for the element in the context of microdata.
2553
- * @see https://html.spec.whatwg.org/multipage/microdata.html#attr-itemid
2668
+ * @see https://www.w3.org/TR/SVG2/struct.html#DefsElement
2554
2669
  */
2555
- itemid?: AttrString;
2670
+ interface Defs extends SVGCoreAttributes<SVGDefsElement> {}
2556
2671
 
2557
2672
  /**
2558
- * Specifies a list of one or more property names for the element in the context of microdata.
2559
- * @see https://html.spec.whatwg.org/multipage/microdata.html#attr-itemprop
2673
+ * @see https://www.w3.org/TR/SVG2/struct.html#DescElement
2560
2674
  */
2561
- itemprop?: AttrString;
2675
+ interface Desc extends SVGCoreAttributes<SVGDescElement> {}
2562
2676
 
2563
2677
  /**
2564
- * Specifies a list of IDs of elements that contain additional properties for the item in the context of microdata.
2565
- * @see https://html.spec.whatwg.org/multipage/microdata.html#attr-itemref
2678
+ * @see https://svgwg.org/specs/animations/#DiscardElement
2566
2679
  */
2567
- itemref?: AttrString;
2680
+ interface Discard
2681
+ extends SVGCoreAttributes<SVGElement>,
2682
+ SVGConditionalProcessingAttributes {
2683
+ /**
2684
+ * @see https://svgwg.org/specs/animations/#DiscardElementBeginAttribute
2685
+ */
2686
+ begin?: AttrString;
2568
2687
 
2569
- /**
2570
- * Specifies that the element is a microdata item, representing a single entity or concept.
2571
- * @see https://html.spec.whatwg.org/multipage/microdata.html#attr-itemscope
2572
- */
2573
- itemscope?: AttrBoolean;
2688
+ /**
2689
+ * @see https://svgwg.org/specs/animations/#DiscardElementHrefAttribute
2690
+ */
2691
+ href?: AttrString;
2692
+ }
2574
2693
 
2575
2694
  /**
2576
- * Specifies the type of item represented by the element using a vocabulary URL in the context of microdata.
2577
- * @see https://html.spec.whatwg.org/multipage/microdata.html#attr-itemtype
2695
+ * @see https://www.w3.org/TR/SVG2/shapes.html#EllipseElement
2578
2696
  */
2579
- itemtype?: AttrString;
2697
+ interface Ellipse
2698
+ extends SVGCoreAttributes<SVGEllipseElement>,
2699
+ SVGConditionalProcessingAttributes {
2700
+ /**
2701
+ * @see https://www.w3.org/TR/SVG2/paths.html#PathLengthAttribute
2702
+ */
2703
+ pathLength?: AttrStringOrNumber;
2580
2704
 
2581
- /**
2582
- * Specifies the primary language for the element's contents and for any child elements.
2583
- * @see https://html.spec.whatwg.org/multipage/dom.html#attr-lang
2584
- */
2585
- lang?: AttrString;
2705
+ /**
2706
+ * @see https://www.w3.org/TR/SVG2/geometry.html#CxProperty
2707
+ */
2708
+ cx?: AttrStringOrNumber;
2709
+
2710
+ /**
2711
+ * @see https://www.w3.org/TR/SVG2/geometry.html#CyProperty
2712
+ */
2713
+ cy?: AttrStringOrNumber;
2714
+
2715
+ /**
2716
+ * @see https://www.w3.org/TR/SVG2/geometry.html#RxProperty
2717
+ */
2718
+ rx?: AttrStringOrNumber;
2719
+
2720
+ /**
2721
+ * @see https://www.w3.org/TR/SVG2/geometry.html#RyProperty
2722
+ */
2723
+ ry?: AttrStringOrNumber;
2724
+ }
2586
2725
 
2587
2726
  /**
2588
- * Specifies a cryptographic nonce (number used once) for content within a script or style element.
2589
- * @see https://html.spec.whatwg.org/multipage/urls-and-fetching.html#attr-nonce
2727
+ * @see https://www.w3.org/TR/filter-effects-1/#elementdef-feblend
2590
2728
  */
2591
- nonce?: AttrString;
2729
+ interface FEBlend
2730
+ extends SVGCoreAttributes<SVGFEBlendElement>,
2731
+ SVGFilterPrimitiveAttributes {
2732
+ /**
2733
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-in
2734
+ */
2735
+ in?: AttrFEIn;
2736
+
2737
+ /**
2738
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-in
2739
+ */
2740
+ in2?: AttrFEIn;
2741
+
2742
+ /**
2743
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-feblend-mode
2744
+ */
2745
+ mode?: AttrBlendMode;
2746
+ }
2592
2747
 
2593
2748
  /**
2594
- * Specifies that the element won't be rendered until it becomes shown, at which point it will be rendered on top of other page content.
2595
- * @see https://html.spec.whatwg.org/multipage/popover.html#attr-popover
2749
+ * @see https://www.w3.org/TR/filter-effects-1/#elementdef-fecolormatrix
2596
2750
  */
2597
- popover?: AttrBoolean | "auto" | "manual";
2751
+ interface FEColorMatrix
2752
+ extends SVGCoreAttributes<SVGFEColorMatrixElement>,
2753
+ SVGFilterPrimitiveAttributes {
2754
+ /**
2755
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-in
2756
+ */
2757
+ in?: AttrFEIn;
2758
+
2759
+ /**
2760
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fecolormatrix-type
2761
+ */
2762
+ type?:
2763
+ | AttrMissing
2764
+ | "matrix"
2765
+ | "saturate"
2766
+ | "hueRotate"
2767
+ | "luminanceToAlpha";
2768
+
2769
+ /**
2770
+ * A list of numbers
2771
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fecolormatrix-values
2772
+ */
2773
+ values?: AttrStringOrNumber;
2774
+ }
2598
2775
 
2599
2776
  /**
2600
- * Specifies a list of part names for the element that can be targeted by the ::part() CSS pseudo-element.
2601
- * @see https://drafts.csswg.org/css-shadow-parts-1/#part-attribute
2777
+ * @see https://www.w3.org/TR/filter-effects-1/#elementdef-fecomponenttransfer
2602
2778
  */
2603
- part?: AttrString;
2779
+ interface FEComponentTransfer
2780
+ extends SVGCoreAttributes<SVGFEComponentTransferElement>,
2781
+ SVGFilterPrimitiveAttributes {
2782
+ /**
2783
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-in
2784
+ */
2785
+ in?: AttrFEIn;
2786
+ }
2787
+
2788
+ /**
2789
+ * @see https://www.w3.org/TR/filter-effects-1/#elementdef-fecomposite
2790
+ */
2791
+ interface FEComposite
2792
+ extends SVGCoreAttributes<SVGFECompositeElement>,
2793
+ SVGFilterPrimitiveAttributes {
2794
+ /**
2795
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-in
2796
+ */
2797
+ in?: AttrFEIn;
2798
+
2799
+ /**
2800
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-in
2801
+ */
2802
+ in2?: AttrFEIn;
2803
+
2804
+ /**
2805
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fecomposite-operator
2806
+ */
2807
+ operator?:
2808
+ | AttrMissing
2809
+ | "over"
2810
+ | "in"
2811
+ | "out"
2812
+ | "atop"
2813
+ | "xor"
2814
+ | "lighter"
2815
+ | "arithmetic";
2816
+
2817
+ /**
2818
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fecomposite-k1
2819
+ */
2820
+ k1?: AttrStringOrNumber;
2821
+
2822
+ /**
2823
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fecomposite-k2
2824
+ */
2825
+ k2?: AttrStringOrNumber;
2826
+
2827
+ /**
2828
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fecomposite-k3
2829
+ */
2830
+ k3?: AttrStringOrNumber;
2831
+
2832
+ /**
2833
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fecomposite-k4
2834
+ */
2835
+ k4?: AttrStringOrNumber;
2836
+ }
2837
+
2838
+ /**
2839
+ * @see https://www.w3.org/TR/filter-effects-1/#elementdef-feconvolvematrix
2840
+ */
2841
+ interface FEConvolveMatrix
2842
+ extends SVGCoreAttributes<SVGFEConvolveMatrixElement>,
2843
+ SVGFilterPrimitiveAttributes {
2844
+ /**
2845
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-in
2846
+ */
2847
+ in?: AttrFEIn;
2848
+
2849
+ /**
2850
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-order
2851
+ */
2852
+ order?: AttrStringOrNumber;
2853
+
2854
+ /**
2855
+ * List of numbers
2856
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-feconvolvematrix-kernelmatrix
2857
+ */
2858
+ kernelMatrix?: AttrStringOrNumber;
2859
+
2860
+ /**
2861
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-feconvolvematrix-divisor
2862
+ */
2863
+ divisor?: AttrStringOrNumber;
2864
+
2865
+ /**
2866
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-feconvolvematrix-bias
2867
+ */
2868
+ bias?: AttrStringOrNumber;
2869
+
2870
+ /**
2871
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-feconvolvematrix-targetx
2872
+ */
2873
+ targetX?: AttrStringOrNumber;
2874
+
2875
+ /**
2876
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-feconvolvematrix-targety
2877
+ */
2878
+ targetY?: AttrStringOrNumber;
2879
+
2880
+ /**
2881
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-feconvolvematrix-edgemode
2882
+ */
2883
+ edgeMode?: AttrMissing | "duplicate" | "wrap" | "none";
2884
+
2885
+ /**
2886
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-feconvolvematrix-kernelunitlength
2887
+ */
2888
+ kernelUnitLength?: AttrStringOrNumber;
2889
+
2890
+ /**
2891
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-feconvolvematrix-preservealpha
2892
+ */
2893
+ preserveAlpha?: AttrBooleanString;
2894
+ }
2895
+
2896
+ /**
2897
+ * @see https://www.w3.org/TR/filter-effects-1/#elementdef-fediffuselighting
2898
+ */
2899
+ interface FEDiffuseLighting
2900
+ extends SVGCoreAttributes<SVGFEDiffuseLightingElement>,
2901
+ SVGFilterPrimitiveAttributes {
2902
+ /**
2903
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-in
2904
+ */
2905
+ in?: AttrFEIn;
2906
+
2907
+ /**
2908
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fediffuselighting-surfacescale
2909
+ */
2910
+ surfaceScale?: AttrStringOrNumber;
2911
+
2912
+ /**
2913
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fediffuselighting-diffuseconstant
2914
+ */
2915
+ diffuseConstant?: AttrStringOrNumber;
2916
+
2917
+ /**
2918
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fediffuselighting-kernelunitlength
2919
+ */
2920
+ kernelUnitLength?: AttrStringOrNumber;
2921
+ }
2922
+
2923
+ /**
2924
+ * @see https://www.w3.org/TR/filter-effects-1/#elementdef-fedisplacementmap
2925
+ */
2926
+ interface FEDisplacementMap
2927
+ extends SVGCoreAttributes<SVGFEDisplacementMapElement>,
2928
+ SVGFilterPrimitiveAttributes {
2929
+ /**
2930
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-in
2931
+ */
2932
+ in?: AttrFEIn;
2933
+
2934
+ /**
2935
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-in
2936
+ */
2937
+ in2?: AttrFEIn;
2938
+
2939
+ /**
2940
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fedisplacementmap-scale
2941
+ */
2942
+ scale?: AttrStringOrNumber;
2943
+
2944
+ /**
2945
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fedisplacementmap-xchannelselector
2946
+ */
2947
+ xChannelSelector?: "R" | "G" | "B" | "A";
2948
+
2949
+ /**
2950
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fedisplacementmap-ychannelselector
2951
+ */
2952
+ yChannelSelector?: "R" | "G" | "B" | "A";
2953
+ }
2954
+
2955
+ /**
2956
+ * @see https://www.w3.org/TR/filter-effects-1/#elementdef-fedistantlight
2957
+ */
2958
+ interface FEDistantLight
2959
+ extends SVGCoreAttributes<SVGFEDistantLightElement>,
2960
+ SVGFilterPrimitiveAttributes {
2961
+ /**
2962
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-in
2963
+ */
2964
+ in?: AttrFEIn;
2965
+
2966
+ /**
2967
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fedistantlight-azimuth
2968
+ */
2969
+ azimuth?: AttrStringOrNumber;
2970
+
2971
+ /**
2972
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fedistantlight-elevation
2973
+ */
2974
+ elevation?: AttrStringOrNumber;
2975
+ }
2976
+
2977
+ /**
2978
+ * @see https://www.w3.org/TR/filter-effects-1/#elementdef-fedropshadow
2979
+ */
2980
+ interface FEDropShadow
2981
+ extends SVGCoreAttributes<SVGFEDropShadowElement>,
2982
+ SVGFilterPrimitiveAttributes {
2983
+ /**
2984
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-in
2985
+ */
2986
+ in?: AttrFEIn;
2987
+
2988
+ /**
2989
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fedropshadow-stddeviation
2990
+ */
2991
+ stdDeviation?: AttrStringOrNumber;
2992
+
2993
+ /**
2994
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fedropshadow-dx
2995
+ */
2996
+ dx?: AttrStringOrNumber;
2997
+
2998
+ /**
2999
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fedropshadow-dy
3000
+ */
3001
+ dy?: AttrStringOrNumber;
3002
+ }
3003
+
3004
+ /**
3005
+ * @see https://www.w3.org/TR/filter-effects-1/#elementdef-feflood
3006
+ */
3007
+ interface FEFlood
3008
+ extends SVGCoreAttributes<SVGFEFloodElement>,
3009
+ SVGFilterPrimitiveAttributes {}
3010
+
3011
+ /**
3012
+ * @see https://www.w3.org/TR/filter-effects-1/#elementdef-fefunca
3013
+ */
3014
+ interface FEFuncA
3015
+ extends SVGCoreAttributes<SVGFEFuncAElement>,
3016
+ SVGTransferFunctionElementAttributes {}
3017
+
3018
+ /**
3019
+ * @see https://www.w3.org/TR/filter-effects-1/#elementdef-fefuncb
3020
+ */
3021
+ interface FEFuncB
3022
+ extends SVGCoreAttributes<SVGFEFuncBElement>,
3023
+ SVGTransferFunctionElementAttributes {}
3024
+
3025
+ /**
3026
+ * @see https://www.w3.org/TR/filter-effects-1/#elementdef-fefuncg
3027
+ */
3028
+ interface FEFuncG
3029
+ extends SVGCoreAttributes<SVGFEFuncGElement>,
3030
+ SVGTransferFunctionElementAttributes {}
3031
+
3032
+ /**
3033
+ * @see https://www.w3.org/TR/filter-effects-1/#elementdef-fefuncr
3034
+ */
3035
+ interface FEFuncR
3036
+ extends SVGCoreAttributes<SVGFEFuncRElement>,
3037
+ SVGTransferFunctionElementAttributes {}
3038
+
3039
+ /**
3040
+ * @see https://www.w3.org/TR/filter-effects-1/#elementdef-fegaussianblur
3041
+ */
3042
+ interface FEGaussianBlur
3043
+ extends SVGCoreAttributes<SVGFEGaussianBlurElement>,
3044
+ SVGFilterPrimitiveAttributes {
3045
+ /**
3046
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-in
3047
+ */
3048
+ in?: AttrFEIn;
3049
+
3050
+ /**
3051
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fegaussianblur-stddeviation
3052
+ */
3053
+ stdDeviation?: AttrStringOrNumber;
3054
+
3055
+ /**
3056
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fegaussianblur-edgemode
3057
+ */
3058
+ edgeMode?: AttrMissing | "duplicate" | "wrap" | "none";
3059
+ }
3060
+
3061
+ /**
3062
+ * @see https://www.w3.org/TR/filter-effects-1/#elementdef-feimage
3063
+ */
3064
+ interface FEImage
3065
+ extends SVGCoreAttributes<SVGFEImageElement>,
3066
+ SVGFilterPrimitiveAttributes {
3067
+ /**
3068
+ * @see https://www.w3.org/TR/2011/REC-SVG11-20110816/struct.html#ExternalResourcesRequiredAttribute
3069
+ */
3070
+ externalResourcesRequired?: AttrBooleanString;
3071
+
3072
+ /**
3073
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-feimage-preserveaspectratio
3074
+ */
3075
+ preserveAspectRatio?: AttrPreserveAspectRatio;
3076
+
3077
+ /**
3078
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-feimage-crossorigin
3079
+ */
3080
+ crossorigin?: AttrMissing | "anonymous" | "use-credentials";
3081
+ }
3082
+
3083
+ /**
3084
+ * @see https://www.w3.org/TR/filter-effects-1/#elementdef-femerge
3085
+ */
3086
+ interface FEMerge
3087
+ extends SVGCoreAttributes<SVGFEMergeElement>,
3088
+ SVGFilterPrimitiveAttributes {}
3089
+
3090
+ /**
3091
+ * @see https://www.w3.org/TR/filter-effects-1/#elementdef-femergenode
3092
+ */
3093
+ interface FEMergeNode extends SVGCoreAttributes<SVGFEMergeNodeElement> {
3094
+ /**
3095
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-in
3096
+ */
3097
+ in?: AttrFEIn;
3098
+ }
3099
+
3100
+ /**
3101
+ * @see https://www.w3.org/TR/filter-effects-1/#elementdef-femorphology
3102
+ */
3103
+ interface FEMorphology extends SVGCoreAttributes<SVGFEMorphologyElement> {
3104
+ /**
3105
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-in
3106
+ */
3107
+ in?: AttrFEIn;
3108
+ }
3109
+
3110
+ /**
3111
+ * @see https://www.w3.org/TR/filter-effects-1/#elementdef-feoffset
3112
+ */
3113
+ interface FEOffset
3114
+ extends SVGCoreAttributes<SVGFEOffsetElement>,
3115
+ SVGFilterPrimitiveAttributes {
3116
+ /**
3117
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-in
3118
+ */
3119
+ in?: AttrFEIn;
3120
+
3121
+ /**
3122
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-femorphology-operator
3123
+ */
3124
+ operator?: AttrMissing | "erode" | "dilate";
3125
+
3126
+ /**
3127
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-femorphology-radius
3128
+ */
3129
+ radius?: AttrStringOrNumber;
3130
+ }
3131
+
3132
+ /**
3133
+ * @see https://www.w3.org/TR/filter-effects-1/#elementdef-fepointlight
3134
+ */
3135
+ interface FEPointLight extends SVGCoreAttributes<SVGFEPointLightElement> {
3136
+ /**
3137
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fepointlight-x
3138
+ */
3139
+ x?: AttrStringOrNumber;
3140
+
3141
+ /**
3142
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fepointlight-y
3143
+ */
3144
+ y?: AttrStringOrNumber;
3145
+
3146
+ /**
3147
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fepointlight-z
3148
+ */
3149
+ z?: AttrStringOrNumber;
3150
+ }
3151
+
3152
+ /**
3153
+ * @see https://www.w3.org/TR/filter-effects-1/#elementdef-fespecularlighting
3154
+ */
3155
+ interface FESpecularLighting
3156
+ extends SVGCoreAttributes<SVGFESpecularLightingElement>,
3157
+ SVGFilterPrimitiveAttributes {
3158
+ /**
3159
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-in
3160
+ */
3161
+ in?: AttrFEIn;
3162
+
3163
+ /**
3164
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fespecularlighting-surfacescale
3165
+ */
3166
+ surfaceScale?: AttrStringOrNumber;
3167
+
3168
+ /**
3169
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fespecularlighting-specularconstant
3170
+ */
3171
+ specularConstant?: AttrStringOrNumber;
3172
+
3173
+ /**
3174
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fespecularlighting-specularexponent
3175
+ */
3176
+ specularExponent?: AttrStringOrNumber;
3177
+
3178
+ /**
3179
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fespecularlighting-kernelunitlength
3180
+ */
3181
+ kernelUnitLength?: AttrStringOrNumber;
3182
+ }
3183
+
3184
+ /**
3185
+ * @see https://www.w3.org/TR/filter-effects-1/#elementdef-fespotlight
3186
+ */
3187
+ interface FESpotLight extends SVGCoreAttributes<SVGFESpotLightElement> {
3188
+ /**
3189
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fespotlight-x
3190
+ */
3191
+ x?: AttrStringOrNumber;
3192
+
3193
+ /**
3194
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fespotlight-y
3195
+ */
3196
+ y?: AttrStringOrNumber;
3197
+
3198
+ /**
3199
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fespotlight-z
3200
+ */
3201
+ z?: AttrStringOrNumber;
3202
+
3203
+ /**
3204
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fespotlight-pointsatx
3205
+ */
3206
+ pointsAtX?: AttrStringOrNumber;
3207
+
3208
+ /**
3209
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fespotlight-pointsaty
3210
+ */
3211
+ pointsAtY?: AttrStringOrNumber;
3212
+
3213
+ /**
3214
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fespotlight-pointsatz
3215
+ */
3216
+ pointsAtZ?: AttrStringOrNumber;
3217
+
3218
+ /**
3219
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fespotlight-specularexponent
3220
+ */
3221
+ specularExponent?: AttrStringOrNumber;
3222
+
3223
+ /**
3224
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fespotlight-limitingconeangle
3225
+ */
3226
+ limitingConeAngle?: AttrStringOrNumber;
3227
+ }
3228
+
3229
+ /**
3230
+ * @see https://www.w3.org/TR/filter-effects-1/#elementdef-fetile
3231
+ */
3232
+ interface FETile
3233
+ extends SVGCoreAttributes<SVGFETileElement>,
3234
+ SVGFilterPrimitiveAttributes {
3235
+ /**
3236
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-in
3237
+ */
3238
+ in?: AttrFEIn;
3239
+ }
3240
+
3241
+ /**
3242
+ * @see https://www.w3.org/TR/filter-effects-1/#elementdef-feturbulence
3243
+ */
3244
+ interface FETurbulence
3245
+ extends SVGCoreAttributes<SVGFETurbulenceElement>,
3246
+ SVGFilterPrimitiveAttributes {
3247
+ /**
3248
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-feturbulence-basefrequency
3249
+ */
3250
+ baseFrequency?: AttrStringOrNumber;
3251
+
3252
+ /**
3253
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-feturbulence-numoctaves
3254
+ */
3255
+ numOctaves?: AttrStringOrNumber;
3256
+
3257
+ /**
3258
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-feturbulence-seed
3259
+ */
3260
+ seed?: AttrStringOrNumber;
3261
+
3262
+ /**
3263
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-feturbulence-stitchtiles
3264
+ */
3265
+ stichTiles?: AttrMissing | "stitch" | "noStitch";
3266
+
3267
+ /**
3268
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-feturbulence-type
3269
+ */
3270
+ type?: AttrMissing | "fractalNoise" | "turbulence";
3271
+ }
3272
+
3273
+ /**
3274
+ * @see https://www.w3.org/TR/filter-effects-1/#elementdef-filter
3275
+ */
3276
+ interface Filter extends SVGCoreAttributes<SVGFilterElement> {
3277
+ /**
3278
+ * @see https://www.w3.org/TR/2011/REC-SVG11-20110816/struct.html#ExternalResourcesRequiredAttribute
3279
+ */
3280
+ externalResourcesRequired?: AttrBooleanString;
3281
+
3282
+ /**
3283
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-x
3284
+ */
3285
+ x?: AttrStringOrNumber;
3286
+
3287
+ /**
3288
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-y
3289
+ */
3290
+ y?: AttrStringOrNumber;
3291
+
3292
+ /**
3293
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-width
3294
+ */
3295
+ width?: AttrStringOrNumber;
3296
+
3297
+ /**
3298
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-height
3299
+ */
3300
+ height?: AttrStringOrNumber;
3301
+
3302
+ /**
3303
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-filterunits
3304
+ */
3305
+ filterUnits?: AttrMissing | "userSpaceOnUse" | "objectBoundingBox";
3306
+
3307
+ /**
3308
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitiveunits
3309
+ */
3310
+ primitiveUnits?: AttrMissing | "userSpaceOnUse" | "objectBoundingBox";
3311
+ }
3312
+
3313
+ /**
3314
+ * @see https://www.w3.org/TR/SVG2/embedded.html#ForeignObjectElement
3315
+ */
3316
+ interface ForeignObject
3317
+ extends SVGCoreAttributes<SVGForeignObjectElement>,
3318
+ SVGConditionalProcessingAttributes {
3319
+ /**
3320
+ * @see https://www.w3.org/TR/SVG2/geometry.html#XProperty
3321
+ */
3322
+ x?: AttrStringOrNumber;
3323
+
3324
+ /**
3325
+ * @see https://www.w3.org/TR/SVG2/geometry.html#YProperty
3326
+ */
3327
+ y?: AttrStringOrNumber;
3328
+
3329
+ /**
3330
+ * @see https://www.w3.org/TR/SVG2/geometry.html#Sizing
3331
+ */
3332
+ width?: AttrStringOrNumber;
3333
+
3334
+ /**
3335
+ * @see https://www.w3.org/TR/SVG2/geometry.html#Sizing
3336
+ */
3337
+ height?: AttrStringOrNumber;
3338
+ }
3339
+
3340
+ /**
3341
+ * @see https://www.w3.org/TR/SVG2/struct.html#GElement
3342
+ */
3343
+ interface G
3344
+ extends SVGCoreAttributes<SVGGElement>,
3345
+ SVGConditionalProcessingAttributes {}
3346
+
3347
+ /**
3348
+ * @see https://www.w3.org/TR/SVG2/embedded.html#ImageElement
3349
+ */
3350
+ interface Image
3351
+ extends SVGCoreAttributes<SVGImageElement>,
3352
+ SVGConditionalProcessingAttributes {
3353
+ /**
3354
+ * @see https://www.w3.org/TR/SVG2/coords.html#PreserveAspectRatioAttribute
3355
+ */
3356
+ preserveAspectRatio?: AttrPreserveAspectRatio;
3357
+
3358
+ /**
3359
+ * @see https://www.w3.org/TR/SVG2/embedded.html#ImageElementHrefAttribute
3360
+ */
3361
+ href?: AttrString;
3362
+
3363
+ /**
3364
+ * @see https://www.w3.org/TR/SVG2/embedded.html#ImageElementCrossoriginAttribute
3365
+ */
3366
+ crossorigin?: AttrMissing | "anonymous" | "use-credentials";
3367
+
3368
+ /**
3369
+ * @see https://www.w3.org/TR/SVG2/geometry.html#XProperty
3370
+ */
3371
+ x?: AttrStringOrNumber;
3372
+
3373
+ /**
3374
+ * @see https://www.w3.org/TR/SVG2/geometry.html#YProperty
3375
+ */
3376
+ y?: AttrStringOrNumber;
3377
+
3378
+ /**
3379
+ * @see https://www.w3.org/TR/SVG2/geometry.html#Sizing
3380
+ */
3381
+ width?: AttrStringOrNumber;
3382
+
3383
+ /**
3384
+ * @see https://www.w3.org/TR/SVG2/geometry.html#Sizing
3385
+ */
3386
+ height?: AttrStringOrNumber;
3387
+ }
3388
+
3389
+ /**
3390
+ * @see https://www.w3.org/TR/SVG2/shapes.html#LineElement
3391
+ */
3392
+ interface Line
3393
+ extends SVGCoreAttributes<SVGLineElement>,
3394
+ SVGConditionalProcessingAttributes {
3395
+ /**
3396
+ * @see https://www.w3.org/TR/SVG2/paths.html#PathLengthAttribute
3397
+ */
3398
+ pathLength?: AttrStringOrNumber;
3399
+
3400
+ /**
3401
+ * @see https://www.w3.org/TR/SVG2/shapes.html#LineElementX1Attribute
3402
+ */
3403
+ x1?: AttrStringOrNumber;
3404
+
3405
+ /**
3406
+ * @see https://www.w3.org/TR/SVG2/shapes.html#LineElementY1Attribute
3407
+ */
3408
+ y1?: AttrStringOrNumber;
3409
+
3410
+ /**
3411
+ * @see https://www.w3.org/TR/SVG2/shapes.html#LineElementX2Attribute
3412
+ */
3413
+ x2?: AttrStringOrNumber;
3414
+
3415
+ /**
3416
+ * @see https://www.w3.org/TR/SVG2/shapes.html#LineElementY2Attribute
3417
+ */
3418
+ y2?: AttrStringOrNumber;
3419
+ }
3420
+
3421
+ /**
3422
+ * @see https://www.w3.org/TR/SVG2/pservers.html#LinearGradientElement
3423
+ */
3424
+ interface LinearGradient
3425
+ extends SVGCoreAttributes<SVGLinearGradientElement> {
3426
+ /**
3427
+ * @see https://www.w3.org/TR/SVG2/pservers.html#LinearGradientElementX1Attribute
3428
+ */
3429
+ x1?: AttrStringOrNumber;
3430
+
3431
+ /**
3432
+ * @see https://www.w3.org/TR/SVG2/pservers.html#LinearGradientElementY1Attribute
3433
+ */
3434
+ y1?: AttrStringOrNumber;
3435
+
3436
+ /**
3437
+ * @see https://www.w3.org/TR/SVG2/pservers.html#LinearGradientElementX2Attribute
3438
+ */
3439
+ x2?: AttrStringOrNumber;
3440
+
3441
+ /**
3442
+ * @see https://www.w3.org/TR/SVG2/pservers.html#LinearGradientElementY2Attribute
3443
+ */
3444
+ y2?: AttrStringOrNumber;
3445
+
3446
+ /**
3447
+ * @see https://www.w3.org/TR/SVG2/pservers.html#LinearGradientElementGradientUnitsAttribute
3448
+ */
3449
+ gradientUnits?: AttrMissing | "userSpaceOnUse" | "objectBoundingBox";
3450
+
3451
+ /**
3452
+ * @see https://www.w3.org/TR/SVG2/pservers.html#LinearGradientElementGradientTransformAttribute
3453
+ */
3454
+ gradientTransform?: AttrStringOrNumber;
3455
+
3456
+ /**
3457
+ * @see https://www.w3.org/TR/SVG2/pservers.html#LinearGradientElementSpreadMethodAttribute
3458
+ */
3459
+ spreadMethod?: AttrMissing | "pad" | "reflect" | "repeat";
3460
+
3461
+ /**
3462
+ * @see https://www.w3.org/TR/SVG2/pservers.html#LinearGradientElementHrefAttribute
3463
+ */
3464
+ href?: AttrString;
3465
+ }
3466
+
3467
+ /**
3468
+ * @see https://www.w3.org/TR/SVG2/painting.html#MarkerElement
3469
+ */
3470
+ interface Marker extends SVGCoreAttributes<SVGMarkerElement> {
3471
+ /**
3472
+ * @see https://www.w3.org/TR/SVG2/coords.html#ViewBoxAttribute
3473
+ */
3474
+ viewBox?: AttrStringOrNumber;
3475
+
3476
+ /**
3477
+ * @see https://www.w3.org/TR/SVG2/coords.html#PreserveAspectRatioAttribute
3478
+ */
3479
+ preserveAspectRatio?: AttrPreserveAspectRatio;
3480
+
3481
+ /**
3482
+ * @see https://www.w3.org/TR/SVG2/painting.html#MarkerElementRefXAttribute
3483
+ */
3484
+ refX?: AttrMissing | "left" | "center" | "right" | (string & {});
3485
+
3486
+ /**
3487
+ * @see https://www.w3.org/TR/SVG2/painting.html#MarkerElementRefYAttribute
3488
+ */
3489
+ refY?: AttrMissing | "left" | "center" | "right" | (string & {});
3490
+
3491
+ /**
3492
+ * @see https://www.w3.org/TR/SVG2/painting.html#MarkerUnitsAttribute
3493
+ */
3494
+ markerUnits?: AttrMissing | "strokeWidth" | "userSpaceOnUse";
3495
+
3496
+ /**
3497
+ * @see https://www.w3.org/TR/SVG2/painting.html#MarkerWidthAttribute
3498
+ */
3499
+ markerWidth?: AttrStringOrNumber;
3500
+
3501
+ /**
3502
+ * @see https://www.w3.org/TR/SVG2/painting.html#MarkerHeightAttribute
3503
+ */
3504
+ markerHeight?: AttrStringOrNumber;
3505
+
3506
+ /**
3507
+ * @see https://www.w3.org/TR/SVG2/painting.html#OrientAttribute
3508
+ */
3509
+ orient?:
3510
+ | AttrMissing
3511
+ | "auto"
3512
+ | "auto-start-reverse"
3513
+ | number
3514
+ | (string & {});
3515
+ }
3516
+
3517
+ /**
3518
+ * @see https://www.w3.org/TR/css-masking-1/#elementdef-mask
3519
+ */
3520
+ interface Mask
3521
+ extends SVGCoreAttributes<SVGMaskElement>,
3522
+ SVGConditionalProcessingAttributes {
3523
+ /**
3524
+ * @see https://www.w3.org/TR/css-masking-1/#element-attrdef-mask-x
3525
+ */
3526
+ x?: AttrStringOrNumber;
3527
+
3528
+ /**
3529
+ * @see https://www.w3.org/TR/css-masking-1/#element-attrdef-mask-y
3530
+ */
3531
+ y?: AttrStringOrNumber;
3532
+
3533
+ /**
3534
+ * @see https://www.w3.org/TR/css-masking-1/#element-attrdef-mask-width
3535
+ */
3536
+ width?: AttrStringOrNumber;
3537
+
3538
+ /**
3539
+ * @see https://www.w3.org/TR/css-masking-1/#element-attrdef-mask-height
3540
+ */
3541
+ height?: AttrStringOrNumber;
3542
+
3543
+ /**
3544
+ * @see https://www.w3.org/TR/css-masking-1/#element-attrdef-mask-maskunits
3545
+ */
3546
+ maskUnits?: AttrMissing | "userSpaceOnUse" | "objectBoundingBox";
3547
+
3548
+ /**
3549
+ * @see https://www.w3.org/TR/css-masking-1/#element-attrdef-mask-maskcontentunits
3550
+ */
3551
+ maskContentUnits?: AttrMissing | "userSpaceOnUse" | "objectBoundingBox";
3552
+ }
3553
+
3554
+ /**
3555
+ * @see https://www.w3.org/TR/SVG2/struct.html#MetadataElement
3556
+ */
3557
+ interface Metadata extends SVGCoreAttributes<SVGMetadataElement> {}
3558
+
3559
+ /**
3560
+ * @see https://svgwg.org/specs/animations/#MPathElement
3561
+ */
3562
+ interface MPath
3563
+ extends SVGCoreAttributes<SVGMPathElement>,
3564
+ SVGConditionalProcessingAttributes {
3565
+ /**
3566
+ * @see https://svgwg.org/specs/animations/#MPathElementHrefAttribute
3567
+ */
3568
+ href?: AttrString;
3569
+ }
3570
+
3571
+ /**
3572
+ * @see https://www.w3.org/TR/SVG2/paths.html#PathElement
3573
+ */
3574
+ interface Path
3575
+ extends SVGCoreAttributes<SVGPathElement>,
3576
+ SVGConditionalProcessingAttributes {
3577
+ /**
3578
+ * @see https://www.w3.org/TR/SVG2/paths.html#PathLengthAttribute
3579
+ */
3580
+ pathLength?: AttrStringOrNumber;
3581
+
3582
+ /**
3583
+ * @see https://www.w3.org/TR/SVG2/paths.html#DProperty
3584
+ */
3585
+ d?: AttrString;
3586
+ }
3587
+
3588
+ /**
3589
+ * @see https://www.w3.org/TR/SVG2/pservers.html#PatternElement
3590
+ */
3591
+ interface Pattern extends SVGCoreAttributes<SVGPatternElement> {
3592
+ /**
3593
+ * @see https://www.w3.org/TR/SVG2/coords.html#ViewBoxAttribute
3594
+ */
3595
+ viewBox?: AttrStringOrNumber;
3596
+
3597
+ /**
3598
+ * @see https://www.w3.org/TR/SVG2/coords.html#PreserveAspectRatioAttribute
3599
+ */
3600
+ preserveAspectRatio?: AttrPreserveAspectRatio;
3601
+
3602
+ /**
3603
+ * @see https://www.w3.org/TR/SVG2/pservers.html#PatternElementXAttribute
3604
+ */
3605
+ x?: AttrStringOrNumber;
3606
+
3607
+ /**
3608
+ * @see https://www.w3.org/TR/SVG2/pservers.html#PatternElementYAttribute
3609
+ */
3610
+ y?: AttrStringOrNumber;
3611
+
3612
+ /**
3613
+ * @see https://www.w3.org/TR/SVG2/pservers.html#PatternElementWidthAttribute
3614
+ */
3615
+ width?: AttrStringOrNumber;
3616
+
3617
+ /**
3618
+ * @see https://www.w3.org/TR/SVG2/pservers.html#PatternElementHeightAttribute
3619
+ */
3620
+ height?: AttrStringOrNumber;
3621
+
3622
+ /**
3623
+ * @see https://www.w3.org/TR/SVG2/pservers.html#PatternElementPatternUnitsAttribute
3624
+ */
3625
+ patternUnits?: AttrMissing | "userSpaceOnUse" | "objectBoundingBox";
3626
+
3627
+ /**
3628
+ * @see https://www.w3.org/TR/SVG2/pservers.html#PatternElementPatternContentUnitsAttribute
3629
+ */
3630
+ patternContentUnits?:
3631
+ | AttrMissing
3632
+ | "userSpaceOnUse"
3633
+ | "objectBoundingBox";
3634
+
3635
+ /**
3636
+ * @see https://www.w3.org/TR/SVG2/pservers.html#PatternElementPatternTransformAttribute
3637
+ */
3638
+ patternTransform?: AttrStringOrNumber;
3639
+
3640
+ /**
3641
+ * @see https://www.w3.org/TR/SVG2/pservers.html#PatternElementHrefAttribute
3642
+ */
3643
+ href?: AttrString;
3644
+ }
3645
+
3646
+ /**
3647
+ * @see https://www.w3.org/TR/SVG2/shapes.html#PolygonElement
3648
+ */
3649
+ interface Polygon
3650
+ extends SVGCoreAttributes<SVGPolygonElement>,
3651
+ SVGConditionalProcessingAttributes {
3652
+ /**
3653
+ * @see https://www.w3.org/TR/SVG2/paths.html#PathLengthAttribute
3654
+ */
3655
+ pathLength?: AttrStringOrNumber;
3656
+
3657
+ /**
3658
+ * @see https://www.w3.org/TR/SVG2/shapes.html#PolygonElementPointsAttribute
3659
+ */
3660
+ points?: AttrStringOrNumber;
3661
+ }
3662
+
3663
+ /**
3664
+ * @see https://www.w3.org/TR/SVG2/shapes.html#PolylineElement
3665
+ */
3666
+ interface Polyline
3667
+ extends SVGCoreAttributes<SVGPolylineElement>,
3668
+ SVGConditionalProcessingAttributes {
3669
+ /**
3670
+ * @see https://www.w3.org/TR/SVG2/paths.html#PathLengthAttribute
3671
+ */
3672
+ pathLength?: AttrStringOrNumber;
3673
+
3674
+ /**
3675
+ * @see https://www.w3.org/TR/SVG2/shapes.html#PolygonElementPointsAttribute
3676
+ */
3677
+ points?: AttrStringOrNumber;
3678
+ }
3679
+
3680
+ /**
3681
+ * @see https://www.w3.org/TR/SVG2/pservers.html#RadialGradientElement
3682
+ */
3683
+ interface RadialGradient
3684
+ extends SVGCoreAttributes<SVGRadialGradientElement> {
3685
+ /**
3686
+ * @see https://www.w3.org/TR/SVG2/pservers.html#RadialGradientElementCXAttribute
3687
+ */
3688
+ cx?: AttrStringOrNumber;
3689
+
3690
+ /**
3691
+ * @see https://www.w3.org/TR/SVG2/pservers.html#RadialGradientElementCYAttribute
3692
+ */
3693
+ cy?: AttrStringOrNumber;
3694
+
3695
+ /**
3696
+ * @see https://www.w3.org/TR/SVG2/pservers.html#RadialGradientElementRAttribute
3697
+ */
3698
+ r?: AttrStringOrNumber;
3699
+
3700
+ /**
3701
+ * @see https://www.w3.org/TR/SVG2/pservers.html#RadialGradientElementFXAttribute
3702
+ */
3703
+ fx?: AttrStringOrNumber;
3704
+
3705
+ /**
3706
+ * @see https://www.w3.org/TR/SVG2/pservers.html#RadialGradientElementFYAttribute
3707
+ */
3708
+ fy?: AttrStringOrNumber;
3709
+
3710
+ /**
3711
+ * @see https://www.w3.org/TR/SVG2/pservers.html#RadialGradientElementFRAttribute
3712
+ */
3713
+ fr?: AttrStringOrNumber;
3714
+
3715
+ /**
3716
+ * @see https://www.w3.org/TR/SVG2/pservers.html#RadialGradientElementGradientUnitsAttribute
3717
+ */
3718
+ gradientUnits?: AttrMissing | "userSpaceOnUse" | "objectBoundingBox";
3719
+
3720
+ /**
3721
+ * @see https://www.w3.org/TR/SVG2/pservers.html#RadialGradientElementGradientTransformAttribute
3722
+ */
3723
+ gradientTransform?: AttrString;
3724
+
3725
+ /**
3726
+ * @see https://www.w3.org/TR/SVG2/pservers.html#RadialGradientElementSpreadMethodAttribute
3727
+ */
3728
+ spreadMethod?: AttrMissing | "pad" | "reflect" | "repeat";
3729
+
3730
+ /**
3731
+ * @see https://www.w3.org/TR/SVG2/pservers.html#RadialGradientElementHrefAttribute
3732
+ */
3733
+ href?: AttrString;
3734
+ }
3735
+
3736
+ /**
3737
+ * @see https://www.w3.org/TR/SVG2/shapes.html#RectElement
3738
+ */
3739
+ interface Rect
3740
+ extends SVGCoreAttributes<SVGRectElement>,
3741
+ SVGConditionalProcessingAttributes {
3742
+ /**
3743
+ * @see https://www.w3.org/TR/SVG2/paths.html#PathLengthAttribute
3744
+ */
3745
+ pathLength?: AttrStringOrNumber;
3746
+
3747
+ /**
3748
+ * @see https://www.w3.org/TR/SVG2/geometry.html#XProperty
3749
+ */
3750
+ x?: AttrStringOrNumber;
3751
+
3752
+ /**
3753
+ * @see https://www.w3.org/TR/SVG2/geometry.html#YProperty
3754
+ */
3755
+ y?: AttrStringOrNumber;
3756
+
3757
+ /**
3758
+ * @see https://www.w3.org/TR/SVG2/geometry.html#Sizing
3759
+ */
3760
+ width?: AttrStringOrNumber;
3761
+
3762
+ /**
3763
+ * @see https://www.w3.org/TR/SVG2/geometry.html#Sizing
3764
+ */
3765
+ height?: AttrStringOrNumber;
3766
+
3767
+ /**
3768
+ * @see https://www.w3.org/TR/SVG2/geometry.html#RxProperty
3769
+ */
3770
+ rx?: AttrStringOrNumber;
3771
+
3772
+ /**
3773
+ * @see https://www.w3.org/TR/SVG2/geometry.html#RyProperty
3774
+ */
3775
+ ry?: AttrStringOrNumber;
3776
+ }
3777
+
3778
+ /**
3779
+ * @see https://svgwg.org/specs/animations/#SetElement
3780
+ */
3781
+ interface Set
3782
+ extends SVGCoreAttributes<SVGSetElement>,
3783
+ SVGAnimationTargetElementAttributes,
3784
+ SVGAnimationAttributeTargetAttributes,
3785
+ SVGAnimationTimingAttributes,
3786
+ SVGConditionalProcessingAttributes {
3787
+ /**
3788
+ * @see https://svgwg.org/specs/animations/#SetElementToAttribute
3789
+ */
3790
+ to?: AttrStringOrNumber;
3791
+ }
3792
+
3793
+ /**
3794
+ * @see https://www.w3.org/TR/SVG2/pservers.html#StopElement
3795
+ */
3796
+ interface Stop extends SVGCoreAttributes<SVGStopElement> {
3797
+ /**
3798
+ * @see https://www.w3.org/TR/SVG2/pservers.html#StopElementOffsetAttribute
3799
+ */
3800
+ offset?: AttrStringOrNumber;
3801
+ }
3802
+
3803
+ /**
3804
+ * @see https://www.w3.org/TR/SVG2/struct.html#SVGElement
3805
+ */
3806
+ interface SVG
3807
+ extends SVGCoreAttributes<SVGSVGElement>,
3808
+ SVGConditionalProcessingAttributes {
3809
+ /**
3810
+ * A list of four numbers `<min-x>`, `<min-y>`, `<width>` and `<height>`, separated by whitespace and/or a comma
3811
+ * @see https://www.w3.org/TR/SVG2/coords.html#ViewBoxAttribute
3812
+ */
3813
+ viewBox?: AttrString;
3814
+
3815
+ /**
3816
+ * @see https://www.w3.org/TR/SVG2/coords.html#PreserveAspectRatioAttribute
3817
+ */
3818
+ preserveAspectRatio?: AttrPreserveAspectRatio;
3819
+
3820
+ /**
3821
+ * @see https://www.w3.org/TR/SVG2/interact.html#ZoomAndPanAttribute
3822
+ */
3823
+ zoomAndPan?: AttrMissing | "disable" | "magnify";
3824
+
3825
+ /**
3826
+ * @see https://www.w3.org/TR/SVG2/coords.html#TransformProperty
3827
+ */
3828
+ transform?: AttrString;
3829
+
3830
+ /**
3831
+ * @see https://www.w3.org/TR/SVG2/geometry.html#XProperty
3832
+ */
3833
+ x?: AttrStringOrNumber;
3834
+
3835
+ /**
3836
+ * @see https://www.w3.org/TR/SVG2/geometry.html#YProperty
3837
+ */
3838
+ y?: AttrStringOrNumber;
3839
+
3840
+ /**
3841
+ * @see https://www.w3.org/TR/SVG2/geometry.html#Sizing
3842
+ */
3843
+ width?: AttrStringOrNumber;
3844
+
3845
+ /**
3846
+ * @see https://www.w3.org/TR/SVG2/geometry.html#Sizing
3847
+ */
3848
+ height?: AttrStringOrNumber;
3849
+ }
3850
+
3851
+ /**
3852
+ * @see https://www.w3.org/TR/SVG2/struct.html#SwitchElement
3853
+ */
3854
+ interface Switch
3855
+ extends SVGCoreAttributes<SVGSwitchElement>,
3856
+ SVGConditionalProcessingAttributes {}
3857
+
3858
+ /**
3859
+ * @see https://www.w3.org/TR/SVG2/struct.html#SymbolElement
3860
+ */
3861
+ interface Symbol extends SVGCoreAttributes<SVGSymbolElement> {
3862
+ /**
3863
+ * @see https://www.w3.org/TR/SVG2/coords.html#PreserveAspectRatioAttribute
3864
+ */
3865
+ preserveAspectRatio?: AttrPreserveAspectRatio;
3866
+
3867
+ /**
3868
+ * @see https://www.w3.org/TR/SVG2/coords.html#ViewBoxAttribute
3869
+ */
3870
+ viewBox?: AttrStringOrNumber;
3871
+
3872
+ /**
3873
+ * @see https://www.w3.org/TR/SVG2/struct.html#SymbolElementRefXAttribute
3874
+ */
3875
+ refX?:
3876
+ | AttrMissing
3877
+ | "left"
3878
+ | "center"
3879
+ | "right"
3880
+ | number
3881
+ | (string & {});
3882
+
3883
+ /**
3884
+ * @see https://www.w3.org/TR/SVG2/struct.html#SymbolElementRefYAttribute
3885
+ */
3886
+ refY?:
3887
+ | AttrMissing
3888
+ | "top"
3889
+ | "center"
3890
+ | "bottom"
3891
+ | number
3892
+ | (string & {});
3893
+
3894
+ /**
3895
+ * @see https://www.w3.org/TR/SVG2/geometry.html#XProperty
3896
+ */
3897
+ x?: AttrStringOrNumber;
3898
+
3899
+ /**
3900
+ * @see https://www.w3.org/TR/SVG2/geometry.html#YProperty
3901
+ */
3902
+ y?: AttrStringOrNumber;
3903
+
3904
+ /**
3905
+ * @see https://www.w3.org/TR/SVG2/geometry.html#Sizing
3906
+ */
3907
+ width?: AttrStringOrNumber;
3908
+
3909
+ /**
3910
+ * @see https://www.w3.org/TR/SVG2/geometry.html#Sizing
3911
+ */
3912
+ height?: AttrStringOrNumber;
3913
+ }
3914
+
3915
+ /**
3916
+ * @see https://www.w3.org/TR/SVG2/text.html#TextElement
3917
+ */
3918
+ interface Text
3919
+ extends SVGCoreAttributes<SVGTextElement>,
3920
+ SVGConditionalProcessingAttributes {
3921
+ /**
3922
+ * @see https://www.w3.org/TR/SVG2/text.html#TextElementLengthAdjustAttribute
3923
+ */
3924
+ lengthAdjust?: AttrMissing | "spacing" | "spacingAndGlyphs";
3925
+
3926
+ /**
3927
+ * @see https://www.w3.org/TR/SVG2/text.html#TextElementXAttribute
3928
+ */
3929
+ x?: AttrStringOrNumber;
3930
+
3931
+ /**
3932
+ * @see https://www.w3.org/TR/SVG2/text.html#TextElementYAttribute
3933
+ */
3934
+ y?: AttrStringOrNumber;
3935
+
3936
+ /**
3937
+ * @see https://www.w3.org/TR/SVG2/text.html#TextElementDXAttribute
3938
+ */
3939
+ dx?: AttrStringOrNumber;
3940
+
3941
+ /**
3942
+ * @see https://www.w3.org/TR/SVG2/text.html#TextElementDYAttribute
3943
+ */
3944
+ dy?: AttrStringOrNumber;
3945
+
3946
+ /**
3947
+ * @see https://www.w3.org/TR/SVG2/text.html#TextElementRotateAttribute
3948
+ */
3949
+ rotate?: AttrStringOrNumber;
3950
+
3951
+ /**
3952
+ * @see https://www.w3.org/TR/SVG2/text.html#TextElementTextLengthAttribute
3953
+ */
3954
+ textLength?: AttrStringOrNumber;
3955
+ }
3956
+
3957
+ /**
3958
+ * @see https://www.w3.org/TR/SVG2/text.html#TextPathElement
3959
+ */
3960
+ interface TextPath
3961
+ extends SVGCoreAttributes<SVGTextPathElement>,
3962
+ SVGConditionalProcessingAttributes {
3963
+ /**
3964
+ * @see https://www.w3.org/TR/SVG2/text.html#TextElementLengthAdjustAttribute
3965
+ */
3966
+ lengthAdjust?: AttrMissing | "spacing" | "spacingAndGlyphs";
3967
+
3968
+ /**
3969
+ * @see https://www.w3.org/TR/SVG2/text.html#TextElementTextLengthAttribute
3970
+ */
3971
+ textLength?: AttrStringOrNumber;
3972
+
3973
+ /**
3974
+ * @see https://www.w3.org/TR/SVG2/text.html#TextPathElementPathAttribute
3975
+ */
3976
+ path?: AttrStringOrNumber;
3977
+
3978
+ /**
3979
+ * @see https://www.w3.org/TR/SVG2/text.html#TextPathElementHrefAttribute
3980
+ */
3981
+ href?: AttrString;
3982
+
3983
+ /**
3984
+ * @see https://www.w3.org/TR/SVG2/text.html#TextPathElementStartOffsetAttribute
3985
+ */
3986
+ startOffset?: AttrStringOrNumber;
3987
+
3988
+ /**
3989
+ * @see https://www.w3.org/TR/SVG2/text.html#TextPathElementMethodAttribute
3990
+ */
3991
+ method?: AttrMissing | "align" | "stretch";
3992
+
3993
+ /**
3994
+ * @see https://www.w3.org/TR/SVG2/text.html#TextPathElementSpacingAttribute
3995
+ */
3996
+ spacing?: AttrMissing | "auto" | "exact";
3997
+
3998
+ /**
3999
+ * @see https://www.w3.org/TR/SVG2/text.html#TextPathElementSideAttribute
4000
+ */
4001
+ side?: AttrMissing | "left" | "right";
4002
+ }
4003
+
4004
+ /**
4005
+ * @see https://www.w3.org/TR/SVG2/struct.html#TitleElement
4006
+ */
4007
+ interface Title extends SVGCoreAttributes<SVGTitleElement> {}
4008
+
4009
+ /**
4010
+ * @see https://www.w3.org/TR/SVG2/text.html#TextElement
4011
+ */
4012
+ interface TSpan
4013
+ extends SVGCoreAttributes<SVGTSpanElement>,
4014
+ SVGConditionalProcessingAttributes {
4015
+ /**
4016
+ * @see https://www.w3.org/TR/SVG2/text.html#TextElementLengthAdjustAttribute
4017
+ */
4018
+ lengthAdjust?: AttrMissing | "spacing" | "spacingAndGlyphs";
4019
+
4020
+ /**
4021
+ * @see https://www.w3.org/TR/SVG2/text.html#TextElementXAttribute
4022
+ */
4023
+ x?: AttrStringOrNumber;
4024
+
4025
+ /**
4026
+ * @see https://www.w3.org/TR/SVG2/text.html#TextElementYAttribute
4027
+ */
4028
+ y?: AttrStringOrNumber;
4029
+
4030
+ /**
4031
+ * @see https://www.w3.org/TR/SVG2/text.html#TextElementDXAttribute
4032
+ */
4033
+ dx?: AttrStringOrNumber;
4034
+
4035
+ /**
4036
+ * @see https://www.w3.org/TR/SVG2/text.html#TextElementDYAttribute
4037
+ */
4038
+ dy?: AttrStringOrNumber;
4039
+
4040
+ /**
4041
+ * @see https://www.w3.org/TR/SVG2/text.html#TextElementRotateAttribute
4042
+ */
4043
+ rotate?: AttrStringOrNumber;
4044
+
4045
+ /**
4046
+ * @see https://www.w3.org/TR/SVG2/text.html#TextElementTextLengthAttribute
4047
+ */
4048
+ textLength?: AttrStringOrNumber;
4049
+ }
4050
+
4051
+ /**
4052
+ * @see https://www.w3.org/TR/SVG2/struct.html#UseElement
4053
+ */
4054
+ interface Use
4055
+ extends SVGCoreAttributes<SVGUseElement>,
4056
+ SVGConditionalProcessingAttributes {
4057
+ /**
4058
+ * @see https://www.w3.org/TR/SVG2/struct.html#UseElementHrefAttribute
4059
+ */
4060
+ href?: AttrString;
4061
+
4062
+ /**
4063
+ * @see https://www.w3.org/TR/SVG2/geometry.html#XProperty
4064
+ */
4065
+ x?: AttrStringOrNumber;
4066
+
4067
+ /**
4068
+ * @see https://www.w3.org/TR/SVG2/geometry.html#YProperty
4069
+ */
4070
+ y?: AttrStringOrNumber;
4071
+
4072
+ /**
4073
+ * @see https://www.w3.org/TR/SVG2/geometry.html#Sizing
4074
+ */
4075
+ width?: AttrStringOrNumber;
4076
+
4077
+ /**
4078
+ * @see https://www.w3.org/TR/SVG2/geometry.html#Sizing
4079
+ */
4080
+ height?: AttrStringOrNumber;
4081
+ }
4082
+
4083
+ /**
4084
+ * @see https://www.w3.org/TR/SVG2/linking.html#ViewElement
4085
+ */
4086
+ interface View extends SVGCoreAttributes<SVGViewElement> {
4087
+ /**
4088
+ * @see https://www.w3.org/TR/SVG2/coords.html#ViewBoxAttribute
4089
+ */
4090
+ viewBox?: AttrStringOrNumber;
4091
+
4092
+ /**
4093
+ * @see https://www.w3.org/TR/SVG2/coords.html#PreserveAspectRatioAttribute
4094
+ */
4095
+ preserveAspectRatio?: AttrPreserveAspectRatio;
4096
+
4097
+ /**
4098
+ * @see https://www.w3.org/TR/SVG2/interact.html#ZoomAndPanAttribute
4099
+ */
4100
+ zoomAndPan?: AttrMissing | "disable" | "magnify";
4101
+ }
4102
+ }
4103
+
4104
+ interface Directives {
4105
+ /**
4106
+ * Used to uniquely identify a tag within a template in order
4107
+ * to get an element reference to it later.
4108
+ *
4109
+ * @see Marko.Component.getEl
4110
+ * @see Marko.Component.getComponent
4111
+ */
4112
+ key?: AttrString;
4113
+
4114
+ /**
4115
+ * Tells Marko to avoid updating the element or its contents (excluding custom tags which may rerender independently).
4116
+ */
4117
+ "no-update"?: AttrBoolean;
4118
+
4119
+ /**
4120
+ * Tells Marko to avoid updating an element's contents (excluding custom tags which may rerender independently). Used instead of no-update when runtime functionality is needed.
4121
+ */
4122
+ "no-update-if"?: AttrBoolean;
4123
+
4124
+ /**
4125
+ * Tells Marko to avoid updating an element's body.
4126
+ */
4127
+ "no-update-body"?: AttrBoolean;
4128
+
4129
+ /**
4130
+ * Tells Marko to avoid updating an element's body. Used instead of no-update-body when runtime functionality is needed.
4131
+ * @see https://markojs.com/docs/syntax/#conditional-rendering
4132
+ */
4133
+ "no-update-body-if"?: AttrBoolean;
4134
+ }
4135
+
4136
+ interface HTMLAttributes<T extends Element = Element>
4137
+ extends AriaAttributes,
4138
+ EventAttributes<T> {
4139
+ /**
4140
+ * Specifies a keyboard shortcut to activate or focus on an element.
4141
+ * @see https://html.spec.whatwg.org/multipage/interaction.html#the-accesskey-attribute
4142
+ */
4143
+ accesskey?: AttrString;
4144
+
4145
+ /**
4146
+ * Controls the capitalization behavior of user input.
4147
+ * @see https://html.spec.whatwg.org/multipage/interaction.html#attr-autocapitalize
4148
+ */
4149
+ autocapitalize?:
4150
+ | AttrOnOff
4151
+ | "characters"
4152
+ | "none"
4153
+ | "sentences"
4154
+ | "words";
4155
+
4156
+ /**
4157
+ * Indicates whether the element should automatically get focus when the page loads.
4158
+ * @see https://html.spec.whatwg.org/multipage/interaction.html#the-autofocus-attribute
4159
+ */
4160
+ autofocus?: AttrBoolean;
4161
+
4162
+ /**
4163
+ * Specifies a space-separated list of class names for an element.
4164
+ * @see https://markojs.com/docs/syntax/#class-attribute
4165
+ * @see https://html.spec.whatwg.org/multipage/dom.html#classes
4166
+ */
4167
+ class?: AttrClass;
4168
+
4169
+ /**
4170
+ * Specifies whether the content of an element is editable or not.
4171
+ * @see https://html.spec.whatwg.org/multipage/interaction.html#attr-contenteditable
4172
+ */
4173
+ contenteditable?: AttrBooleanString | "plaintext-only";
4174
+
4175
+ /**
4176
+ * Specifies the ID of a context menu to show when the element is right-clicked.
4177
+ * @see https://html.spec.whatwg.org/multipage/interaction.html#attr-contextmenu
4178
+ */
4179
+ contextmenu?: AttrString;
4180
+
4181
+ /**
4182
+ * Specifies the text direction for the content of an element.
4183
+ * @see https://html.spec.whatwg.org/multipage/dom.html#the-dir-attribute
4184
+ */
4185
+ dir?: AttrMissing | "ltr" | "rtl" | "auto";
4186
+
4187
+ /**
4188
+ * Specifies whether an element is draggable or not.
4189
+ * @see https://html.spec.whatwg.org/multipage/dnd.html#the-draggable-attribute
4190
+ */
4191
+ draggable?: AttrBooleanString;
4192
+
4193
+ /**
4194
+ * A string used to identify the element for performance measurement purposes.
4195
+ * @see https://wicg.github.io/element-timing/#sec-elements-exposed
4196
+ */
4197
+ elementtiming?: AttrString;
4198
+
4199
+ /**
4200
+ * Provides a hint to the user agent about the type of action expected from the "Enter" key.
4201
+ * @see https://html.spec.whatwg.org/multipage/interaction.html#attr-enterkeyhint
4202
+ */
4203
+ enterkeyhint?:
4204
+ | AttrMissing
4205
+ | "enter"
4206
+ | "done"
4207
+ | "go"
4208
+ | "next"
4209
+ | "previous"
4210
+ | "search"
4211
+ | "send";
4212
+
4213
+ /**
4214
+ * Specifies a list of part names for the element that are available for CSS ::part() selector.
4215
+ * @see https://drafts.csswg.org/css-shadow-parts-1/#exportparts-attribute
4216
+ */
4217
+ exportparts?: AttrString;
4218
+
4219
+ /**
4220
+ * Indicates whether the element should be hidden from rendering or not.
4221
+ * @see https://html.spec.whatwg.org/multipage/interaction.html#the-hidden-attribute
4222
+ */
4223
+ hidden?: AttrBoolean | "until-found";
4224
+
4225
+ /**
4226
+ * Specifies a unique identifier for the element within the document.
4227
+ * @see https://html.spec.whatwg.org/multipage/dom.html#the-id-attribute
4228
+ */
4229
+ id?: AttrString;
4230
+
4231
+ /**
4232
+ * Specifies whether an element should be inert or not, preventing user interaction and making it non-focusable.
4233
+ * @see https://html.spec.whatwg.org/multipage/interaction.html#inert-subtrees
4234
+ */
4235
+ inert?: AttrBoolean;
4236
+
4237
+ /**
4238
+ * Provides a hint to the user agent about the type of virtual keyboard to display for text input.
4239
+ * @see https://html.spec.whatwg.org/multipage/interaction.html#attr-inputmode
4240
+ */
4241
+ inputmode?:
4242
+ | AttrMissing
4243
+ | "decimal"
4244
+ | "email"
4245
+ | "none"
4246
+ | "numeric"
4247
+ | "search"
4248
+ | "tel"
4249
+ | "text"
4250
+ | "url";
4251
+
4252
+ /**
4253
+ * Specifies the name of a custom element to use as a replacement for the standard built-in element.
4254
+ * @see https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is
4255
+ */
4256
+ is?: AttrString;
4257
+
4258
+ /**
4259
+ * Specifies a globally unique identifier (URI) for the element in the context of microdata.
4260
+ * @see https://html.spec.whatwg.org/multipage/microdata.html#attr-itemid
4261
+ */
4262
+ itemid?: AttrString;
4263
+
4264
+ /**
4265
+ * Specifies a list of one or more property names for the element in the context of microdata.
4266
+ * @see https://html.spec.whatwg.org/multipage/microdata.html#attr-itemprop
4267
+ */
4268
+ itemprop?: AttrString;
4269
+
4270
+ /**
4271
+ * Specifies a list of IDs of elements that contain additional properties for the item in the context of microdata.
4272
+ * @see https://html.spec.whatwg.org/multipage/microdata.html#attr-itemref
4273
+ */
4274
+ itemref?: AttrString;
4275
+
4276
+ /**
4277
+ * Specifies that the element is a microdata item, representing a single entity or concept.
4278
+ * @see https://html.spec.whatwg.org/multipage/microdata.html#attr-itemscope
4279
+ */
4280
+ itemscope?: AttrBoolean;
4281
+
4282
+ /**
4283
+ * Specifies the type of item represented by the element using a vocabulary URL in the context of microdata.
4284
+ * @see https://html.spec.whatwg.org/multipage/microdata.html#attr-itemtype
4285
+ */
4286
+ itemtype?: AttrString;
4287
+
4288
+ /**
4289
+ * Specifies the primary language for the element's contents and for any child elements.
4290
+ * @see https://html.spec.whatwg.org/multipage/dom.html#attr-lang
4291
+ */
4292
+ lang?: AttrString;
4293
+
4294
+ /**
4295
+ * Specifies a cryptographic nonce (number used once) for content within a script or style element.
4296
+ * @see https://html.spec.whatwg.org/multipage/urls-and-fetching.html#attr-nonce
4297
+ */
4298
+ nonce?: AttrString;
4299
+
4300
+ /**
4301
+ * Specifies that the element won't be rendered until it becomes shown, at which point it will be rendered on top of other page content.
4302
+ * @see https://html.spec.whatwg.org/multipage/popover.html#attr-popover
4303
+ */
4304
+ popover?: AttrBoolean | "auto" | "manual";
4305
+
4306
+ /**
4307
+ * Specifies a list of part names for the element that can be targeted by the ::part() CSS pseudo-element.
4308
+ * @see https://drafts.csswg.org/css-shadow-parts-1/#part-attribute
4309
+ */
4310
+ part?: AttrString;
2604
4311
 
2605
4312
  /**
2606
4313
  * Specifies the name of the slot the element should be assigned to when inside a shadow tree.
@@ -2651,6 +4358,350 @@ declare global {
2651
4358
  */
2652
4359
  content?: Marko.Body<[], void>;
2653
4360
 
4361
+ /**
4362
+ * data-* global attributes form a class of attributes called custom data attributes, that allow proprietary
4363
+ * information to be exchanged between the HTML and its DOM representation by scripts.
4364
+ * @see https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes
4365
+ */
4366
+ [data: `data-${string}`]: AttrMissing | string | number | boolean;
4367
+ }
4368
+
4369
+ interface SVGCoreAttributes<T extends Element = Element>
4370
+ extends AriaAttributes,
4371
+ EventAttributes,
4372
+ SVGPresentationAttributes {
4373
+ /**
4374
+ * @see https://www.w3.org/TR/SVG2/struct.html#IDAttribute
4375
+ */
4376
+ id?: AttrString;
4377
+
4378
+ /**
4379
+ * @see https://www.w3.org/TR/SVG2/struct.html#SVGElementTabindexAttribute
4380
+ */
4381
+ tabindex?: AttrStringOrNumber;
4382
+
4383
+ /**
4384
+ * @see https://www.w3.org/TR/SVG2/struct.html#LangAttribute
4385
+ */
4386
+ lang?: string;
4387
+
4388
+ /**
4389
+ * @see https://www.w3.org/TR/SVG2/struct.html#XMLSpaceAttribute
4390
+ * @deprecated New content should use the white-space property instead
4391
+ */
4392
+ "xml:space"?: AttrMissing | "default" | "preserve";
4393
+
4394
+ /**
4395
+ * @see https://www.w3.org/TR/SVG2/styling.html#ClassAttribute
4396
+ */
4397
+ class?: AttrClass;
4398
+
4399
+ /**
4400
+ * @see https://www.w3.org/TR/SVG2/styling.html#StyleAttribute
4401
+ */
4402
+ style?: AttrStyle;
4403
+
4404
+ /**
4405
+ * Provide body content for the tag as a Marko.Body.
4406
+ * @see Marko.Body
4407
+ */
4408
+ content?: Marko.Body<[], void>;
4409
+
4410
+ /**
4411
+ * @see https://www.w3.org/TR/SVG2/struct.html#DataAttributes
4412
+ */
4413
+ [data: `data-${string}`]: AttrMissing | string | number | boolean;
4414
+ }
4415
+
4416
+ /**
4417
+ * The SVG spec isn't _exactly_ the same as the CSS spec so
4418
+ * some of these properties might have extra or incorrect values.
4419
+ * If you need something that's missing, please submit a PR
4420
+ */
4421
+ interface SVGPresentationAttributes {
4422
+ "alignment-baseline"?: AttrMissing | csstype.Property.AlignmentBaseline;
4423
+ "baseline-shift"?: AttrMissing | csstype.Property.BaselineShift | number;
4424
+ clip?: AttrMissing | csstype.Property.Clip | number;
4425
+ "clip-path"?: AttrMissing | csstype.Property.ClipPath;
4426
+ "clip-rule"?: AttrMissing | csstype.Property.ClipRule;
4427
+ color?: AttrMissing | csstype.Property.Color;
4428
+ "color-interpolation"?: AttrMissing | csstype.Property.ColorInterpolation;
4429
+ "color-interpolation-filters"?:
4430
+ | AttrMissing
4431
+ | csstype.Property.ColorInterpolation;
4432
+ "color-rendering"?: AttrMissing | csstype.Property.ColorRendering;
4433
+ cursor?: AttrMissing | csstype.Property.Cursor;
4434
+ direction?: AttrMissing | csstype.Property.Direction;
4435
+ display?: AttrMissing | csstype.Property.Display;
4436
+ "dominant-baseline"?:
4437
+ | AttrMissing
4438
+ | csstype.Property.DominantBaseline
4439
+ | number;
4440
+ /**
4441
+ * @see https://www.w3.org/TR/SVG11/filters.html#EnableBackgroundProperty
4442
+ */
4443
+ "enable-background"?: AttrMissing | "accumulate" | "new" | (string & {});
4444
+ fill?: AttrMissing | csstype.Property.Fill;
4445
+ "fill-opacity"?: AttrMissing | csstype.Property.FillOpacity | number;
4446
+ "fill-rule"?: AttrMissing | csstype.Property.FillRule;
4447
+ filter?: AttrMissing | csstype.Property.Filter;
4448
+ "flood-color"?: AttrMissing | csstype.Property.FloodColor;
4449
+ "flood-opacity"?: AttrMissing | csstype.Property.FloodOpacity | number;
4450
+ font?: AttrMissing | csstype.Property.Font;
4451
+ "font-family"?: AttrMissing | csstype.Property.FontFamily;
4452
+ "font-size"?: AttrMissing | csstype.Property.FontSize | number;
4453
+ "font-size-adjust"?:
4454
+ | AttrMissing
4455
+ | csstype.Property.FontSizeAdjust
4456
+ | number;
4457
+ "font-stretch"?: AttrMissing | csstype.Property.FontStretch;
4458
+ "font-style"?: AttrMissing | csstype.Property.FontStyle;
4459
+ "font-variant"?: AttrMissing | csstype.Property.FontVariant;
4460
+ "font-weight"?: AttrMissing | csstype.Property.FontWeight | number;
4461
+ "glyph-orientation-horizontal"?:
4462
+ | AttrMissing
4463
+ | csstype.Property.GlyphOrientationVertical;
4464
+ "glyph-orientation-vertical"?:
4465
+ | AttrMissing
4466
+ | csstype.Property.GlyphOrientationVertical;
4467
+ "image-rendering"?: AttrMissing | csstype.Property.ImageRendering;
4468
+ isolation?: AttrMissing | csstype.Property.Isolation;
4469
+ kerning?: AttrMissing | csstype.Property.FontKerning | number;
4470
+ "letter-spacing"?: AttrMissing | csstype.Property.LetterSpacing | number;
4471
+ "lighting-color"?: AttrMissing | csstype.Property.LightingColor;
4472
+ marker?: AttrMissing | csstype.Property.Marker;
4473
+ "marker-end"?: AttrMissing | csstype.Property.MarkerEnd;
4474
+ "marker-mid"?: AttrMissing | csstype.Property.MarkerMid;
4475
+ "marker-start"?: AttrMissing | csstype.Property.MarkerStart;
4476
+ mask?: AttrMissing | csstype.Property.Mask;
4477
+ opacity?: AttrMissing | csstype.Property.Opacity | number;
4478
+ overflow?: AttrMissing | csstype.Property.Overflow;
4479
+ "pointer-events"?: AttrMissing | csstype.Property.PointerEvents;
4480
+ "shape-rendering"?: AttrMissing | csstype.Property.ShapeRendering;
4481
+ "stop-color"?: AttrMissing | csstype.Property.StopColor;
4482
+ "stop-opacity"?: AttrMissing | csstype.Property.StopOpacity | number;
4483
+ stroke?: AttrMissing | csstype.Property.Stroke;
4484
+ "stroke-dasharray"?:
4485
+ | AttrMissing
4486
+ | csstype.Property.StrokeDasharray
4487
+ | number;
4488
+ "stroke-dashoffset"?:
4489
+ | AttrMissing
4490
+ | csstype.Property.StrokeDashoffset
4491
+ | number;
4492
+ "stroke-linecap"?: AttrMissing | csstype.Property.StrokeLinecap;
4493
+ "stroke-linejoin"?: AttrMissing | csstype.Property.StrokeLinejoin;
4494
+ "stroke-miterlimit"?:
4495
+ | AttrMissing
4496
+ | csstype.Property.StrokeMiterlimit
4497
+ | number;
4498
+ "stroke-opacity"?: AttrMissing | csstype.Property.StrokeOpacity | number;
4499
+ "stroke-width"?: AttrMissing | csstype.Property.StrokeWidth | number;
4500
+ "text-anchor"?: AttrMissing | csstype.Property.TextAnchor;
4501
+ "text-decoration"?: AttrMissing | csstype.Property.TextDecoration;
4502
+ "text-rendering"?: AttrMissing | csstype.Property.TextRendering;
4503
+ "unicode-bidi"?: AttrMissing | csstype.Property.UnicodeBidi;
4504
+ visibility?: AttrMissing | csstype.Property.Visibility;
4505
+ "word-spacing"?: AttrMissing | csstype.Property.WordSpacing | number;
4506
+ "writing-mode"?: AttrMissing | csstype.Property.WritingMode;
4507
+ }
4508
+
4509
+ interface SVGTransferFunctionElementAttributes {
4510
+ /**
4511
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fecomponenttransfer-type
4512
+ */
4513
+ type?:
4514
+ | AttrMissing
4515
+ | "identity"
4516
+ | "table"
4517
+ | "discrete"
4518
+ | "linear"
4519
+ | "gamma";
4520
+
4521
+ /**
4522
+ * List of numbers
4523
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fecomponenttransfer-tablevalues
4524
+ */
4525
+ tableValues?: AttrStringOrNumber;
4526
+
4527
+ /**
4528
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fecomponenttransfer-slope
4529
+ */
4530
+ slope?: AttrStringOrNumber;
4531
+
4532
+ /**
4533
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fecomponenttransfer-intercept
4534
+ */
4535
+ intercept?: AttrStringOrNumber;
4536
+
4537
+ /**
4538
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fecomponenttransfer-amplitude
4539
+ */
4540
+ amplitude?: AttrStringOrNumber;
4541
+
4542
+ /**
4543
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fecomponenttransfer-exponent
4544
+ */
4545
+ exponent?: AttrStringOrNumber;
4546
+
4547
+ /**
4548
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fecomponenttransfer-offset
4549
+ */
4550
+ offset?: AttrStringOrNumber;
4551
+ }
4552
+
4553
+ interface SVGAnimationAdditionAttributes {
4554
+ /**
4555
+ * @see https://svgwg.org/specs/animations/#AdditiveAttribute
4556
+ */
4557
+ additive?: AttrMissing | "replace" | "sum";
4558
+
4559
+ /**
4560
+ * @see https://svgwg.org/specs/animations/#AccumulateAttribute
4561
+ */
4562
+ accumulate?: AttrMissing | "none" | "sum";
4563
+ }
4564
+
4565
+ interface SVGAnimationTargetElementAttributes {
4566
+ /**
4567
+ * @see https://svgwg.org/specs/animations/#HrefAttribute
4568
+ */
4569
+ href?: AttrString;
4570
+ }
4571
+
4572
+ interface SVGAnimationAttributeTargetAttributes {
4573
+ /**
4574
+ * @see https://svgwg.org/specs/animations/#AttributeNameAttribute
4575
+ */
4576
+ attributeName?: AttrString;
4577
+ }
4578
+
4579
+ interface SVGAnimationTimingAttributes {
4580
+ /**
4581
+ * A semicolon separated list of values
4582
+ * @see https://svgwg.org/specs/animations/#BeginAttribute
4583
+ */
4584
+ begin?: AttrString;
4585
+
4586
+ /**
4587
+ * @see https://svgwg.org/specs/animations/#DurAttribute
4588
+ */
4589
+ dur?: AttrMissing | "media" | "indefinite" | number | (string & {});
4590
+
4591
+ /**
4592
+ * A semicolon separated list of values
4593
+ * @see https://svgwg.org/specs/animations/#EndAttribute
4594
+ */
4595
+ end?: AttrString;
4596
+
4597
+ /**
4598
+ * @see https://svgwg.org/specs/animations/#MinAttribute
4599
+ */
4600
+ min?: AttrMissing | "media" | number | (string & {});
4601
+
4602
+ /**
4603
+ * @see https://svgwg.org/specs/animations/#MaxAttribute
4604
+ */
4605
+ max?: AttrMissing | "media" | number | (string & {});
4606
+
4607
+ /**
4608
+ * @see https://svgwg.org/specs/animations/#RestartAttribute
4609
+ */
4610
+ restart?: AttrMissing | "always" | "whenNotActive" | "never";
4611
+
4612
+ /**
4613
+ * @see https://svgwg.org/specs/animations/#RepeatCountAttribute
4614
+ */
4615
+ repeatCount?: AttrMissing | AttrNumber | "indefinite";
4616
+
4617
+ /**
4618
+ * @see https://svgwg.org/specs/animations/#RepeatDurAttribute
4619
+ */
4620
+ repeatDur?: AttrMissing | AttrNumber | "indefinite";
4621
+
4622
+ /**
4623
+ * @see https://svgwg.org/specs/animations/#FillAttribute
4624
+ */
4625
+ fill?: AttrMissing | "freeze" | "remove";
4626
+ }
4627
+
4628
+ interface SVGAnimationValueAttributes {
4629
+ /**
4630
+ * @see https://svgwg.org/specs/animations/#CalcModeAttribute
4631
+ */
4632
+ calcMode?: AttrMissing | "discrete" | "linear" | "paced" | "spline";
4633
+
4634
+ /**
4635
+ * A semicolon-separated list of values
4636
+ * @see https://svgwg.org/specs/animations/#ValuesAttribute
4637
+ */
4638
+ values?: AttrString;
4639
+
4640
+ /**
4641
+ * A semicolon-separated list of numbers
4642
+ * @see https://svgwg.org/specs/animations/#KeyTimesAttribute
4643
+ */
4644
+ keyTimes?: AttrStringOrNumber;
4645
+
4646
+ /**
4647
+ * A semicolon-separated list of Bézier control points
4648
+ * @see https://svgwg.org/specs/animations/#KeySplinesAttribute
4649
+ */
4650
+ keySplines?: AttrString;
4651
+
4652
+ /**
4653
+ * @see https://svgwg.org/specs/animations/#FromAttribute
4654
+ */
4655
+ from?: AttrStringOrNumber;
4656
+
4657
+ /**
4658
+ * @see https://svgwg.org/specs/animations/#FromAttribute
4659
+ */
4660
+ to?: AttrStringOrNumber;
4661
+
4662
+ /**
4663
+ * @see https://svgwg.org/specs/animations/#FromAttribute
4664
+ */
4665
+ by?: AttrStringOrNumber;
4666
+ }
4667
+
4668
+ interface SVGConditionalProcessingAttributes {
4669
+ /**
4670
+ * Set of space-separated tokens
4671
+ * @see https://www.w3.org/TR/SVG2/struct.html#RequiredExtensionsAttribute
4672
+ */
4673
+ requiredExtensions?: AttrString;
4674
+
4675
+ /**
4676
+ * Set of comma-separated tokens
4677
+ * @see https://www.w3.org/TR/SVG2/struct.html#SystemLanguageAttribute
4678
+ */
4679
+ systemLanguage?: AttrString;
4680
+ }
4681
+
4682
+ interface SVGFilterPrimitiveAttributes {
4683
+ /**
4684
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-x
4685
+ */
4686
+ x?: AttrStringOrNumber;
4687
+
4688
+ /**
4689
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-y
4690
+ */
4691
+ y?: AttrStringOrNumber;
4692
+
4693
+ /**
4694
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-height
4695
+ */
4696
+ height?: AttrStringOrNumber;
4697
+
4698
+ /**
4699
+ * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-result
4700
+ */
4701
+ result?: AttrString;
4702
+ }
4703
+
4704
+ interface EventAttributes<T extends Element> {
2654
4705
  /**
2655
4706
  * Fired when resource was not fully loaded, but not as the result of an error.
2656
4707
  * @see https://html.spec.whatwg.org/multipage/media.html#event-media-abort
@@ -3441,13 +5492,6 @@ declare global {
3441
5492
  onWheel?: AttrEventHandler<WheelEvent, T>;
3442
5493
  "on-wheel"?: this["onWheel"];
3443
5494
  onwheel?: AttrString;
3444
-
3445
- /**
3446
- * data-* global attributes form a class of attributes called custom data attributes, that allow proprietary
3447
- * information to be exchanged between the HTML and its DOM representation by scripts.
3448
- * @see https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes
3449
- */
3450
- [data: `data-${string}`]: AttrMissing | string | number | boolean;
3451
5495
  }
3452
5496
 
3453
5497
  interface AriaAttributes {
@@ -3620,7 +5664,7 @@ declare global {
3620
5664
  * Defines the hierarchical level of an element within a structure.
3621
5665
  * @see https://www.w3.org/TR/wai-aria-1.1/#aria-level
3622
5666
  */
3623
- "aria-level"?: AttrMissing | number | string;
5667
+ "aria-level"?: AttrString;
3624
5668
  /**
3625
5669
  * Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies,
3626
5670
  * and user can expect from the live region.
@@ -3933,3 +5977,16 @@ type AttrAutoComplete =
3933
5977
  | "fax"
3934
5978
  | "pager"
3935
5979
  | (string & {});
5980
+ type AttrPreserveAspectRatio =
5981
+ | AttrMissing
5982
+ | `${"none" | `x${"Min" | "Mid" | "Max"}Y${"Min" | "Mid" | "Max"}`}${" meet" | " slice" | ""}`;
5983
+
5984
+ type AttrFEIn =
5985
+ | AttrMissing
5986
+ | "SourceGraphic"
5987
+ | "SourceAlpha"
5988
+ | "BackgroundImage"
5989
+ | "BackgroundAlpha"
5990
+ | "FillPaint"
5991
+ | "StrokePaint"
5992
+ | (string & {});