@esportsplus/ui 0.47.2 → 0.48.1

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 (51) hide show
  1. package/README.md +2 -3
  2. package/build/components/accordion/index.d.ts +16 -16
  3. package/build/components/accordion/index.js +13 -23
  4. package/build/components/alert/index.js +33 -64
  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 +20 -36
  9. package/build/components/checkbox/index.js +19 -36
  10. package/build/components/clipboard/onclick.js +11 -21
  11. package/build/components/counter/index.js +28 -59
  12. package/build/components/ellipsis/index.js +5 -5
  13. package/build/components/form/action.js +8 -8
  14. package/build/components/highlight/index.d.ts +16 -16
  15. package/build/components/highlight/index.js +12 -22
  16. package/build/components/icon/index.d.ts +11 -11
  17. package/build/components/icon/index.js +6 -6
  18. package/build/components/input/index.js +16 -32
  19. package/build/components/loader/index.d.ts +16 -16
  20. package/build/components/loader/index.js +26 -48
  21. package/build/components/loading/index.js +5 -5
  22. package/build/components/range/index.js +19 -42
  23. package/build/components/scrollbar/index.d.ts +11 -11
  24. package/build/components/scrollbar/index.js +19 -35
  25. package/build/components/select/index.js +34 -63
  26. package/build/components/textarea/index.js +16 -32
  27. package/build/components/tooltip/menu.d.ts +11 -11
  28. package/build/components/tooltip/menu.js +20 -20
  29. package/build/components/tooltip/onclick.d.ts +1101 -1101
  30. package/build/components/tooltip/onclick.js +10 -22
  31. package/build/components/tooltip/onhover.d.ts +16 -16
  32. package/build/components/tooltip/onhover.js +11 -23
  33. package/build/components/typewriter/index.d.ts +11 -11
  34. package/build/components/typewriter/index.js +10 -22
  35. package/package.json +3 -4
  36. package/src/components/accordion/index.ts +1 -2
  37. package/src/components/alert/index.ts +1 -2
  38. package/src/components/button/index.ts +1 -2
  39. package/src/components/checkbox/index.ts +1 -2
  40. package/src/components/clipboard/onclick.ts +1 -2
  41. package/src/components/counter/index.ts +1 -2
  42. package/src/components/highlight/index.ts +1 -2
  43. package/src/components/input/index.ts +1 -2
  44. package/src/components/loader/index.ts +1 -2
  45. package/src/components/range/index.ts +1 -2
  46. package/src/components/scrollbar/index.ts +1 -2
  47. package/src/components/select/index.ts +1 -2
  48. package/src/components/textarea/index.ts +1 -2
  49. package/src/components/tooltip/onclick.ts +1 -2
  50. package/src/components/tooltip/onhover.ts +1 -2
  51. package/src/components/typewriter/index.ts +1 -2
