@esportsplus/ui 0.51.3 → 0.51.4

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 (36) 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.js +41 -41
  4. package/build/components/back/index.d.ts +8 -8
  5. package/build/components/back/index.js +8 -8
  6. package/build/components/button/index.d.ts +21 -21
  7. package/build/components/button/index.js +23 -23
  8. package/build/components/checkbox/index.js +23 -23
  9. package/build/components/clipboard/onclick.js +13 -13
  10. package/build/components/counter/index.js +34 -34
  11. package/build/components/ellipsis/index.js +5 -5
  12. package/build/components/form/action.js +8 -8
  13. package/build/components/highlight/index.d.ts +16 -16
  14. package/build/components/highlight/index.js +15 -15
  15. package/build/components/icon/index.d.ts +11 -11
  16. package/build/components/icon/index.js +6 -6
  17. package/build/components/input/index.js +20 -20
  18. package/build/components/loader/index.d.ts +16 -16
  19. package/build/components/loader/index.js +33 -33
  20. package/build/components/loading/index.js +5 -5
  21. package/build/components/range/index.js +25 -25
  22. package/build/components/root/scss/index.scss +1 -1
  23. package/build/components/scrollbar/index.d.ts +11 -11
  24. package/build/components/scrollbar/index.js +24 -24
  25. package/build/components/select/index.js +40 -40
  26. package/build/components/textarea/index.js +20 -20
  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 +14 -14
  31. package/build/components/tooltip/onhover.d.ts +16 -16
  32. package/build/components/tooltip/onhover.js +15 -15
  33. package/build/components/typewriter/index.d.ts +11 -11
  34. package/build/components/typewriter/index.js +14 -14
  35. package/package.json +1 -1
  36. package/src/tokens/scss/font-size.scss +9 -9
