@esportsplus/ui 0.46.0 → 0.47.2

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 (62) hide show
  1. package/.github/workflows/bump.yml +2 -2
  2. package/.github/workflows/dependabot.yml +1 -1
  3. package/.github/workflows/publish.yml +3 -3
  4. package/README.md +288 -0
  5. package/build/components/accordion/index.d.ts +16 -16
  6. package/build/components/accordion/index.js +28 -20
  7. package/build/components/alert/index.d.ts +1 -1
  8. package/build/components/alert/index.js +82 -57
  9. package/build/components/back/index.d.ts +8 -7
  10. package/build/components/back/index.js +11 -11
  11. package/build/components/button/index.d.ts +21 -20
  12. package/build/components/button/index.js +52 -27
  13. package/build/components/checkbox/index.d.ts +3 -3
  14. package/build/components/checkbox/index.js +39 -25
  15. package/build/components/clipboard/index.d.ts +90 -70
  16. package/build/components/clipboard/onclick.d.ts +1 -1
  17. package/build/components/clipboard/onclick.js +31 -21
  18. package/build/components/counter/index.d.ts +2 -2
  19. package/build/components/counter/index.js +72 -36
  20. package/build/components/ellipsis/index.d.ts +1 -1
  21. package/build/components/ellipsis/index.js +7 -8
  22. package/build/components/form/action.d.ts +1 -1
  23. package/build/components/form/action.js +13 -15
  24. package/build/components/form/index.d.ts +1 -1
  25. package/build/components/highlight/index.d.ts +16 -16
  26. package/build/components/highlight/index.js +26 -18
  27. package/build/components/icon/index.d.ts +11 -10
  28. package/build/components/icon/index.js +9 -6
  29. package/build/components/input/index.d.ts +2 -2
  30. package/build/components/input/index.js +38 -22
  31. package/build/components/loader/index.d.ts +16 -16
  32. package/build/components/loader/index.js +68 -50
  33. package/build/components/loading/index.d.ts +1 -1
  34. package/build/components/loading/index.js +9 -9
  35. package/build/components/radio/index.d.ts +1 -1
  36. package/build/components/range/index.d.ts +2 -2
  37. package/build/components/range/index.js +50 -27
  38. package/build/components/scrollbar/index.d.ts +12 -11
  39. package/build/components/scrollbar/index.js +42 -37
  40. package/build/components/select/index.d.ts +1 -1
  41. package/build/components/select/index.js +121 -86
  42. package/build/components/switch/index.d.ts +1 -1
  43. package/build/components/textarea/index.d.ts +2 -2
  44. package/build/components/textarea/index.js +37 -22
  45. package/build/components/tooltip/index.d.ts +180 -140
  46. package/build/components/tooltip/menu.d.ts +12 -11
  47. package/build/components/tooltip/menu.js +33 -33
  48. package/build/components/tooltip/onclick.d.ts +1121 -1100
  49. package/build/components/tooltip/onclick.js +26 -16
  50. package/build/components/tooltip/onhover.d.ts +16 -16
  51. package/build/components/tooltip/onhover.js +28 -18
  52. package/build/components/typewriter/index.d.ts +11 -10
  53. package/build/components/typewriter/index.js +25 -12
  54. package/build/themes/dark/alert.d.ts +1 -1
  55. package/build/themes/dark/input.d.ts +10 -8
  56. package/build/themes/dark/select.d.ts +90 -70
  57. package/build/themes/dark/textarea.d.ts +10 -8
  58. package/package.json +18 -14
  59. package/src/components/button/index.ts +21 -13
  60. package/src/components/counter/index.ts +6 -6
  61. package/src/components/select/index.ts +13 -1
  62. package/tsconfig.json +6 -1
@@ -1,8 +1,22 @@
1
- import { reactive } from '@esportsplus/reactivity';
2
- import { html } from '@esportsplus/template';
1
+ import * as reactivity_a6aeaec5a75649bd8ec693d5230c50000 from '@esportsplus/reactivity';
2
+ import * as template_a6aeaec5a75649bd8ec693d5230c50001 from '@esportsplus/template';
3
3
  import { omit } from '@esportsplus/utilities';
