@fynixorg/ui 1.0.11 → 1.0.13

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 (127) hide show
  1. package/LICENSE +21 -0
  2. package/dist/README.md +36 -0
  3. package/dist/context/context.d.ts +19 -0
  4. package/dist/context/context.d.ts.map +1 -0
  5. package/dist/context/context.js +3 -11
  6. package/dist/context/context.js.map +3 -3
  7. package/dist/custom/button.d.ts +2 -0
  8. package/dist/custom/button.d.ts.map +1 -0
  9. package/dist/custom/button.js +2 -9
  10. package/dist/custom/button.js.map +3 -3
  11. package/dist/custom/index.d.ts +3 -0
  12. package/dist/custom/index.d.ts.map +1 -0
  13. package/dist/custom/index.js +2 -7
  14. package/dist/custom/index.js.map +3 -3
  15. package/dist/custom/path.d.ts +14 -0
  16. package/dist/custom/path.d.ts.map +1 -0
  17. package/dist/custom/path.js +17 -34
  18. package/dist/custom/path.js.map +3 -3
  19. package/dist/error/errorOverlay.d.ts +3 -0
  20. package/dist/error/errorOverlay.d.ts.map +1 -0
  21. package/dist/error/errorOverlay.js +82 -91
  22. package/dist/error/errorOverlay.js.map +3 -3
  23. package/dist/fynix/index.d.ts +5 -0
  24. package/dist/fynix/index.d.ts.map +1 -0
  25. package/dist/fynix/index.js +2 -7
  26. package/dist/fynix/index.js.map +3 -3
  27. package/dist/hooks/nixAsync.d.ts +14 -0
  28. package/dist/hooks/nixAsync.d.ts.map +1 -0
  29. package/dist/hooks/nixAsync.js +38 -43
  30. package/dist/hooks/nixAsync.js.map +3 -3
  31. package/dist/hooks/nixAsyncCache.d.ts +14 -0
  32. package/dist/hooks/nixAsyncCache.d.ts.map +1 -0
  33. package/dist/hooks/nixAsyncCache.js +57 -59
  34. package/dist/hooks/nixAsyncCache.js.map +3 -3
  35. package/dist/hooks/nixAsyncDebounce.d.ts +22 -0
  36. package/dist/hooks/nixAsyncDebounce.d.ts.map +1 -0
  37. package/dist/hooks/nixAsyncDebounce.js +74 -85
  38. package/dist/hooks/nixAsyncDebounce.js.map +3 -3
  39. package/dist/hooks/nixAsyncQuery.d.ts +16 -0
  40. package/dist/hooks/nixAsyncQuery.d.ts.map +1 -0
  41. package/dist/hooks/nixAsyncQuery.js +85 -79
  42. package/dist/hooks/nixAsyncQuery.js.map +3 -3
  43. package/dist/hooks/nixCallback.d.ts +2 -0
  44. package/dist/hooks/nixCallback.d.ts.map +1 -0
  45. package/dist/hooks/nixCallback.js +30 -40
  46. package/dist/hooks/nixCallback.js.map +3 -3
  47. package/dist/hooks/nixComputed.d.ts +16 -0
  48. package/dist/hooks/nixComputed.d.ts.map +1 -0
  49. package/dist/hooks/nixComputed.js +166 -198
  50. package/dist/hooks/nixComputed.js.map +4 -4
  51. package/dist/hooks/nixDebounce.d.ts +11 -0
  52. package/dist/hooks/nixDebounce.d.ts.map +1 -0
  53. package/dist/hooks/nixDebounce.js +53 -58
  54. package/dist/hooks/nixDebounce.js.map +3 -3
  55. package/dist/hooks/nixEffect.d.ts +4 -0
  56. package/dist/hooks/nixEffect.d.ts.map +1 -0
  57. package/dist/hooks/nixEffect.js +65 -75
  58. package/dist/hooks/nixEffect.js.map +3 -3
  59. package/dist/hooks/nixForm.d.ts +33 -0
  60. package/dist/hooks/nixForm.d.ts.map +1 -0
  61. package/dist/hooks/nixForm.js +110 -120
  62. package/dist/hooks/nixForm.js.map +3 -3
  63. package/dist/hooks/nixFormAsync.d.ts +42 -0
  64. package/dist/hooks/nixFormAsync.d.ts.map +1 -0
  65. package/dist/hooks/nixFormAsync.js +158 -167
  66. package/dist/hooks/nixFormAsync.js.map +3 -3
  67. package/dist/hooks/nixInterval.d.ts +2 -0
  68. package/dist/hooks/nixInterval.d.ts.map +1 -0
  69. package/dist/hooks/nixInterval.js +21 -27
  70. package/dist/hooks/nixInterval.js.map +3 -3
  71. package/dist/hooks/nixLazy.d.ts +8 -0
  72. package/dist/hooks/nixLazy.d.ts.map +1 -0
  73. package/dist/hooks/nixLazy.js +53 -58
  74. package/dist/hooks/nixLazy.js.map +3 -3
  75. package/dist/hooks/nixLazyAsync.d.ts +10 -0
  76. package/dist/hooks/nixLazyAsync.d.ts.map +1 -0
  77. package/dist/hooks/nixLazyAsync.js +65 -71
  78. package/dist/hooks/nixLazyAsync.js.map +3 -3
  79. package/dist/hooks/nixLazyFormAsync.d.ts +50 -0
  80. package/dist/hooks/nixLazyFormAsync.d.ts.map +1 -0
  81. package/dist/hooks/nixLazyFormAsync.js +209 -213
  82. package/dist/hooks/nixLazyFormAsync.js.map +3 -3
  83. package/dist/hooks/nixLocalStorage.d.ts +5 -0
  84. package/dist/hooks/nixLocalStorage.d.ts.map +1 -0
  85. package/dist/hooks/nixLocalStorage.js +21 -25
  86. package/dist/hooks/nixLocalStorage.js.map +3 -3
  87. package/dist/hooks/nixMemo.d.ts +2 -0
  88. package/dist/hooks/nixMemo.d.ts.map +1 -0
  89. package/dist/hooks/nixMemo.js +27 -31
  90. package/dist/hooks/nixMemo.js.map +3 -3
  91. package/dist/hooks/nixPrevious.d.ts +2 -0
  92. package/dist/hooks/nixPrevious.d.ts.map +1 -0
  93. package/dist/hooks/nixPrevious.js +13 -19
  94. package/dist/hooks/nixPrevious.js.map +3 -3
  95. package/dist/hooks/nixRef.d.ts +4 -0
  96. package/dist/hooks/nixRef.d.ts.map +1 -0
  97. package/dist/hooks/nixRef.js +14 -20
  98. package/dist/hooks/nixRef.js.map +3 -3
  99. package/dist/hooks/nixState.d.ts +15 -0
  100. package/dist/hooks/nixState.d.ts.map +1 -0
  101. package/dist/hooks/nixState.js +120 -173
  102. package/dist/hooks/nixState.js.map +3 -3
  103. package/dist/hooks/nixStore.d.ts +7 -0
  104. package/dist/hooks/nixStore.d.ts.map +1 -0
  105. package/dist/hooks/nixStore.js +48 -54
  106. package/dist/hooks/nixStore.js.map +3 -3
  107. package/dist/package.json +213 -0
  108. package/dist/plugins/vite-plugin-res.d.ts +41 -0
  109. package/dist/plugins/vite-plugin-res.d.ts.map +1 -0
  110. package/dist/plugins/vite-plugin-res.js +620 -36
  111. package/dist/plugins/vite-plugin-res.js.map +4 -4
  112. package/dist/router/router.d.ts +35 -0
  113. package/dist/router/router.d.ts.map +1 -0
  114. package/dist/router/router.js +520 -486
  115. package/dist/router/router.js.map +3 -3
  116. package/dist/runtime.d.ts +62 -0
  117. package/dist/runtime.d.ts.map +1 -0
  118. package/dist/runtime.js +833 -820
  119. package/dist/runtime.js.map +4 -4
  120. package/package.json +227 -44
  121. package/types/fnx.d.ts +72 -0
  122. package/types/fynix-ui.d.ts +323 -0
  123. package/types/global.d.ts +46 -6
  124. package/types/index.d.ts +37 -0
  125. package/types/vite-env.d.ts +553 -0
  126. package/runtime.d.ts +0 -83
  127. package/types/jsx.d.ts +0 -692