@@ -1,22 +1,10 @@
1
- import * as reactivity_a6aeaec5a75649bd8ec693d5230c50000 from '@esportsplus/reactivity';
2
- import * as template_a6aeaec5a75649bd8ec693d5230c50001 from '@esportsplus/template';
1
+ import * as template_23a4f055a2904f1fa5d72b30cc2abc501 from '@esportsplus/template';
2
+ import { reactive } 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
6
+ const template_23a4f055a2904f1fa5d72b30cc2abc503g = template_23a4f055a2904f1fa5d72b30cc2abc501.template(`<div
7
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
- }
20
8
  const OMIT = ['state', 'toggle'];
21
9
  let parent = null, queue = [], running = false, scheduled = false;
22
10
  function frame() {
@@ -38,12 +26,12 @@ function frame() {
38
26
  running = false;
39
27
  }
40
28
  export default template.factory((attributes, content) => {
41
- let state = attributes.state || new ReactiveObject_a6aeaec5a75649bd8ec693d5230c50003t(), toggle = attributes.toggle || false;
29
+ let state = attributes.state || reactive({ active: false }), toggle = attributes.toggle || false;
42
30
  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) {
31
+ let root_23a4f055a2904f1fa5d72b30cc2abc503f = template_23a4f055a2904f1fa5d72b30cc2abc503g(), element_23a4f055a2904f1fa5d72b30cc2abc503h = root_23a4f055a2904f1fa5d72b30cc2abc503f.firstChild, element_23a4f055a2904f1fa5d72b30cc2abc503i = element_23a4f055a2904f1fa5d72b30cc2abc503h.firstChild;
32
+ template_23a4f055a2904f1fa5d72b30cc2abc501.setProperties(element_23a4f055a2904f1fa5d72b30cc2abc503h, omit(attributes, OMIT));
33
+ template_23a4f055a2904f1fa5d72b30cc2abc501.setClass(element_23a4f055a2904f1fa5d72b30cc2abc503h, '', () => state.active && '--active');
34
+ template_23a4f055a2904f1fa5d72b30cc2abc501.delegate(element_23a4f055a2904f1fa5d72b30cc2abc503h, 'click', function (e) {
47
35
  let active = true, node = e.target;
48
36
  if (this === node || (toggle && this.contains(node))) {
49
37
  active = !state.active;
@@ -71,7 +59,7 @@ export default template.factory((attributes, content) => {
71
59
  scheduled = true;
72
60
  }
73
61
  });
74
- template_a6aeaec5a75649bd8ec693d5230c50001.slot(element_a6aeaec5a75649bd8ec693d5230c50003x, content);
75
- return root_a6aeaec5a75649bd8ec693d5230c50003u;
62
+ template_23a4f055a2904f1fa5d72b30cc2abc501.slot(element_23a4f055a2904f1fa5d72b30cc2abc503i, content);
63
+ return root_23a4f055a2904f1fa5d72b30cc2abc503f;
76
64
  })();
77
65
  });
@@ -1,20 +1,20 @@
1
- import * as template_a6aeaec5a75649bd8ec693d5230c50001 from '@esportsplus/template';
1
+ import * as template_23a4f055a2904f1fa5d72b30cc2abc501 from '@esportsplus/template';
2
2
  declare const _default: {
3
3
  (): ReturnType<(this: {
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>>;
4
+ attributes?: template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes | undefined;
5
+ content?: template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>;
6
+ }, attributes: Readonly<template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes>, content: template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>) => template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>>;
7
+ <T extends template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes>(attributes: T): ReturnType<(this: {
8
+ attributes?: template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes | undefined;
9
+ content?: template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>;
10
+ }, attributes: Readonly<template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes>, content: template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>) => template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>>;
11
+ <T extends template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>>(content: T): ReturnType<(this: {
12
+ attributes?: template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes | undefined;
13
+ content?: template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>;
14
+ }, attributes: Readonly<template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes>, content: template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>) => template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>>;
15
+ (attributes: template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes, content: template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>): ReturnType<(this: {
16
+ attributes?: template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes | undefined;
17
+ content?: template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>;
18
+ }, attributes: Readonly<template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes>, content: template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>) => template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>>;
19
19
  };
20
20
  export default _default;
@@ -1,35 +1,23 @@
1
- import * as reactivity_a6aeaec5a75649bd8ec693d5230c50000 from '@esportsplus/reactivity';
2
- import * as template_a6aeaec5a75649bd8ec693d5230c50001 from '@esportsplus/template';
1
+ import * as template_23a4f055a2904f1fa5d72b30cc2abc501 from '@esportsplus/template';
2
+ import { reactive } 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
5
+ const template_23a4f055a2904f1fa5d72b30cc2abc503k = template_23a4f055a2904f1fa5d72b30cc2abc501.template(`<div
6
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
- }
19
7
  const OMIT = ['state'];
20
8
  export default template.factory((attributes, content) => {
21
- let state = attributes.state || new ReactiveObject_a6aeaec5a75649bd8ec693d5230c50003y();
9
+ let state = attributes.state || reactive({ active: false });
22
10
  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', () => {
11
+ let root_23a4f055a2904f1fa5d72b30cc2abc503j = template_23a4f055a2904f1fa5d72b30cc2abc503k(), element_23a4f055a2904f1fa5d72b30cc2abc503l = root_23a4f055a2904f1fa5d72b30cc2abc503j.firstChild, element_23a4f055a2904f1fa5d72b30cc2abc503m = element_23a4f055a2904f1fa5d72b30cc2abc503l.firstChild;
12
+ template_23a4f055a2904f1fa5d72b30cc2abc501.setProperties(element_23a4f055a2904f1fa5d72b30cc2abc503l, omit(attributes, OMIT));
13
+ template_23a4f055a2904f1fa5d72b30cc2abc501.setClass(element_23a4f055a2904f1fa5d72b30cc2abc503l, '', () => state.active && '--active');
14
+ template_23a4f055a2904f1fa5d72b30cc2abc501.delegate(element_23a4f055a2904f1fa5d72b30cc2abc503l, 'mouseover', () => {
27
15
  state.active = true;
28
16
  });
29
- template_a6aeaec5a75649bd8ec693d5230c50001.delegate(element_a6aeaec5a75649bd8ec693d5230c500041, 'mouseout', () => {
17
+ template_23a4f055a2904f1fa5d72b30cc2abc501.delegate(element_23a4f055a2904f1fa5d72b30cc2abc503l, 'mouseout', () => {
30
18
  state.active = false;
31
19
  });
32
- template_a6aeaec5a75649bd8ec693d5230c50001.slot(element_a6aeaec5a75649bd8ec693d5230c500042, content);
33
- return root_a6aeaec5a75649bd8ec693d5230c50003z;
20
+ template_23a4f055a2904f1fa5d72b30cc2abc501.slot(element_23a4f055a2904f1fa5d72b30cc2abc503m, content);
21
+ return root_23a4f055a2904f1fa5d72b30cc2abc503j;
34
22
  })();
35
23
  });