4
4
  import { root } from '@esportsplus/ui';
5
5
  import template from '../../components/template/index.js';
6
+ const template_a6aeaec5a75649bd8ec693d5230c50003v = template_a6aeaec5a75649bd8ec693d5230c50001.template(`<div
7
+ class='tooltip'><!--$--></div>`);
8
+ class ReactiveObject_a6aeaec5a75649bd8ec693d5230c50003t extends reactivity_a6aeaec5a75649bd8ec693d5230c50000.ReactiveObject {
9
+ #active = this[reactivity_a6aeaec5a75649bd8ec693d5230c50000.SIGNAL](false);
10
+ constructor() {
11
+ super(null);
12
+ }
13
+ get active() {
14
+ return reactivity_a6aeaec5a75649bd8ec693d5230c50000.read(this.#active);
15
+ }
16
+ set active(_v0) {
17
+ reactivity_a6aeaec5a75649bd8ec693d5230c50000.write(this.#active, _v0);
18
+ }
19
+ }
6
20
  const OMIT = ['state', 'toggle'];
7
21
  let parent = null, queue = [], running = false, scheduled = false;
8
22
  function frame() {
@@ -24,14 +38,12 @@ function frame() {
24
38
  running = false;
25
39
  }
26
40
  export default template.factory((attributes, content) => {
27
- let state = attributes.state || reactive({ active: false }), toggle = attributes.toggle || false;
28
- return html `
29
- <div
30
- class='tooltip'
31
- ${omit(attributes, OMIT)}
32
- ${{
33
- class: () => state.active && '--active',
34
- onclick: function (e) {
41
+ let state = attributes.state || new ReactiveObject_a6aeaec5a75649bd8ec693d5230c50003t(), toggle = attributes.toggle || false;
42
+ return (() => {
43
+ let root_a6aeaec5a75649bd8ec693d5230c50003u = template_a6aeaec5a75649bd8ec693d5230c50003v(), element_a6aeaec5a75649bd8ec693d5230c50003w = root_a6aeaec5a75649bd8ec693d5230c50003u.firstChild, element_a6aeaec5a75649bd8ec693d5230c50003x = element_a6aeaec5a75649bd8ec693d5230c50003w.firstChild;
44
+ template_a6aeaec5a75649bd8ec693d5230c50001.setProperties(element_a6aeaec5a75649bd8ec693d5230c50003w, omit(attributes, OMIT));
45
+ template_a6aeaec5a75649bd8ec693d5230c50001.setClass(element_a6aeaec5a75649bd8ec693d5230c50003w, '', () => state.active && '--active');
46
+ template_a6aeaec5a75649bd8ec693d5230c50001.delegate(element_a6aeaec5a75649bd8ec693d5230c50003w, 'click', function (e) {
35
47
  let active = true, node = e.target;
36
48
  if (this === node || (toggle && this.contains(node))) {
37
49
  active = !state.active;
@@ -58,10 +70,8 @@ export default template.factory((attributes, content) => {
58
70
  });
59
71
  scheduled = true;
60
72
  }
61
- }
62
- }}
63
- >
64
- ${content}
65
- </div>
66
- `;
73
+ });
74
+ template_a6aeaec5a75649bd8ec693d5230c50001.slot(element_a6aeaec5a75649bd8ec693d5230c50003x, content);
75
+ return root_a6aeaec5a75649bd8ec693d5230c50003u;
76
+ })();
67
77
  });
