@magnet-js/common 0.1.0

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.
Files changed (58) hide show
  1. package/LICENSE +21 -0
  2. package/esm/_dnt.shims.d.ts +2 -0
  3. package/esm/_dnt.shims.d.ts.map +1 -0
  4. package/esm/_dnt.shims.js +57 -0
  5. package/esm/common.d.ts +80 -0
  6. package/esm/common.d.ts.map +1 -0
  7. package/esm/common.js +22 -0
  8. package/esm/dom/aria.d.ts +266 -0
  9. package/esm/dom/aria.d.ts.map +1 -0
  10. package/esm/dom/aria.js +87 -0
  11. package/esm/dom/globalAttributes.d.ts +95 -0
  12. package/esm/dom/globalAttributes.d.ts.map +1 -0
  13. package/esm/dom/globalAttributes.js +1 -0
  14. package/esm/dom/html.d.ts +1008 -0
  15. package/esm/dom/html.d.ts.map +1 -0
  16. package/esm/dom/html.js +84 -0
  17. package/esm/dom/mathML.d.ts +213 -0
  18. package/esm/dom/mathML.d.ts.map +1 -0
  19. package/esm/dom/mathML.js +47 -0
  20. package/esm/dom/shadowable.d.ts +24 -0
  21. package/esm/dom/shadowable.d.ts.map +1 -0
  22. package/esm/dom/shadowable.js +31 -0
  23. package/esm/dom/svg.d.ts +884 -0
  24. package/esm/dom/svg.d.ts.map +1 -0
  25. package/esm/dom/svg.js +61 -0
  26. package/esm/mod.d.ts +8 -0
  27. package/esm/mod.d.ts.map +1 -0
  28. package/esm/mod.js +7 -0
  29. package/esm/package.json +3 -0
  30. package/package.json +23 -0
  31. package/script/_dnt.shims.d.ts +2 -0
  32. package/script/_dnt.shims.d.ts.map +1 -0
  33. package/script/_dnt.shims.js +60 -0
  34. package/script/common.d.ts +80 -0
  35. package/script/common.d.ts.map +1 -0
  36. package/script/common.js +53 -0
  37. package/script/dom/aria.d.ts +266 -0
  38. package/script/dom/aria.d.ts.map +1 -0
  39. package/script/dom/aria.js +91 -0
  40. package/script/dom/globalAttributes.d.ts +95 -0
  41. package/script/dom/globalAttributes.d.ts.map +1 -0
  42. package/script/dom/globalAttributes.js +2 -0
  43. package/script/dom/html.d.ts +1008 -0
  44. package/script/dom/html.d.ts.map +1 -0
  45. package/script/dom/html.js +90 -0
  46. package/script/dom/mathML.d.ts +213 -0
  47. package/script/dom/mathML.d.ts.map +1 -0
  48. package/script/dom/mathML.js +53 -0
  49. package/script/dom/shadowable.d.ts +24 -0
  50. package/script/dom/shadowable.d.ts.map +1 -0
  51. package/script/dom/shadowable.js +35 -0
  52. package/script/dom/svg.d.ts +884 -0
  53. package/script/dom/svg.d.ts.map +1 -0
  54. package/script/dom/svg.js +67 -0
  55. package/script/mod.d.ts +8 -0
  56. package/script/mod.d.ts.map +1 -0
  57. package/script/mod.js +23 -0
  58. package/script/package.json +3 -0
