@esportsplus/ui 0.50.14 → 0.51.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 (37) 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/frame/scss/index.scss +1 -1
  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/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/components/frame/scss/index.scss +25 -0
  37. package/src/components/frame/scss/variables.scss +4 -0
@@ -1,19 +1,19 @@
1
- import * as template_fe3743986d934bb1a4a44a548d8013201 from '@esportsplus/template';
2
- import * as reactivity_fe3743986d934bb1a4a44a548d8013200 from '@esportsplus/reactivity';
1
+ import * as template_18172a85379e40cd839ee4bba2ddfea81 from '@esportsplus/template';
2
+ import * as reactivity_18172a85379e40cd839ee4bba2ddfea80 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_fe3743986d934bb1a4a44a548d8013204t = template_fe3743986d934bb1a4a44a548d8013201.template(`<div class='tooltip'><!--$--></div>`);
7
- class ReactiveObject_fe3743986d934bb1a4a44a548d8013204r extends reactivity_fe3743986d934bb1a4a44a548d8013200.ReactiveObject {
8
- #active = this[reactivity_fe3743986d934bb1a4a44a548d8013200.SIGNAL](false);
6
+ const template_18172a85379e40cd839ee4bba2ddfea84t = template_18172a85379e40cd839ee4bba2ddfea81.template(`<div class='tooltip'><!--$--></div>`);
7
+ class ReactiveObject_18172a85379e40cd839ee4bba2ddfea84r extends reactivity_18172a85379e40cd839ee4bba2ddfea80.ReactiveObject {
8
+ #active = this[reactivity_18172a85379e40cd839ee4bba2ddfea80.SIGNAL](false);
9
9
  constructor() {
10
10
  super(null);
11
11
  }
12
12
  get active() {
13
- return reactivity_fe3743986d934bb1a4a44a548d8013200.read(this.#active);
13
+ return reactivity_18172a85379e40cd839ee4bba2ddfea80.read(this.#active);
14
14
  }
15
15
  set active(_v0) {
16
- reactivity_fe3743986d934bb1a4a44a548d8013200.write(this.#active, _v0);
16
+ reactivity_18172a85379e40cd839ee4bba2ddfea80.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_fe3743986d934bb1a4a44a548d8013204r(), toggle = attributes.toggle || false;
40
+ let state = attributes.state || new ReactiveObject_18172a85379e40cd839ee4bba2ddfea84r(), toggle = attributes.toggle || false;
41
41
  return (() => {
42
- let root_fe3743986d934bb1a4a44a548d8013204s = template_fe3743986d934bb1a4a44a548d8013204t(), element_fe3743986d934bb1a4a44a548d8013204u = root_fe3743986d934bb1a4a44a548d8013204s.firstChild, element_fe3743986d934bb1a4a44a548d8013204v = element_fe3743986d934bb1a4a44a548d8013204u.firstChild, attributes_fe3743986d934bb1a4a44a548d8013204w = { "class": "tooltip" };
43
- template_fe3743986d934bb1a4a44a548d8013201.setProperties(element_fe3743986d934bb1a4a44a548d8013204u, omit(attributes, OMIT), attributes_fe3743986d934bb1a4a44a548d8013204w);
44
- template_fe3743986d934bb1a4a44a548d8013201.setList(element_fe3743986d934bb1a4a44a548d8013204u, 'class', () => state.active && '--active', attributes_fe3743986d934bb1a4a44a548d8013204w);
45
- template_fe3743986d934bb1a4a44a548d8013201.delegate(element_fe3743986d934bb1a4a44a548d8013204u, 'click', function (e) {
42
+ let root_18172a85379e40cd839ee4bba2ddfea84s = template_18172a85379e40cd839ee4bba2ddfea84t(), element_18172a85379e40cd839ee4bba2ddfea84u = root_18172a85379e40cd839ee4bba2ddfea84s.firstChild, element_18172a85379e40cd839ee4bba2ddfea84v = element_18172a85379e40cd839ee4bba2ddfea84u.firstChild, attributes_18172a85379e40cd839ee4bba2ddfea84w = { "class": "tooltip" };
43
+ template_18172a85379e40cd839ee4bba2ddfea81.setProperties(element_18172a85379e40cd839ee4bba2ddfea84u, omit(attributes, OMIT), attributes_18172a85379e40cd839ee4bba2ddfea84w);
44
+ template_18172a85379e40cd839ee4bba2ddfea81.setList(element_18172a85379e40cd839ee4bba2ddfea84u, 'class', () => state.active && '--active', attributes_18172a85379e40cd839ee4bba2ddfea84w);
45
+ template_18172a85379e40cd839ee4bba2ddfea81.delegate(element_18172a85379e40cd839ee4bba2ddfea84u, '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_fe3743986d934bb1a4a44a548d8013201.slot(element_fe3743986d934bb1a4a44a548d8013204v, content);
74
- return root_fe3743986d934bb1a4a44a548d8013204s;
73
+ template_18172a85379e40cd839ee4bba2ddfea81.slot(element_18172a85379e40cd839ee4bba2ddfea84v, content);
74
+ return root_18172a85379e40cd839ee4bba2ddfea84s;
75
75
  })();
76
76
  });
@@ -1,20 +1,20 @@
1
- import * as template_fe3743986d934bb1a4a44a548d8013201 from '@esportsplus/template';
1
+ import * as template_18172a85379e40cd839ee4bba2ddfea81 from '@esportsplus/template';
2
2
  declare const _default: {
3
3
  (): ReturnType<(this: {
4
- attributes?: template_fe3743986d934bb1a4a44a548d8013201.Attributes | undefined;
5
- content?: template_fe3743986d934bb1a4a44a548d8013201.Renderable<any>;
6
- }, attributes: Readonly<template_fe3743986d934bb1a4a44a548d8013201.Attributes>, content: template_fe3743986d934bb1a4a44a548d8013201.Renderable<any>) => template_fe3743986d934bb1a4a44a548d8013201.Renderable<any>>;
7
- <T extends template_fe3743986d934bb1a4a44a548d8013201.Attributes>(attributes: T): ReturnType<(this: {
8
- attributes?: template_fe3743986d934bb1a4a44a548d8013201.Attributes | undefined;
9
- content?: template_fe3743986d934bb1a4a44a548d8013201.Renderable<any>;
10
- }, attributes: Readonly<template_fe3743986d934bb1a4a44a548d8013201.Attributes>, content: template_fe3743986d934bb1a4a44a548d8013201.Renderable<any>) => template_fe3743986d934bb1a4a44a548d8013201.Renderable<any>>;
11
- <T extends template_fe3743986d934bb1a4a44a548d8013201.Renderable<any>>(content: T): ReturnType<(this: {
12
- attributes?: template_fe3743986d934bb1a4a44a548d8013201.Attributes | undefined;
13
- content?: template_fe3743986d934bb1a4a44a548d8013201.Renderable<any>;
14
- }, attributes: Readonly<template_fe3743986d934bb1a4a44a548d8013201.Attributes>, content: template_fe3743986d934bb1a4a44a548d8013201.Renderable<any>) => template_fe3743986d934bb1a4a44a548d8013201.Renderable<any>>;
15
- (attributes: template_fe3743986d934bb1a4a44a548d8013201.Attributes, content: template_fe3743986d934bb1a4a44a548d8013201.Renderable<any>): ReturnType<(this: {
16
- attributes?: template_fe3743986d934bb1a4a44a548d8013201.Attributes | undefined;
17
- content?: template_fe3743986d934bb1a4a44a548d8013201.Renderable<any>;
18
- }, attributes: Readonly<template_fe3743986d934bb1a4a44a548d8013201.Attributes>, content: template_fe3743986d934bb1a4a44a548d8013201.Renderable<any>) => template_fe3743986d934bb1a4a44a548d8013201.Renderable<any>>;
4
+ attributes?: template_18172a85379e40cd839ee4bba2ddfea81.Attributes | undefined;
5
+ content?: template_18172a85379e40cd839ee4bba2ddfea81.Renderable<any>;
6
+ }, attributes: Readonly<template_18172a85379e40cd839ee4bba2ddfea81.Attributes>, content: template_18172a85379e40cd839ee4bba2ddfea81.Renderable<any>) => template_18172a85379e40cd839ee4bba2ddfea81.Renderable<any>>;
7
+ <T extends template_18172a85379e40cd839ee4bba2ddfea81.Attributes>(attributes: T): ReturnType<(this: {
8
+ attributes?: template_18172a85379e40cd839ee4bba2ddfea81.Attributes | undefined;
9
+ content?: template_18172a85379e40cd839ee4bba2ddfea81.Renderable<any>;
10
+ }, attributes: Readonly<template_18172a85379e40cd839ee4bba2ddfea81.Attributes>, content: template_18172a85379e40cd839ee4bba2ddfea81.Renderable<any>) => template_18172a85379e40cd839ee4bba2ddfea81.Renderable<any>>;
11
+ <T extends template_18172a85379e40cd839ee4bba2ddfea81.Renderable<any>>(content: T): ReturnType<(this: {
12
+ attributes?: template_18172a85379e40cd839ee4bba2ddfea81.Attributes | undefined;
13
+ content?: template_18172a85379e40cd839ee4bba2ddfea81.Renderable<any>;
14
+ }, attributes: Readonly<template_18172a85379e40cd839ee4bba2ddfea81.Attributes>, content: template_18172a85379e40cd839ee4bba2ddfea81.Renderable<any>) => template_18172a85379e40cd839ee4bba2ddfea81.Renderable<any>>;
15
+ (attributes: template_18172a85379e40cd839ee4bba2ddfea81.Attributes, content: template_18172a85379e40cd839ee4bba2ddfea81.Renderable<any>): ReturnType<(this: {
16
+ attributes?: template_18172a85379e40cd839ee4bba2ddfea81.Attributes | undefined;
17
+ content?: template_18172a85379e40cd839ee4bba2ddfea81.Renderable<any>;
18
+ }, attributes: Readonly<template_18172a85379e40cd839ee4bba2ddfea81.Attributes>, content: template_18172a85379e40cd839ee4bba2ddfea81.Renderable<any>) => template_18172a85379e40cd839ee4bba2ddfea81.Renderable<any>>;
19
19
  };
20
20
  export default _default;
@@ -1,34 +1,34 @@
1
- import * as template_fe3743986d934bb1a4a44a548d8013201 from '@esportsplus/template';
2
- import * as reactivity_fe3743986d934bb1a4a44a548d8013200 from '@esportsplus/reactivity';
1
+ import * as template_18172a85379e40cd839ee4bba2ddfea81 from '@esportsplus/template';
2
+ import * as reactivity_18172a85379e40cd839ee4bba2ddfea80 from '@esportsplus/reactivity';
3
3
  import { omit } from '@esportsplus/utilities';
4
4
  import template from '../../components/template/index.js';
5
- const template_fe3743986d934bb1a4a44a548d8013204z = template_fe3743986d934bb1a4a44a548d8013201.template(`<div class='tooltip'><!--$--></div>`);
6
- class ReactiveObject_fe3743986d934bb1a4a44a548d8013204x extends reactivity_fe3743986d934bb1a4a44a548d8013200.ReactiveObject {
7
- #active = this[reactivity_fe3743986d934bb1a4a44a548d8013200.SIGNAL](false);
5
+ const template_18172a85379e40cd839ee4bba2ddfea84z = template_18172a85379e40cd839ee4bba2ddfea81.template(`<div class='tooltip'><!--$--></div>`);
6
+ class ReactiveObject_18172a85379e40cd839ee4bba2ddfea84x extends reactivity_18172a85379e40cd839ee4bba2ddfea80.ReactiveObject {
7
+ #active = this[reactivity_18172a85379e40cd839ee4bba2ddfea80.SIGNAL](false);
8
8
  constructor() {
9
9
  super(null);
10
10
  }
11
11
  get active() {
12
- return reactivity_fe3743986d934bb1a4a44a548d8013200.read(this.#active);
12
+ return reactivity_18172a85379e40cd839ee4bba2ddfea80.read(this.#active);
13
13
  }
14
14
  set active(_v0) {
15
- reactivity_fe3743986d934bb1a4a44a548d8013200.write(this.#active, _v0);
15
+ reactivity_18172a85379e40cd839ee4bba2ddfea80.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_fe3743986d934bb1a4a44a548d8013204x();
20
+ let state = attributes.state || new ReactiveObject_18172a85379e40cd839ee4bba2ddfea84x();
21
21
  return (() => {
22
- let root_fe3743986d934bb1a4a44a548d8013204y = template_fe3743986d934bb1a4a44a548d8013204z(), element_fe3743986d934bb1a4a44a548d80132050 = root_fe3743986d934bb1a4a44a548d8013204y.firstChild, element_fe3743986d934bb1a4a44a548d80132051 = element_fe3743986d934bb1a4a44a548d80132050.firstChild, attributes_fe3743986d934bb1a4a44a548d80132052 = { "class": "tooltip" };
23
- template_fe3743986d934bb1a4a44a548d8013201.setProperties(element_fe3743986d934bb1a4a44a548d80132050, omit(attributes, OMIT), attributes_fe3743986d934bb1a4a44a548d80132052);
24
- template_fe3743986d934bb1a4a44a548d8013201.setList(element_fe3743986d934bb1a4a44a548d80132050, 'class', () => state.active && '--active', attributes_fe3743986d934bb1a4a44a548d80132052);
25
- template_fe3743986d934bb1a4a44a548d8013201.delegate(element_fe3743986d934bb1a4a44a548d80132050, 'mouseover', () => {
22
+ let root_18172a85379e40cd839ee4bba2ddfea84y = template_18172a85379e40cd839ee4bba2ddfea84z(), element_18172a85379e40cd839ee4bba2ddfea850 = root_18172a85379e40cd839ee4bba2ddfea84y.firstChild, element_18172a85379e40cd839ee4bba2ddfea851 = element_18172a85379e40cd839ee4bba2ddfea850.firstChild, attributes_18172a85379e40cd839ee4bba2ddfea852 = { "class": "tooltip" };
23
+ template_18172a85379e40cd839ee4bba2ddfea81.setProperties(element_18172a85379e40cd839ee4bba2ddfea850, omit(attributes, OMIT), attributes_18172a85379e40cd839ee4bba2ddfea852);
24
+ template_18172a85379e40cd839ee4bba2ddfea81.setList(element_18172a85379e40cd839ee4bba2ddfea850, 'class', () => state.active && '--active', attributes_18172a85379e40cd839ee4bba2ddfea852);
25
+ template_18172a85379e40cd839ee4bba2ddfea81.delegate(element_18172a85379e40cd839ee4bba2ddfea850, 'mouseover', () => {
26
26
  state.active = true;
27
27
  });
28
- template_fe3743986d934bb1a4a44a548d8013201.delegate(element_fe3743986d934bb1a4a44a548d80132050, 'mouseout', () => {
28
+ template_18172a85379e40cd839ee4bba2ddfea81.delegate(element_18172a85379e40cd839ee4bba2ddfea850, 'mouseout', () => {
29
29
  state.active = false;
30
30
  });
31
- template_fe3743986d934bb1a4a44a548d8013201.slot(element_fe3743986d934bb1a4a44a548d80132051, content);
32
- return root_fe3743986d934bb1a4a44a548d8013204y;
31
+ template_18172a85379e40cd839ee4bba2ddfea81.slot(element_18172a85379e40cd839ee4bba2ddfea851, content);
32
+ return root_18172a85379e40cd839ee4bba2ddfea84y;
33
33
  })();
34
34
  });
@@ -1,21 +1,21 @@
1
- import * as template_fe3743986d934bb1a4a44a548d8013201 from '@esportsplus/template';
1
+ import * as template_18172a85379e40cd839ee4bba2ddfea81 from '@esportsplus/template';
2
2
  import './scss/index.scss';
3
3
  declare const _default: {
4
4
  (): ReturnType<(this: {
5
- attributes?: template_fe3743986d934bb1a4a44a548d8013201.Attributes | undefined;
5
+ attributes?: template_18172a85379e40cd839ee4bba2ddfea81.Attributes | undefined;
6
6
  content?: string[] | undefined;
7
- }, attributes: Readonly<template_fe3743986d934bb1a4a44a548d8013201.Attributes>, content: string[]) => template_fe3743986d934bb1a4a44a548d8013201.Renderable<any>>;
8
- <T extends template_fe3743986d934bb1a4a44a548d8013201.Attributes>(attributes: T): ReturnType<(this: {
9
- attributes?: template_fe3743986d934bb1a4a44a548d8013201.Attributes | undefined;
7
+ }, attributes: Readonly<template_18172a85379e40cd839ee4bba2ddfea81.Attributes>, content: string[]) => template_18172a85379e40cd839ee4bba2ddfea81.Renderable<any>>;
8
+ <T extends template_18172a85379e40cd839ee4bba2ddfea81.Attributes>(attributes: T): ReturnType<(this: {
9
+ attributes?: template_18172a85379e40cd839ee4bba2ddfea81.Attributes | undefined;
10
10
  content?: string[] | undefined;
11
- }, attributes: Readonly<template_fe3743986d934bb1a4a44a548d8013201.Attributes>, content: string[]) => template_fe3743986d934bb1a4a44a548d8013201.Renderable<any>>;
11
+ }, attributes: Readonly<template_18172a85379e40cd839ee4bba2ddfea81.Attributes>, content: string[]) => template_18172a85379e40cd839ee4bba2ddfea81.Renderable<any>>;
12
12
  <T extends string[]>(content: T): ReturnType<(this: {
13
- attributes?: template_fe3743986d934bb1a4a44a548d8013201.Attributes | undefined;
13
+ attributes?: template_18172a85379e40cd839ee4bba2ddfea81.Attributes | undefined;
14
14
  content?: string[] | undefined;
15
- }, attributes: Readonly<template_fe3743986d934bb1a4a44a548d8013201.Attributes>, content: string[]) => template_fe3743986d934bb1a4a44a548d8013201.Renderable<any>>;
16
- (attributes: template_fe3743986d934bb1a4a44a548d8013201.Attributes, content: string[]): ReturnType<(this: {
17
- attributes?: template_fe3743986d934bb1a4a44a548d8013201.Attributes | undefined;
15
+ }, attributes: Readonly<template_18172a85379e40cd839ee4bba2ddfea81.Attributes>, content: string[]) => template_18172a85379e40cd839ee4bba2ddfea81.Renderable<any>>;
16
+ (attributes: template_18172a85379e40cd839ee4bba2ddfea81.Attributes, content: string[]): ReturnType<(this: {
17
+ attributes?: template_18172a85379e40cd839ee4bba2ddfea81.Attributes | undefined;
18
18
  content?: string[] | undefined;
19
- }, attributes: Readonly<template_fe3743986d934bb1a4a44a548d8013201.Attributes>, content: string[]) => template_fe3743986d934bb1a4a44a548d8013201.Renderable<any>>;
19
+ }, attributes: Readonly<template_18172a85379e40cd839ee4bba2ddfea81.Attributes>, content: string[]) => template_18172a85379e40cd839ee4bba2ddfea81.Renderable<any>>;
20
20
  };
21
21
  export default _default;
@@ -1,27 +1,27 @@
1
- import * as template_fe3743986d934bb1a4a44a548d8013201 from '@esportsplus/template';
2
- import * as reactivity_fe3743986d934bb1a4a44a548d8013200 from '@esportsplus/reactivity';
1
+ import * as template_18172a85379e40cd839ee4bba2ddfea81 from '@esportsplus/template';
2
+ import * as reactivity_18172a85379e40cd839ee4bba2ddfea80 from '@esportsplus/reactivity';
3
3
  import template from '../../components/template/index.js';
4
4
  import './scss/index.scss';
5
- const template_fe3743986d934bb1a4a44a548d80132055 = template_fe3743986d934bb1a4a44a548d8013201.template(`<div class='typewriter'><!--$--></div>`);
6
- const template_fe3743986d934bb1a4a44a548d80132058 = template_fe3743986d934bb1a4a44a548d8013201.template(``);
7
- class ReactiveObject_fe3743986d934bb1a4a44a548d80132053 extends reactivity_fe3743986d934bb1a4a44a548d8013200.ReactiveObject {
8
- #text = this[reactivity_fe3743986d934bb1a4a44a548d8013200.SIGNAL]('');
5
+ const template_18172a85379e40cd839ee4bba2ddfea855 = template_18172a85379e40cd839ee4bba2ddfea81.template(`<div class='typewriter'><!--$--></div>`);
6
+ const template_18172a85379e40cd839ee4bba2ddfea858 = template_18172a85379e40cd839ee4bba2ddfea81.template(``);
7
+ class ReactiveObject_18172a85379e40cd839ee4bba2ddfea853 extends reactivity_18172a85379e40cd839ee4bba2ddfea80.ReactiveObject {
8
+ #text = this[reactivity_18172a85379e40cd839ee4bba2ddfea80.SIGNAL]('');
9
9
  constructor() {
10
10
  super(null);
11
11
  }
12
12
  get text() {
13
- return reactivity_fe3743986d934bb1a4a44a548d8013200.read(this.#text);
13
+ return reactivity_18172a85379e40cd839ee4bba2ddfea80.read(this.#text);
14
14
  }
15
15
  set text(_v0) {
16
- reactivity_fe3743986d934bb1a4a44a548d8013200.write(this.#text, _v0);
16
+ reactivity_18172a85379e40cd839ee4bba2ddfea80.write(this.#text, _v0);
17
17
  }
18
18
  }
19
- const EMPTY_NODE = template_fe3743986d934bb1a4a44a548d80132058();
19
+ const EMPTY_NODE = template_18172a85379e40cd839ee4bba2ddfea858();
20
20
  export default template.factory(function (_, content) {
21
- let state = new ReactiveObject_fe3743986d934bb1a4a44a548d80132053();
21
+ let state = new ReactiveObject_18172a85379e40cd839ee4bba2ddfea853();
22
22
  return (() => {
23
- let root_fe3743986d934bb1a4a44a548d80132054 = template_fe3743986d934bb1a4a44a548d80132055(), element_fe3743986d934bb1a4a44a548d80132056 = root_fe3743986d934bb1a4a44a548d80132054.firstChild, element_fe3743986d934bb1a4a44a548d80132057 = element_fe3743986d934bb1a4a44a548d80132056.firstChild;
24
- template_fe3743986d934bb1a4a44a548d8013201.onconnect(element_fe3743986d934bb1a4a44a548d80132056, () => {
23
+ let root_18172a85379e40cd839ee4bba2ddfea854 = template_18172a85379e40cd839ee4bba2ddfea855(), element_18172a85379e40cd839ee4bba2ddfea856 = root_18172a85379e40cd839ee4bba2ddfea854.firstChild, element_18172a85379e40cd839ee4bba2ddfea857 = element_18172a85379e40cd839ee4bba2ddfea856.firstChild;
24
+ template_18172a85379e40cd839ee4bba2ddfea81.onconnect(element_18172a85379e40cd839ee4bba2ddfea856, () => {
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_fe3743986d934bb1a4a44a548d8013201.EffectSlot(element_fe3743986d934bb1a4a44a548d80132057, () => state.text || EMPTY_NODE);
54
- return root_fe3743986d934bb1a4a44a548d80132054;
53
+ new template_18172a85379e40cd839ee4bba2ddfea81.EffectSlot(element_18172a85379e40cd839ee4bba2ddfea857, () => state.text || EMPTY_NODE);
54
+ return root_18172a85379e40cd839ee4bba2ddfea854;
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.14",
62
+ "version": "0.51.1",
63
63
  "scripts": {
64
64
  "build": "run-s build:vite build:ts",
65
65
  "build:ts": "tsc",
@@ -1,3 +1,28 @@
1
+ @use '/tokens';
2
+ @use 'variables';
3
+
4
+ .frames {
5
+ display: flex;
6
+ gap: var(--gap);
7
+ transform: translateX(calc(var(--i) * (100% + var(--gap))));
8
+ transition: transform 0.3s ease;
9
+
10
+ .frame {
11
+ display: flex;
12
+ flex-shrink: 0;
13
+ min-width: 100%;
14
+ width: 100%;
15
+
16
+ @include tokens.state(inactive) {
17
+ opacity: var(--opacity);
18
+
19
+ > * {
20
+ pointer-events: none;
21
+ }
22
+ }
23
+ }
24
+ }
25
+
1
26
  .frame {
2
27
  cursor: default;
3
28
  display: none;
@@ -0,0 +1,4 @@
1
+ .frames {
2
+ --gap: var(--size-400);
3
+ --opacity: 0.4;
4
+ }