package/types/jsx.d.ts DELETED
@@ -1,692 +0,0 @@
1
- // Augment global JSX namespace for TypeScript compatibility
2
- export {};
3
- declare global {
4
- namespace JSX {
5
- type Element = FynixJSX.Element;
6
- interface ElementChildrenAttribute
7
- extends FynixJSX.ElementChildrenAttribute {}
8
- interface IntrinsicElements extends FynixJSX.IntrinsicElements {}
9
- // Optionally, add more interfaces if needed
10
- }
11
- }
12
- // JSX Type Definitions for Fynix
13
-
14
- declare namespace FynixJSX {
15
- // Use the VNode type for JSX elements for better type inference
16
- type Element = VNode;
17
-
18
- interface ElementChildrenAttribute {
19
- children: {};
20
- }
21
-
22
- // Base attributes for all HTML elements
23
- interface HTMLAttributes {
24
- // Core
25
- key?: string | number | null;
26
- children?: any;
27
- ref?: (el: any) => void;
28
-
29
- // Global HTML Attributes
30
- id?: string;
31
- class?: string;
32
- className?: string;
33
- style?: string | Partial<CSSStyleDeclaration>;
34
- title?: string;
35
- role?: string;
36
- hidden?: boolean;
37
- tabIndex?: number;
38
- tabindex?: number;
39
- lang?: string;
40
- draggable?: boolean;
41
- contentEditable?: boolean | "true" | "false" | "inherit";
42
- spellCheck?: boolean;
43
- translate?: "yes" | "no";
44
- accessKey?: string;
45
- dir?: "ltr" | "rtl" | "auto";
46
-
47
- // ARIA Attributes
48
- "aria-label"?: string;
49
- "aria-labelledby"?: string;
50
- "aria-describedby"?: string;
51
- "aria-hidden"?: boolean | "true" | "false";
52
- "aria-expanded"?: boolean | "true" | "false";
53
- "aria-controls"?: string;
54
- "aria-live"?: "polite" | "assertive" | "off";
55
- "aria-atomic"?: boolean | "true" | "false";
56
- "aria-busy"?: boolean | "true" | "false";
57
- "aria-checked"?: boolean | "true" | "false" | "mixed";
58
- "aria-disabled"?: boolean | "true" | "false";
59
- "aria-selected"?: boolean | "true" | "false";
60
- "aria-pressed"?: boolean | "true" | "false" | "mixed";
61
- "aria-invalid"?: boolean | "true" | "false";
62
- "aria-required"?: boolean | "true" | "false";
63
-
64
- // Fynix Event Directives (r-*)
65
- "r-click"?: (this: HTMLElement, event: MouseEvent) => void;
66
- "r-dblclick"?: (this: HTMLElement, event: MouseEvent) => void;
67
- "r-input"?: (this: HTMLElement, event: Event) => void;
68
- "r-change"?: (this: HTMLElement, event: Event) => void;
69
- "r-submit"?: (this: HTMLElement, event: Event) => void;
70
- "r-focus"?: (this: HTMLElement, event: FocusEvent) => void;
71
- "r-blur"?: (this: HTMLElement, event: FocusEvent) => void;
72
- "r-keydown"?: (this: HTMLElement, event: KeyboardEvent) => void;
73
- "r-keyup"?: (this: HTMLElement, event: KeyboardEvent) => void;
74
- "r-keypress"?: (this: HTMLElement, event: KeyboardEvent) => void;
75
- "r-mouseenter"?: (this: HTMLElement, event: MouseEvent) => void;
76
- "r-mouseleave"?: (this: HTMLElement, event: MouseEvent) => void;
77
- "r-mouseover"?: (this: HTMLElement, event: MouseEvent) => void;
78
- "r-mouseout"?: (this: HTMLElement, event: MouseEvent) => void;
79
- "r-mousedown"?: (this: HTMLElement, event: MouseEvent) => void;
80
- "r-mouseup"?: (this: HTMLElement, event: MouseEvent) => void;
81
- "r-mousemove"?: (this: HTMLElement, event: MouseEvent) => void;
82
- "r-scroll"?: (this: HTMLElement, event: Event) => void;
83
- "r-class"?:
84
- | string
85
- | { value: string; subscribe: (cb: () => void) => () => void };
86
- rc?: string | { value: string; subscribe: (cb: () => void) => () => void };
87
-
88
- // Data attributes
89
- [dataAttr: `data-${string}`]: any;
90
- }
91
-
92
- interface AnchorHTMLAttributes extends HTMLAttributes {
93
- href?: string;
94
- target?: "_self" | "_blank" | "_parent" | "_top" | string;
95
- rel?: string;
96
- download?: string | boolean;
97
- type?: string;
98
- }
99
-
100
- interface ButtonHTMLAttributes extends HTMLAttributes {
101
- type?: "button" | "submit" | "reset";
102
- disabled?: boolean;
103
- name?: string;
104
- value?: string;
105
- autoFocus?: boolean;
106
- autofocus?: boolean;
107
- }
108
-
109
- interface FormHTMLAttributes extends HTMLAttributes {
110
- action?: string;
111
- method?: "get" | "post" | "dialog";
112
- encType?: string;
113
- enctype?: string;
114
- target?: string;
115
- noValidate?: boolean;
116
- novalidate?: boolean;
117
- autoComplete?: "on" | "off";
118
- autocomplete?: "on" | "off";
119
- }
120
-
121
- interface InputHTMLAttributes extends HTMLAttributes {
122
- type?:
123
- | "button"
124
- | "checkbox"
125
- | "color"
126
- | "date"
127
- | "datetime-local"
128
- | "email"
129
- | "file"
130
- | "hidden"
131
- | "image"
132
- | "month"
133
- | "number"
134
- | "password"
135
- | "radio"
136
- | "range"
137
- | "reset"
138
- | "search"
139
- | "submit"
140
- | "tel"
141
- | "text"
142
- | "time"
143
- | "url"
144
- | "week";
145
- value?: string | number | readonly string[];
146
- placeholder?: string;
147
- checked?: boolean;
148
- disabled?: boolean;
149
- required?: boolean;
150
- readOnly?: boolean;
151
- readonly?: boolean;
152
- name?: string;
153
- accept?: string;
154
- autoComplete?: string;
155
- autocomplete?: string;
156
- autoFocus?: boolean;
157
- autofocus?: boolean;
158
- min?: number | string;
159
- max?: number | string;
160
- step?: number | string;
161
- minLength?: number;
162
- maxLength?: number;
163
- pattern?: string;
164
- size?: number;
165
- multiple?: boolean;
166
- }
167
-
168
- interface TextareaHTMLAttributes extends HTMLAttributes {
169
- value?: string;
170
- placeholder?: string;
171
- rows?: number;
172
- cols?: number;
173
- disabled?: boolean;
174
- required?: boolean;
175
- readOnly?: boolean;
176
- readonly?: boolean;
177
- name?: string;
178
- maxLength?: number;
179
- minLength?: number;
180
- wrap?: "hard" | "soft" | "off";
181
- }
182
-
183
- interface SelectHTMLAttributes extends HTMLAttributes {
184
- value?: string | number | readonly string[];
185
- multiple?: boolean;
186
- disabled?: boolean;
187
- required?: boolean;
188
- name?: string;
189
- size?: number;
190
- }
191
-
192
- interface OptionHTMLAttributes extends HTMLAttributes {
193
- value?: string | number;
194
- selected?: boolean;
195
- disabled?: boolean;
196
- label?: string;
197
- }
198
-
199
- interface LabelHTMLAttributes extends HTMLAttributes {
200
- htmlFor?: string;
201
- for?: string;
202
- form?: string;
203
- }
204
-
205
- interface ImgHTMLAttributes extends HTMLAttributes {
206
- src?: string;
207
- alt?: string;
208
- width?: number | string;
209
- height?: number | string;
210
- loading?: "lazy" | "eager";
211
- decoding?: "async" | "sync" | "auto";
212
- crossOrigin?: "anonymous" | "use-credentials" | "";
213
- referrerPolicy?: ReferrerPolicy;
214
- srcSet?: string;
215
- sizes?: string;
216
- useMap?: string;
217
- }
218
-
219
- interface IframeHTMLAttributes extends HTMLAttributes {
220
- src?: string;
221
- srcdoc?: string;
222
- name?: string;
223
- width?: number | string;
224
- height?: number | string;
225
- sandbox?: string;
226
- allow?: string;
227
- allowFullScreen?: boolean;
228
- allowfullscreen?: boolean;
229
- referrerPolicy?: ReferrerPolicy;
230
- loading?: "lazy" | "eager";
231
- }
232
-
233
- interface CanvasHTMLAttributes extends HTMLAttributes {
234
- width?: number | string;
235
- height?: number | string;
236
- }
237
-
238
- interface VideoHTMLAttributes extends HTMLAttributes {
239
- src?: string;
240
- poster?: string;
241
- width?: number | string;
242
- height?: number | string;
243
- controls?: boolean;
244
- autoPlay?: boolean;
245
- autoplay?: boolean;
246
- loop?: boolean;
247
- muted?: boolean;
248
- preload?: "none" | "metadata" | "auto" | "";
249
- playsInline?: boolean;
250
- playsinline?: boolean;
251
- }
252
-
253
- interface AudioHTMLAttributes extends HTMLAttributes {
254
- src?: string;
255
- controls?: boolean;
256
- autoPlay?: boolean;
257
- autoplay?: boolean;
258
- loop?: boolean;
259
- muted?: boolean;
260
- preload?: "none" | "metadata" | "auto" | "";
261
- }
262
-
263
- interface SourceHTMLAttributes extends HTMLAttributes {
264
- src?: string;
265
- type?: string;
266
- media?: string;
267
- sizes?: string;
268
- srcSet?: string;
269
- }
270
-
271
- interface TrackHTMLAttributes extends HTMLAttributes {
272
- src?: string;
273
- kind?: "subtitles" | "captions" | "descriptions" | "chapters" | "metadata";
274
- srcLang?: string;
275
- label?: string;
276
- default?: boolean;
277
- }
278
-
279
- interface ScriptHTMLAttributes extends HTMLAttributes {
280
- src?: string;
281
- type?: string;
282
- async?: boolean;
283
- defer?: boolean;
284
- crossOrigin?: "anonymous" | "use-credentials" | "";
285
- integrity?: string;
286
- noModule?: boolean;
287
- nomodule?: boolean;
288
- referrerPolicy?: ReferrerPolicy;
289
- }
290
-
291
- interface LinkHTMLAttributes extends HTMLAttributes {
292
- href?: string;
293
- rel?: string;
294
- type?: string;
295
- as?: string;
296
- crossOrigin?: "anonymous" | "use-credentials" | "";
297
- integrity?: string;
298
- media?: string;
299
- referrerPolicy?: ReferrerPolicy;
300
- sizes?: string;
301
- }
302
-
303
- interface MetaHTMLAttributes extends HTMLAttributes {
304
- name?: string;
305
- content?: string;
306
- httpEquiv?: string;
307
- charset?: string;
308
- }
309
-
310
- interface StyleHTMLAttributes extends HTMLAttributes {
311
- media?: string;
312
- scoped?: boolean;
313
- type?: string;
314
- }
315
-
316
- interface TableHTMLAttributes extends HTMLAttributes {
317
- cellPadding?: number | string;
318
- cellpadding?: number | string;
319
- cellSpacing?: number | string;
320
- cellspacing?: number | string;
321
- }
322
-
323
- interface ColHTMLAttributes extends HTMLAttributes {
324
- span?: number;
325
- }
326
-
327
- interface ColgroupHTMLAttributes extends HTMLAttributes {
328
- span?: number;
329
- }
330
-
331
- interface TdHTMLAttributes extends HTMLAttributes {
332
- colSpan?: number;
333
- colspan?: number;
334
- rowSpan?: number;
335
- rowspan?: number;
336
- headers?: string;
337
- }
338
-
339
- interface ThHTMLAttributes extends HTMLAttributes {
340
- colSpan?: number;
341
- colspan?: number;
342
- rowSpan?: number;
343
- rowspan?: number;
344
- headers?: string;
345
- scope?: "col" | "row" | "colgroup" | "rowgroup";
346
- abbr?: string;
347
- }
348
-
349
- interface ProgressHTMLAttributes extends HTMLAttributes {
350
- value?: number | string;
351
- max?: number | string;
352
- }
353
-
354
- interface MeterHTMLAttributes extends HTMLAttributes {
355
- value?: number | string;
356
- min?: number | string;
357
- max?: number | string;
358
- low?: number | string;
359
- high?: number | string;
360
- optimum?: number | string;
361
- }
362
-
363
- interface DetailsHTMLAttributes extends HTMLAttributes {
364
- open?: boolean;
365
- }
366
-
367
- interface DialogHTMLAttributes extends HTMLAttributes {
368
- open?: boolean;
369
- }
370
-
371
- interface EmbedHTMLAttributes extends HTMLAttributes {
372
- src?: string;
373
- type?: string;
374
- width?: number | string;
375
- height?: number | string;
376
- }
377
-
378
- interface ObjectHTMLAttributes extends HTMLAttributes {
379
- data?: string;
380
- type?: string;
381
- name?: string;
382
- useMap?: string;
383
- width?: number | string;
384
- height?: number | string;
385
- }
386
-
387
- interface ParamHTMLAttributes extends HTMLAttributes {
388
- name?: string;
389
- value?: string;
390
- }
391
-
392
- interface FieldsetHTMLAttributes extends HTMLAttributes {
393
- disabled?: boolean;
394
- form?: string;
395
- name?: string;
396
- }
397
-
398
- interface TimeHTMLAttributes extends HTMLAttributes {
399
- dateTime?: string;
400
- }
401
-
402
- interface OutputHTMLAttributes extends HTMLAttributes {
403
- htmlFor?: string;
404
- for?: string;
405
- form?: string;
406
- name?: string;
407
- }
408
-
409
- interface DataHTMLAttributes extends HTMLAttributes {
410
- value?: string;
411
- }
412
-
413
- interface BlockquoteHTMLAttributes extends HTMLAttributes {
414
- cite?: string;
415
- }
416
-
417
- interface QHTMLAttributes extends HTMLAttributes {
418
- cite?: string;
419
- }
420
-
421
- interface DelHTMLAttributes extends HTMLAttributes {
422
- cite?: string;
423
- dateTime?: string;
424
- }
425
-
426
- interface InsHTMLAttributes extends HTMLAttributes {
427
- cite?: string;
428
- dateTime?: string;
429
- }
430
-
431
- interface OlHTMLAttributes extends HTMLAttributes {
432
- reversed?: boolean;
433
- start?: number;
434
- type?: "1" | "a" | "A" | "i" | "I";
435
- }
436
-
437
- interface LiHTMLAttributes extends HTMLAttributes {
438
- value?: number;
439
- }
440
-
441
- interface MapHTMLAttributes extends HTMLAttributes {
442
- name?: string;
443
- }
444
-
445
- interface AreaHTMLAttributes extends HTMLAttributes {
446
- alt?: string;
447
- coords?: string;
448
- shape?: "rect" | "circle" | "poly" | "default";
449
- href?: string;
450
- target?: string;
451
- download?: string;
452
- rel?: string;
453
- }
454
-
455
- interface BaseHTMLAttributes extends HTMLAttributes {
456
- href?: string;
457
- target?: string;
458
- }
459
-
460
- interface SlotHTMLAttributes extends HTMLAttributes {
461
- name?: string;
462
- }
463
-
464
- interface SVGAttributes extends HTMLAttributes {
465
- // Presentation attributes
466
- fill?: string;
467
- stroke?: string;
468
- strokeWidth?: string | number;
469
- strokeLinecap?: "butt" | "round" | "square";
470
- strokeLinejoin?: "miter" | "round" | "bevel";
471
- strokeDasharray?: string | number;
472
- strokeDashoffset?: string | number;
473
- strokeOpacity?: string | number;
474
- fillOpacity?: string | number;
475
- opacity?: string | number;
476
-
477
- // SVG specific
478
- viewBox?: string;
479
- xmlns?: string;
480
- xmlnsXlink?: string;
481
- preserveAspectRatio?: string;
482
- transform?: string;
483
-
484
- // Geometry
485
- width?: string | number;
486
- height?: string | number;
487
- cx?: string | number;
488
- cy?: string | number;
489
- r?: string | number;
490
- rx?: string | number;
491
- ry?: string | number;
492
- x?: string | number;
493
- y?: string | number;
494
- x1?: string | number;
495
- y1?: string | number;
496
- x2?: string | number;
497
- y2?: string | number;
498
- d?: string;
499
- points?: string;
500
- pathLength?: number;
501
-
502
- // Text
503
- textAnchor?: "start" | "middle" | "end";
504
- dominantBaseline?: "auto" | "middle" | "hanging" | "alphabetic";
505
-
506
- // Gradient/Filter
507
- offset?: string | number;
508
- stopColor?: string;
509
- stopOpacity?: string | number;
510
- gradientUnits?: "userSpaceOnUse" | "objectBoundingBox";
511
- gradientTransform?: string;
512
- }
513
-
514
- interface IntrinsicElements {
515
- // HTML Elements - Complete HTML5 Coverage
516
- a: AnchorHTMLAttributes;
517
- abbr: HTMLAttributes;
518
- address: HTMLAttributes;
519
- area: AreaHTMLAttributes;
520
- article: HTMLAttributes;
521
- aside: HTMLAttributes;
522
- audio: AudioHTMLAttributes;
523
- b: HTMLAttributes;
524
- base: BaseHTMLAttributes;
525
- bdi: HTMLAttributes;
526
- bdo: HTMLAttributes;
527
- big: HTMLAttributes;
528
- blockquote: BlockquoteHTMLAttributes;
529
- body: HTMLAttributes;
530
- br: HTMLAttributes;
531
- button: ButtonHTMLAttributes;
532
- canvas: CanvasHTMLAttributes;
533
- caption: HTMLAttributes;
534
- cite: HTMLAttributes;
535
- code: HTMLAttributes;
536
- col: ColHTMLAttributes;
537
- colgroup: ColgroupHTMLAttributes;
538
- data: DataHTMLAttributes;
539
- datalist: HTMLAttributes;
540
- dd: HTMLAttributes;
541
- del: DelHTMLAttributes;
542
- details: DetailsHTMLAttributes;
543
- dfn: HTMLAttributes;
544
- dialog: DialogHTMLAttributes;
545
- div: HTMLAttributes;
546
- dl: HTMLAttributes;
547
- dt: HTMLAttributes;
548
- em: HTMLAttributes;
549
- embed: EmbedHTMLAttributes;
550
- fieldset: FieldsetHTMLAttributes;
551
- figcaption: HTMLAttributes;
552
- figure: HTMLAttributes;
553
- footer: HTMLAttributes;
554
- form: FormHTMLAttributes;
555
- h1: HTMLAttributes;
556
- h2: HTMLAttributes;
557
- h3: HTMLAttributes;
558
- h4: HTMLAttributes;
559
- h5: HTMLAttributes;
560
- h6: HTMLAttributes;
561
- head: HTMLAttributes;
562
- header: HTMLAttributes;
563
- hgroup: HTMLAttributes;
564
- hr: HTMLAttributes;
565
- html: HTMLAttributes;
566
- i: HTMLAttributes;
567
- iframe: IframeHTMLAttributes;
568
- img: ImgHTMLAttributes;
569
- input: InputHTMLAttributes;
570
- ins: InsHTMLAttributes;
571
- kbd: HTMLAttributes;
572
- label: LabelHTMLAttributes;
573
- legend: HTMLAttributes;
574
- li: LiHTMLAttributes;
575
- link: LinkHTMLAttributes;
576
- main: HTMLAttributes;
577
- map: MapHTMLAttributes;
578
- mark: HTMLAttributes;
579
- menu: HTMLAttributes;
580
- meta: MetaHTMLAttributes;
581
- meter: MeterHTMLAttributes;
582
- nav: HTMLAttributes;
583
- noscript: HTMLAttributes;
584
- object: ObjectHTMLAttributes;
585
- ol: OlHTMLAttributes;
586
- optgroup: HTMLAttributes;
587
- option: OptionHTMLAttributes;
588
- output: OutputHTMLAttributes;
589
- p: HTMLAttributes;
590
- param: ParamHTMLAttributes;
591
- picture: HTMLAttributes;
592
- pre: HTMLAttributes;
593
- progress: ProgressHTMLAttributes;
594
- q: QHTMLAttributes;
595
- rp: HTMLAttributes;
596
- rt: HTMLAttributes;
597
- ruby: HTMLAttributes;
598
- s: HTMLAttributes;
599
- samp: HTMLAttributes;
600
- script: ScriptHTMLAttributes;
601
- search: HTMLAttributes;
602
- section: HTMLAttributes;
603
- select: SelectHTMLAttributes;
604
- slot: SlotHTMLAttributes;
605
- small: HTMLAttributes;
606
- source: SourceHTMLAttributes;
607
- span: HTMLAttributes;
608
- strong: HTMLAttributes;
609
- style: StyleHTMLAttributes;
610
- sub: HTMLAttributes;
611
- summary: HTMLAttributes;
612
- sup: HTMLAttributes;
613
- table: TableHTMLAttributes;
614
- tbody: HTMLAttributes;
615
- td: TdHTMLAttributes;
616
- template: HTMLAttributes;
617
- textarea: TextareaHTMLAttributes;
618
- tfoot: HTMLAttributes;
619
- th: ThHTMLAttributes;
620
- thead: HTMLAttributes;
621
- time: TimeHTMLAttributes;
622
- title: HTMLAttributes;
623
- tr: HTMLAttributes;
624
- track: TrackHTMLAttributes;
625
- u: HTMLAttributes;
626
- ul: HTMLAttributes;
627
- var: HTMLAttributes;
628
- video: VideoHTMLAttributes;
629
- wbr: HTMLAttributes;
630
-
631
- // SVG Elements - Complete Coverage
632
- svg: SVGAttributes;
633
- animate: SVGAttributes;
634
- animateMotion: SVGAttributes;
635
- animateTransform: SVGAttributes;
636
- circle: SVGAttributes;
637
- clipPath: SVGAttributes;
638
- defs: SVGAttributes;
639
- desc: SVGAttributes;
640
- ellipse: SVGAttributes;
641
- feBlend: SVGAttributes;
642
- feColorMatrix: SVGAttributes;
643
- feComponentTransfer: SVGAttributes;
644
- feComposite: SVGAttributes;
645
- feConvolveMatrix: SVGAttributes;
646
- feDiffuseLighting: SVGAttributes;
647
- feDisplacementMap: SVGAttributes;
648
- feDistantLight: SVGAttributes;
649
- feDropShadow: SVGAttributes;
650
- feFlood: SVGAttributes;
651
- feFuncA: SVGAttributes;
652
- feFuncB: SVGAttributes;
653
- feFuncG: SVGAttributes;
654
- feFuncR: SVGAttributes;
655
- feGaussianBlur: SVGAttributes;
656
- feImage: SVGAttributes;
657
- feMerge: SVGAttributes;
658
- feMergeNode: SVGAttributes;
659
- feMorphology: SVGAttributes;
660
- feOffset: SVGAttributes;
661
- fePointLight: SVGAttributes;
662
- feSpecularLighting: SVGAttributes;
663
- feSpotLight: SVGAttributes;
664
- feTile: SVGAttributes;
665
- feTurbulence: SVGAttributes;
666
- filter: SVGAttributes;
667
- foreignObject: SVGAttributes;
668
- g: SVGAttributes;
669
- image: SVGAttributes;
670
- line: SVGAttributes;
671
- linearGradient: SVGAttributes;
672
- marker: SVGAttributes;
673
- mask: SVGAttributes;
674
- metadata: SVGAttributes;
675
- mpath: SVGAttributes;
676
- path: SVGAttributes;
677
- pattern: SVGAttributes;
678
- polygon: SVGAttributes;
679
- polyline: SVGAttributes;
680
- radialGradient: SVGAttributes;
681
- rect: SVGAttributes;
682
- set: SVGAttributes;
683
- stop: SVGAttributes;
684
- switch: SVGAttributes;
685
- symbol: SVGAttributes;
686
- text: SVGAttributes;
687
- textPath: SVGAttributes;
688
- tspan: SVGAttributes;
689
- use: SVGAttributes;
690
- view: SVGAttributes;
691
- }
692
- }