@@ -1,19 +1,19 @@
1
- import * as template_eee533dd50c34162b816f8be4c855b891 from '@esportsplus/template';
2
- import * as reactivity_eee533dd50c34162b816f8be4c855b890 from '@esportsplus/reactivity';
1
+ import * as template_b7478c4a5ff041d4bc1434ee94c2db371 from '@esportsplus/template';
2
+ import * as reactivity_b7478c4a5ff041d4bc1434ee94c2db370 from '@esportsplus/reactivity';
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_eee533dd50c34162b816f8be4c855b894t = template_eee533dd50c34162b816f8be4c855b891.template(`<div class='tooltip'><!--$--></div>`);
7
- class ReactiveObject_eee533dd50c34162b816f8be4c855b894r extends reactivity_eee533dd50c34162b816f8be4c855b890.ReactiveObject {
8
- #active = this[reactivity_eee533dd50c34162b816f8be4c855b890.SIGNAL](false);
6
+ const template_b7478c4a5ff041d4bc1434ee94c2db374t = template_b7478c4a5ff041d4bc1434ee94c2db371.template(`<div class='tooltip'><!--$--></div>`);
7
+ class ReactiveObject_b7478c4a5ff041d4bc1434ee94c2db374r extends reactivity_b7478c4a5ff041d4bc1434ee94c2db370.ReactiveObject {
8
+ #active = this[reactivity_b7478c4a5ff041d4bc1434ee94c2db370.SIGNAL](false);
9
9
  constructor() {
10
10
  super(null);
11
11
  }
12
12
  get active() {
13
- return reactivity_eee533dd50c34162b816f8be4c855b890.read(this.#active);
13
+ return reactivity_b7478c4a5ff041d4bc1434ee94c2db370.read(this.#active);
14
14
  }
15
15
  set active(_v0) {
16
- reactivity_eee533dd50c34162b816f8be4c855b890.write(this.#active, _v0);
16
+ reactivity_b7478c4a5ff041d4bc1434ee94c2db370.write(this.#active, _v0);
17
17
  }
18
18
  }
19
19
  const OMIT = ['state', 'toggle'];
@@ -37,12 +37,12 @@ function frame() {
37
37
  running = false;
38
38
  }
39
39
  export default template.factory((attributes, content) => {
40
- let state = attributes.state || new ReactiveObject_eee533dd50c34162b816f8be4c855b894r(), toggle = attributes.toggle || false;
40
+ let state = attributes.state || new ReactiveObject_b7478c4a5ff041d4bc1434ee94c2db374r(), toggle = attributes.toggle || false;
41
41
  return (() => {
42
- let root_eee533dd50c34162b816f8be4c855b894s = template_eee533dd50c34162b816f8be4c855b894t(), element_eee533dd50c34162b816f8be4c855b894u = root_eee533dd50c34162b816f8be4c855b894s.firstChild, element_eee533dd50c34162b816f8be4c855b894v = element_eee533dd50c34162b816f8be4c855b894u.firstChild, attributes_eee533dd50c34162b816f8be4c855b894w = { "class": " tooltip" };
43
- template_eee533dd50c34162b816f8be4c855b891.setProperties(element_eee533dd50c34162b816f8be4c855b894u, omit(attributes, OMIT), attributes_eee533dd50c34162b816f8be4c855b894w);
44
- template_eee533dd50c34162b816f8be4c855b891.setList(element_eee533dd50c34162b816f8be4c855b894u, 'class', () => state.active && '--active', attributes_eee533dd50c34162b816f8be4c855b894w);
45
- template_eee533dd50c34162b816f8be4c855b891.delegate(element_eee533dd50c34162b816f8be4c855b894u, 'click', function (e) {
42
+ let root_b7478c4a5ff041d4bc1434ee94c2db374s = template_b7478c4a5ff041d4bc1434ee94c2db374t(), element_b7478c4a5ff041d4bc1434ee94c2db374u = root_b7478c4a5ff041d4bc1434ee94c2db374s.firstChild, element_b7478c4a5ff041d4bc1434ee94c2db374v = element_b7478c4a5ff041d4bc1434ee94c2db374u.firstChild, attributes_b7478c4a5ff041d4bc1434ee94c2db374w = { "class": " tooltip" };
43
+ template_b7478c4a5ff041d4bc1434ee94c2db371.setProperties(element_b7478c4a5ff041d4bc1434ee94c2db374u, omit(attributes, OMIT), attributes_b7478c4a5ff041d4bc1434ee94c2db374w);
44
+ template_b7478c4a5ff041d4bc1434ee94c2db371.setList(element_b7478c4a5ff041d4bc1434ee94c2db374u, 'class', () => state.active && '--active', attributes_b7478c4a5ff041d4bc1434ee94c2db374w);
45
+ template_b7478c4a5ff041d4bc1434ee94c2db371.delegate(element_b7478c4a5ff041d4bc1434ee94c2db374u, 'click', function (e) {
46
46
  let active = true, node = e.target;
47
47
  if (this === node || (toggle && this.contains(node))) {
48
48
  active = !state.active;
@@ -70,7 +70,7 @@ export default template.factory((attributes, content) => {
70
70
  scheduled = true;
71
71
  }
72
72
  });
73
- template_eee533dd50c34162b816f8be4c855b891.slot(element_eee533dd50c34162b816f8be4c855b894v, content);
74
- return root_eee533dd50c34162b816f8be4c855b894s;
73
+ template_b7478c4a5ff041d4bc1434ee94c2db371.slot(element_b7478c4a5ff041d4bc1434ee94c2db374v, content);
74
+ return root_b7478c4a5ff041d4bc1434ee94c2db374s;
75
75
  })();
76
76
  });
@@ -1,20 +1,20 @@
1
- import * as template_eee533dd50c34162b816f8be4c855b891 from '@esportsplus/template';
1
+ import * as template_b7478c4a5ff041d4bc1434ee94c2db371 from '@esportsplus/template';
2
2
  declare const _default: {
3
3
  (): ReturnType<(this: {
4
- attributes?: template_eee533dd50c34162b816f8be4c855b891.Attributes | undefined;
5
- content?: template_eee533dd50c34162b816f8be4c855b891.Renderable<any>;
6
- }, attributes: Readonly<template_eee533dd50c34162b816f8be4c855b891.Attributes>, content: template_eee533dd50c34162b816f8be4c855b891.Renderable<any>) => template_eee533dd50c34162b816f8be4c855b891.Renderable<any>>;
7
- <T extends template_eee533dd50c34162b816f8be4c855b891.Attributes>(attributes: T): ReturnType<(this: {
8
- attributes?: template_eee533dd50c34162b816f8be4c855b891.Attributes | undefined;
9
- content?: template_eee533dd50c34162b816f8be4c855b891.Renderable<any>;
10
- }, attributes: Readonly<template_eee533dd50c34162b816f8be4c855b891.Attributes>, content: template_eee533dd50c34162b816f8be4c855b891.Renderable<any>) => template_eee533dd50c34162b816f8be4c855b891.Renderable<any>>;
11
- <T extends template_eee533dd50c34162b816f8be4c855b891.Renderable<any>>(content: T): ReturnType<(this: {
12
- attributes?: template_eee533dd50c34162b816f8be4c855b891.Attributes | undefined;
13
- content?: template_eee533dd50c34162b816f8be4c855b891.Renderable<any>;
14
- }, attributes: Readonly<template_eee533dd50c34162b816f8be4c855b891.Attributes>, content: template_eee533dd50c34162b816f8be4c855b891.Renderable<any>) => template_eee533dd50c34162b816f8be4c855b891.Renderable<any>>;
15
- (attributes: template_eee533dd50c34162b816f8be4c855b891.Attributes, content: template_eee533dd50c34162b816f8be4c855b891.Renderable<any>): ReturnType<(this: {
16
- attributes?: template_eee533dd50c34162b816f8be4c855b891.Attributes | undefined;
17
- content?: template_eee533dd50c34162b816f8be4c855b891.Renderable<any>;
18
- }, attributes: Readonly<template_eee533dd50c34162b816f8be4c855b891.Attributes>, content: template_eee533dd50c34162b816f8be4c855b891.Renderable<any>) => template_eee533dd50c34162b816f8be4c855b891.Renderable<any>>;
4
+ attributes?: template_b7478c4a5ff041d4bc1434ee94c2db371.Attributes | undefined;
5
+ content?: template_b7478c4a5ff041d4bc1434ee94c2db371.Renderable<any>;
6
+ }, attributes: Readonly<template_b7478c4a5ff041d4bc1434ee94c2db371.Attributes>, content: template_b7478c4a5ff041d4bc1434ee94c2db371.Renderable<any>) => template_b7478c4a5ff041d4bc1434ee94c2db371.Renderable<any>>;
7
+ <T extends template_b7478c4a5ff041d4bc1434ee94c2db371.Attributes>(attributes: T): ReturnType<(this: {
8
+ attributes?: template_b7478c4a5ff041d4bc1434ee94c2db371.Attributes | undefined;
9
+ content?: template_b7478c4a5ff041d4bc1434ee94c2db371.Renderable<any>;
10
+ }, attributes: Readonly<template_b7478c4a5ff041d4bc1434ee94c2db371.Attributes>, content: template_b7478c4a5ff041d4bc1434ee94c2db371.Renderable<any>) => template_b7478c4a5ff041d4bc1434ee94c2db371.Renderable<any>>;
11
+ <T extends template_b7478c4a5ff041d4bc1434ee94c2db371.Renderable<any>>(content: T): ReturnType<(this: {
12
+ attributes?: template_b7478c4a5ff041d4bc1434ee94c2db371.Attributes | undefined;
13
+ content?: template_b7478c4a5ff041d4bc1434ee94c2db371.Renderable<any>;
14
+ }, attributes: Readonly<template_b7478c4a5ff041d4bc1434ee94c2db371.Attributes>, content: template_b7478c4a5ff041d4bc1434ee94c2db371.Renderable<any>) => template_b7478c4a5ff041d4bc1434ee94c2db371.Renderable<any>>;
15
+ (attributes: template_b7478c4a5ff041d4bc1434ee94c2db371.Attributes, content: template_b7478c4a5ff041d4bc1434ee94c2db371.Renderable<any>): ReturnType<(this: {
16
+ attributes?: template_b7478c4a5ff041d4bc1434ee94c2db371.Attributes | undefined;
17
+ content?: template_b7478c4a5ff041d4bc1434ee94c2db371.Renderable<any>;
18
+ }, attributes: Readonly<template_b7478c4a5ff041d4bc1434ee94c2db371.Attributes>, content: template_b7478c4a5ff041d4bc1434ee94c2db371.Renderable<any>) => template_b7478c4a5ff041d4bc1434ee94c2db371.Renderable<any>>;
19
19
  };
20
20
  export default _default;
@@ -1,34 +1,34 @@
1
- import * as template_eee533dd50c34162b816f8be4c855b891 from '@esportsplus/template';
2
- import * as reactivity_eee533dd50c34162b816f8be4c855b890 from '@esportsplus/reactivity';
1
+ import * as template_b7478c4a5ff041d4bc1434ee94c2db371 from '@esportsplus/template';
2
+ import * as reactivity_b7478c4a5ff041d4bc1434ee94c2db370 from '@esportsplus/reactivity';
3
3
  import { omit } from '@esportsplus/utilities';
4
4
  import template from '../../components/template/index.js';
5
- const template_eee533dd50c34162b816f8be4c855b894z = template_eee533dd50c34162b816f8be4c855b891.template(`<div class='tooltip'><!--$--></div>`);
6
- class ReactiveObject_eee533dd50c34162b816f8be4c855b894x extends reactivity_eee533dd50c34162b816f8be4c855b890.ReactiveObject {
7
- #active = this[reactivity_eee533dd50c34162b816f8be4c855b890.SIGNAL](false);
5
+ const template_b7478c4a5ff041d4bc1434ee94c2db374z = template_b7478c4a5ff041d4bc1434ee94c2db371.template(`<div class='tooltip'><!--$--></div>`);
6
+ class ReactiveObject_b7478c4a5ff041d4bc1434ee94c2db374x extends reactivity_b7478c4a5ff041d4bc1434ee94c2db370.ReactiveObject {
7
+ #active = this[reactivity_b7478c4a5ff041d4bc1434ee94c2db370.SIGNAL](false);
8
8
  constructor() {
9
9
  super(null);
10
10
  }
11
11
  get active() {
12
- return reactivity_eee533dd50c34162b816f8be4c855b890.read(this.#active);
12
+ return reactivity_b7478c4a5ff041d4bc1434ee94c2db370.read(this.#active);
13
13
  }
14
14
  set active(_v0) {
15
- reactivity_eee533dd50c34162b816f8be4c855b890.write(this.#active, _v0);
15
+ reactivity_b7478c4a5ff041d4bc1434ee94c2db370.write(this.#active, _v0);
16
16
  }
17
17
  }
18
18
  const OMIT = ['state'];
19
19
  export default template.factory((attributes, content) => {
20
- let state = attributes.state || new ReactiveObject_eee533dd50c34162b816f8be4c855b894x();
20
+ let state = attributes.state || new ReactiveObject_b7478c4a5ff041d4bc1434ee94c2db374x();
21
21
  return (() => {
22
- let root_eee533dd50c34162b816f8be4c855b894y = template_eee533dd50c34162b816f8be4c855b894z(), element_eee533dd50c34162b816f8be4c855b8950 = root_eee533dd50c34162b816f8be4c855b894y.firstChild, element_eee533dd50c34162b816f8be4c855b8951 = element_eee533dd50c34162b816f8be4c855b8950.firstChild, attributes_eee533dd50c34162b816f8be4c855b8952 = { "class": " tooltip" };
23
- template_eee533dd50c34162b816f8be4c855b891.setProperties(element_eee533dd50c34162b816f8be4c855b8950, omit(attributes, OMIT), attributes_eee533dd50c34162b816f8be4c855b8952);
24
- template_eee533dd50c34162b816f8be4c855b891.setList(element_eee533dd50c34162b816f8be4c855b8950, 'class', () => state.active && '--active', attributes_eee533dd50c34162b816f8be4c855b8952);
25
- template_eee533dd50c34162b816f8be4c855b891.delegate(element_eee533dd50c34162b816f8be4c855b8950, 'mouseover', () => {
22
+ let root_b7478c4a5ff041d4bc1434ee94c2db374y = template_b7478c4a5ff041d4bc1434ee94c2db374z(), element_b7478c4a5ff041d4bc1434ee94c2db3750 = root_b7478c4a5ff041d4bc1434ee94c2db374y.firstChild, element_b7478c4a5ff041d4bc1434ee94c2db3751 = element_b7478c4a5ff041d4bc1434ee94c2db3750.firstChild, attributes_b7478c4a5ff041d4bc1434ee94c2db3752 = { "class": " tooltip" };
23
+ template_b7478c4a5ff041d4bc1434ee94c2db371.setProperties(element_b7478c4a5ff041d4bc1434ee94c2db3750, omit(attributes, OMIT), attributes_b7478c4a5ff041d4bc1434ee94c2db3752);
24
+ template_b7478c4a5ff041d4bc1434ee94c2db371.setList(element_b7478c4a5ff041d4bc1434ee94c2db3750, 'class', () => state.active && '--active', attributes_b7478c4a5ff041d4bc1434ee94c2db3752);
25
+ template_b7478c4a5ff041d4bc1434ee94c2db371.delegate(element_b7478c4a5ff041d4bc1434ee94c2db3750, 'mouseover', () => {
26
26
  state.active = true;
27
27
  });
28
- template_eee533dd50c34162b816f8be4c855b891.delegate(element_eee533dd50c34162b816f8be4c855b8950, 'mouseout', () => {
28
+ template_b7478c4a5ff041d4bc1434ee94c2db371.delegate(element_b7478c4a5ff041d4bc1434ee94c2db3750, 'mouseout', () => {
29
29
  state.active = false;
30
30
  });
31
- template_eee533dd50c34162b816f8be4c855b891.slot(element_eee533dd50c34162b816f8be4c855b8951, content);
32
- return root_eee533dd50c34162b816f8be4c855b894y;
31
+ template_b7478c4a5ff041d4bc1434ee94c2db371.slot(element_b7478c4a5ff041d4bc1434ee94c2db3751, content);
32
+ return root_b7478c4a5ff041d4bc1434ee94c2db374y;
33
33
  })();
34
34
  });
@@ -1,21 +1,21 @@
1
- import * as template_eee533dd50c34162b816f8be4c855b891 from '@esportsplus/template';
1
+ import * as template_b7478c4a5ff041d4bc1434ee94c2db371 from '@esportsplus/template';
2
2
  import './scss/index.scss';
3
3
  declare const _default: {
4
4
  (): ReturnType<(this: {
5
- attributes?: template_eee533dd50c34162b816f8be4c855b891.Attributes | undefined;
5
+ attributes?: template_b7478c4a5ff041d4bc1434ee94c2db371.Attributes | undefined;
6
6
  content?: string[] | undefined;
7
- }, attributes: Readonly<template_eee533dd50c34162b816f8be4c855b891.Attributes>, content: string[]) => template_eee533dd50c34162b816f8be4c855b891.Renderable<any>>;
8
- <T extends template_eee533dd50c34162b816f8be4c855b891.Attributes>(attributes: T): ReturnType<(this: {
9
- attributes?: template_eee533dd50c34162b816f8be4c855b891.Attributes | undefined;
7
+ }, attributes: Readonly<template_b7478c4a5ff041d4bc1434ee94c2db371.Attributes>, content: string[]) => template_b7478c4a5ff041d4bc1434ee94c2db371.Renderable<any>>;
8
+ <T extends template_b7478c4a5ff041d4bc1434ee94c2db371.Attributes>(attributes: T): ReturnType<(this: {
9
+ attributes?: template_b7478c4a5ff041d4bc1434ee94c2db371.Attributes | undefined;
10
10
  content?: string[] | undefined;
11
- }, attributes: Readonly<template_eee533dd50c34162b816f8be4c855b891.Attributes>, content: string[]) => template_eee533dd50c34162b816f8be4c855b891.Renderable<any>>;
11
+ }, attributes: Readonly<template_b7478c4a5ff041d4bc1434ee94c2db371.Attributes>, content: string[]) => template_b7478c4a5ff041d4bc1434ee94c2db371.Renderable<any>>;
12
12
  <T extends string[]>(content: T): ReturnType<(this: {
13
- attributes?: template_eee533dd50c34162b816f8be4c855b891.Attributes | undefined;
13
+ attributes?: template_b7478c4a5ff041d4bc1434ee94c2db371.Attributes | undefined;
14
14
  content?: string[] | undefined;
15
- }, attributes: Readonly<template_eee533dd50c34162b816f8be4c855b891.Attributes>, content: string[]) => template_eee533dd50c34162b816f8be4c855b891.Renderable<any>>;
16
- (attributes: template_eee533dd50c34162b816f8be4c855b891.Attributes, content: string[]): ReturnType<(this: {
17
- attributes?: template_eee533dd50c34162b816f8be4c855b891.Attributes | undefined;
15
+ }, attributes: Readonly<template_b7478c4a5ff041d4bc1434ee94c2db371.Attributes>, content: string[]) => template_b7478c4a5ff041d4bc1434ee94c2db371.Renderable<any>>;
16
+ (attributes: template_b7478c4a5ff041d4bc1434ee94c2db371.Attributes, content: string[]): ReturnType<(this: {
17
+ attributes?: template_b7478c4a5ff041d4bc1434ee94c2db371.Attributes | undefined;
18
18
  content?: string[] | undefined;
19
- }, attributes: Readonly<template_eee533dd50c34162b816f8be4c855b891.Attributes>, content: string[]) => template_eee533dd50c34162b816f8be4c855b891.Renderable<any>>;
19
+ }, attributes: Readonly<template_b7478c4a5ff041d4bc1434ee94c2db371.Attributes>, content: string[]) => template_b7478c4a5ff041d4bc1434ee94c2db371.Renderable<any>>;
20
20
  };
21
21
  export default _default;
@@ -1,27 +1,27 @@
1
- import * as template_eee533dd50c34162b816f8be4c855b891 from '@esportsplus/template';
2
- import * as reactivity_eee533dd50c34162b816f8be4c855b890 from '@esportsplus/reactivity';
1
+ import * as template_b7478c4a5ff041d4bc1434ee94c2db371 from '@esportsplus/template';
2
+ import * as reactivity_b7478c4a5ff041d4bc1434ee94c2db370 from '@esportsplus/reactivity';
3
3
  import template from '../../components/template/index.js';
4
4
  import './scss/index.scss';
5
- const template_eee533dd50c34162b816f8be4c855b8955 = template_eee533dd50c34162b816f8be4c855b891.template(`<div class='typewriter'><!--$--></div>`);
6
- const template_eee533dd50c34162b816f8be4c855b8958 = template_eee533dd50c34162b816f8be4c855b891.template(``);
7
- class ReactiveObject_eee533dd50c34162b816f8be4c855b8953 extends reactivity_eee533dd50c34162b816f8be4c855b890.ReactiveObject {
8
- #text = this[reactivity_eee533dd50c34162b816f8be4c855b890.SIGNAL]('');
5
+ const template_b7478c4a5ff041d4bc1434ee94c2db3755 = template_b7478c4a5ff041d4bc1434ee94c2db371.template(`<div class='typewriter'><!--$--></div>`);
6
+ const template_b7478c4a5ff041d4bc1434ee94c2db3758 = template_b7478c4a5ff041d4bc1434ee94c2db371.template(``);
7
+ class ReactiveObject_b7478c4a5ff041d4bc1434ee94c2db3753 extends reactivity_b7478c4a5ff041d4bc1434ee94c2db370.ReactiveObject {
8
+ #text = this[reactivity_b7478c4a5ff041d4bc1434ee94c2db370.SIGNAL]('');
9
9
  constructor() {
10
10
  super(null);
11
11
  }
12
12
  get text() {
13
- return reactivity_eee533dd50c34162b816f8be4c855b890.read(this.#text);
13
+ return reactivity_b7478c4a5ff041d4bc1434ee94c2db370.read(this.#text);
14
14
  }
15
15
  set text(_v0) {
16
- reactivity_eee533dd50c34162b816f8be4c855b890.write(this.#text, _v0);
16
+ reactivity_b7478c4a5ff041d4bc1434ee94c2db370.write(this.#text, _v0);
17
17
  }
18
18
  }
19
- const EMPTY_NODE = template_eee533dd50c34162b816f8be4c855b8958();
19
+ const EMPTY_NODE = template_b7478c4a5ff041d4bc1434ee94c2db3758();
20
20
  export default template.factory(function (_, content) {
21
- let state = new ReactiveObject_eee533dd50c34162b816f8be4c855b8953();
21
+ let state = new ReactiveObject_b7478c4a5ff041d4bc1434ee94c2db3753();
22
22
  return (() => {
23
- let root_eee533dd50c34162b816f8be4c855b8954 = template_eee533dd50c34162b816f8be4c855b8955(), element_eee533dd50c34162b816f8be4c855b8956 = root_eee533dd50c34162b816f8be4c855b8954.firstChild, element_eee533dd50c34162b816f8be4c855b8957 = element_eee533dd50c34162b816f8be4c855b8956.firstChild;
24
- template_eee533dd50c34162b816f8be4c855b891.onconnect(element_eee533dd50c34162b816f8be4c855b8956, () => {
23
+ let root_b7478c4a5ff041d4bc1434ee94c2db3754 = template_b7478c4a5ff041d4bc1434ee94c2db3755(), element_b7478c4a5ff041d4bc1434ee94c2db3756 = root_b7478c4a5ff041d4bc1434ee94c2db3754.firstChild, element_b7478c4a5ff041d4bc1434ee94c2db3757 = element_b7478c4a5ff041d4bc1434ee94c2db3756.firstChild;
24
+ template_b7478c4a5ff041d4bc1434ee94c2db371.onconnect(element_b7478c4a5ff041d4bc1434ee94c2db3756, () => {
25
25
  let character = 0, i = 0, isWriting = true, write = content[i];
26
26
  function play() {
27
27
  setTimeout(() => {
@@ -50,7 +50,7 @@ export default template.factory(function (_, content) {
50
50
  }
51
51
  play();
52
52
  });
53
- new template_eee533dd50c34162b816f8be4c855b891.EffectSlot(element_eee533dd50c34162b816f8be4c855b8957, () => state.text || EMPTY_NODE);
54
- return root_eee533dd50c34162b816f8be4c855b8954;
53
+ new template_b7478c4a5ff041d4bc1434ee94c2db371.EffectSlot(element_b7478c4a5ff041d4bc1434ee94c2db3757, () => state.text || EMPTY_NODE);
54
+ return root_b7478c4a5ff041d4bc1434ee94c2db3754;
55
55
  })();
56
56
  });
package/package.json CHANGED
@@ -59,7 +59,7 @@
59
59
  },
60
60
  "sideEffects": false,
61
61
  "type": "module",
62
- "version": "0.51.3",
62
+ "version": "0.51.4",
63
63
  "scripts": {
64
64
  "build": "run-s build:vite build:ts",
65
65
  "build:ts": "tsc",
@@ -1,14 +1,14 @@
1
- // https://www.fluid-type-scale.com/calculate?minFontSize=12&minWidth=200&minRatio=1.08&maxFontSize=14&maxWidth=800&maxRatio=1.36&steps=100%2C200%2C300%2C400%2C500%2C600%2C700%2C800%2C900&baseStep=400&prefix=font-size&useContainerWidth=false&includeFallbacks=false&useRems=true&remValue=16&decimals=2&previewFont=Montserrat&previewText=Almost+before+we+knew+it%2C+we+had+left+the+ground&previewWidth=800
1
+ // https://www.fluid-type-scale.com/calculate?minFontSize=12&minWidth=200&minRatio=1.04&maxFontSize=14&maxWidth=800&maxRatio=1.32&steps=100%2C200%2C300%2C400%2C500%2C600%2C700%2C800%2C900&baseStep=400&prefix=font-size&useContainerWidth=false&includeFallbacks=false&useRems=true&remValue=16&decimals=2&previewFont=Montserrat&previewText=Almost+before+we+knew+it%2C+we+had+left+the+ground&previewWidth=800
2
2
  $font-size: (
3
- 100: clamp(0.6rem, -0.66vi + 0.68rem, 0.35rem),
4
- 200: clamp(0.64rem, -0.45vi + 0.7rem, 0.47rem),
5
- 300: clamp(0.69rem, -0.14vi + 0.71rem, 0.64rem),
3
+ 100: clamp(0.67rem, -0.76vi + 0.76rem, 0.38rem),
4
+ 200: clamp(0.69rem, -0.51vi + 0.76rem, 0.5rem),
5
+ 300: clamp(0.72rem, -0.16vi + 0.74rem, 0.66rem),
6
6
  400: clamp(0.75rem, 0.33vi + 0.71rem, 0.88rem),
7
- 500: clamp(0.81rem, 1.01vi + 0.68rem, 1.19rem),
8
- 600: clamp(0.87rem, 1.98vi + 0.63rem, 1.62rem),
9
- 700: clamp(0.94rem, 3.35vi + 0.53rem, 2.2rem),
10
- 800: clamp(1.02rem, 5.26vi + 0.36rem, 2.99rem),
11
- 900: clamp(1.1rem, 7.92vi + 0.11rem, 4.07rem),
7
+ 500: clamp(0.78rem, 1vi + 0.66rem, 1.16rem),
8
+ 600: clamp(0.81rem, 1.9vi + 0.57rem, 1.52rem),
9
+ 700: clamp(0.84rem, 3.12vi + 0.45rem, 2.01rem),
10
+ 800: clamp(0.88rem, 4.74vi + 0.28rem, 2.66rem),
11
+ 900: clamp(0.91rem, 6.92vi + 0.05rem, 3.51rem),
12
12
  );
13
13
 
14
14