@@ -1,20 +1,20 @@
1
- import { Attributes } from '@esportsplus/template';
1
+ import * as template_a6aeaec5a75649bd8ec693d5230c50001 from '@esportsplus/template';
2
2
  declare const _default: {
3
3
  (): ReturnType<(this: {
4
- attributes?: Attributes | undefined;
5
- content?: import("@esportsplus/template").Renderable<any>;
6
- }, attributes: Readonly<Attributes>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
7
- <T extends Attributes>(attributes: T): ReturnType<(this: {
8
- attributes?: Attributes | undefined;
9
- content?: import("@esportsplus/template").Renderable<any>;
10
- }, attributes: Readonly<Attributes>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
11
- <T extends import("@esportsplus/template").Renderable<any>>(content: T): ReturnType<(this: {
12
- attributes?: Attributes | undefined;
13
- content?: import("@esportsplus/template").Renderable<any>;
14
- }, attributes: Readonly<Attributes>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
15
- (attributes: Attributes, content: import("@esportsplus/template").Renderable<any>): ReturnType<(this: {
16
- attributes?: Attributes | undefined;
17
- content?: import("@esportsplus/template").Renderable<any>;
18
- }, attributes: Readonly<Attributes>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
4
+ attributes?: template_a6aeaec5a75649bd8ec693d5230c50001.Attributes | undefined;
5
+ content?: template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>;
6
+ }, attributes: Readonly<template_a6aeaec5a75649bd8ec693d5230c50001.Attributes>, content: template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>) => template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>>;
7
+ <T extends template_a6aeaec5a75649bd8ec693d5230c50001.Attributes>(attributes: T): ReturnType<(this: {
8
+ attributes?: template_a6aeaec5a75649bd8ec693d5230c50001.Attributes | undefined;
9
+ content?: template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>;
10
+ }, attributes: Readonly<template_a6aeaec5a75649bd8ec693d5230c50001.Attributes>, content: template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>) => template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>>;
11
+ <T extends template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>>(content: T): ReturnType<(this: {
12
+ attributes?: template_a6aeaec5a75649bd8ec693d5230c50001.Attributes | undefined;
13
+ content?: template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>;
14
+ }, attributes: Readonly<template_a6aeaec5a75649bd8ec693d5230c50001.Attributes>, content: template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>) => template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>>;
15
+ (attributes: template_a6aeaec5a75649bd8ec693d5230c50001.Attributes, content: template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>): ReturnType<(this: {
16
+ attributes?: template_a6aeaec5a75649bd8ec693d5230c50001.Attributes | undefined;
17
+ content?: template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>;
18
+ }, attributes: Readonly<template_a6aeaec5a75649bd8ec693d5230c50001.Attributes>, content: template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>) => template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>>;
19
19
  };
20
20
  export default _default;
@@ -1,25 +1,35 @@
1
- import { reactive } from '@esportsplus/reactivity';
2
- import { html } from '@esportsplus/template';
1
+ import * as reactivity_a6aeaec5a75649bd8ec693d5230c50000 from '@esportsplus/reactivity';
2
+ import * as template_a6aeaec5a75649bd8ec693d5230c50001 from '@esportsplus/template';
3
3
  import { omit } from '@esportsplus/utilities';
4
4
  import template from '../../components/template/index.js';
5
+ const template_a6aeaec5a75649bd8ec693d5230c500040 = template_a6aeaec5a75649bd8ec693d5230c50001.template(`<div
6
+ class='tooltip'><!--$--></div>`);
7
+ class ReactiveObject_a6aeaec5a75649bd8ec693d5230c50003y extends reactivity_a6aeaec5a75649bd8ec693d5230c50000.ReactiveObject {
8
+ #active = this[reactivity_a6aeaec5a75649bd8ec693d5230c50000.SIGNAL](false);
9
+ constructor() {
10
+ super(null);
11
+ }
12
+ get active() {
13
+ return reactivity_a6aeaec5a75649bd8ec693d5230c50000.read(this.#active);
14
+ }
15
+ set active(_v0) {
16
+ reactivity_a6aeaec5a75649bd8ec693d5230c50000.write(this.#active, _v0);
17
+ }
18
+ }
5
19
  const OMIT = ['state'];
6
20
  export default template.factory((attributes, content) => {
7
- let state = attributes.state || reactive({ active: false });
8
- return html `
9
- <div
10
- class='tooltip'
11
- ${omit(attributes, OMIT)}
12
- ${{
13
- class: () => state.active && '--active',
14
- onmouseover: () => {
21
+ let state = attributes.state || new ReactiveObject_a6aeaec5a75649bd8ec693d5230c50003y();
22
+ return (() => {
23
+ let root_a6aeaec5a75649bd8ec693d5230c50003z = template_a6aeaec5a75649bd8ec693d5230c500040(), element_a6aeaec5a75649bd8ec693d5230c500041 = root_a6aeaec5a75649bd8ec693d5230c50003z.firstChild, element_a6aeaec5a75649bd8ec693d5230c500042 = element_a6aeaec5a75649bd8ec693d5230c500041.firstChild;
24
+ template_a6aeaec5a75649bd8ec693d5230c50001.setProperties(element_a6aeaec5a75649bd8ec693d5230c500041, omit(attributes, OMIT));
25
+ template_a6aeaec5a75649bd8ec693d5230c50001.setClass(element_a6aeaec5a75649bd8ec693d5230c500041, '', () => state.active && '--active');
26
+ template_a6aeaec5a75649bd8ec693d5230c50001.delegate(element_a6aeaec5a75649bd8ec693d5230c500041, 'mouseover', () => {
15
27
  state.active = true;
16
- },
17
- onmouseout: () => {
28
+ });
29
+ template_a6aeaec5a75649bd8ec693d5230c50001.delegate(element_a6aeaec5a75649bd8ec693d5230c500041, 'mouseout', () => {
18
30
  state.active = false;
19
- }
20
- }}
21
- >
22
- ${content}
23
- </div>
24
- `;
31
+ });
32
+ template_a6aeaec5a75649bd8ec693d5230c50001.slot(element_a6aeaec5a75649bd8ec693d5230c500042, content);
33
+ return root_a6aeaec5a75649bd8ec693d5230c50003z;
34
+ })();
25
35
  });