@@ -0,0 +1,884 @@
1
+ import type { Falsy, MaybeArray, MaybeSignal } from "../common.js";
2
+ import type { AriaAttributes } from "./aria.js";
3
+ import type { Absent, Action, DataAttribute, EventListenerKey, HTMLGlobalAttributes } from "./globalAttributes.js";
4
+ import type { AnchorAndAreaRel, BrowsingContext } from "./html.js";
5
+ export type SVGAttributes<T extends {
6
+ tagName: string;
7
+ }> = (T["tagName"] extends keyof SVGElementAttributes<T> ? SVGElementAttributes<T>[T["tagName"]] : SVGGlobalAttributes<T>) & AriaAttributes & {
8
+ _use?: Action<T> | Falsy;
9
+ };
10
+ export interface SVGGlobalAttributes<T> extends Pick<HTMLGlobalAttributes<T>, "autofocus" | DataAttribute | EventListenerKey | "class" | "dir" | "id" | "lang" | "nonce" | "style" | "tabindex"> {
11
+ transform?: MaybeSignal<string | Absent>;
12
+ }
13
+ export interface SVGElementAttributes<T> {
14
+ a: SVGAnchorAttributes<T>;
15
+ animate: AnimateAttributes<T>;
16
+ animateMotion: AnimateMotionAttributes<T>;
17
+ animateTransform: SVGAnimateTransformAttributes<T>;
18
+ circle: SVGCircleAttributes<T>;
19
+ clipPath: SVGClipPathAttributes<T>;
20
+ defs: SVGDefsAttributes<T>;
21
+ desc: SVGDescAttributes<T>;
22
+ ellipse: SVGEllipseAttributes<T>;
23
+ feBlend: SVGFEBlendAttributes<T>;
24
+ feColorMatrix: SVGFEColorMatrixAttributes<T>;
25
+ feComponentTransfer: SVGFEComponentTransferAttributes<T>;
26
+ feComposite: SVGFECompositeAttributes<T>;
27
+ feConvolveMatrix: SVGFEConvolveMatrixAttributes<T>;
28
+ feDiffuseLighting: SVGFEDiffuseLightingAttributes<T>;
29
+ feDisplacementMap: SVGFEDisplacementMapAttributes<T>;
30
+ feDistantLight: SVGFEDistantLightAttributes<T>;
31
+ feDropShadow: SVGFEDropShadowAttributes<T>;
32
+ feFlood: SVGFEFloodAttributes<T>;
33
+ feFuncA: SVGFEFuncAAttributes<T>;
34
+ feFuncB: SVGFEFuncBAttributes<T>;
35
+ feFuncG: SVGFEFuncGAttributes<T>;
36
+ feFuncR: SVGFEFuncRAttributes<T>;
37
+ feGaussianBlur: SVGFEGaussianBlurAttributes<T>;
38
+ feImage: SVGFEImageAttributes<T>;
39
+ feMerge: SVGFEMergeAttributes<T>;
40
+ feMergeNode: SVGFEMergeNodeAttributes<T>;
41
+ feMorphology: SVGFEMorphologyAttributes<T>;
42
+ feOffset: SVGFEOffsetAttributes<T>;
43
+ fePointLight: SVGFEPointLightAttributes<T>;
44
+ feSpecularLighting: SVGFESpecularLightingAttributes<T>;
45
+ feSpotLight: SVGFESpotLightAttributes<T>;
46
+ feTile: SVGFETileAttributes<T>;
47
+ feTurbulence: SVGFETurbulenceAttributes<T>;
48
+ filter: SVGFilterAttributes<T>;
49
+ foreignObject: SVGForeignObjectAttributes<T>;
50
+ g: SVGGAttributes<T>;
51
+ image: SVGImageAttributes<T>;
52
+ line: SVGLineAttributes<T>;
53
+ linearGradient: SVGLinearGradientAttributes<T>;
54
+ marker: SVGMarkerAttributes<T>;
55
+ mask: SVGMaskAttributes<T>;
56
+ metadata: SVGMetadataAttributes<T>;
57
+ mpath: SVGMpathAttributes<T>;
58
+ path: SVGPathAttributes<T>;
59
+ pattern: SVGPatternAttributes<T>;
60
+ polygon: SVGPolygonAttributes<T>;
61
+ polyline: SVGPolylineAttributes<T>;
62
+ radialGradient: SVGRadialGradientAttributes<T>;
63
+ rect: SVGRectAttributes<T>;
64
+ script: SVGScriptAttributes<T>;
65
+ set: SVGSetAttributes<T>;
66
+ stop: SVGStopAttributes<T>;
67
+ style: SVGStyleAttributes<T>;
68
+ svg: SVGSvgAttributes<T>;
69
+ switch: SVGSwitchAttributes<T>;
70
+ symbol: SVGSymbolAttributes<T>;
71
+ text: SVGTextAttributes<T>;
72
+ textPath: SVGTextPathAttributes<T>;
73
+ title: SVGTitleAttributes<T>;
74
+ tspan: SVGTSpanAttributes<T>;
75
+ use: SVGUseAttributes<T>;
76
+ view: SVGViewAttributes<T>;
77
+ }
78
+ /**
79
+ * SVG element attributes for the a element.
80
+ *
81
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/a
82
+ */
83
+ export interface SVGAnchorAttributes<T> extends SVGGlobalAttributes<T>, SVGPresentationAttributes {
84
+ download?: MaybeSignal<string | boolean | Absent>;
85
+ href?: MaybeSignal<string | Absent>;
86
+ hreflang?: MaybeSignal<string | Absent>;
87
+ ping?: MaybeSignal<string | Absent>;
88
+ referrerpolicy?: MaybeSignal<ReferrerPolicy | Absent>;
89
+ rel?: MaybeSignal<MaybeArray<AnchorAndAreaRel> | Absent>;
90
+ target?: MaybeSignal<BrowsingContext | Absent>;
91
+ type?: MaybeSignal<string | Absent>;
92
+ "xlink:href"?: MaybeSignal<string | Absent>;
93
+ }
94
+ /**
95
+ * SVG element attributes for the animate element.
96
+ *
97
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/animate
98
+ */
99
+ export interface AnimateAttributes<T> extends SVGGlobalAttributes<T>, AnimationTimingAttributes, AnimationValuesAttributes, AnimationAttributeTargetAttributes, AnimationTargetElementAttributes, AnimationAdditionAttributes {
100
+ }
101
+ /**
102
+ * SVG element attributes for the animateMotion element.
103
+ *
104
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/animateMotion
105
+ */
106
+ export interface AnimateMotionAttributes<T> extends SVGGlobalAttributes<T>, AnimationTimingAttributes, AnimationValuesAttributes, AnimationTargetElementAttributes, AnimationAdditionAttributes {
107
+ keyPoints?: MaybeSignal<string | Absent>;
108
+ origin?: MaybeSignal<"default" | Absent>;
109
+ path?: MaybeSignal<string | Absent>;
110
+ rotate?: MaybeSignal<"auto" | "auto-reverse" | number | Absent>;
111
+ }
112
+ export interface AnimationTimingAttributes {
113
+ begin?: MaybeSignal<string | number | Absent>;
114
+ dur?: MaybeSignal<string | number | Absent>;
115
+ end?: MaybeSignal<string | number | Absent>;
116
+ min?: MaybeSignal<string | number | Absent>;
117
+ max?: MaybeSignal<string | number | Absent>;
118
+ restart?: MaybeSignal<"always" | "whenNotActive" | "never" | Absent>;
119
+ repeatCount?: MaybeSignal<number | "indefinite" | Absent>;
120
+ repeatDur?: MaybeSignal<string | "indefinite" | Absent>;
121
+ fill?: MaybeSignal<"remove" | "freeze" | Absent>;
122
+ }
123
+ export interface AnimationValuesAttributes {
124
+ calcMode?: MaybeSignal<"discrete" | "linear" | "paced" | "spline" | Absent>;
125
+ values?: MaybeSignal<string | Absent>;
126
+ keyTimes?: MaybeSignal<string | Absent>;
127
+ keySplines?: MaybeSignal<string | Absent>;
128
+ from?: MaybeSignal<string | Absent>;
129
+ to?: MaybeSignal<string | Absent>;
130
+ by?: MaybeSignal<string | Absent>;
131
+ }
132
+ /**
133
+ * Filter primitive attributes shared by SVG filter primitive elements.
134
+ *
135
+ * @see https://www.w3.org/TR/filter-effects-1/#FilterPrimitiveAttributes
136
+ */
137
+ export interface SVGFilterPrimitiveAttributes {
138
+ x?: MaybeSignal<string | number | Absent>;
139
+ y?: MaybeSignal<string | number | Absent>;
140
+ width?: MaybeSignal<string | number | Absent>;
141
+ height?: MaybeSignal<string | number | Absent>;
142
+ in?: MaybeSignal<string | Absent>;
143
+ result?: MaybeSignal<string | Absent>;
144
+ }
145
+ /**
146
+ * Geometry attributes shared by SVG rectangular elements.
147
+ */
148
+ export interface SVGGeometryAttributes {
149
+ height?: MaybeSignal<string | number | Absent>;
150
+ width?: MaybeSignal<string | number | Absent>;
151
+ x?: MaybeSignal<string | number | Absent>;
152
+ y?: MaybeSignal<string | number | Absent>;
153
+ }
154
+ /**
155
+ * View box attributes shared by SVG viewport-establishing elements.
156
+ */
157
+ export interface SVGFitToViewBoxAttributes {
158
+ viewBox?: MaybeSignal<string | Absent>;
159
+ preserveAspectRatio?: MaybeSignal<string | Absent>;
160
+ }
161
+ /**
162
+ * Text content positioning attributes shared by SVG text elements.
163
+ */
164
+ export interface SVGTextContentPositioningAttributes {
165
+ x?: MaybeSignal<MaybeArray<string | number> | Absent>;
166
+ y?: MaybeSignal<MaybeArray<string | number> | Absent>;
167
+ dx?: MaybeSignal<MaybeArray<string | number> | Absent>;
168
+ dy?: MaybeSignal<MaybeArray<string | number> | Absent>;
169
+ rotate?: MaybeSignal<MaybeArray<string | number> | Absent>;
170
+ }
171
+ /**
172
+ * Text content length attributes shared by SVG text elements.
173
+ */
174
+ export interface SVGTextContentLengthAttributes {
175
+ textLength?: MaybeSignal<string | number | Absent>;
176
+ lengthAdjust?: MaybeSignal<"spacing" | "spacingAndGlyphs" | Absent>;
177
+ }
178
+ /**
179
+ * Transfer function attributes shared by SVG feFunc* elements.
180
+ */
181
+ export interface SVGTransferFunctionAttributes {
182
+ type?: MaybeSignal<"identity" | "table" | "discrete" | "linear" | "gamma" | Absent>;
183
+ tableValues?: MaybeSignal<string | Absent>;
184
+ slope?: MaybeSignal<string | number | Absent>;
185
+ intercept?: MaybeSignal<string | number | Absent>;
186
+ amplitude?: MaybeSignal<string | number | Absent>;
187
+ exponent?: MaybeSignal<string | number | Absent>;
188
+ offset?: MaybeSignal<string | number | Absent>;
189
+ }
190
+ /**
191
+ * Lighting attributes shared by SVG lighting filter primitives.
192
+ */
193
+ export interface SVGLightingAttributes {
194
+ surfaceScale?: MaybeSignal<string | number | Absent>;
195
+ kernelUnitLength?: MaybeSignal<string | number | Absent>;
196
+ "lighting-color"?: MaybeSignal<string | Absent>;
197
+ }
198
+ /**
199
+ * Conditional processing attributes shared by SVG graphics elements.
200
+ */
201
+ export interface SVGConditionalProcessingAttributes {
202
+ requiredExtensions?: MaybeSignal<MaybeArray<string> | Absent>;
203
+ systemLanguage?: MaybeSignal<MaybeArray<string> | Absent>;
204
+ }
205
+ /**
206
+ * Presentation attributes shared by rendered SVG elements.
207
+ *
208
+ * These are CSS properties that SVG allows as element attributes. They apply
209
+ * to any SVG element that is actually rendered; they are intentionally not
210
+ * extended by animation elements (which define their own `fill` attribute),
211
+ * metadata/script/style elements, never-rendered definition elements, or
212
+ * filter primitives.
213
+ *
214
+ * @see https://svgwg.org/svg2-draft/styling.html#PresentationAttributes
215
+ */
216
+ export interface SVGPresentationAttributes {
217
+ "alignment-baseline"?: MaybeSignal<string | Absent>;
218
+ "baseline-shift"?: MaybeSignal<string | Absent>;
219
+ "clip-path"?: MaybeSignal<string | Absent>;
220
+ "clip-rule"?: MaybeSignal<"nonzero" | "evenodd" | Absent>;
221
+ color?: MaybeSignal<string | Absent>;
222
+ cursor?: MaybeSignal<string | Absent>;
223
+ direction?: MaybeSignal<string | Absent>;
224
+ display?: MaybeSignal<string | Absent>;
225
+ "dominant-baseline"?: MaybeSignal<string | Absent>;
226
+ fill?: MaybeSignal<string | Absent>;
227
+ "fill-opacity"?: MaybeSignal<string | number | Absent>;
228
+ "fill-rule"?: MaybeSignal<"nonzero" | "evenodd" | Absent>;
229
+ filter?: MaybeSignal<string | Absent>;
230
+ "font-family"?: MaybeSignal<string | Absent>;
231
+ "font-size"?: MaybeSignal<string | number | Absent>;
232
+ "font-size-adjust"?: MaybeSignal<string | number | Absent>;
233
+ "font-stretch"?: MaybeSignal<string | Absent>;
234
+ "font-style"?: MaybeSignal<string | Absent>;
235
+ "font-variant"?: MaybeSignal<string | Absent>;
236
+ "font-weight"?: MaybeSignal<string | number | Absent>;
237
+ "image-rendering"?: MaybeSignal<string | Absent>;
238
+ "letter-spacing"?: MaybeSignal<string | number | Absent>;
239
+ "marker-end"?: MaybeSignal<string | Absent>;
240
+ "marker-mid"?: MaybeSignal<string | Absent>;
241
+ "marker-start"?: MaybeSignal<string | Absent>;
242
+ mask?: MaybeSignal<string | Absent>;
243
+ opacity?: MaybeSignal<string | number | Absent>;
244
+ overflow?: MaybeSignal<string | Absent>;
245
+ "paint-order"?: MaybeSignal<string | Absent>;
246
+ "pointer-events"?: MaybeSignal<string | Absent>;
247
+ "shape-rendering"?: MaybeSignal<string | Absent>;
248
+ stroke?: MaybeSignal<string | Absent>;
249
+ "stroke-dasharray"?: MaybeSignal<string | Absent>;
250
+ "stroke-dashoffset"?: MaybeSignal<string | number | Absent>;
251
+ "stroke-linecap"?: MaybeSignal<"butt" | "round" | "square" | Absent>;
252
+ "stroke-linejoin"?: MaybeSignal<"miter" | "round" | "bevel" | Absent>;
253
+ "stroke-miterlimit"?: MaybeSignal<string | number | Absent>;
254
+ "stroke-opacity"?: MaybeSignal<string | number | Absent>;
255
+ "stroke-width"?: MaybeSignal<string | number | Absent>;
256
+ "text-anchor"?: MaybeSignal<"start" | "middle" | "end" | Absent>;
257
+ "text-decoration"?: MaybeSignal<string | Absent>;
258
+ "text-rendering"?: MaybeSignal<string | Absent>;
259
+ "transform-origin"?: MaybeSignal<string | Absent>;
260
+ "unicode-bidi"?: MaybeSignal<string | Absent>;
261
+ "vector-effect"?: MaybeSignal<string | Absent>;
262
+ visibility?: MaybeSignal<string | Absent>;
263
+ "word-spacing"?: MaybeSignal<string | number | Absent>;
264
+ "writing-mode"?: MaybeSignal<string | Absent>;
265
+ }
266
+ /**
267
+ * Path length attribute shared by SVG basic shapes.
268
+ */
269
+ export interface SVGPathLengthAttribute {
270
+ pathLength?: MaybeSignal<string | number | Absent>;
271
+ }
272
+ /**
273
+ * Animation attribute target attributes shared by SVG animation elements.
274
+ */
275
+ export interface AnimationAttributeTargetAttributes {
276
+ attributeName?: MaybeSignal<string | Absent>;
277
+ }
278
+ /**
279
+ * Animation target element attributes shared by SVG animation elements.
280
+ */
281
+ export interface AnimationTargetElementAttributes {
282
+ href?: MaybeSignal<string | Absent>;
283
+ "xlink:href"?: MaybeSignal<string | Absent>;
284
+ }
285
+ /**
286
+ * Animation addition attributes shared by SVG animation elements.
287
+ */
288
+ export interface AnimationAdditionAttributes {
289
+ additive?: MaybeSignal<"replace" | "sum" | Absent>;
290
+ accumulate?: MaybeSignal<"none" | "sum" | Absent>;
291
+ }
292
+ /**
293
+ * Gradient attributes shared by SVG gradient elements.
294
+ */
295
+ export interface SVGGradientAttributes {
296
+ gradientTransform?: MaybeSignal<string | Absent>;
297
+ gradientUnits?: MaybeSignal<"userSpaceOnUse" | "objectBoundingBox" | Absent>;
298
+ href?: MaybeSignal<string | Absent>;
299
+ spreadMethod?: MaybeSignal<"pad" | "reflect" | "repeat" | Absent>;
300
+ "xlink:href"?: MaybeSignal<string | Absent>;
301
+ }
302
+ /**
303
+ * SVG element attributes for the animateTransform element.
304
+ *
305
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/animateTransform
306
+ */
307
+ export interface SVGAnimateTransformAttributes<T> extends SVGGlobalAttributes<T>, AnimationTimingAttributes, AnimationValuesAttributes, AnimationAttributeTargetAttributes, AnimationTargetElementAttributes, AnimationAdditionAttributes {
308
+ type?: MaybeSignal<"translate" | "scale" | "rotate" | "skewX" | "skewY" | Absent>;
309
+ }
310
+ /**
311
+ * SVG element attributes for the circle element.
312
+ *
313
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/circle
314
+ */
315
+ export interface SVGCircleAttributes<T> extends SVGGlobalAttributes<T>, SVGPathLengthAttribute, SVGPresentationAttributes {
316
+ cx?: MaybeSignal<string | number | Absent>;
317
+ cy?: MaybeSignal<string | number | Absent>;
318
+ r?: MaybeSignal<string | number | Absent>;
319
+ }
320
+ /**
321
+ * SVG element attributes for the clipPath element.
322
+ *
323
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/clipPath
324
+ */
325
+ export interface SVGClipPathAttributes<T> extends SVGGlobalAttributes<T> {
326
+ clipPathUnits?: MaybeSignal<"userSpaceOnUse" | "objectBoundingBox" | Absent>;
327
+ }
328
+ /**
329
+ * SVG element attributes for the defs element.
330
+ *
331
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/defs
332
+ */
333
+ export interface SVGDefsAttributes<T> extends SVGGlobalAttributes<T> {
334
+ }
335
+ /**
336
+ * SVG element attributes for the desc element.
337
+ *
338
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/desc
339
+ */
340
+ export interface SVGDescAttributes<T> extends SVGGlobalAttributes<T> {
341
+ }
342
+ /**
343
+ * SVG element attributes for the ellipse element.
344
+ *
345
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/ellipse
346
+ */
347
+ export interface SVGEllipseAttributes<T> extends SVGGlobalAttributes<T>, SVGPathLengthAttribute, SVGPresentationAttributes {
348
+ cx?: MaybeSignal<string | number | Absent>;
349
+ cy?: MaybeSignal<string | number | Absent>;
350
+ rx?: MaybeSignal<"auto" | string | number | Absent>;
351
+ ry?: MaybeSignal<"auto" | string | number | Absent>;
352
+ }
353
+ /**
354
+ * SVG element attributes for the feBlend element.
355
+ *
356
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/feBlend
357
+ */
358
+ export interface SVGFEBlendAttributes<T> extends SVGGlobalAttributes<T>, SVGFilterPrimitiveAttributes {
359
+ in2?: MaybeSignal<string | Absent>;
360
+ mode?: MaybeSignal<"color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light" | Absent>;
361
+ }
362
+ /**
363
+ * SVG element attributes for the feColorMatrix element.
364
+ *
365
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/feColorMatrix
366
+ */
367
+ export interface SVGFEColorMatrixAttributes<T> extends SVGGlobalAttributes<T>, SVGFilterPrimitiveAttributes {
368
+ type?: MaybeSignal<"matrix" | "saturate" | "hueRotate" | "luminanceToAlpha" | Absent>;
369
+ values?: MaybeSignal<string | Absent>;
370
+ }
371
+ /**
372
+ * SVG element attributes for the feComponentTransfer element.
373
+ *
374
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/feComponentTransfer
375
+ */
376
+ export interface SVGFEComponentTransferAttributes<T> extends SVGGlobalAttributes<T>, SVGFilterPrimitiveAttributes {
377
+ }
378
+ /**
379
+ * SVG element attributes for the feComposite element.
380
+ *
381
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/feComposite
382
+ */
383
+ export interface SVGFECompositeAttributes<T> extends SVGGlobalAttributes<T>, SVGFilterPrimitiveAttributes {
384
+ in2?: MaybeSignal<string | Absent>;
385
+ operator?: MaybeSignal<"over" | "in" | "out" | "atop" | "xor" | "lighter" | "arithmetic" | Absent>;
386
+ k1?: MaybeSignal<string | number | Absent>;
387
+ k2?: MaybeSignal<string | number | Absent>;
388
+ k3?: MaybeSignal<string | number | Absent>;
389
+ k4?: MaybeSignal<string | number | Absent>;
390
+ }
391
+ /**
392
+ * SVG element attributes for the feConvolveMatrix element.
393
+ *
394
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/feConvolveMatrix
395
+ */
396
+ export interface SVGFEConvolveMatrixAttributes<T> extends SVGGlobalAttributes<T>, SVGFilterPrimitiveAttributes {
397
+ order?: MaybeSignal<string | number | Absent>;
398
+ kernelMatrix?: MaybeSignal<string | Absent>;
399
+ divisor?: MaybeSignal<string | number | Absent>;
400
+ bias?: MaybeSignal<string | number | Absent>;
401
+ targetX?: MaybeSignal<string | number | Absent>;
402
+ targetY?: MaybeSignal<string | number | Absent>;
403
+ edgeMode?: MaybeSignal<"duplicate" | "wrap" | "none" | Absent>;
404
+ kernelUnitLength?: MaybeSignal<string | number | Absent>;
405
+ preserveAlpha?: MaybeSignal<"true" | "false" | Absent>;
406
+ }
407
+ /**
408
+ * SVG element attributes for the feDiffuseLighting element.
409
+ *
410
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/feDiffuseLighting
411
+ */
412
+ export interface SVGFEDiffuseLightingAttributes<T> extends SVGGlobalAttributes<T>, SVGFilterPrimitiveAttributes, SVGLightingAttributes {
413
+ diffuseConstant?: MaybeSignal<string | number | Absent>;
414
+ }
415
+ /**
416
+ * SVG element attributes for the feDisplacementMap element.
417
+ *
418
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/feDisplacementMap
419
+ */
420
+ export interface SVGFEDisplacementMapAttributes<T> extends SVGGlobalAttributes<T>, SVGFilterPrimitiveAttributes {
421
+ in2?: MaybeSignal<string | Absent>;
422
+ scale?: MaybeSignal<string | number | Absent>;
423
+ xChannelSelector?: MaybeSignal<"R" | "G" | "B" | "A" | Absent>;
424
+ yChannelSelector?: MaybeSignal<"R" | "G" | "B" | "A" | Absent>;
425
+ }
426
+ /**
427
+ * SVG element attributes for the feDistantLight element.
428
+ *
429
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/feDistantLight
430
+ */
431
+ export interface SVGFEDistantLightAttributes<T> extends SVGGlobalAttributes<T> {
432
+ azimuth?: MaybeSignal<string | number | Absent>;
433
+ elevation?: MaybeSignal<string | number | Absent>;
434
+ }
435
+ /**
436
+ * SVG element attributes for the feDropShadow element.
437
+ *
438
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/feDropShadow
439
+ */
440
+ export interface SVGFEDropShadowAttributes<T> extends SVGGlobalAttributes<T>, SVGFilterPrimitiveAttributes {
441
+ dx?: MaybeSignal<string | number | Absent>;
442
+ dy?: MaybeSignal<string | number | Absent>;
443
+ stdDeviation?: MaybeSignal<string | number | Absent>;
444
+ }
445
+ /**
446
+ * SVG element attributes for the feFlood element.
447
+ *
448
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/feFlood
449
+ */
450
+ export interface SVGFEFloodAttributes<T> extends SVGGlobalAttributes<T>, SVGFilterPrimitiveAttributes {
451
+ "flood-color"?: MaybeSignal<string | Absent>;
452
+ "flood-opacity"?: MaybeSignal<string | number | Absent>;
453
+ }
454
+ /**
455
+ * SVG element attributes for the feFuncA element.
456
+ *
457
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/feFuncA
458
+ */
459
+ export interface SVGFEFuncAAttributes<T> extends SVGGlobalAttributes<T>, SVGTransferFunctionAttributes {
460
+ }
461
+ /**
462
+ * SVG element attributes for the feFuncB element.
463
+ *
464
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/feFuncB
465
+ */
466
+ export interface SVGFEFuncBAttributes<T> extends SVGGlobalAttributes<T>, SVGTransferFunctionAttributes {
467
+ }
468
+ /**
469
+ * SVG element attributes for the feFuncG element.
470
+ *
471
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/feFuncG
472
+ */
473
+ export interface SVGFEFuncGAttributes<T> extends SVGGlobalAttributes<T>, SVGTransferFunctionAttributes {
474
+ }
475
+ /**
476
+ * SVG element attributes for the feFuncR element.
477
+ *
478
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/feFuncR
479
+ */
480
+ export interface SVGFEFuncRAttributes<T> extends SVGGlobalAttributes<T>, SVGTransferFunctionAttributes {
481
+ }
482
+ /**
483
+ * SVG element attributes for the feGaussianBlur element.
484
+ *
485
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/feGaussianBlur
486
+ */
487
+ export interface SVGFEGaussianBlurAttributes<T> extends SVGGlobalAttributes<T>, SVGFilterPrimitiveAttributes {
488
+ stdDeviation?: MaybeSignal<string | number | MaybeArray<number> | Absent>;
489
+ edgeMode?: MaybeSignal<"duplicate" | "wrap" | "none" | Absent>;
490
+ }
491
+ /**
492
+ * SVG element attributes for the feImage element.
493
+ *
494
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/feImage
495
+ */
496
+ export interface SVGFEImageAttributes<T> extends SVGGlobalAttributes<T>, SVGFilterPrimitiveAttributes {
497
+ crossorigin?: MaybeSignal<"" | "anonymous" | "use-credentials" | Absent>;
498
+ fetchpriority?: MaybeSignal<"high" | "low" | "auto" | Absent>;
499
+ href?: MaybeSignal<string | Absent>;
500
+ preserveAspectRatio?: MaybeSignal<string | Absent>;
501
+ "xlink:href"?: MaybeSignal<string | Absent>;
502
+ }
503
+ /**
504
+ * SVG element attributes for the feMerge element.
505
+ *
506
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/feMerge
507
+ */
508
+ export interface SVGFEMergeAttributes<T> extends SVGGlobalAttributes<T>, SVGFilterPrimitiveAttributes {
509
+ }
510
+ /**
511
+ * SVG element attributes for the feMergeNode element.
512
+ *
513
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/feMergeNode
514
+ */
515
+ export interface SVGFEMergeNodeAttributes<T> extends SVGGlobalAttributes<T> {
516
+ in?: MaybeSignal<string | Absent>;
517
+ }
518
+ /**
519
+ * SVG element attributes for the feMorphology element.
520
+ *
521
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/feMorphology
522
+ */
523
+ export interface SVGFEMorphologyAttributes<T> extends SVGGlobalAttributes<T>, SVGFilterPrimitiveAttributes {
524
+ operator?: MaybeSignal<"erode" | "dilate" | Absent>;
525
+ radius?: MaybeSignal<string | number | Absent>;
526
+ }
527
+ /**
528
+ * SVG element attributes for the feOffset element.
529
+ *
530
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/feOffset
531
+ */
532
+ export interface SVGFEOffsetAttributes<T> extends SVGGlobalAttributes<T>, SVGFilterPrimitiveAttributes {
533
+ dx?: MaybeSignal<string | number | Absent>;
534
+ dy?: MaybeSignal<string | number | Absent>;
535
+ }
536
+ /**
537
+ * SVG element attributes for the fePointLight element.
538
+ *
539
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/fePointLight
540
+ */
541
+ export interface SVGFEPointLightAttributes<T> extends SVGGlobalAttributes<T> {
542
+ x?: MaybeSignal<string | number | Absent>;
543
+ y?: MaybeSignal<string | number | Absent>;
544
+ z?: MaybeSignal<string | number | Absent>;
545
+ }
546
+ /**
547
+ * SVG element attributes for the feSpecularLighting element.
548
+ *
549
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/feSpecularLighting
550
+ */
551
+ export interface SVGFESpecularLightingAttributes<T> extends SVGGlobalAttributes<T>, SVGFilterPrimitiveAttributes, SVGLightingAttributes {
552
+ specularConstant?: MaybeSignal<string | number | Absent>;
553
+ specularExponent?: MaybeSignal<string | number | Absent>;
554
+ }
555
+ /**
556
+ * SVG element attributes for the feSpotLight element.
557
+ *
558
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/feSpotLight
559
+ */
560
+ export interface SVGFESpotLightAttributes<T> extends SVGGlobalAttributes<T> {
561
+ x?: MaybeSignal<string | number | Absent>;
562
+ y?: MaybeSignal<string | number | Absent>;
563
+ z?: MaybeSignal<string | number | Absent>;
564
+ pointsAtX?: MaybeSignal<string | number | Absent>;
565
+ pointsAtY?: MaybeSignal<string | number | Absent>;
566
+ pointsAtZ?: MaybeSignal<string | number | Absent>;
567
+ specularExponent?: MaybeSignal<string | number | Absent>;
568
+ limitingConeAngle?: MaybeSignal<string | number | Absent>;
569
+ }
570
+ /**
571
+ * SVG element attributes for the feTile element.
572
+ *
573
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/feTile
574
+ */
575
+ export interface SVGFETileAttributes<T> extends SVGGlobalAttributes<T>, SVGFilterPrimitiveAttributes {
576
+ }
577
+ /**
578
+ * SVG element attributes for the feTurbulence element.
579
+ *
580
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/feTurbulence
581
+ */
582
+ export interface SVGFETurbulenceAttributes<T> extends SVGGlobalAttributes<T>, SVGFilterPrimitiveAttributes {
583
+ baseFrequency?: MaybeSignal<string | number | Absent>;
584
+ numOctaves?: MaybeSignal<number | Absent>;
585
+ seed?: MaybeSignal<number | Absent>;
586
+ stitchTiles?: MaybeSignal<"stitch" | "noStitch" | Absent>;
587
+ type?: MaybeSignal<"fractalNoise" | "turbulence" | Absent>;
588
+ }
589
+ /**
590
+ * SVG element attributes for the filter element.
591
+ *
592
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/filter
593
+ */
594
+ export interface SVGFilterAttributes<T> extends SVGGlobalAttributes<T>, SVGGeometryAttributes {
595
+ filterUnits?: MaybeSignal<"userSpaceOnUse" | "objectBoundingBox" | Absent>;
596
+ primitiveUnits?: MaybeSignal<"userSpaceOnUse" | "objectBoundingBox" | Absent>;
597
+ href?: MaybeSignal<string | Absent>;
598
+ "xlink:href"?: MaybeSignal<string | Absent>;
599
+ }
600
+ /**
601
+ * SVG element attributes for the foreignObject element.
602
+ *
603
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/foreignObject
604
+ */
605
+ export interface SVGForeignObjectAttributes<T> extends SVGGlobalAttributes<T>, SVGGeometryAttributes, SVGPresentationAttributes {
606
+ }
607
+ /**
608
+ * SVG element attributes for the g element.
609
+ *
610
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/g
611
+ */
612
+ export interface SVGGAttributes<T> extends SVGGlobalAttributes<T>, SVGConditionalProcessingAttributes, SVGPresentationAttributes {
613
+ }
614
+ /**
615
+ * SVG element attributes for the image element.
616
+ *
617
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/image
618
+ */
619
+ export interface SVGImageAttributes<T> extends SVGGlobalAttributes<T>, SVGGeometryAttributes, SVGConditionalProcessingAttributes, SVGPresentationAttributes {
620
+ crossorigin?: MaybeSignal<"" | "anonymous" | "use-credentials" | Absent>;
621
+ decoding?: MaybeSignal<"async" | "sync" | "auto" | Absent>;
622
+ fetchpriority?: MaybeSignal<"high" | "low" | "auto" | Absent>;
623
+ href?: MaybeSignal<string | Absent>;
624
+ preserveAspectRatio?: MaybeSignal<string | Absent>;
625
+ "xlink:href"?: MaybeSignal<string | Absent>;
626
+ }
627
+ /**
628
+ * SVG element attributes for the line element.
629
+ *
630
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/line
631
+ */
632
+ export interface SVGLineAttributes<T> extends SVGGlobalAttributes<T>, SVGPathLengthAttribute, SVGPresentationAttributes {
633
+ x1?: MaybeSignal<string | number | Absent>;
634
+ y1?: MaybeSignal<string | number | Absent>;
635
+ x2?: MaybeSignal<string | number | Absent>;
636
+ y2?: MaybeSignal<string | number | Absent>;
637
+ }
638
+ /**
639
+ * SVG element attributes for the linearGradient element.
640
+ *
641
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/linearGradient
642
+ */
643
+ export interface SVGLinearGradientAttributes<T> extends SVGGlobalAttributes<T>, SVGGradientAttributes {
644
+ x1?: MaybeSignal<string | number | Absent>;
645
+ x2?: MaybeSignal<string | number | Absent>;
646
+ y1?: MaybeSignal<string | number | Absent>;
647
+ y2?: MaybeSignal<string | number | Absent>;
648
+ }
649
+ /**
650
+ * SVG element attributes for the marker element.
651
+ *
652
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/marker
653
+ */
654
+ export interface SVGMarkerAttributes<T> extends SVGGlobalAttributes<T>, SVGFitToViewBoxAttributes {
655
+ refX?: MaybeSignal<"left" | "center" | "right" | string | number | Absent>;
656
+ refY?: MaybeSignal<"top" | "center" | "bottom" | string | number | Absent>;
657
+ markerHeight?: MaybeSignal<string | number | Absent>;
658
+ markerUnits?: MaybeSignal<"strokeWidth" | "userSpaceOnUse" | Absent>;
659
+ markerWidth?: MaybeSignal<string | number | Absent>;
660
+ orient?: MaybeSignal<"auto" | "auto-start-reverse" | string | number | Absent>;
661
+ }
662
+ /**
663
+ * SVG element attributes for the mask element.
664
+ *
665
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/mask
666
+ */
667
+ export interface SVGMaskAttributes<T> extends SVGGlobalAttributes<T>, SVGGeometryAttributes {
668
+ maskUnits?: MaybeSignal<"userSpaceOnUse" | "objectBoundingBox" | Absent>;
669
+ maskContentUnits?: MaybeSignal<"userSpaceOnUse" | "objectBoundingBox" | Absent>;
670
+ "mask-type"?: MaybeSignal<"alpha" | "luminance" | Absent>;
671
+ }
672
+ /**
673
+ * SVG element attributes for the metadata element.
674
+ *
675
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/metadata
676
+ */
677
+ export interface SVGMetadataAttributes<T> extends SVGGlobalAttributes<T> {
678
+ }
679
+ /**
680
+ * SVG element attributes for the mpath element.
681
+ *
682
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/mpath
683
+ */
684
+ export interface SVGMpathAttributes<T> extends SVGGlobalAttributes<T> {
685
+ href?: MaybeSignal<string | Absent>;
686
+ "xlink:href"?: MaybeSignal<string | Absent>;
687
+ }
688
+ /**
689
+ * SVG element attributes for the path element.
690
+ *
691
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/path
692
+ */
693
+ export interface SVGPathAttributes<T> extends SVGGlobalAttributes<T>, SVGPathLengthAttribute, SVGPresentationAttributes {
694
+ d?: MaybeSignal<string | Absent>;
695
+ }
696
+ /**
697
+ * SVG element attributes for the pattern element.
698
+ *
699
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/pattern
700
+ */
701
+ export interface SVGPatternAttributes<T> extends SVGGlobalAttributes<T>, SVGGeometryAttributes, SVGFitToViewBoxAttributes {
702
+ href?: MaybeSignal<string | Absent>;
703
+ patternContentUnits?: MaybeSignal<"userSpaceOnUse" | "objectBoundingBox" | Absent>;
704
+ patternTransform?: MaybeSignal<string | Absent>;
705
+ patternUnits?: MaybeSignal<"userSpaceOnUse" | "objectBoundingBox" | Absent>;
706
+ "xlink:href"?: MaybeSignal<string | Absent>;
707
+ }
708
+ /**
709
+ * SVG element attributes for the polygon element.
710
+ *
711
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/polygon
712
+ */
713
+ export interface SVGPolygonAttributes<T> extends SVGGlobalAttributes<T>, SVGPathLengthAttribute, SVGPresentationAttributes {
714
+ points?: MaybeSignal<string | Absent>;
715
+ }
716
+ /**
717
+ * SVG element attributes for the polyline element.
718
+ *
719
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/polyline
720
+ */
721
+ export interface SVGPolylineAttributes<T> extends SVGGlobalAttributes<T>, SVGPathLengthAttribute, SVGPresentationAttributes {
722
+ points?: MaybeSignal<string | Absent>;
723
+ }
724
+ /**
725
+ * SVG element attributes for the radialGradient element.
726
+ *
727
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/radialGradient
728
+ */
729
+ export interface SVGRadialGradientAttributes<T> extends SVGGlobalAttributes<T>, SVGGradientAttributes {
730
+ cx?: MaybeSignal<string | number | Absent>;
731
+ cy?: MaybeSignal<string | number | Absent>;
732
+ r?: MaybeSignal<string | number | Absent>;
733
+ fx?: MaybeSignal<string | number | Absent>;
734
+ fy?: MaybeSignal<string | number | Absent>;
735
+ fr?: MaybeSignal<string | number | Absent>;
736
+ }
737
+ /**
738
+ * SVG element attributes for the rect element.
739
+ *
740
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/rect
741
+ */
742
+ export interface SVGRectAttributes<T> extends SVGGlobalAttributes<T>, SVGGeometryAttributes, SVGPathLengthAttribute, SVGPresentationAttributes {
743
+ rx?: MaybeSignal<string | number | Absent>;
744
+ ry?: MaybeSignal<string | number | Absent>;
745
+ }
746
+ /**
747
+ * SVG element attributes for the script element.
748
+ *
749
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/script
750
+ */
751
+ export interface SVGScriptAttributes<T> extends SVGGlobalAttributes<T> {
752
+ href?: MaybeSignal<string | Absent>;
753
+ type?: MaybeSignal<string | Absent>;
754
+ "xlink:href"?: MaybeSignal<string | Absent>;
755
+ }
756
+ /**
757
+ * SVG element attributes for the set element.
758
+ *
759
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/set
760
+ */
761
+ export interface SVGSetAttributes<T> extends SVGGlobalAttributes<T>, AnimationTimingAttributes, AnimationAttributeTargetAttributes, AnimationTargetElementAttributes {
762
+ to?: MaybeSignal<string | Absent>;
763
+ }
764
+ /**
765
+ * SVG element attributes for the stop element.
766
+ *
767
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/stop
768
+ */
769
+ export interface SVGStopAttributes<T> extends SVGGlobalAttributes<T> {
770
+ offset?: MaybeSignal<string | number | Absent>;
771
+ "stop-color"?: MaybeSignal<string | Absent>;
772
+ "stop-opacity"?: MaybeSignal<string | number | Absent>;
773
+ }
774
+ /**
775
+ * SVG element attributes for the style element.
776
+ *
777
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/style
778
+ */
779
+ export interface SVGStyleAttributes<T> extends SVGGlobalAttributes<T> {
780
+ type?: MaybeSignal<string | Absent>;
781
+ media?: MaybeSignal<string | Absent>;
782
+ }
783
+ /**
784
+ * SVG element attributes for the svg element.
785
+ *
786
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/svg
787
+ */
788
+ export interface SVGSvgAttributes<T> extends SVGGlobalAttributes<T>, SVGGeometryAttributes, SVGFitToViewBoxAttributes, SVGPresentationAttributes {
789
+ baseProfile?: MaybeSignal<string | Absent>;
790
+ version?: MaybeSignal<string | number | Absent>;
791
+ }
792
+ /**
793
+ * SVG element attributes for the switch element.
794
+ *
795
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/switch
796
+ */
797
+ export interface SVGSwitchAttributes<T> extends SVGGlobalAttributes<T>, SVGConditionalProcessingAttributes, SVGPresentationAttributes {
798
+ requiredFeatures?: MaybeSignal<MaybeArray<string> | Absent>;
799
+ }
800
+ /**
801
+ * SVG element attributes for the symbol element.
802
+ *
803
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/symbol
804
+ */
805
+ export interface SVGSymbolAttributes<T> extends SVGGlobalAttributes<T>, SVGGeometryAttributes, SVGFitToViewBoxAttributes, SVGPresentationAttributes {
806
+ refX?: MaybeSignal<string | number | Absent>;
807
+ refY?: MaybeSignal<string | number | Absent>;
808
+ }
809
+ /**
810
+ * SVG element attributes for the text element.
811
+ *
812
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/text
813
+ */
814
+ export interface SVGTextAttributes<T> extends SVGGlobalAttributes<T>, SVGTextContentPositioningAttributes, SVGTextContentLengthAttributes, SVGPresentationAttributes {
815
+ }
816
+ /**
817
+ * SVG element attributes for the textPath element.
818
+ *
819
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/textPath
820
+ */
821
+ export interface SVGTextPathAttributes<T> extends SVGGlobalAttributes<T>, SVGTextContentLengthAttributes, SVGPresentationAttributes {
822
+ href?: MaybeSignal<string | Absent>;
823
+ method?: MaybeSignal<"align" | "stretch" | Absent>;
824
+ path?: MaybeSignal<string | Absent>;
825
+ side?: MaybeSignal<"left" | "right" | Absent>;
826
+ spacing?: MaybeSignal<"auto" | "exact" | Absent>;
827
+ startOffset?: MaybeSignal<string | number | Absent>;
828
+ "xlink:href"?: MaybeSignal<string | Absent>;
829
+ }
830
+ /**
831
+ * SVG element attributes for the title element.
832
+ *
833
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/title
834
+ */
835
+ export interface SVGTitleAttributes<T> extends SVGGlobalAttributes<T> {
836
+ }
837
+ /**
838
+ * SVG element attributes for the tspan element.
839
+ *
840
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/tspan
841
+ */
842
+ export interface SVGTSpanAttributes<T> extends SVGGlobalAttributes<T>, SVGTextContentPositioningAttributes, SVGTextContentLengthAttributes, SVGPresentationAttributes {
843
+ }
844
+ /**
845
+ * SVG element attributes for the use element.
846
+ *
847
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/use
848
+ */
849
+ export interface SVGUseAttributes<T> extends SVGGlobalAttributes<T>, SVGGeometryAttributes, SVGPresentationAttributes {
850
+ href?: MaybeSignal<string | Absent>;
851
+ "xlink:href"?: MaybeSignal<string | Absent>;
852
+ }
853
+ /**
854
+ * SVG element attributes for the view element.
855
+ *
856
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/view
857
+ */
858
+ export interface SVGViewAttributes<T> extends SVGGlobalAttributes<T>, SVGFitToViewBoxAttributes {
859
+ zoomAndPan?: MaybeSignal<"disable" | "magnify" | Absent>;
860
+ }
861
+ declare const SVG_TEXTUAL: readonly ["desc", "title", "script", "style"];
862
+ declare const SVG_CHILDLESS: readonly ["animate", "animateTransform", "circle", "ellipse", "feBlend", "feColorMatrix", "feComposite", "feConvolveMatrix", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpotLight", "feTile", "feTurbulence", "image", "line", "mpath", "path", "polygon", "polyline", "rect", "set", "stop", "use", "view"];
863
+ export interface SVGRestrictiveParents {
864
+ filter: "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDropShadow" | "feFlood" | "feGaussianBlur" | "feImage" | "feMerge" | "feMorphology" | "feOffset" | "feSpecularLighting" | "feTile" | "feTurbulence";
865
+ text: "a" | "textPath" | "tspan";
866
+ textPath: "a" | "textPath" | "tspan";
867
+ tspan: "a" | "textPath" | "tspan";
868
+ feDiffuseLighting: "feDistantLight" | "fePointLight" | "feSpotLight";
869
+ feSpecularLighting: "feDistantLight" | "fePointLight" | "feSpotLight";
870
+ feComponentTransfer: "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR";
871
+ feMerge: "feMergeNode";
872
+ linearGradient: "stop";
873
+ radialGradient: "stop";
874
+ animateMotion: "mpath";
875
+ clipPath: "circle" | "ellipse" | "line" | "path" | "polygon" | "polyline" | "rect" | "use" | "text";
876
+ }
877
+ export type SVGRestrictiveParent = keyof SVGRestrictiveParents;
878
+ export type SVGTextual = typeof SVG_TEXTUAL[number];
879
+ export type SVGChildless = typeof SVG_CHILDLESS[number];
880
+ export declare const isSVGRestrictiveParent: (name: unknown) => name is SVGRestrictiveParent;
881
+ export declare const isSVGTextual: (name: unknown) => name is SVGTextual;
882
+ export declare const isSVGChildless: (name: unknown) => name is SVGChildless;
883
+ export {};
884
+ //# sourceMappingURL=svg.d.ts.map