@snupo/jmc 1.0.44 → 1.0.46

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/src/jsx.ts CHANGED
@@ -23,20 +23,637 @@ interface EventHandler<E extends Event> {
23
23
  }
24
24
 
25
25
  export interface AdditionalElementAttributes {
26
- mounted?: (n:Node) => void
27
- update?: (n:Node, uc:any) => void
26
+ mounted?: (n: Node) => void
27
+ update?: (n: Node, uc: any) => void
28
28
  const?: boolean
29
29
  model?: any
30
30
  }
31
31
 
32
- import { SVGAttributes } from 'react'
32
+ /**
33
+ * Used to represent DOM API's where users can either pass
34
+ * true or false as a boolean or as its equivalent strings.
35
+ */
36
+ type Booleanish = boolean | "true" | "false";
37
+
38
+ /**
39
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin MDN}
40
+ */
41
+ type CrossOrigin = "anonymous" | "use-credentials" | "" | undefined;
42
+
43
+ // All the WAI-ARIA 1.1 attributes from https://www.w3.org/TR/wai-aria-1.1/
44
+ interface AriaAttributes {
45
+ /** Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application. */
46
+ "aria-activedescendant"?: string | undefined;
47
+ /** Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute. */
48
+ "aria-atomic"?: Booleanish | undefined;
49
+ /**
50
+ * Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be
51
+ * presented if they are made.
52
+ */
53
+ "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
54
+ /** Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user. */
55
+ /**
56
+ * Defines a string value that labels the current element, which is intended to be converted into Braille.
57
+ * @see aria-label.
58
+ */
59
+ "aria-braillelabel"?: string | undefined;
60
+ /**
61
+ * Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.
62
+ * @see aria-roledescription.
63
+ */
64
+ "aria-brailleroledescription"?: string | undefined;
65
+ "aria-busy"?: Booleanish | undefined;
66
+ /**
67
+ * Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
68
+ * @see aria-pressed @see aria-selected.
69
+ */
70
+ "aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
71
+ /**
72
+ * Defines the total number of columns in a table, grid, or treegrid.
73
+ * @see aria-colindex.
74
+ */
75
+ "aria-colcount"?: number | undefined;
76
+ /**
77
+ * Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
78
+ * @see aria-colcount @see aria-colspan.
79
+ */
80
+ "aria-colindex"?: number | undefined;
81
+ /**
82
+ * Defines a human readable text alternative of aria-colindex.
83
+ * @see aria-rowindextext.
84
+ */
85
+ "aria-colindextext"?: string | undefined;
86
+ /**
87
+ * Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
88
+ * @see aria-colindex @see aria-rowspan.
89
+ */
90
+ "aria-colspan"?: number | undefined;
91
+ /**
92
+ * Identifies the element (or elements) whose contents or presence are controlled by the current element.
93
+ * @see aria-owns.
94
+ */
95
+ "aria-controls"?: string | undefined;
96
+ /** Indicates the element that represents the current item within a container or set of related elements. */
97
+ "aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
98
+ /**
99
+ * Identifies the element (or elements) that describes the object.
100
+ * @see aria-labelledby
101
+ */
102
+ "aria-describedby"?: string | undefined;
103
+ /**
104
+ * Defines a string value that describes or annotates the current element.
105
+ * @see related aria-describedby.
106
+ */
107
+ "aria-description"?: string | undefined;
108
+ /**
109
+ * Identifies the element that provides a detailed, extended description for the object.
110
+ * @see aria-describedby.
111
+ */
112
+ "aria-details"?: string | undefined;
113
+ /**
114
+ * Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
115
+ * @see aria-hidden @see aria-readonly.
116
+ */
117
+ "aria-disabled"?: Booleanish | undefined;
118
+ /**
119
+ * Indicates what functions can be performed when a dragged object is released on the drop target.
120
+ * @deprecated in ARIA 1.1
121
+ */
122
+ "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
123
+ /**
124
+ * Identifies the element that provides an error message for the object.
125
+ * @see aria-invalid @see aria-describedby.
126
+ */
127
+ "aria-errormessage"?: string | undefined;
128
+ /** Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed. */
129
+ "aria-expanded"?: Booleanish | undefined;
130
+ /**
131
+ * Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,
132
+ * allows assistive technology to override the general default of reading in document source order.
133
+ */
134
+ "aria-flowto"?: string | undefined;
135
+ /**
136
+ * Indicates an element's "grabbed" state in a drag-and-drop operation.
137
+ * @deprecated in ARIA 1.1
138
+ */
139
+ "aria-grabbed"?: Booleanish | undefined;
140
+ /** Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. */
141
+ "aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
142
+ /**
143
+ * Indicates whether the element is exposed to an accessibility API.
144
+ * @see aria-disabled.
145
+ */
146
+ "aria-hidden"?: Booleanish | undefined;
147
+ /**
148
+ * Indicates the entered value does not conform to the format expected by the application.
149
+ * @see aria-errormessage.
150
+ */
151
+ "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
152
+ /** Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element. */
153
+ "aria-keyshortcuts"?: string | undefined;
154
+ /**
155
+ * Defines a string value that labels the current element.
156
+ * @see aria-labelledby.
157
+ */
158
+ "aria-label"?: string | undefined;
159
+ /**
160
+ * Identifies the element (or elements) that labels the current element.
161
+ * @see aria-describedby.
162
+ */
163
+ "aria-labelledby"?: string | undefined;
164
+ /** Defines the hierarchical level of an element within a structure. */
165
+ "aria-level"?: number | undefined;
166
+ /** Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region. */
167
+ "aria-live"?: "off" | "assertive" | "polite" | undefined;
168
+ /** Indicates whether an element is modal when displayed. */
169
+ "aria-modal"?: Booleanish | undefined;
170
+ /** Indicates whether a text box accepts multiple lines of input or only a single line. */
171
+ "aria-multiline"?: Booleanish | undefined;
172
+ /** Indicates that the user may select more than one item from the current selectable descendants. */
173
+ "aria-multiselectable"?: Booleanish | undefined;
174
+ /** Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous. */
175
+ "aria-orientation"?: "horizontal" | "vertical" | undefined;
176
+ /**
177
+ * Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship
178
+ * between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
179
+ * @see aria-controls.
180
+ */
181
+ "aria-owns"?: string | undefined;
182
+ /**
183
+ * Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.
184
+ * A hint could be a sample value or a brief description of the expected format.
185
+ */
186
+ "aria-placeholder"?: string | undefined;
187
+ /**
188
+ * Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
189
+ * @see aria-setsize.
190
+ */
191
+ "aria-posinset"?: number | undefined;
192
+ /**
193
+ * Indicates the current "pressed" state of toggle buttons.
194
+ * @see aria-checked @see aria-selected.
195
+ */
196
+ "aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
197
+ /**
198
+ * Indicates that the element is not editable, but is otherwise operable.
199
+ * @see aria-disabled.
200
+ */
201
+ "aria-readonly"?: Booleanish | undefined;
202
+ /**
203
+ * Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
204
+ * @see aria-atomic.
205
+ */
206
+ "aria-relevant"?:
207
+ | "additions"
208
+ | "additions removals"
209
+ | "additions text"
210
+ | "all"
211
+ | "removals"
212
+ | "removals additions"
213
+ | "removals text"
214
+ | "text"
215
+ | "text additions"
216
+ | "text removals"
217
+ | undefined;
218
+ /** Indicates that user input is required on the element before a form may be submitted. */
219
+ "aria-required"?: Booleanish | undefined;
220
+ /** Defines a human-readable, author-localized description for the role of an element. */
221
+ "aria-roledescription"?: string | undefined;
222
+ /**
223
+ * Defines the total number of rows in a table, grid, or treegrid.
224
+ * @see aria-rowindex.
225
+ */
226
+ "aria-rowcount"?: number | undefined;
227
+ /**
228
+ * Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
229
+ * @see aria-rowcount @see aria-rowspan.
230
+ */
231
+ "aria-rowindex"?: number | undefined;
232
+ /**
233
+ * Defines a human readable text alternative of aria-rowindex.
234
+ * @see aria-colindextext.
235
+ */
236
+ "aria-rowindextext"?: string | undefined;
237
+ /**
238
+ * Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
239
+ * @see aria-rowindex @see aria-colspan.
240
+ */
241
+ "aria-rowspan"?: number | undefined;
242
+ /**
243
+ * Indicates the current "selected" state of various widgets.
244
+ * @see aria-checked @see aria-pressed.
245
+ */
246
+ "aria-selected"?: Booleanish | undefined;
247
+ /**
248
+ * Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
249
+ * @see aria-posinset.
250
+ */
251
+ "aria-setsize"?: number | undefined;
252
+ /** Indicates if items in a table or grid are sorted in ascending or descending order. */
253
+ "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
254
+ /** Defines the maximum allowed value for a range widget. */
255
+ "aria-valuemax"?: number | undefined;
256
+ /** Defines the minimum allowed value for a range widget. */
257
+ "aria-valuemin"?: number | undefined;
258
+ /**
259
+ * Defines the current value for a range widget.
260
+ * @see aria-valuetext.
261
+ */
262
+ "aria-valuenow"?: number | undefined;
263
+ /** Defines the human readable text alternative of aria-valuenow for a range widget. */
264
+ "aria-valuetext"?: string | undefined;
265
+ }
266
+
267
+ // All the WAI-ARIA 1.1 role attribute values from https://www.w3.org/TR/wai-aria-1.1/#role_definitions
268
+ type AriaRole =
269
+ | "alert"
270
+ | "alertdialog"
271
+ | "application"
272
+ | "article"
273
+ | "banner"
274
+ | "button"
275
+ | "cell"
276
+ | "checkbox"
277
+ | "columnheader"
278
+ | "combobox"
279
+ | "complementary"
280
+ | "contentinfo"
281
+ | "definition"
282
+ | "dialog"
283
+ | "directory"
284
+ | "document"
285
+ | "feed"
286
+ | "figure"
287
+ | "form"
288
+ | "grid"
289
+ | "gridcell"
290
+ | "group"
291
+ | "heading"
292
+ | "img"
293
+ | "link"
294
+ | "list"
295
+ | "listbox"
296
+ | "listitem"
297
+ | "log"
298
+ | "main"
299
+ | "marquee"
300
+ | "math"
301
+ | "menu"
302
+ | "menubar"
303
+ | "menuitem"
304
+ | "menuitemcheckbox"
305
+ | "menuitemradio"
306
+ | "navigation"
307
+ | "none"
308
+ | "note"
309
+ | "option"
310
+ | "presentation"
311
+ | "progressbar"
312
+ | "radio"
313
+ | "radiogroup"
314
+ | "region"
315
+ | "row"
316
+ | "rowgroup"
317
+ | "rowheader"
318
+ | "scrollbar"
319
+ | "search"
320
+ | "searchbox"
321
+ | "separator"
322
+ | "slider"
323
+ | "spinbutton"
324
+ | "status"
325
+ | "switch"
326
+ | "tab"
327
+ | "table"
328
+ | "tablist"
329
+ | "tabpanel"
330
+ | "term"
331
+ | "textbox"
332
+ | "timer"
333
+ | "toolbar"
334
+ | "tooltip"
335
+ | "tree"
336
+ | "treegrid"
337
+ | "treeitem"
338
+ | (string & {});
339
+
340
+ // this list is "complete" in that it contains every SVG attribute
341
+ // that React supports, but the types can be improved.
342
+ // Full list here: https://facebook.github.io/react/docs/dom-elements.html
343
+ //
344
+ // The three broad type categories are (in order of restrictiveness):
345
+ // - "number | string"
346
+ // - "string"
347
+ // - union of string literals
348
+ interface SVGAttributes<T> extends AriaAttributes, HTMLAttributes {
349
+ // React-specific Attributes
350
+ suppressHydrationWarning?: boolean | undefined;
351
+
352
+ // Attributes which also defined in HTMLAttributes
353
+ // See comment in SVGDOMPropertyConfig.js
354
+ className?: string | undefined;
355
+ color?: string | undefined;
356
+ height?: number | string | undefined;
357
+ id?: string | undefined;
358
+ lang?: string | undefined;
359
+ max?: number | string | undefined;
360
+ media?: string | undefined;
361
+ method?: string | undefined;
362
+ min?: number | string | undefined;
363
+ name?: string | undefined;
364
+ nonce?: string | undefined;
365
+ part?: string | undefined;
366
+ slot?: string | undefined;
367
+ style?: any | undefined; // react @types has CSSProperties here
368
+ target?: string | undefined;
369
+ type?: string | undefined;
370
+ width?: number | string | undefined;
371
+
372
+ // Other HTML properties supported by SVG elements in browsers
373
+ role?: AriaRole | undefined;
374
+ tabIndex?: number | undefined;
375
+ crossOrigin?: CrossOrigin;
376
+
377
+ // SVG Specific attributes
378
+ accentHeight?: number | string | undefined;
379
+ accumulate?: "none" | "sum" | undefined;
380
+ additive?: "replace" | "sum" | undefined;
381
+ alignmentBaseline?:
382
+ | "auto"
383
+ | "baseline"
384
+ | "before-edge"
385
+ | "text-before-edge"
386
+ | "middle"
387
+ | "central"
388
+ | "after-edge"
389
+ | "text-after-edge"
390
+ | "ideographic"
391
+ | "alphabetic"
392
+ | "hanging"
393
+ | "mathematical"
394
+ | "inherit"
395
+ | undefined;
396
+ allowReorder?: "no" | "yes" | undefined;
397
+ alphabetic?: number | string | undefined;
398
+ amplitude?: number | string | undefined;
399
+ arabicForm?: "initial" | "medial" | "terminal" | "isolated" | undefined;
400
+ ascent?: number | string | undefined;
401
+ attributeName?: string | undefined;
402
+ attributeType?: string | undefined;
403
+ autoReverse?: Booleanish | undefined;
404
+ azimuth?: number | string | undefined;
405
+ baseFrequency?: number | string | undefined;
406
+ baselineShift?: number | string | undefined;
407
+ baseProfile?: number | string | undefined;
408
+ bbox?: number | string | undefined;
409
+ begin?: number | string | undefined;
410
+ bias?: number | string | undefined;
411
+ by?: number | string | undefined;
412
+ calcMode?: number | string | undefined;
413
+ capHeight?: number | string | undefined;
414
+ clip?: number | string | undefined;
415
+ clipPath?: string | undefined;
416
+ clipPathUnits?: number | string | undefined;
417
+ clipRule?: number | string | undefined;
418
+ colorInterpolation?: number | string | undefined;
419
+ colorInterpolationFilters?: "auto" | "sRGB" | "linearRGB" | "inherit" | undefined;
420
+ colorProfile?: number | string | undefined;
421
+ colorRendering?: number | string | undefined;
422
+ contentScriptType?: number | string | undefined;
423
+ contentStyleType?: number | string | undefined;
424
+ cursor?: number | string | undefined;
425
+ cx?: number | string | undefined;
426
+ cy?: number | string | undefined;
427
+ d?: string | undefined;
428
+ decelerate?: number | string | undefined;
429
+ descent?: number | string | undefined;
430
+ diffuseConstant?: number | string | undefined;
431
+ direction?: number | string | undefined;
432
+ display?: number | string | undefined;
433
+ divisor?: number | string | undefined;
434
+ dominantBaseline?:
435
+ | "auto"
436
+ | "use-script"
437
+ | "no-change"
438
+ | "reset-size"
439
+ | "ideographic"
440
+ | "alphabetic"
441
+ | "hanging"
442
+ | "mathematical"
443
+ | "central"
444
+ | "middle"
445
+ | "text-after-edge"
446
+ | "text-before-edge"
447
+ | "inherit"
448
+ | undefined;
449
+ dur?: number | string | undefined;
450
+ dx?: number | string | undefined;
451
+ dy?: number | string | undefined;
452
+ edgeMode?: number | string | undefined;
453
+ elevation?: number | string | undefined;
454
+ enableBackground?: number | string | undefined;
455
+ end?: number | string | undefined;
456
+ exponent?: number | string | undefined;
457
+ externalResourcesRequired?: Booleanish | undefined;
458
+ fill?: string | undefined;
459
+ fillOpacity?: number | string | undefined;
460
+ fillRule?: "nonzero" | "evenodd" | "inherit" | undefined;
461
+ filter?: string | undefined;
462
+ filterRes?: number | string | undefined;
463
+ filterUnits?: number | string | undefined;
464
+ floodColor?: number | string | undefined;
465
+ floodOpacity?: number | string | undefined;
466
+ focusable?: Booleanish | "auto" | undefined;
467
+ fontFamily?: string | undefined;
468
+ fontSize?: number | string | undefined;
469
+ fontSizeAdjust?: number | string | undefined;
470
+ fontStretch?: number | string | undefined;
471
+ fontStyle?: number | string | undefined;
472
+ fontVariant?: number | string | undefined;
473
+ fontWeight?: number | string | undefined;
474
+ format?: number | string | undefined;
475
+ fr?: number | string | undefined;
476
+ from?: number | string | undefined;
477
+ fx?: number | string | undefined;
478
+ fy?: number | string | undefined;
479
+ g1?: number | string | undefined;
480
+ g2?: number | string | undefined;
481
+ glyphName?: number | string | undefined;
482
+ glyphOrientationHorizontal?: number | string | undefined;
483
+ glyphOrientationVertical?: number | string | undefined;
484
+ glyphRef?: number | string | undefined;
485
+ gradientTransform?: string | undefined;
486
+ gradientUnits?: string | undefined;
487
+ hanging?: number | string | undefined;
488
+ horizAdvX?: number | string | undefined;
489
+ horizOriginX?: number | string | undefined;
490
+ href?: string | undefined;
491
+ ideographic?: number | string | undefined;
492
+ imageRendering?: number | string | undefined;
493
+ in2?: number | string | undefined;
494
+ in?: string | undefined;
495
+ intercept?: number | string | undefined;
496
+ k1?: number | string | undefined;
497
+ k2?: number | string | undefined;
498
+ k3?: number | string | undefined;
499
+ k4?: number | string | undefined;
500
+ k?: number | string | undefined;
501
+ kernelMatrix?: number | string | undefined;
502
+ kernelUnitLength?: number | string | undefined;
503
+ kerning?: number | string | undefined;
504
+ keyPoints?: number | string | undefined;
505
+ keySplines?: number | string | undefined;
506
+ keyTimes?: number | string | undefined;
507
+ lengthAdjust?: number | string | undefined;
508
+ letterSpacing?: number | string | undefined;
509
+ lightingColor?: number | string | undefined;
510
+ limitingConeAngle?: number | string | undefined;
511
+ local?: number | string | undefined;
512
+ markerEnd?: string | undefined;
513
+ markerHeight?: number | string | undefined;
514
+ markerMid?: string | undefined;
515
+ markerStart?: string | undefined;
516
+ markerUnits?: number | string | undefined;
517
+ markerWidth?: number | string | undefined;
518
+ mask?: string | undefined;
519
+ maskContentUnits?: number | string | undefined;
520
+ maskUnits?: number | string | undefined;
521
+ mathematical?: number | string | undefined;
522
+ mode?: number | string | undefined;
523
+ numOctaves?: number | string | undefined;
524
+ offset?: number | string | undefined;
525
+ opacity?: number | string | undefined;
526
+ operator?: number | string | undefined;
527
+ order?: number | string | undefined;
528
+ orient?: number | string | undefined;
529
+ orientation?: number | string | undefined;
530
+ origin?: number | string | undefined;
531
+ overflow?: number | string | undefined;
532
+ overlinePosition?: number | string | undefined;
533
+ overlineThickness?: number | string | undefined;
534
+ paintOrder?: number | string | undefined;
535
+ panose1?: number | string | undefined;
536
+ path?: string | undefined;
537
+ pathLength?: number | string | undefined;
538
+ patternContentUnits?: string | undefined;
539
+ patternTransform?: number | string | undefined;
540
+ patternUnits?: string | undefined;
541
+ pointerEvents?: number | string | undefined;
542
+ points?: string | undefined;
543
+ pointsAtX?: number | string | undefined;
544
+ pointsAtY?: number | string | undefined;
545
+ pointsAtZ?: number | string | undefined;
546
+ preserveAlpha?: Booleanish | undefined;
547
+ preserveAspectRatio?: string | undefined;
548
+ primitiveUnits?: number | string | undefined;
549
+ r?: number | string | undefined;
550
+ radius?: number | string | undefined;
551
+ refX?: number | string | undefined;
552
+ refY?: number | string | undefined;
553
+ renderingIntent?: number | string | undefined;
554
+ repeatCount?: number | string | undefined;
555
+ repeatDur?: number | string | undefined;
556
+ requiredExtensions?: number | string | undefined;
557
+ requiredFeatures?: number | string | undefined;
558
+ restart?: number | string | undefined;
559
+ result?: string | undefined;
560
+ rotate?: number | string | undefined;
561
+ rx?: number | string | undefined;
562
+ ry?: number | string | undefined;
563
+ scale?: number | string | undefined;
564
+ seed?: number | string | undefined;
565
+ shapeRendering?: number | string | undefined;
566
+ slope?: number | string | undefined;
567
+ spacing?: number | string | undefined;
568
+ specularConstant?: number | string | undefined;
569
+ specularExponent?: number | string | undefined;
570
+ speed?: number | string | undefined;
571
+ spreadMethod?: string | undefined;
572
+ startOffset?: number | string | undefined;
573
+ stdDeviation?: number | string | undefined;
574
+ stemh?: number | string | undefined;
575
+ stemv?: number | string | undefined;
576
+ stitchTiles?: number | string | undefined;
577
+ stopColor?: string | undefined;
578
+ stopOpacity?: number | string | undefined;
579
+ strikethroughPosition?: number | string | undefined;
580
+ strikethroughThickness?: number | string | undefined;
581
+ string?: number | string | undefined;
582
+ stroke?: string | undefined;
583
+ strokeDasharray?: string | number | undefined;
584
+ strokeDashoffset?: string | number | undefined;
585
+ strokeLinecap?: "butt" | "round" | "square" | "inherit" | undefined;
586
+ strokeLinejoin?: "miter" | "round" | "bevel" | "inherit" | undefined;
587
+ strokeMiterlimit?: number | string | undefined;
588
+ strokeOpacity?: number | string | undefined;
589
+ strokeWidth?: number | string | undefined;
590
+ surfaceScale?: number | string | undefined;
591
+ systemLanguage?: number | string | undefined;
592
+ tableValues?: number | string | undefined;
593
+ targetX?: number | string | undefined;
594
+ targetY?: number | string | undefined;
595
+ textAnchor?: "start" | "middle" | "end" | "inherit" | undefined;
596
+ textDecoration?: number | string | undefined;
597
+ textLength?: number | string | undefined;
598
+ textRendering?: number | string | undefined;
599
+ to?: number | string | undefined;
600
+ transform?: string | undefined;
601
+ u1?: number | string | undefined;
602
+ u2?: number | string | undefined;
603
+ underlinePosition?: number | string | undefined;
604
+ underlineThickness?: number | string | undefined;
605
+ unicode?: number | string | undefined;
606
+ unicodeBidi?: number | string | undefined;
607
+ unicodeRange?: number | string | undefined;
608
+ unitsPerEm?: number | string | undefined;
609
+ vAlphabetic?: number | string | undefined;
610
+ values?: string | undefined;
611
+ vectorEffect?: number | string | undefined;
612
+ version?: string | undefined;
613
+ vertAdvY?: number | string | undefined;
614
+ vertOriginX?: number | string | undefined;
615
+ vertOriginY?: number | string | undefined;
616
+ vHanging?: number | string | undefined;
617
+ vIdeographic?: number | string | undefined;
618
+ viewBox?: string | undefined;
619
+ viewTarget?: number | string | undefined;
620
+ visibility?: number | string | undefined;
621
+ vMathematical?: number | string | undefined;
622
+ widths?: number | string | undefined;
623
+ wordSpacing?: number | string | undefined;
624
+ writingMode?: number | string | undefined;
625
+ x1?: number | string | undefined;
626
+ x2?: number | string | undefined;
627
+ x?: number | string | undefined;
628
+ xChannelSelector?: string | undefined;
629
+ xHeight?: number | string | undefined;
630
+ xlinkActuate?: string | undefined;
631
+ xlinkArcrole?: string | undefined;
632
+ xlinkHref?: string | undefined;
633
+ xlinkRole?: string | undefined;
634
+ xlinkShow?: string | undefined;
635
+ xlinkTitle?: string | undefined;
636
+ xlinkType?: string | undefined;
637
+ xmlBase?: string | undefined;
638
+ xmlLang?: string | undefined;
639
+ xmlns?: string | undefined;
640
+ xmlnsXlink?: string | undefined;
641
+ xmlSpace?: string | undefined;
642
+ y1?: number | string | undefined;
643
+ y2?: number | string | undefined;
644
+ y?: number | string | undefined;
645
+ yChannelSelector?: string | undefined;
646
+ z?: number | string | undefined;
647
+ zoomAndPan?: string | undefined;
648
+ }
649
+
33
650
 