@@ -1,20 +1,21 @@
1
+ import * as template_a6aeaec5a75649bd8ec693d5230c50001 from '@esportsplus/template';
1
2
  import './scss/index.scss';
2
3
  declare const _default: {
3
4
  (): ReturnType<(this: {
4
- attributes?: import("@esportsplus/template").Attributes | undefined;
5
+ attributes?: template_a6aeaec5a75649bd8ec693d5230c50001.Attributes | undefined;
5
6
  content?: string[] | undefined;
6
- }, attributes: Readonly<import("@esportsplus/template").Attributes>, content: string[]) => import("@esportsplus/template").Renderable<any>>;
7
- <T extends import("@esportsplus/template").Attributes>(attributes: T): ReturnType<(this: {
8
- attributes?: import("@esportsplus/template").Attributes | undefined;
7
+ }, attributes: Readonly<template_a6aeaec5a75649bd8ec693d5230c50001.Attributes>, content: string[]) => template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>>;
8
+ <T extends template_a6aeaec5a75649bd8ec693d5230c50001.Attributes>(attributes: T): ReturnType<(this: {
9
+ attributes?: template_a6aeaec5a75649bd8ec693d5230c50001.Attributes | undefined;
9
10
  content?: string[] | undefined;
10
- }, attributes: Readonly<import("@esportsplus/template").Attributes>, content: string[]) => import("@esportsplus/template").Renderable<any>>;
11
+ }, attributes: Readonly<template_a6aeaec5a75649bd8ec693d5230c50001.Attributes>, content: string[]) => template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>>;
11
12
  <T extends string[]>(content: T): ReturnType<(this: {
12
- attributes?: import("@esportsplus/template").Attributes | undefined;
13
+ attributes?: template_a6aeaec5a75649bd8ec693d5230c50001.Attributes | undefined;
13
14
  content?: string[] | undefined;
14
- }, attributes: Readonly<import("@esportsplus/template").Attributes>, content: string[]) => import("@esportsplus/template").Renderable<any>>;
15
- (attributes: import("@esportsplus/template").Attributes, content: string[]): ReturnType<(this: {
16
- attributes?: import("@esportsplus/template").Attributes | undefined;
15
+ }, attributes: Readonly<template_a6aeaec5a75649bd8ec693d5230c50001.Attributes>, content: string[]) => template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>>;
16
+ (attributes: template_a6aeaec5a75649bd8ec693d5230c50001.Attributes, content: string[]): ReturnType<(this: {
17
+ attributes?: template_a6aeaec5a75649bd8ec693d5230c50001.Attributes | undefined;
17
18
  content?: string[] | undefined;
18
- }, attributes: Readonly<import("@esportsplus/template").Attributes>, content: string[]) => import("@esportsplus/template").Renderable<any>>;
19
+ }, attributes: Readonly<template_a6aeaec5a75649bd8ec693d5230c50001.Attributes>, content: string[]) => template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>>;
19
20
  };
