@esportsplus/ui 0.51.5 → 0.51.6

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 (55) hide show
  1. package/build/components/accordion/index.d.ts +16 -16
  2. package/build/components/accordion/index.js +17 -17
  3. package/build/components/alert/index.d.ts +1 -1
  4. package/build/components/alert/index.js +42 -43
  5. package/build/components/back/index.d.ts +8 -8
  6. package/build/components/back/index.js +8 -8
  7. package/build/components/button/index.d.ts +21 -21
  8. package/build/components/button/index.js +23 -23
  9. package/build/components/checkbox/index.d.ts +2 -2
  10. package/build/components/checkbox/index.js +22 -23
  11. package/build/components/clipboard/index.d.ts +40 -30
  12. package/build/components/clipboard/onclick.js +13 -13
  13. package/build/components/counter/index.d.ts +1 -1
  14. package/build/components/counter/index.js +35 -35
  15. package/build/components/ellipsis/index.d.ts +1 -1
  16. package/build/components/ellipsis/index.js +5 -5
  17. package/build/components/form/action.d.ts +1 -1
  18. package/build/components/form/action.js +8 -8
  19. package/build/components/form/index.d.ts +1 -1
  20. package/build/components/highlight/index.d.ts +16 -16
  21. package/build/components/highlight/index.js +15 -15
  22. package/build/components/icon/index.d.ts +11 -11
  23. package/build/components/icon/index.js +10 -8
  24. package/build/components/input/index.d.ts +1 -1
  25. package/build/components/input/index.js +20 -20
  26. package/build/components/loader/index.d.ts +16 -16
  27. package/build/components/loader/index.js +34 -34
  28. package/build/components/loading/index.d.ts +1 -1
  29. package/build/components/loading/index.js +5 -5
  30. package/build/components/radio/index.d.ts +1 -1
  31. package/build/components/range/index.d.ts +1 -1
  32. package/build/components/range/index.js +25 -25
  33. package/build/components/scrollbar/index.d.ts +11 -11
  34. package/build/components/scrollbar/index.js +24 -24
  35. package/build/components/select/index.js +41 -41
  36. package/build/components/switch/index.d.ts +1 -1
  37. package/build/components/textarea/index.d.ts +1 -1
  38. package/build/components/textarea/index.js +20 -20
  39. package/build/components/tooltip/index.d.ts +80 -60
  40. package/build/components/tooltip/menu.d.ts +11 -11
  41. package/build/components/tooltip/menu.js +21 -21
  42. package/build/components/tooltip/onclick.d.ts +1131 -1121
  43. package/build/components/tooltip/onclick.js +14 -14
  44. package/build/components/tooltip/onhover.d.ts +16 -16
  45. package/build/components/tooltip/onhover.js +15 -15
  46. package/build/components/typewriter/index.d.ts +11 -11
  47. package/build/components/typewriter/index.js +14 -14
  48. package/build/themes/dark/alert.d.ts +1 -1
  49. package/build/themes/dark/input.d.ts +5 -4
  50. package/build/themes/dark/select.d.ts +40 -30
  51. package/build/themes/dark/textarea.d.ts +5 -4
  52. package/package.json +7 -7
  53. package/pnpm-workspace.yaml +17 -0
  54. package/src/components/alert/index.ts +2 -4
  55. package/src/components/icon/index.ts +7 -3