34
651
  type SVGProps<T extends SVGElement> = SVGAttributes<T>
35
652
 
36
653
  declare global {
37
654
  namespace JSX {
38
-
39
- // type Element = H
655
+
656
+ // type Element = H
40
657
 
41
658
  interface IntrinsicElements extends IntrinsicElementAttributes {
42
659
 
@@ -49,16 +666,16 @@ declare global {
49
666
  for?: string
50
667
  }
51
668
 
52
- svg: SVGProps<SVGSVGElement> & { class?: string | undefined, xmlns:"http://www.w3.org/2000/svg" }
669
+ svg: SVGProps<SVGSVGElement> & { class?: string | undefined, xmlns: "http://www.w3.org/2000/svg" }
53
670
  path: SVGProps<SVGPathElement> & { class?: string | undefined }
54
- textPath: SVGProps<SVGTextPathElement> & { class?: string | undefined, style?: string|undefined }
671
+ textPath: SVGProps<SVGTextPathElement> & { class?: string | undefined, style?: string | undefined }
55
672
  tspan: SVGProps<SVGTSpanElement> & { class?: string | undefined }
56
673
  circle: SVGProps<SVGCircleElement> & { class?: string | undefined }
57
674
  rect: SVGProps<SVGRectElement> & { class?: string | undefined }
58
675
  line: SVGProps<SVGLineElement> & { class?: string | undefined }
59
- text: SVGProps<SVGTextElement> & { class?: string | undefined, style?: string|undefined }
676
+ text: SVGProps<SVGTextElement> & { class?: string | undefined, style?: string | undefined }
60
677
  g: SVGProps<SVGGElement> & { class?: string | undefined }
61
- foreignObject: SVGProps<SVGForeignObjectElement> & { class?: string | undefined }
678
+ foreignObject: SVGProps<SVGForeignObjectElement> & { class?: string | undefined }
62
679
  }
63
680
  }
64
681
  }