@esportsplus/ui 0.50.11 → 0.50.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) 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/checkbox/scss/index.scss +1 -1
  10. package/build/components/clipboard/onclick.js +13 -13
  11. package/build/components/counter/index.js +34 -34
  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 +15 -15
  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 +20 -20
  19. package/build/components/loader/index.d.ts +16 -16
  20. package/build/components/loader/index.js +33 -33
  21. package/build/components/loading/index.js +5 -5
  22. package/build/components/range/index.js +25 -25
  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/switch/scss/index.scss +1 -1
  27. package/build/components/textarea/index.js +20 -20
  28. package/build/components/tooltip/menu.d.ts +11 -11
  29. package/build/components/tooltip/menu.js +20 -20
  30. package/build/components/tooltip/onclick.d.ts +1101 -1101
  31. package/build/components/tooltip/onclick.js +14 -14
  32. package/build/components/tooltip/onhover.d.ts +16 -16
  33. package/build/components/tooltip/onhover.js +15 -15
  34. package/build/components/typewriter/index.d.ts +11 -11
  35. package/build/components/typewriter/index.js +14 -14
  36. package/package.json +1 -1
  37. package/src/components/checkbox/scss/variables.scss +4 -5
  38. package/src/components/switch/scss/variables.scss +4 -5