20
21
  export default _default;
@@ -1,13 +1,27 @@
1
- import { html } from '@esportsplus/template';
2
- import { reactive } from '@esportsplus/reactivity';
1
+ import * as template_a6aeaec5a75649bd8ec693d5230c50001 from '@esportsplus/template';
2
+ import * as reactivity_a6aeaec5a75649bd8ec693d5230c50000 from '@esportsplus/reactivity';
3
3
  import template from '../../components/template/index.js';
4
4
  import './scss/index.scss';
5
- const EMPTY_NODE = html ` `;
5
+ const template_a6aeaec5a75649bd8ec693d5230c500045 = template_a6aeaec5a75649bd8ec693d5230c50001.template(`<div class='typewriter'><!--$--></div>`);
6
+ const template_a6aeaec5a75649bd8ec693d5230c500048 = template_a6aeaec5a75649bd8ec693d5230c50001.template(``);
7
+ class ReactiveObject_a6aeaec5a75649bd8ec693d5230c500043 extends reactivity_a6aeaec5a75649bd8ec693d5230c50000.ReactiveObject {
8
+ #text = this[reactivity_a6aeaec5a75649bd8ec693d5230c50000.SIGNAL]('');
9
+ constructor() {
10
+ super(null);
11
+ }
12
+ get text() {
13
+ return reactivity_a6aeaec5a75649bd8ec693d5230c50000.read(this.#text);
14
+ }
15
+ set text(_v0) {
16
+ reactivity_a6aeaec5a75649bd8ec693d5230c50000.write(this.#text, _v0);
17
+ }
18
+ }
19
+ const EMPTY_NODE = template_a6aeaec5a75649bd8ec693d5230c500048();
6
20
  export default template.factory(function (_, content) {
7
- let state = reactive({ text: '' });
8
- return html `
9
- <div class='typewriter' ${{
10
- onconnect: () => {
21
+ let state = new ReactiveObject_a6aeaec5a75649bd8ec693d5230c500043();
22
+ return (() => {
23
+ let root_a6aeaec5a75649bd8ec693d5230c500044 = template_a6aeaec5a75649bd8ec693d5230c500045(), element_a6aeaec5a75649bd8ec693d5230c500046 = root_a6aeaec5a75649bd8ec693d5230c500044.firstChild, element_a6aeaec5a75649bd8ec693d5230c500047 = element_a6aeaec5a75649bd8ec693d5230c500046.firstChild;
24
+ template_a6aeaec5a75649bd8ec693d5230c50001.onconnect(element_a6aeaec5a75649bd8ec693d5230c500046, () => {
11
25
  let character = 0, i = 0, isWriting = true, write = content[i];
12
26
  function play() {
13
27
  setTimeout(() => {
@@ -35,9 +49,8 @@ export default template.factory(function (_, content) {
35
49
  }, isWriting ? 64 : 32);
36
50
  }
37
51
  play();
38
- }
39
- }}>
40
- ${() => state.text || EMPTY_NODE}
41
- </div>
42
- `;
52
+ });
53
+ new template_a6aeaec5a75649bd8ec693d5230c50001.EffectSlot(element_a6aeaec5a75649bd8ec693d5230c500047, () => state.text || EMPTY_NODE);
54
+ return root_a6aeaec5a75649bd8ec693d5230c500044;
55
+ })();
43
56
  });
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- content: Node;
2
+ content: DocumentFragment;
3
3
  deactivate: () => void;