@@ -25,12 +25,12 @@ declare const _default: {
25
25
  }) & {
26
26
  [key: `aria-${string}`]: string | number | boolean | undefined;
27
27
  [key: `data-${string}`]: string | undefined;
28
- class?: import("node_modules/@esportsplus/template/build/types").Attribute | import("node_modules/@esportsplus/template/build/types").Attribute[];
28
+ class?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
29
29
  onconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
30
30
  ondisconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
31
31
  onrender?: ((element: import("@esportsplus/template").Element) => void) | undefined;
32
32
  ontick?: ((dispose: VoidFunction, element: import("@esportsplus/template").Element) => void) | undefined;
33
- style?: import("node_modules/@esportsplus/template/build/types").Attribute | import("node_modules/@esportsplus/template/build/types").Attribute[];
33
+ style?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
34
34
  })) & {
35
35
  onabort?: ((this: import("@esportsplus/template").Element, event: UIEvent) => void) | undefined;
36
36
  onanimationcancel?: ((this: import("@esportsplus/template").Element, event: AnimationEvent) => void) | undefined;
@@ -48,6 +48,7 @@ declare const _default: {
48
48
  onchange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
49
49
  onclick?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
50
50
  onclose?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
51
+ oncommand?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
51
52
  oncompositionend?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
52
53
  oncompositionstart?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
53
54
  oncompositionupdate?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
@@ -74,7 +75,7 @@ declare const _default: {
74
75
  onfocusout?: ((this: import("@esportsplus/template").Element, event: FocusEvent) => void) | undefined;
75
76
  onformdata?: ((this: import("@esportsplus/template").Element, event: FormDataEvent) => void) | undefined;
76
77
  ongotpointercapture?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
77
- oninput?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
78
+ oninput?: ((this: import("@esportsplus/template").Element, event: InputEvent) => void) | undefined;
78
79
  oninvalid?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
79
80
  onkeydown?: ((this: import("@esportsplus/template").Element, event: KeyboardEvent) => void) | undefined;
80
81
  onkeypress?: ((this: import("@esportsplus/template").Element, event: KeyboardEvent) => void) | undefined;
@@ -170,12 +171,12 @@ declare const _default: {
170
171
  }) & {
171
172
  [key: `aria-${string}`]: string | number | boolean | undefined;
172
173
  [key: `data-${string}`]: string | undefined;
173
- class?: import("node_modules/@esportsplus/template/build/types").Attribute | import("node_modules/@esportsplus/template/build/types").Attribute[];
174
+ class?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
174
175
  onconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
175
176
  ondisconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
176
177
  onrender?: ((element: import("@esportsplus/template").Element) => void) | undefined;
177
178
  ontick?: ((dispose: VoidFunction, element: import("@esportsplus/template").Element) => void) | undefined;
178
- style?: import("node_modules/@esportsplus/template/build/types").Attribute | import("node_modules/@esportsplus/template/build/types").Attribute[];
179
+ style?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
179
180
  })) & {
180
181
  onabort?: ((this: import("@esportsplus/template").Element, event: UIEvent) => void) | undefined;
181
182
  onanimationcancel?: ((this: import("@esportsplus/template").Element, event: AnimationEvent) => void) | undefined;
@@ -193,6 +194,7 @@ declare const _default: {
193
194
  onchange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
194
195
  onclick?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
195
196
  onclose?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
197
+ oncommand?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
196
198
  oncompositionend?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
197
199
  oncompositionstart?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
198
200
  oncompositionupdate?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
@@ -219,7 +221,7 @@ declare const _default: {
219
221
  onfocusout?: ((this: import("@esportsplus/template").Element, event: FocusEvent) => void) | undefined;
220
222
  onformdata?: ((this: import("@esportsplus/template").Element, event: FormDataEvent) => void) | undefined;
221
223
  ongotpointercapture?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
222
- oninput?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
224
+ oninput?: ((this: import("@esportsplus/template").Element, event: InputEvent) => void) | undefined;
223
225
  oninvalid?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
224
226
  onkeydown?: ((this: import("@esportsplus/template").Element, event: KeyboardEvent) => void) | undefined;
225
227
  onkeypress?: ((this: import("@esportsplus/template").Element, event: KeyboardEvent) => void) | undefined;
@@ -314,12 +316,12 @@ declare const _default: {
314
316
  }) & {
315
317
  [key: `aria-${string}`]: string | number | boolean | undefined;
316
318
  [key: `data-${string}`]: string | undefined;
317
- class?: import("node_modules/@esportsplus/template/build/types").Attribute | import("node_modules/@esportsplus/template/build/types").Attribute[];
319
+ class?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
318
320
  onconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
319
321
  ondisconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
320
322
  onrender?: ((element: import("@esportsplus/template").Element) => void) | undefined;
321
323
  ontick?: ((dispose: VoidFunction, element: import("@esportsplus/template").Element) => void) | undefined;
322
- style?: import("node_modules/@esportsplus/template/build/types").Attribute | import("node_modules/@esportsplus/template/build/types").Attribute[];
324
+ style?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
323
325
  })) & {
324
326
  onabort?: ((this: import("@esportsplus/template").Element, event: UIEvent) => void) | undefined;
325
327
  onanimationcancel?: ((this: import("@esportsplus/template").Element, event: AnimationEvent) => void) | undefined;
@@ -337,6 +339,7 @@ declare const _default: {
337
339
  onchange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
338
340
  onclick?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
339
341
  onclose?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
342
+ oncommand?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
340
343
  oncompositionend?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
341
344
  oncompositionstart?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
342
345
  oncompositionupdate?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
@@ -363,7 +366,7 @@ declare const _default: {
363
366
  onfocusout?: ((this: import("@esportsplus/template").Element, event: FocusEvent) => void) | undefined;
364
367
  onformdata?: ((this: import("@esportsplus/template").Element, event: FormDataEvent) => void) | undefined;
365
368
  ongotpointercapture?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
366
- oninput?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
369
+ oninput?: ((this: import("@esportsplus/template").Element, event: InputEvent) => void) | undefined;
367
370
  oninvalid?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
368
371
  onkeydown?: ((this: import("@esportsplus/template").Element, event: KeyboardEvent) => void) | undefined;
369
372
  onkeypress?: ((this: import("@esportsplus/template").Element, event: KeyboardEvent) => void) | undefined;
@@ -455,12 +458,12 @@ declare const _default: {
455
458
  }) & {
456
459
  [key: `aria-${string}`]: string | number | boolean | undefined;
457
460
  [key: `data-${string}`]: string | undefined;
458
- class?: import("node_modules/@esportsplus/template/build/types").Attribute | import("node_modules/@esportsplus/template/build/types").Attribute[];
461
+ class?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
459
462
  onconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
460
463
  ondisconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
461
464
  onrender?: ((element: import("@esportsplus/template").Element) => void) | undefined;
462
465
  ontick?: ((dispose: VoidFunction, element: import("@esportsplus/template").Element) => void) | undefined;
463
- style?: import("node_modules/@esportsplus/template/build/types").Attribute | import("node_modules/@esportsplus/template/build/types").Attribute[];
466
+ style?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
464
467
  })) & {
465
468
  onabort?: ((this: import("@esportsplus/template").Element, event: UIEvent) => void) | undefined;
466
469
  onanimationcancel?: ((this: import("@esportsplus/template").Element, event: AnimationEvent) => void) | undefined;
@@ -478,6 +481,7 @@ declare const _default: {
478
481
  onchange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
479
482
  onclick?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
480
483
  onclose?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
484
+ oncommand?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
481
485
  oncompositionend?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
482
486
  oncompositionstart?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
483
487
  oncompositionupdate?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
@@ -504,7 +508,7 @@ declare const _default: {
504
508
  onfocusout?: ((this: import("@esportsplus/template").Element, event: FocusEvent) => void) | undefined;
505
509
  onformdata?: ((this: import("@esportsplus/template").Element, event: FormDataEvent) => void) | undefined;
506
510
  ongotpointercapture?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
507
- oninput?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
511
+ oninput?: ((this: import("@esportsplus/template").Element, event: InputEvent) => void) | undefined;
508
512
  oninvalid?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
509
513
  onkeydown?: ((this: import("@esportsplus/template").Element, event: KeyboardEvent) => void) | undefined;
510
514
  onkeypress?: ((this: import("@esportsplus/template").Element, event: KeyboardEvent) => void) | undefined;
@@ -600,12 +604,12 @@ declare const _default: {
600
604
  }) & {
601
605
  [key: `aria-${string}`]: string | number | boolean | undefined;
602
606
  [key: `data-${string}`]: string | undefined;
603
- class?: import("node_modules/@esportsplus/template/build/types").Attribute | import("node_modules/@esportsplus/template/build/types").Attribute[];
607
+ class?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
604
608
  onconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
605
609
  ondisconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
606
610
  onrender?: ((element: import("@esportsplus/template").Element) => void) | undefined;
607
611
  ontick?: ((dispose: VoidFunction, element: import("@esportsplus/template").Element) => void) | undefined;
608
- style?: import("node_modules/@esportsplus/template/build/types").Attribute | import("node_modules/@esportsplus/template/build/types").Attribute[];
612
+ style?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
609
613
  })) & {
610
614
  onabort?: ((this: import("@esportsplus/template").Element, event: UIEvent) => void) | undefined;
611
615
  onanimationcancel?: ((this: import("@esportsplus/template").Element, event: AnimationEvent) => void) | undefined;
@@ -623,6 +627,7 @@ declare const _default: {
623
627
  onchange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
624
628
  onclick?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
625
629
  onclose?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
630
+ oncommand?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
626
631
  oncompositionend?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
627
632
  oncompositionstart?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
628
633
  oncompositionupdate?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
@@ -649,7 +654,7 @@ declare const _default: {
649
654
  onfocusout?: ((this: import("@esportsplus/template").Element, event: FocusEvent) => void) | undefined;
650
655
  onformdata?: ((this: import("@esportsplus/template").Element, event: FormDataEvent) => void) | undefined;
651
656
  ongotpointercapture?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
652
- oninput?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
657
+ oninput?: ((this: import("@esportsplus/template").Element, event: InputEvent) => void) | undefined;
653
658
  oninvalid?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
654
659
  onkeydown?: ((this: import("@esportsplus/template").Element, event: KeyboardEvent) => void) | undefined;
655
660
  onkeypress?: ((this: import("@esportsplus/template").Element, event: KeyboardEvent) => void) | undefined;
@@ -748,12 +753,12 @@ declare const _default: {
748
753
  }) & {
749
754
  [key: `aria-${string}`]: string | number | boolean | undefined;
750
755
  [key: `data-${string}`]: string | undefined;
751
- class?: import("node_modules/@esportsplus/template/build/types").Attribute | import("node_modules/@esportsplus/template/build/types").Attribute[];
756
+ class?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
752
757
  onconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
753
758
  ondisconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
754
759
  onrender?: ((element: import("@esportsplus/template").Element) => void) | undefined;
755
760
  ontick?: ((dispose: VoidFunction, element: import("@esportsplus/template").Element) => void) | undefined;
756
- style?: import("node_modules/@esportsplus/template/build/types").Attribute | import("node_modules/@esportsplus/template/build/types").Attribute[];
761
+ style?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
757
762
  })) & {
758
763
  onabort?: ((this: import("@esportsplus/template").Element, event: UIEvent) => void) | undefined;
759
764
  onanimationcancel?: ((this: import("@esportsplus/template").Element, event: AnimationEvent) => void) | undefined;
@@ -771,6 +776,7 @@ declare const _default: {
771
776
  onchange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
772
777
  onclick?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
773
778
  onclose?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
779
+ oncommand?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
774
780
  oncompositionend?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
775
781
  oncompositionstart?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
776
782
  oncompositionupdate?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
@@ -797,7 +803,7 @@ declare const _default: {
797
803
  onfocusout?: ((this: import("@esportsplus/template").Element, event: FocusEvent) => void) | undefined;
798
804
  onformdata?: ((this: import("@esportsplus/template").Element, event: FormDataEvent) => void) | undefined;
799
805
  ongotpointercapture?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
800
- oninput?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
806
+ oninput?: ((this: import("@esportsplus/template").Element, event: InputEvent) => void) | undefined;
801
807
  oninvalid?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
802
808
  onkeydown?: ((this: import("@esportsplus/template").Element, event: KeyboardEvent) => void) | undefined;
803
809
  onkeypress?: ((this: import("@esportsplus/template").Element, event: KeyboardEvent) => void) | undefined;
@@ -893,12 +899,12 @@ declare const _default: {
893
899
  }) & {
894
900
  [key: `aria-${string}`]: string | number | boolean | undefined;
895
901
  [key: `data-${string}`]: string | undefined;
896
- class?: import("node_modules/@esportsplus/template/build/types").Attribute | import("node_modules/@esportsplus/template/build/types").Attribute[];
902
+ class?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
897
903
  onconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
898
904
  ondisconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
899
905
  onrender?: ((element: import("@esportsplus/template").Element) => void) | undefined;
900
906
  ontick?: ((dispose: VoidFunction, element: import("@esportsplus/template").Element) => void) | undefined;
901
- style?: import("node_modules/@esportsplus/template/build/types").Attribute | import("node_modules/@esportsplus/template/build/types").Attribute[];
907
+ style?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
902
908
  })) & {
903
909
  onabort?: ((this: import("@esportsplus/template").Element, event: UIEvent) => void) | undefined;
904
910
  onanimationcancel?: ((this: import("@esportsplus/template").Element, event: AnimationEvent) => void) | undefined;
@@ -916,6 +922,7 @@ declare const _default: {
916
922
  onchange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
917
923
  onclick?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
918
924
  onclose?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
925
+ oncommand?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
919
926
  oncompositionend?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
920
927
  oncompositionstart?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
921
928
  oncompositionupdate?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
@@ -942,7 +949,7 @@ declare const _default: {
942
949
  onfocusout?: ((this: import("@esportsplus/template").Element, event: FocusEvent) => void) | undefined;
943
950
  onformdata?: ((this: import("@esportsplus/template").Element, event: FormDataEvent) => void) | undefined;
944
951
  ongotpointercapture?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
945
- oninput?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
952
+ oninput?: ((this: import("@esportsplus/template").Element, event: InputEvent) => void) | undefined;
946
953
  oninvalid?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
947
954
  onkeydown?: ((this: import("@esportsplus/template").Element, event: KeyboardEvent) => void) | undefined;
948
955
  onkeypress?: ((this: import("@esportsplus/template").Element, event: KeyboardEvent) => void) | undefined;
@@ -1037,12 +1044,12 @@ declare const _default: {
1037
1044
  }) & {
1038
1045
  [key: `aria-${string}`]: string | number | boolean | undefined;
1039
1046
  [key: `data-${string}`]: string | undefined;
1040
- class?: import("node_modules/@esportsplus/template/build/types").Attribute | import("node_modules/@esportsplus/template/build/types").Attribute[];
1047
+ class?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
1041
1048
  onconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
1042
1049
  ondisconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
1043
1050
  onrender?: ((element: import("@esportsplus/template").Element) => void) | undefined;
1044
1051
  ontick?: ((dispose: VoidFunction, element: import("@esportsplus/template").Element) => void) | undefined;
1045
- style?: import("node_modules/@esportsplus/template/build/types").Attribute | import("node_modules/@esportsplus/template/build/types").Attribute[];
1052
+ style?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
1046
1053
  })) & {
1047
1054
  onabort?: ((this: import("@esportsplus/template").Element, event: UIEvent) => void) | undefined;
1048
1055
  onanimationcancel?: ((this: import("@esportsplus/template").Element, event: AnimationEvent) => void) | undefined;
@@ -1060,6 +1067,7 @@ declare const _default: {
1060
1067
  onchange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
1061
1068
  onclick?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
1062
1069
  onclose?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
1070
+ oncommand?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
1063
1071
  oncompositionend?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
1064
1072
  oncompositionstart?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
1065
1073
  oncompositionupdate?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
@@ -1086,7 +1094,7 @@ declare const _default: {
1086
1094
  onfocusout?: ((this: import("@esportsplus/template").Element, event: FocusEvent) => void) | undefined;
1087
1095
  onformdata?: ((this: import("@esportsplus/template").Element, event: FormDataEvent) => void) | undefined;
1088
1096
  ongotpointercapture?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
1089
- oninput?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
1097
+ oninput?: ((this: import("@esportsplus/template").Element, event: InputEvent) => void) | undefined;
1090
1098
  oninvalid?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
1091
1099
  onkeydown?: ((this: import("@esportsplus/template").Element, event: KeyboardEvent) => void) | undefined;
1092
1100
  onkeypress?: ((this: import("@esportsplus/template").Element, event: KeyboardEvent) => void) | undefined;
@@ -1181,12 +1189,12 @@ declare const _default: {
1181
1189
  }) & {
1182
1190
  [key: `aria-${string}`]: string | number | boolean | undefined;
1183
1191
  [key: `data-${string}`]: string | undefined;
1184
- class?: import("node_modules/@esportsplus/template/build/types").Attribute | import("node_modules/@esportsplus/template/build/types").Attribute[];
1192
+ class?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
1185
1193
  onconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
1186
1194
  ondisconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
1187
1195
  onrender?: ((element: import("@esportsplus/template").Element) => void) | undefined;
1188
1196
  ontick?: ((dispose: VoidFunction, element: import("@esportsplus/template").Element) => void) | undefined;
1189
- style?: import("node_modules/@esportsplus/template/build/types").Attribute | import("node_modules/@esportsplus/template/build/types").Attribute[];
1197
+ style?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
1190
1198
  })) & {
1191
1199
  onabort?: ((this: import("@esportsplus/template").Element, event: UIEvent) => void) | undefined;
1192
1200
  onanimationcancel?: ((this: import("@esportsplus/template").Element, event: AnimationEvent) => void) | undefined;
@@ -1204,6 +1212,7 @@ declare const _default: {
1204
1212
  onchange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
1205
1213
  onclick?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
1206
1214
  onclose?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
1215
+ oncommand?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
1207
1216
  oncompositionend?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
1208
1217
  oncompositionstart?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
1209
1218
  oncompositionupdate?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
@@ -1230,7 +1239,7 @@ declare const _default: {
1230
1239
  onfocusout?: ((this: import("@esportsplus/template").Element, event: FocusEvent) => void) | undefined;
1231
1240
  onformdata?: ((this: import("@esportsplus/template").Element, event: FormDataEvent) => void) | undefined;
1232
1241
  ongotpointercapture?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
1233
- oninput?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
1242
+ oninput?: ((this: import("@esportsplus/template").Element, event: InputEvent) => void) | undefined;
1234
1243
  oninvalid?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
1235
1244
  onkeydown?: ((this: import("@esportsplus/template").Element, event: KeyboardEvent) => void) | undefined;
1236
1245
  onkeypress?: ((this: import("@esportsplus/template").Element, event: KeyboardEvent) => void) | undefined;
@@ -1326,12 +1335,12 @@ declare const _default: {
1326
1335
  }) & {
1327
1336
  [key: `aria-${string}`]: string | number | boolean | undefined;
1328
1337
  [key: `data-${string}`]: string | undefined;
1329
- class?: import("node_modules/@esportsplus/template/build/types").Attribute | import("node_modules/@esportsplus/template/build/types").Attribute[];
1338
+ class?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
1330
1339
  onconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
1331
1340
  ondisconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
1332
1341
  onrender?: ((element: import("@esportsplus/template").Element) => void) | undefined;
1333
1342
  ontick?: ((dispose: VoidFunction, element: import("@esportsplus/template").Element) => void) | undefined;
1334
- style?: import("node_modules/@esportsplus/template/build/types").Attribute | import("node_modules/@esportsplus/template/build/types").Attribute[];
1343
+ style?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
1335
1344
  })) & {
1336
1345
  onabort?: ((this: import("@esportsplus/template").Element, event: UIEvent) => void) | undefined;
1337
1346
  onanimationcancel?: ((this: import("@esportsplus/template").Element, event: AnimationEvent) => void) | undefined;
@@ -1349,6 +1358,7 @@ declare const _default: {
1349
1358
  onchange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
1350
1359
  onclick?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
1351
1360
  onclose?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
1361
+ oncommand?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
1352
1362
  oncompositionend?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
1353
1363
  oncompositionstart?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
1354
1364
  oncompositionupdate?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
@@ -1375,7 +1385,7 @@ declare const _default: {
1375
1385
  onfocusout?: ((this: import("@esportsplus/template").Element, event: FocusEvent) => void) | undefined;
1376
1386
  onformdata?: ((this: import("@esportsplus/template").Element, event: FormDataEvent) => void) | undefined;
1377
1387
  ongotpointercapture?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
1378
- oninput?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
1388
+ oninput?: ((this: import("@esportsplus/template").Element, event: InputEvent) => void) | undefined;
1379
1389
  oninvalid?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
1380
1390
  onkeydown?: ((this: import("@esportsplus/template").Element, event: KeyboardEvent) => void) | undefined;
1381
1391
  onkeypress?: ((this: import("@esportsplus/template").Element, event: KeyboardEvent) => void) | undefined;
@@ -1,12 +1,12 @@
1
1
  declare const _default: (attributes: {
2
2
  [key: `aria-${string}`]: string | number | boolean | undefined;
3
3
  [key: `data-${string}`]: string | undefined;
4
- class?: import("node_modules/@esportsplus/template/build/types").Attribute | import("node_modules/@esportsplus/template/build/types").Attribute[];
4
+ class?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
5
5
  onconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
6
6
  ondisconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
7
7
  onrender?: ((element: import("@esportsplus/template").Element) => void) | undefined;
8
8
  ontick?: ((dispose: VoidFunction, element: import("@esportsplus/template").Element) => void) | undefined;
9
- style?: import("node_modules/@esportsplus/template/build/types").Attribute | import("node_modules/@esportsplus/template/build/types").Attribute[];
9
+ style?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
10
10
  } & {
11
11
  onabort?: ((this: import("@esportsplus/template").Element, event: UIEvent) => void) | undefined;
12
12
  onanimationcancel?: ((this: import("@esportsplus/template").Element, event: AnimationEvent) => void) | undefined;
@@ -24,6 +24,7 @@ declare const _default: (attributes: {
24
24
  onchange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
25
25
  onclick?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
26
26
  onclose?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
27
+ oncommand?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
27
28
  oncompositionend?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
28
29
  oncompositionstart?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
29
30
  oncompositionupdate?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
@@ -50,7 +51,7 @@ declare const _default: (attributes: {
50
51
  onfocusout?: ((this: import("@esportsplus/template").Element, event: FocusEvent) => void) | undefined;
51
52
  onformdata?: ((this: import("@esportsplus/template").Element, event: FormDataEvent) => void) | undefined;
52
53
  ongotpointercapture?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
53
- oninput?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
54
+ oninput?: ((this: import("@esportsplus/template").Element, event: InputEvent) => void) | undefined;
54
55
  oninvalid?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
55
56
  onkeydown?: ((this: import("@esportsplus/template").Element, event: KeyboardEvent) => void) | undefined;
56
57
  onkeypress?: ((this: import("@esportsplus/template").Element, event: KeyboardEvent) => void) | undefined;
@@ -118,5 +119,5 @@ declare const _default: (attributes: {
118
119
  active: boolean;
119
120
  error: string;
120
121
  };
121
- }) => DocumentFragment;
122
+ }) => DocumentFragment | Text;
122
123
  export default _default;
package/package.json CHANGED
@@ -2,15 +2,15 @@
2
2
  "author": "ICJR",
3
3
  "dependencies": {
4
4
  "@esportsplus/action": "^0.1.4",
5
- "@esportsplus/queue": "^0.2.0",
6
- "@esportsplus/reactivity": "^0.30.2",
7
- "@esportsplus/template": "^0.16.12",
8
- "@esportsplus/utilities": "^0.27.2",
9
- "@esportsplus/vite": "^0.12.7",
5
+ "@esportsplus/queue": "^0.4.2",
6
+ "@esportsplus/reactivity": "^0.33.0",
7
+ "@esportsplus/template": "^0.18.3",
8
+ "@esportsplus/utilities": "^0.28.0",
9
+ "@esportsplus/vite": "^0.14.0",
10
10
  "modern-normalize": "^3.0.1"
11
11
  },
12
12
  "devDependencies": {
13
- "@esportsplus/typescript": "^0.29.0",
13
+ "@esportsplus/typescript": "^0.29.5",
14
14
  "@types/node": "^25.0.10",
15
15
  "@types/shelljs": "^0.10.0",
16
16
  "autoprefixer": "^10.4.23",
@@ -59,7 +59,7 @@
59
59
  },
60
60
  "sideEffects": false,
61
61
  "type": "module",
62
- "version": "0.51.5",
62
+ "version": "0.51.6",
63
63
  "scripts": {
64
64
  "build": "run-s build:vite build:ts",
65
65
  "build:ts": "tsc",
@@ -0,0 +1,17 @@
1
+ # Approve the dependency build scripts vite/vitest rely on; pnpm errors on
2
+ # unapproved build scripts otherwise (ERR_PNPM_IGNORED_BUILDS).
3
+ allowBuilds:
4
+ '@parcel/watcher': true
5
+ esbuild: true
6
+ # First-party @esportsplus packages are trusted, so they bypass the
7
+ # minimumReleaseAge supply-chain gate — this lets freshly published
8
+ # first-party upgrades (reactivity, template, ...) be consumed immediately
9
+ # instead of waiting out the release-age cutoff.
10
+ minimumReleaseAgeExclude:
11
+ - '@esportsplus/*'
12
+ # browserslist's data packages (pulled transitively via autoprefixer) republish daily, so a
13
+ # fresh lockfile always pins a <24h version. They are data-only build-time deps, so exempt them
14
+ # from the age gate rather than pin stale browser data.
15
+ - baseline-browser-mapping
16
+ - caniuse-lite
17
+ - electron-to-chromium
@@ -1,6 +1,6 @@
1
1
  import '@esportsplus/vite/global.d.ts';
2
2
  import { Response } from '@esportsplus/action';
3
- import { html, svg, Attributes, Renderable } from '@esportsplus/template';
3
+ import { html, Attributes, Renderable } from '@esportsplus/template';
4
4
  import { reactive } from '@esportsplus/reactivity';
5
5
  import { omit } from '@esportsplus/utilities';
6
6
  import { icon } from '@esportsplus/ui';
@@ -151,9 +151,7 @@ export default (attributes: Attributes & { 'alert-close'?: Attributes, 'alert-me
151
151
  onclick='${() => deactivate(state)}'
152
152
  ${attributes['alert-close']}
153
153
  >
154
- <div class="icon" style='--size: 14px;'>
155
- ${svg.sprite(close)}
156
- </div>
154
+ ${icon({ style: '--size: 14px;' }, close)}
157
155
  </div>
158
156
  </div>
159
157
  </div>
@@ -1,13 +1,17 @@
1
- import { html, svg } from '@esportsplus/template';
1
+ import { html } from '@esportsplus/template';
2
2
  import template from '~/components/template';
3
3
  import './scss/index.scss';
4
4
 
5
5
 
6
6
  export default template.factory(
7
- (attributes, icon: Parameters<typeof svg.sprite>[0]) => {
7
+ (attributes, href: string) => {
8
+ if (href[0] !== '#') {
9
+ href = '#' + href;
10
+ }
11
+
8
12
  return html`
9
13
  <div class='icon' ${attributes}>
10
- ${svg.sprite(icon)}
14
+ <svg><use href='${href}' /></svg>
11
15
  </div>
12
16
  `;
13
17
  }