@@ -1,19 +1,19 @@
1
- import * as template_395fa766de714d01a2177bd6e730518f1 from '@esportsplus/template';
2
- import * as reactivity_395fa766de714d01a2177bd6e730518f0 from '@esportsplus/reactivity';
1
+ import * as template_8d320e78acc84a40aecd0d8b5125cc231 from '@esportsplus/template';
2
+ import * as reactivity_8d320e78acc84a40aecd0d8b5125cc230 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_395fa766de714d01a2177bd6e730518f4t = template_395fa766de714d01a2177bd6e730518f1.template(`<div class='tooltip'><!--$--></div>`);
7
- class ReactiveObject_395fa766de714d01a2177bd6e730518f4r extends reactivity_395fa766de714d01a2177bd6e730518f0.ReactiveObject {
8
- #active = this[reactivity_395fa766de714d01a2177bd6e730518f0.SIGNAL](false);
6
+ const template_8d320e78acc84a40aecd0d8b5125cc234t = template_8d320e78acc84a40aecd0d8b5125cc231.template(`<div class='tooltip'><!--$--></div>`);
7
+ class ReactiveObject_8d320e78acc84a40aecd0d8b5125cc234r extends reactivity_8d320e78acc84a40aecd0d8b5125cc230.ReactiveObject {
8
+ #active = this[reactivity_8d320e78acc84a40aecd0d8b5125cc230.SIGNAL](false);
9
9
  constructor() {
10
10
  super(null);
11
11
  }
12
12
  get active() {
13
- return reactivity_395fa766de714d01a2177bd6e730518f0.read(this.#active);
13
+ return reactivity_8d320e78acc84a40aecd0d8b5125cc230.read(this.#active);
14
14
  }
15
15
  set active(_v0) {
16
- reactivity_395fa766de714d01a2177bd6e730518f0.write(this.#active, _v0);
16
+ reactivity_8d320e78acc84a40aecd0d8b5125cc230.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_395fa766de714d01a2177bd6e730518f4r(), toggle = attributes.toggle || false;
40
+ let state = attributes.state || new ReactiveObject_8d320e78acc84a40aecd0d8b5125cc234r(), toggle = attributes.toggle || false;
41
41
  return (() => {
42
- let root_395fa766de714d01a2177bd6e730518f4s = template_395fa766de714d01a2177bd6e730518f4t(), element_395fa766de714d01a2177bd6e730518f4u = root_395fa766de714d01a2177bd6e730518f4s.firstChild, element_395fa766de714d01a2177bd6e730518f4v = element_395fa766de714d01a2177bd6e730518f4u.firstChild, attributes_395fa766de714d01a2177bd6e730518f4w = { "class": "tooltip" };
43
- template_395fa766de714d01a2177bd6e730518f1.setProperties(element_395fa766de714d01a2177bd6e730518f4u, omit(attributes, OMIT), attributes_395fa766de714d01a2177bd6e730518f4w);
44
- template_395fa766de714d01a2177bd6e730518f1.setList(element_395fa766de714d01a2177bd6e730518f4u, 'class', () => state.active && '--active', attributes_395fa766de714d01a2177bd6e730518f4w);
45
- template_395fa766de714d01a2177bd6e730518f1.delegate(element_395fa766de714d01a2177bd6e730518f4u, 'click', function (e) {
42
+ let root_8d320e78acc84a40aecd0d8b5125cc234s = template_8d320e78acc84a40aecd0d8b5125cc234t(), element_8d320e78acc84a40aecd0d8b5125cc234u = root_8d320e78acc84a40aecd0d8b5125cc234s.firstChild, element_8d320e78acc84a40aecd0d8b5125cc234v = element_8d320e78acc84a40aecd0d8b5125cc234u.firstChild, attributes_8d320e78acc84a40aecd0d8b5125cc234w = { "class": "tooltip" };
43
+ template_8d320e78acc84a40aecd0d8b5125cc231.setProperties(element_8d320e78acc84a40aecd0d8b5125cc234u, omit(attributes, OMIT), attributes_8d320e78acc84a40aecd0d8b5125cc234w);
44
+ template_8d320e78acc84a40aecd0d8b5125cc231.setList(element_8d320e78acc84a40aecd0d8b5125cc234u, 'class', () => state.active && '--active', attributes_8d320e78acc84a40aecd0d8b5125cc234w);
45
+ template_8d320e78acc84a40aecd0d8b5125cc231.delegate(element_8d320e78acc84a40aecd0d8b5125cc234u, '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_395fa766de714d01a2177bd6e730518f1.slot(element_395fa766de714d01a2177bd6e730518f4v, content);
74
- return root_395fa766de714d01a2177bd6e730518f4s;
73
+ template_8d320e78acc84a40aecd0d8b5125cc231.slot(element_8d320e78acc84a40aecd0d8b5125cc234v, content);
74
+ return root_8d320e78acc84a40aecd0d8b5125cc234s;
75
75
  })();
76
76
  });
@@ -1,20 +1,20 @@
1
- import * as template_395fa766de714d01a2177bd6e730518f1 from '@esportsplus/template';
1
+ import * as template_8d320e78acc84a40aecd0d8b5125cc231 from '@esportsplus/template';
2
2
  declare const _default: {
3
3
  (): ReturnType<(this: {
4
- attributes?: template_395fa766de714d01a2177bd6e730518f1.Attributes | undefined;
5
- content?: template_395fa766de714d01a2177bd6e730518f1.Renderable<any>;
6
- }, attributes: Readonly<template_395fa766de714d01a2177bd6e730518f1.Attributes>, content: template_395fa766de714d01a2177bd6e730518f1.Renderable<any>) => template_395fa766de714d01a2177bd6e730518f1.Renderable<any>>;
7
- <T extends template_395fa766de714d01a2177bd6e730518f1.Attributes>(attributes: T): ReturnType<(this: {
8
- attributes?: template_395fa766de714d01a2177bd6e730518f1.Attributes | undefined;
9
- content?: template_395fa766de714d01a2177bd6e730518f1.Renderable<any>;
10
- }, attributes: Readonly<template_395fa766de714d01a2177bd6e730518f1.Attributes>, content: template_395fa766de714d01a2177bd6e730518f1.Renderable<any>) => template_395fa766de714d01a2177bd6e730518f1.Renderable<any>>;
11
- <T extends template_395fa766de714d01a2177bd6e730518f1.Renderable<any>>(content: T): ReturnType<(this: {
12
- attributes?: template_395fa766de714d01a2177bd6e730518f1.Attributes | undefined;
13
- content?: template_395fa766de714d01a2177bd6e730518f1.Renderable<any>;
14
- }, attributes: Readonly<template_395fa766de714d01a2177bd6e730518f1.Attributes>, content: template_395fa766de714d01a2177bd6e730518f1.Renderable<any>) => template_395fa766de714d01a2177bd6e730518f1.Renderable<any>>;
15
- (attributes: template_395fa766de714d01a2177bd6e730518f1.Attributes, content: template_395fa766de714d01a2177bd6e730518f1.Renderable<any>): ReturnType<(this: {
16
- attributes?: template_395fa766de714d01a2177bd6e730518f1.Attributes | undefined;
17
- content?: template_395fa766de714d01a2177bd6e730518f1.Renderable<any>;
18
- }, attributes: Readonly<template_395fa766de714d01a2177bd6e730518f1.Attributes>, content: template_395fa766de714d01a2177bd6e730518f1.Renderable<any>) => template_395fa766de714d01a2177bd6e730518f1.Renderable<any>>;
4
+ attributes?: template_8d320e78acc84a40aecd0d8b5125cc231.Attributes | undefined;
5
+ content?: template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>;
6
+ }, attributes: Readonly<template_8d320e78acc84a40aecd0d8b5125cc231.Attributes>, content: template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>) => template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>>;
7
+ <T extends template_8d320e78acc84a40aecd0d8b5125cc231.Attributes>(attributes: T): ReturnType<(this: {
8
+ attributes?: template_8d320e78acc84a40aecd0d8b5125cc231.Attributes | undefined;
9
+ content?: template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>;
10
+ }, attributes: Readonly<template_8d320e78acc84a40aecd0d8b5125cc231.Attributes>, content: template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>) => template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>>;
11
+ <T extends template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>>(content: T): ReturnType<(this: {
12
+ attributes?: template_8d320e78acc84a40aecd0d8b5125cc231.Attributes | undefined;
13
+ content?: template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>;
14
+ }, attributes: Readonly<template_8d320e78acc84a40aecd0d8b5125cc231.Attributes>, content: template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>) => template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>>;
15
+ (attributes: template_8d320e78acc84a40aecd0d8b5125cc231.Attributes, content: template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>): ReturnType<(this: {
16
+ attributes?: template_8d320e78acc84a40aecd0d8b5125cc231.Attributes | undefined;
17
+ content?: template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>;
18
+ }, attributes: Readonly<template_8d320e78acc84a40aecd0d8b5125cc231.Attributes>, content: template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>) => template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>>;
19
19
  };
20
20
  export default _default;
@@ -1,34 +1,34 @@
1
- import * as template_395fa766de714d01a2177bd6e730518f1 from '@esportsplus/template';
2
- import * as reactivity_395fa766de714d01a2177bd6e730518f0 from '@esportsplus/reactivity';
1
+ import * as template_8d320e78acc84a40aecd0d8b5125cc231 from '@esportsplus/template';
2
+ import * as reactivity_8d320e78acc84a40aecd0d8b5125cc230 from '@esportsplus/reactivity';
3
3
  import { omit } from '@esportsplus/utilities';
4
4
  import template from '../../components/template/index.js';
5
- const template_395fa766de714d01a2177bd6e730518f4z = template_395fa766de714d01a2177bd6e730518f1.template(`<div class='tooltip'><!--$--></div>`);
6
- class ReactiveObject_395fa766de714d01a2177bd6e730518f4x extends reactivity_395fa766de714d01a2177bd6e730518f0.ReactiveObject {
7
- #active = this[reactivity_395fa766de714d01a2177bd6e730518f0.SIGNAL](false);
5
+ const template_8d320e78acc84a40aecd0d8b5125cc234z = template_8d320e78acc84a40aecd0d8b5125cc231.template(`<div class='tooltip'><!--$--></div>`);
6
+ class ReactiveObject_8d320e78acc84a40aecd0d8b5125cc234x extends reactivity_8d320e78acc84a40aecd0d8b5125cc230.ReactiveObject {
7
+ #active = this[reactivity_8d320e78acc84a40aecd0d8b5125cc230.SIGNAL](false);
8
8
  constructor() {
9
9
  super(null);
10
10
  }
11
11
  get active() {
12
- return reactivity_395fa766de714d01a2177bd6e730518f0.read(this.#active);
12
+ return reactivity_8d320e78acc84a40aecd0d8b5125cc230.read(this.#active);
13
13
  }
14
14
  set active(_v0) {
15
- reactivity_395fa766de714d01a2177bd6e730518f0.write(this.#active, _v0);
15
+ reactivity_8d320e78acc84a40aecd0d8b5125cc230.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_395fa766de714d01a2177bd6e730518f4x();
20
+ let state = attributes.state || new ReactiveObject_8d320e78acc84a40aecd0d8b5125cc234x();
21
21
  return (() => {
22
- let root_395fa766de714d01a2177bd6e730518f4y = template_395fa766de714d01a2177bd6e730518f4z(), element_395fa766de714d01a2177bd6e730518f50 = root_395fa766de714d01a2177bd6e730518f4y.firstChild, element_395fa766de714d01a2177bd6e730518f51 = element_395fa766de714d01a2177bd6e730518f50.firstChild, attributes_395fa766de714d01a2177bd6e730518f52 = { "class": "tooltip" };
23
- template_395fa766de714d01a2177bd6e730518f1.setProperties(element_395fa766de714d01a2177bd6e730518f50, omit(attributes, OMIT), attributes_395fa766de714d01a2177bd6e730518f52);
24
- template_395fa766de714d01a2177bd6e730518f1.setList(element_395fa766de714d01a2177bd6e730518f50, 'class', () => state.active && '--active', attributes_395fa766de714d01a2177bd6e730518f52);
25
- template_395fa766de714d01a2177bd6e730518f1.delegate(element_395fa766de714d01a2177bd6e730518f50, 'mouseover', () => {
22
+ let root_8d320e78acc84a40aecd0d8b5125cc234y = template_8d320e78acc84a40aecd0d8b5125cc234z(), element_8d320e78acc84a40aecd0d8b5125cc2350 = root_8d320e78acc84a40aecd0d8b5125cc234y.firstChild, element_8d320e78acc84a40aecd0d8b5125cc2351 = element_8d320e78acc84a40aecd0d8b5125cc2350.firstChild, attributes_8d320e78acc84a40aecd0d8b5125cc2352 = { "class": "tooltip" };
23
+ template_8d320e78acc84a40aecd0d8b5125cc231.setProperties(element_8d320e78acc84a40aecd0d8b5125cc2350, omit(attributes, OMIT), attributes_8d320e78acc84a40aecd0d8b5125cc2352);
24
+ template_8d320e78acc84a40aecd0d8b5125cc231.setList(element_8d320e78acc84a40aecd0d8b5125cc2350, 'class', () => state.active && '--active', attributes_8d320e78acc84a40aecd0d8b5125cc2352);
25
+ template_8d320e78acc84a40aecd0d8b5125cc231.delegate(element_8d320e78acc84a40aecd0d8b5125cc2350, 'mouseover', () => {
26
26
  state.active = true;
27
27
  });
28
- template_395fa766de714d01a2177bd6e730518f1.delegate(element_395fa766de714d01a2177bd6e730518f50, 'mouseout', () => {
28
+ template_8d320e78acc84a40aecd0d8b5125cc231.delegate(element_8d320e78acc84a40aecd0d8b5125cc2350, 'mouseout', () => {
29
29
  state.active = false;
30
30
  });
31
- template_395fa766de714d01a2177bd6e730518f1.slot(element_395fa766de714d01a2177bd6e730518f51, content);
32
- return root_395fa766de714d01a2177bd6e730518f4y;
31
+ template_8d320e78acc84a40aecd0d8b5125cc231.slot(element_8d320e78acc84a40aecd0d8b5125cc2351, content);
32
+ return root_8d320e78acc84a40aecd0d8b5125cc234y;
33
33
  })();
34
34
  });
@@ -1,21 +1,21 @@
1
- import * as template_395fa766de714d01a2177bd6e730518f1 from '@esportsplus/template';
1
+ import * as template_8d320e78acc84a40aecd0d8b5125cc231 from '@esportsplus/template';
2
2
  import './scss/index.scss';
3
3
  declare const _default: {
4
4
  (): ReturnType<(this: {
5
- attributes?: template_395fa766de714d01a2177bd6e730518f1.Attributes | undefined;
5
+ attributes?: template_8d320e78acc84a40aecd0d8b5125cc231.Attributes | undefined;
6
6
  content?: string[] | undefined;
7
- }, attributes: Readonly<template_395fa766de714d01a2177bd6e730518f1.Attributes>, content: string[]) => template_395fa766de714d01a2177bd6e730518f1.Renderable<any>>;
8
- <T extends template_395fa766de714d01a2177bd6e730518f1.Attributes>(attributes: T): ReturnType<(this: {
9
- attributes?: template_395fa766de714d01a2177bd6e730518f1.Attributes | undefined;
7
+ }, attributes: Readonly<template_8d320e78acc84a40aecd0d8b5125cc231.Attributes>, content: string[]) => template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>>;
8
+ <T extends template_8d320e78acc84a40aecd0d8b5125cc231.Attributes>(attributes: T): ReturnType<(this: {
9
+ attributes?: template_8d320e78acc84a40aecd0d8b5125cc231.Attributes | undefined;
10
10
  content?: string[] | undefined;
11
- }, attributes: Readonly<template_395fa766de714d01a2177bd6e730518f1.Attributes>, content: string[]) => template_395fa766de714d01a2177bd6e730518f1.Renderable<any>>;
11
+ }, attributes: Readonly<template_8d320e78acc84a40aecd0d8b5125cc231.Attributes>, content: string[]) => template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>>;
12
12
  <T extends string[]>(content: T): ReturnType<(this: {
13
- attributes?: template_395fa766de714d01a2177bd6e730518f1.Attributes | undefined;
13
+ attributes?: template_8d320e78acc84a40aecd0d8b5125cc231.Attributes | undefined;
14
14
  content?: string[] | undefined;
15
- }, attributes: Readonly<template_395fa766de714d01a2177bd6e730518f1.Attributes>, content: string[]) => template_395fa766de714d01a2177bd6e730518f1.Renderable<any>>;
16
- (attributes: template_395fa766de714d01a2177bd6e730518f1.Attributes, content: string[]): ReturnType<(this: {
17
- attributes?: template_395fa766de714d01a2177bd6e730518f1.Attributes | undefined;
15
+ }, attributes: Readonly<template_8d320e78acc84a40aecd0d8b5125cc231.Attributes>, content: string[]) => template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>>;
16
+ (attributes: template_8d320e78acc84a40aecd0d8b5125cc231.Attributes, content: string[]): ReturnType<(this: {
17
+ attributes?: template_8d320e78acc84a40aecd0d8b5125cc231.Attributes | undefined;
18
18
  content?: string[] | undefined;
19
- }, attributes: Readonly<template_395fa766de714d01a2177bd6e730518f1.Attributes>, content: string[]) => template_395fa766de714d01a2177bd6e730518f1.Renderable<any>>;
19
+ }, attributes: Readonly<template_8d320e78acc84a40aecd0d8b5125cc231.Attributes>, content: string[]) => template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>>;
20
20
  };
21
21
  export default _default;
@@ -1,27 +1,27 @@
1
- import * as template_395fa766de714d01a2177bd6e730518f1 from '@esportsplus/template';
2
- import * as reactivity_395fa766de714d01a2177bd6e730518f0 from '@esportsplus/reactivity';
1
+ import * as template_8d320e78acc84a40aecd0d8b5125cc231 from '@esportsplus/template';
2
+ import * as reactivity_8d320e78acc84a40aecd0d8b5125cc230 from '@esportsplus/reactivity';
3
3
  import template from '../../components/template/index.js';
4
4
  import './scss/index.scss';
5
- const template_395fa766de714d01a2177bd6e730518f55 = template_395fa766de714d01a2177bd6e730518f1.template(`<div class='typewriter'><!--$--></div>`);
6
- const template_395fa766de714d01a2177bd6e730518f58 = template_395fa766de714d01a2177bd6e730518f1.template(``);
7
- class ReactiveObject_395fa766de714d01a2177bd6e730518f53 extends reactivity_395fa766de714d01a2177bd6e730518f0.ReactiveObject {
8
- #text = this[reactivity_395fa766de714d01a2177bd6e730518f0.SIGNAL]('');
5
+ const template_8d320e78acc84a40aecd0d8b5125cc2355 = template_8d320e78acc84a40aecd0d8b5125cc231.template(`<div class='typewriter'><!--$--></div>`);
6
+ const template_8d320e78acc84a40aecd0d8b5125cc2358 = template_8d320e78acc84a40aecd0d8b5125cc231.template(``);
7
+ class ReactiveObject_8d320e78acc84a40aecd0d8b5125cc2353 extends reactivity_8d320e78acc84a40aecd0d8b5125cc230.ReactiveObject {
8
+ #text = this[reactivity_8d320e78acc84a40aecd0d8b5125cc230.SIGNAL]('');
9
9
  constructor() {
10
10
  super(null);
11
11
  }
12
12
  get text() {
13
- return reactivity_395fa766de714d01a2177bd6e730518f0.read(this.#text);
13
+ return reactivity_8d320e78acc84a40aecd0d8b5125cc230.read(this.#text);
14
14
  }
15
15
  set text(_v0) {
16
- reactivity_395fa766de714d01a2177bd6e730518f0.write(this.#text, _v0);
16
+ reactivity_8d320e78acc84a40aecd0d8b5125cc230.write(this.#text, _v0);
17
17
  }
18
18
  }
19
- const EMPTY_NODE = template_395fa766de714d01a2177bd6e730518f58();
19
+ const EMPTY_NODE = template_8d320e78acc84a40aecd0d8b5125cc2358();
20
20
  export default template.factory(function (_, content) {
21
- let state = new ReactiveObject_395fa766de714d01a2177bd6e730518f53();
21
+ let state = new ReactiveObject_8d320e78acc84a40aecd0d8b5125cc2353();
22
22
  return (() => {
23
- let root_395fa766de714d01a2177bd6e730518f54 = template_395fa766de714d01a2177bd6e730518f55(), element_395fa766de714d01a2177bd6e730518f56 = root_395fa766de714d01a2177bd6e730518f54.firstChild, element_395fa766de714d01a2177bd6e730518f57 = element_395fa766de714d01a2177bd6e730518f56.firstChild;
24
- template_395fa766de714d01a2177bd6e730518f1.onconnect(element_395fa766de714d01a2177bd6e730518f56, () => {
23
+ let root_8d320e78acc84a40aecd0d8b5125cc2354 = template_8d320e78acc84a40aecd0d8b5125cc2355(), element_8d320e78acc84a40aecd0d8b5125cc2356 = root_8d320e78acc84a40aecd0d8b5125cc2354.firstChild, element_8d320e78acc84a40aecd0d8b5125cc2357 = element_8d320e78acc84a40aecd0d8b5125cc2356.firstChild;
24
+ template_8d320e78acc84a40aecd0d8b5125cc231.onconnect(element_8d320e78acc84a40aecd0d8b5125cc2356, () => {
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_395fa766de714d01a2177bd6e730518f1.EffectSlot(element_395fa766de714d01a2177bd6e730518f57, () => state.text || EMPTY_NODE);
54
- return root_395fa766de714d01a2177bd6e730518f54;
53
+ new template_8d320e78acc84a40aecd0d8b5125cc231.EffectSlot(element_8d320e78acc84a40aecd0d8b5125cc2357, () => state.text || EMPTY_NODE);
54
+ return root_8d320e78acc84a40aecd0d8b5125cc2354;
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.50.11",
62
+ "version": "0.50.13",
63
63
  "scripts": {
64
64
  "build": "run-s build:vite build:ts",
65
65
  "build:ts": "tsc",
@@ -38,13 +38,8 @@
38
38
  --translateX: 108%;
39
39
  --translateY: 8%;
40
40
  --width: 50%;
41
-
42
- #{tokens.state(default, '.field')} & {
43
- --translateY: 100%;
44
- }
45
41
  }
46
42
 
47
- #{tokens.state(inactive, 'label')},
48
43
  #{tokens.state(inactive)} {
49
44
  @include tokens.state(hover) {
50
45
  --background: var(--background-hover);
@@ -69,5 +64,9 @@
69
64
  --box-shadow: var(--box-shadow-active);
70
65
  --opacity: var(--opacity-active);
71
66
  --scale: var(--scale-active);
67
+
68
+ &::before {
69
+ --translateY: 100%;
70
+ }
72
71
  }
73
72
  }
@@ -38,13 +38,8 @@
38
38
  --translateX: 0px;
39
39
  --translateY: 0px;
40
40
  --width: var(--height);
41
-
42
- #{tokens.state(active, '.field')} & {
43
- --translateX: calc(var(--width-switch) - (var(--border-width) * 2) - var(--height) - (var(--padding-horizontal) * 2));
44
- }
45
41
  }
46
42
 
47
- #{tokens.state(inactive, 'label')},
48
43
  #{tokens.state(inactive)} {
49
44
  @include tokens.state(hover) {
50
45
  --background: var(--background-hover);
@@ -71,5 +66,9 @@
71
66
  --box-shadow: var(--box-shadow-active);
72
67
  --opacity: var(--opacity-active);
73
68
  --scale: var(--scale-active);
69
+
70
+ &::before {
71
+ --translateX: calc(var(--width-switch) - (var(--border-width) * 2) - var(--height) - (var(--padding-horizontal) * 2));
72
+ }
74
73
  }
75
74
  }