4
4
  error: {
5
5
  (messages: import("@esportsplus/template").Renderable<any>, seconds?: number): void;
@@ -1,33 +1,34 @@
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("@esportsplus/template/build/types").Attribute | import("@esportsplus/template/build/types").Attribute[];
4
+ class?: import("node_modules/@esportsplus/template/build/types").Attribute | import("node_modules/@esportsplus/template/build/types").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("@esportsplus/template/build/types").Attribute | import("@esportsplus/template/build/types").Attribute[];
9
+ style?: import("node_modules/@esportsplus/template/build/types").Attribute | import("node_modules/@esportsplus/template/build/types").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;
13
13
  onanimationend?: ((this: import("@esportsplus/template").Element, event: AnimationEvent) => void) | undefined;
14
14
  onanimationiteration?: ((this: import("@esportsplus/template").Element, event: AnimationEvent) => void) | undefined;
15
15
  onanimationstart?: ((this: import("@esportsplus/template").Element, event: AnimationEvent) => void) | undefined;
16
- onauxclick?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
16
+ onauxclick?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
17
17
  onbeforeinput?: ((this: import("@esportsplus/template").Element, event: InputEvent) => void) | undefined;
18
- onbeforetoggle?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
18
+ onbeforematch?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
19
+ onbeforetoggle?: ((this: import("@esportsplus/template").Element, event: ToggleEvent) => void) | undefined;
19
20
  onblur?: ((this: import("@esportsplus/template").Element, event: FocusEvent) => void) | undefined;
20
21
  oncancel?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
21
22
  oncanplay?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
22
23
  oncanplaythrough?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
23
24
  onchange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
24
- onclick?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
25
+ onclick?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
25
26
  onclose?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
26
27
  oncompositionend?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
27
28
  oncompositionstart?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
28
29
  oncompositionupdate?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
29
30
  oncontextlost?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
30
- oncontextmenu?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
31
+ oncontextmenu?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
31
32
  oncontextrestored?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
32
33
  oncopy?: ((this: import("@esportsplus/template").Element, event: ClipboardEvent) => void) | undefined;
33
34
  oncuechange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
@@ -77,6 +78,7 @@ declare const _default: (attributes: {
77
78
  onpointermove?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
78
79
  onpointerout?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
79
80
  onpointerover?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
81
+ onpointerrawupdate?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
80
82
  onpointerup?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
81
83
  onprogress?: ((this: import("@esportsplus/template").Element, event: ProgressEvent<EventTarget>) => void) | undefined;
82
84
  onratechange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
@@ -95,7 +97,7 @@ declare const _default: (attributes: {
95
97
  onsubmit?: ((this: import("@esportsplus/template").Element, event: SubmitEvent) => void) | undefined;
96
98
  onsuspend?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
97
99
  ontimeupdate?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
98
- ontoggle?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
100
+ ontoggle?: ((this: import("@esportsplus/template").Element, event: ToggleEvent) => void) | undefined;
99
101
  ontouchcancel?: ((this: import("@esportsplus/template").Element, event: TouchEvent) => void) | undefined;
100
102
  ontouchend?: ((this: import("@esportsplus/template").Element, event: TouchEvent) => void) | undefined;
101
103
  ontouchmove?: ((this: import("@esportsplus/template").Element, event: TouchEvent) => void) | undefined;
@@ -116,5 +118,5 @@ declare const _default: (attributes: {
116
118
  active: boolean;
117
119
  error: string;
118
120
  };
119
- }) => Node;
121
+ }) => DocumentFragment;
120
122
  export default _default;