@@ -1,21 +1,21 @@
1
- import * as template_a6aeaec5a75649bd8ec693d5230c50001 from '@esportsplus/template';
1
+ import * as template_23a4f055a2904f1fa5d72b30cc2abc501 from '@esportsplus/template';
2
2
  import './scss/index.scss';
3
3
  declare const _default: {
4
4
  (): ReturnType<(this: {
5
- attributes?: template_a6aeaec5a75649bd8ec693d5230c50001.Attributes | undefined;
5
+ attributes?: template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes | undefined;
6
6
  content?: string[] | 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;
7
+ }, attributes: Readonly<template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes>, content: string[]) => template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>>;
8
+ <T extends template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes>(attributes: T): ReturnType<(this: {
9
+ attributes?: template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes | undefined;
10
10
  content?: string[] | undefined;
11
- }, attributes: Readonly<template_a6aeaec5a75649bd8ec693d5230c50001.Attributes>, content: string[]) => template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>>;
11
+ }, attributes: Readonly<template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes>, content: string[]) => template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>>;
12
12
  <T extends string[]>(content: T): ReturnType<(this: {
13
- attributes?: template_a6aeaec5a75649bd8ec693d5230c50001.Attributes | undefined;
13
+ attributes?: template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes | undefined;
14
14
  content?: string[] | 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;
15
+ }, attributes: Readonly<template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes>, content: string[]) => template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>>;
16
+ (attributes: template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes, content: string[]): ReturnType<(this: {
17
+ attributes?: template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes | undefined;
18
18
  content?: string[] | undefined;
19
- }, attributes: Readonly<template_a6aeaec5a75649bd8ec693d5230c50001.Attributes>, content: string[]) => template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>>;
19
+ }, attributes: Readonly<template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes>, content: string[]) => template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>>;
20
20
  };
21
21
  export default _default;
@@ -1,27 +1,15 @@
1
- import * as template_a6aeaec5a75649bd8ec693d5230c50001 from '@esportsplus/template';
2
- import * as reactivity_a6aeaec5a75649bd8ec693d5230c50000 from '@esportsplus/reactivity';
1
+ import * as template_23a4f055a2904f1fa5d72b30cc2abc501 from '@esportsplus/template';
2
+ import { reactive } from '@esportsplus/template';
3
3
  import template from '../../components/template/index.js';
4
4
  import './scss/index.scss';
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();
5
+ const template_23a4f055a2904f1fa5d72b30cc2abc503o = template_23a4f055a2904f1fa5d72b30cc2abc501.template(`<div class='typewriter'><!--$--></div>`);
6
+ const template_23a4f055a2904f1fa5d72b30cc2abc503r = template_23a4f055a2904f1fa5d72b30cc2abc501.template(``);
7
+ const EMPTY_NODE = template_23a4f055a2904f1fa5d72b30cc2abc503r();
20
8
  export default template.factory(function (_, content) {
21
- let state = new ReactiveObject_a6aeaec5a75649bd8ec693d5230c500043();
9
+ let state = reactive({ text: '' });
22
10
  return (() => {
23
- let root_a6aeaec5a75649bd8ec693d5230c500044 = template_a6aeaec5a75649bd8ec693d5230c500045(), element_a6aeaec5a75649bd8ec693d5230c500046 = root_a6aeaec5a75649bd8ec693d5230c500044.firstChild, element_a6aeaec5a75649bd8ec693d5230c500047 = element_a6aeaec5a75649bd8ec693d5230c500046.firstChild;
24
- template_a6aeaec5a75649bd8ec693d5230c50001.onconnect(element_a6aeaec5a75649bd8ec693d5230c500046, () => {
11
+ let root_23a4f055a2904f1fa5d72b30cc2abc503n = template_23a4f055a2904f1fa5d72b30cc2abc503o(), element_23a4f055a2904f1fa5d72b30cc2abc503p = root_23a4f055a2904f1fa5d72b30cc2abc503n.firstChild, element_23a4f055a2904f1fa5d72b30cc2abc503q = element_23a4f055a2904f1fa5d72b30cc2abc503p.firstChild;
12
+ template_23a4f055a2904f1fa5d72b30cc2abc501.onconnect(element_23a4f055a2904f1fa5d72b30cc2abc503p, () => {
25
13
  let character = 0, i = 0, isWriting = true, write = content[i];
26
14
  function play() {
27
15
  setTimeout(() => {
@@ -50,7 +38,7 @@ export default template.factory(function (_, content) {
50
38
  }
51
39
  play();
52
40
  });
53
- new template_a6aeaec5a75649bd8ec693d5230c50001.EffectSlot(element_a6aeaec5a75649bd8ec693d5230c500047, () => state.text || EMPTY_NODE);
54
- return root_a6aeaec5a75649bd8ec693d5230c500044;
41
+ new template_23a4f055a2904f1fa5d72b30cc2abc501.EffectSlot(element_23a4f055a2904f1fa5d72b30cc2abc503q, () => state.text || EMPTY_NODE);
42
+ return root_23a4f055a2904f1fa5d72b30cc2abc503n;
55
43
  })();
56
44
  });
package/package.json CHANGED
@@ -1,10 +1,9 @@
1
1
  {
2
2
  "author": "ICJR",
3
3
  "dependencies": {
4
- "@esportsplus/action": "^0.1.3",
4
+ "@esportsplus/action": "^0.1.4",
5
5
  "@esportsplus/queue": "^0.2.0",
6
- "@esportsplus/reactivity": "^0.29.12",
7
- "@esportsplus/template": "^0.40.4",
6
+ "@esportsplus/template": "^0.41.1",
8
7
  "@esportsplus/utilities": "^0.27.2",
9
8
  "@esportsplus/vite": "^0.12.3",
10
9
  "modern-normalize": "^3.0.1"
@@ -59,7 +58,7 @@
59
58
  },
60
59
  "sideEffects": false,
61
60
  "type": "module",
62
- "version": "0.47.2",
61
+ "version": "0.48.1",
63
62
  "scripts": {
64
63
  "build": "run-s build:vite build:ts",
65
64
  "build:ts": "tsc",
@@ -1,5 +1,4 @@
1
- import { reactive } from '@esportsplus/reactivity';
2
- import { html, Attributes } from '@esportsplus/template';
1
+ import { html, reactive, Attributes } from '@esportsplus/template';
3
2
  import { omit } from '@esportsplus/utilities';
4
3
  import template from '~/components/template';
5
4
  import './scss/index.scss';
@@ -1,7 +1,6 @@
1
1
  import '@esportsplus/vite/global.d.ts';
2
2
  import { Response } from '@esportsplus/action';
3
- import { reactive } from '@esportsplus/reactivity';
4
- import { html, svg, Attributes, Renderable } from '@esportsplus/template';
3
+ import { html, reactive, svg, Attributes, Renderable } from '@esportsplus/template';
5
4
  import { omit } from '@esportsplus/utilities';
6
5
  import { icon } from '@esportsplus/ui';
7
6
  import check from './svg/check.svg';
@@ -1,5 +1,4 @@
1
- import { reactive } from '@esportsplus/reactivity';
2
- import { html, Renderable } from '@esportsplus/template';
1
+ import { html, reactive, type Renderable } from '@esportsplus/template';
3
2
  import template from '../template';
4
3
  import './scss/index.scss';
5
4
 
@@ -1,5 +1,4 @@
1
- import { reactive, root } from '@esportsplus/reactivity';
2
- import { html, type Attributes } from '@esportsplus/template';
1
+ import { html, reactive, root, type Attributes } from '@esportsplus/template';
3
2
  import { omit } from '@esportsplus/utilities';
4
3
  import form from '~/components/form';
5
4
  import './scss/index.scss';
@@ -1,5 +1,4 @@
1
- import { reactive } from '@esportsplus/reactivity';
2
- import { html, type Attributes, type Renderable } from '@esportsplus/template';
1
+ import { html, reactive, type Attributes, type Renderable } from '@esportsplus/template';
3
2
  import { omit } from '@esportsplus/utilities';
4
3
  import template from '~/components/template';
5
4
  import write from './write';
@@ -1,5 +1,4 @@
1
- import { effect, reactive } from '@esportsplus/reactivity'
2
- import { html, type Attributes } from '@esportsplus/template';
1
+ import { effect, html, reactive, type Attributes } from '@esportsplus/template';
3
2
  import { omit } from '@esportsplus/utilities';
4
3
  import './scss/index.scss';
5
4
 
@@ -1,5 +1,4 @@
1
- import { reactive } from '@esportsplus/reactivity'
2
- import { html, Attributes } from '@esportsplus/template';
1
+ import { html, reactive, Attributes } from '@esportsplus/template';
3
2
  import { omit } from '@esportsplus/utilities';
4
3
  import template from '~/components/template';
5
4
  import './scss/index.scss';
@@ -1,5 +1,4 @@
1
- import { reactive } from '@esportsplus/reactivity';
2
- import { html, type Attributes } from '@esportsplus/template';
1
+ import { html, reactive, type Attributes } from '@esportsplus/template';
3
2
  import form from '~/components/form';
4
3
  import './scss/index.scss';
5
4
 
@@ -1,5 +1,4 @@
1
- import { reactive } from '@esportsplus/reactivity';
2
- import { html, Attributes } from '@esportsplus/template';
1
+ import { html, reactive, type Attributes } from '@esportsplus/template';
3
2
  import { omit } from '@esportsplus/utilities'
4
3
  import template from '~/components/template';
5
4
  import './scss/index.scss';
@@ -1,5 +1,4 @@
1
- import { reactive, root } from '@esportsplus/reactivity';
2
- import { html, type Attributes } from '@esportsplus/template';
1
+ import { html, reactive, root, type Attributes } from '@esportsplus/template';
3
2
  import form from '~/components/form';
4
3
  import './scss/index.scss';
5
4
 
@@ -1,5 +1,4 @@
1
- import { reactive } from '@esportsplus/reactivity';
2
- import { html, type Attributes } from '@esportsplus/template';
1
+ import { html, reactive, type Attributes } from '@esportsplus/template';
3
2
  import { omit } from '@esportsplus/utilities';
4
3
  import template from '~/components/template';
5
4
  import './scss/index.scss';
@@ -1,5 +1,4 @@
1
- import { reactive } from '@esportsplus/reactivity';
2
- import { html, Renderable, type Attributes } from '@esportsplus/template';
1
+ import { html, reactive, type Renderable, type Attributes } from '@esportsplus/template';
3
2
  import { EMPTY_ARRAY, omit, toArray } from '@esportsplus/utilities';
4
3
  import form from '~/components/form';
5
4
  import root from '~/components/root';
@@ -1,5 +1,4 @@
1
- import { reactive } from '@esportsplus/reactivity';
2
- import { html, type Attributes } from '@esportsplus/template';
1
+ import { html, reactive, type Attributes } from '@esportsplus/template';
3
2
  import { omit } from '@esportsplus/utilities';
4
3
  import form from '~/components/form';
5
4
  import './scss/index.scss';
@@ -1,5 +1,4 @@
1
- import { reactive } from '@esportsplus/reactivity';
2
- import { html, type Attributes } from '@esportsplus/template';
1
+ import { html, reactive, type Attributes } from '@esportsplus/template';
3
2
  import { omit } from '@esportsplus/utilities';
4
3
  import { root } from '@esportsplus/ui';
5
4
  import template from '~/components/template';
@@ -1,5 +1,4 @@
1
- import { reactive } from '@esportsplus/reactivity';
2
- import { html, Attributes } from '@esportsplus/template';
1
+ import { html, reactive, Attributes } from '@esportsplus/template';
3
2
  import { omit } from '@esportsplus/utilities';
4
3
  import template from '~/components/template';
5
4
 
@@ -1,5 +1,4 @@
1
- import { html } from '@esportsplus/template';
2
- import { reactive } from '@esportsplus/reactivity';
1
+ import { html, reactive } from '@esportsplus/template';
3
2
  import template from '~/components/template';
4
3
  import './scss/index.scss';
5
4