@esportsplus/ui 0.50.9 → 0.50.11
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.
- package/build/components/accordion/index.d.ts +16 -16
- package/build/components/accordion/index.js +17 -17
- package/build/components/alert/index.js +41 -41
- package/build/components/back/index.d.ts +8 -8
- package/build/components/back/index.js +8 -8
- package/build/components/button/index.d.ts +21 -21
- package/build/components/button/index.js +23 -24
- package/build/components/button/scss/index.scss +1 -1
- package/build/components/checkbox/index.js +23 -23
- package/build/components/clipboard/onclick.js +13 -13
- package/build/components/counter/index.js +34 -34
- package/build/components/ellipsis/index.js +5 -5
- package/build/components/form/action.js +8 -8
- package/build/components/highlight/index.d.ts +16 -16
- package/build/components/highlight/index.js +15 -15
- package/build/components/icon/index.d.ts +11 -11
- package/build/components/icon/index.js +6 -6
- package/build/components/input/index.js +20 -20
- package/build/components/loader/index.d.ts +16 -16
- package/build/components/loader/index.js +33 -33
- package/build/components/loading/index.js +5 -5
- package/build/components/range/index.js +25 -25
- package/build/components/root/scss/index.scss +1 -1
- package/build/components/scrollbar/index.d.ts +11 -11
- package/build/components/scrollbar/index.js +24 -24
- package/build/components/select/index.js +40 -40
- package/build/components/textarea/index.js +20 -20
- package/build/components/tooltip/menu.d.ts +11 -11
- package/build/components/tooltip/menu.js +20 -20
- package/build/components/tooltip/onclick.d.ts +1101 -1101
- package/build/components/tooltip/onclick.js +14 -14
- package/build/components/tooltip/onhover.d.ts +16 -16
- package/build/components/tooltip/onhover.js +15 -15
- package/build/components/typewriter/index.d.ts +11 -11
- package/build/components/typewriter/index.js +14 -14
- package/build/css-utilities/focus/scss/index.scss +1 -1
- package/build/css-utilities/index.scss +1 -1
- package/package.json +2 -2
- package/src/components/button/index.ts +1 -1
- package/src/components/button/scss/index.scss +1 -0
- package/src/css-utilities/focus/scss/index.scss +1 -1
- package/src/tokens/scss/font-size.scss +9 -9
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as template_395fa766de714d01a2177bd6e730518f1 from '@esportsplus/template';
|
|
2
2
|
import './scss/index.scss';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
(): ReturnType<(this: {
|
|
5
|
-
attributes?:
|
|
6
|
-
content?:
|
|
7
|
-
}, attributes: Readonly<
|
|
8
|
-
<T extends
|
|
9
|
-
attributes?:
|
|
10
|
-
content?:
|
|
11
|
-
}, attributes: Readonly<
|
|
12
|
-
<T extends
|
|
13
|
-
attributes?:
|
|
14
|
-
content?:
|
|
15
|
-
}, attributes: Readonly<
|
|
16
|
-
(attributes:
|
|
17
|
-
attributes?:
|
|
18
|
-
content?:
|
|
19
|
-
}, attributes: Readonly<
|
|
5
|
+
attributes?: template_395fa766de714d01a2177bd6e730518f1.Attributes | undefined;
|
|
6
|
+
content?: template_395fa766de714d01a2177bd6e730518f1.Renderable<any>;
|
|
7
|
+
}, attributes: Readonly<template_395fa766de714d01a2177bd6e730518f1.Attributes>, content: template_395fa766de714d01a2177bd6e730518f1.Renderable<any>) => template_395fa766de714d01a2177bd6e730518f1.Renderable<any>>;
|
|
8
|
+
<T extends template_395fa766de714d01a2177bd6e730518f1.Attributes>(attributes: T): ReturnType<(this: {
|
|
9
|
+
attributes?: template_395fa766de714d01a2177bd6e730518f1.Attributes | undefined;
|
|
10
|
+
content?: template_395fa766de714d01a2177bd6e730518f1.Renderable<any>;
|
|
11
|
+
}, attributes: Readonly<template_395fa766de714d01a2177bd6e730518f1.Attributes>, content: template_395fa766de714d01a2177bd6e730518f1.Renderable<any>) => template_395fa766de714d01a2177bd6e730518f1.Renderable<any>>;
|
|
12
|
+
<T extends template_395fa766de714d01a2177bd6e730518f1.Renderable<any>>(content: T): ReturnType<(this: {
|
|
13
|
+
attributes?: template_395fa766de714d01a2177bd6e730518f1.Attributes | undefined;
|
|
14
|
+
content?: template_395fa766de714d01a2177bd6e730518f1.Renderable<any>;
|
|
15
|
+
}, attributes: Readonly<template_395fa766de714d01a2177bd6e730518f1.Attributes>, content: template_395fa766de714d01a2177bd6e730518f1.Renderable<any>) => template_395fa766de714d01a2177bd6e730518f1.Renderable<any>>;
|
|
16
|
+
(attributes: template_395fa766de714d01a2177bd6e730518f1.Attributes, content: template_395fa766de714d01a2177bd6e730518f1.Renderable<any>): ReturnType<(this: {
|
|
17
|
+
attributes?: template_395fa766de714d01a2177bd6e730518f1.Attributes | undefined;
|
|
18
|
+
content?: template_395fa766de714d01a2177bd6e730518f1.Renderable<any>;
|
|
19
|
+
}, attributes: Readonly<template_395fa766de714d01a2177bd6e730518f1.Attributes>, content: template_395fa766de714d01a2177bd6e730518f1.Renderable<any>) => template_395fa766de714d01a2177bd6e730518f1.Renderable<any>>;
|
|
20
20
|
};
|
|
21
21
|
export default _default;
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as template_395fa766de714d01a2177bd6e730518f1 from '@esportsplus/template';
|
|
2
|
+
import * as reactivity_395fa766de714d01a2177bd6e730518f0 from '@esportsplus/reactivity';
|
|
3
3
|
import { omit } from '@esportsplus/utilities';
|
|
4
4
|
import template from '../../components/template/index.js';
|
|
5
5
|
import './scss/index.scss';
|
|
6
|
-
const
|
|
7
|
-
class
|
|
8
|
-
#active = this[
|
|
6
|
+
const template_395fa766de714d01a2177bd6e730518f4 = template_395fa766de714d01a2177bd6e730518f1.template(`<div><!--$--></div>`);
|
|
7
|
+
class ReactiveObject_395fa766de714d01a2177bd6e730518f2 extends reactivity_395fa766de714d01a2177bd6e730518f0.ReactiveObject {
|
|
8
|
+
#active = this[reactivity_395fa766de714d01a2177bd6e730518f0.SIGNAL](0);
|
|
9
9
|
constructor() {
|
|
10
10
|
super(null);
|
|
11
11
|
}
|
|
12
12
|
get active() {
|
|
13
|
-
return
|
|
13
|
+
return reactivity_395fa766de714d01a2177bd6e730518f0.read(this.#active);
|
|
14
14
|
}
|
|
15
15
|
set active(_v0) {
|
|
16
|
-
|
|
16
|
+
reactivity_395fa766de714d01a2177bd6e730518f0.write(this.#active, _v0);
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
const OMIT = ['state'];
|
|
20
20
|
let key = Symbol();
|
|
21
21
|
export default template.factory(function (attributes, content) {
|
|
22
|
-
let ref, state = attributes.state || new
|
|
22
|
+
let ref, state = attributes.state || new ReactiveObject_395fa766de714d01a2177bd6e730518f2();
|
|
23
23
|
return (() => {
|
|
24
|
-
let
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
let root_395fa766de714d01a2177bd6e730518f3 = template_395fa766de714d01a2177bd6e730518f4(), element_395fa766de714d01a2177bd6e730518f5 = root_395fa766de714d01a2177bd6e730518f3.firstChild, element_395fa766de714d01a2177bd6e730518f6 = element_395fa766de714d01a2177bd6e730518f5.firstChild, attributes_395fa766de714d01a2177bd6e730518f7 = {};
|
|
25
|
+
template_395fa766de714d01a2177bd6e730518f1.setProperties(element_395fa766de714d01a2177bd6e730518f5, omit(attributes, OMIT), attributes_395fa766de714d01a2177bd6e730518f7);
|
|
26
|
+
template_395fa766de714d01a2177bd6e730518f1.setList(element_395fa766de714d01a2177bd6e730518f5, 'class', () => {
|
|
27
27
|
return state.active && '--active';
|
|
28
|
-
},
|
|
29
|
-
|
|
28
|
+
}, attributes_395fa766de714d01a2177bd6e730518f7);
|
|
29
|
+
template_395fa766de714d01a2177bd6e730518f1.onrender(element_395fa766de714d01a2177bd6e730518f5, (element) => {
|
|
30
30
|
(ref = element)[key] = state;
|
|
31
31
|
});
|
|
32
|
-
|
|
32
|
+
template_395fa766de714d01a2177bd6e730518f1.setList(element_395fa766de714d01a2177bd6e730518f5, 'style', () => {
|
|
33
33
|
let parent = ref.closest('accordion');
|
|
34
34
|
if (parent && key in parent) {
|
|
35
35
|
parent[key].active = (+parent[key].active) + 1;
|
|
36
36
|
}
|
|
37
37
|
return state.active && `--max-height: ${ref.scrollHeight}`;
|
|
38
|
-
},
|
|
39
|
-
|
|
40
|
-
return
|
|
38
|
+
}, attributes_395fa766de714d01a2177bd6e730518f7);
|
|
39
|
+
template_395fa766de714d01a2177bd6e730518f1.slot(element_395fa766de714d01a2177bd6e730518f6, content);
|
|
40
|
+
return root_395fa766de714d01a2177bd6e730518f3;
|
|
41
41
|
})();
|
|
42
42
|
});
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import '@esportsplus/vite/global.d.ts';
|
|
2
|
-
import * as
|
|
2
|
+
import * as template_395fa766de714d01a2177bd6e730518f1 from '@esportsplus/template';
|
|
3
3
|
import { svg } from '@esportsplus/template';
|
|
4
|
-
import * as
|
|
4
|
+
import * as reactivity_395fa766de714d01a2177bd6e730518f0 from '@esportsplus/reactivity';
|
|
5
5
|
import { omit } from '@esportsplus/utilities';
|
|
6
6
|
import { icon } from '@esportsplus/ui';
|
|
7
7
|
import check from './svg/check.svg';
|
|
8
8
|
import close from './svg/close.svg';
|
|
9
9
|
import e from './svg/error.svg';
|
|
10
10
|
import './scss/index.scss';
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
class
|
|
16
|
-
#active = this[
|
|
11
|
+
const template_395fa766de714d01a2177bd6e730518fa = template_395fa766de714d01a2177bd6e730518f1.template(`<div class='--flex-vertical'><!--$--></div>`);
|
|
12
|
+
const template_395fa766de714d01a2177bd6e730518ff = template_395fa766de714d01a2177bd6e730518f1.template(`<p><!--$--></p>`);
|
|
13
|
+
const template_395fa766de714d01a2177bd6e730518fk = template_395fa766de714d01a2177bd6e730518f1.template(`<div class='--flex-start'><!--$--></div>`);
|
|
14
|
+
const template_395fa766de714d01a2177bd6e730518fn = template_395fa766de714d01a2177bd6e730518f1.template(`<div class='alert anchor anchor--n --flex-row'><!--$--><div class='alert-messages --flex-column --flex-fill'><!--$--></div><div class="--flex-vertical"><div class='alert-close button --padding-300'><div class="icon" style='--size: 14px;'><!--$--></div></div></div></div>`);
|
|
15
|
+
class ReactiveObject_395fa766de714d01a2177bd6e730518f8 extends reactivity_395fa766de714d01a2177bd6e730518f0.ReactiveObject {
|
|
16
|
+
#active = this[reactivity_395fa766de714d01a2177bd6e730518f0.SIGNAL](false);
|
|
17
17
|
#messages;
|
|
18
|
-
#rerender = this[
|
|
18
|
+
#rerender = this[reactivity_395fa766de714d01a2177bd6e730518f0.SIGNAL](0);
|
|
19
19
|
#type;
|
|
20
20
|
constructor(_p0, _p1) {
|
|
21
21
|
super(null);
|
|
22
|
-
this.#messages = this[
|
|
23
|
-
this.#type = this[
|
|
22
|
+
this.#messages = this[reactivity_395fa766de714d01a2177bd6e730518f0.SIGNAL](_p0);
|
|
23
|
+
this.#type = this[reactivity_395fa766de714d01a2177bd6e730518f0.SIGNAL](_p1);
|
|
24
24
|
}
|
|
25
25
|
get active() {
|
|
26
|
-
return
|
|
26
|
+
return reactivity_395fa766de714d01a2177bd6e730518f0.read(this.#active);
|
|
27
27
|
}
|
|
28
28
|
set active(_v0) {
|
|
29
|
-
|
|
29
|
+
reactivity_395fa766de714d01a2177bd6e730518f0.write(this.#active, _v0);
|
|
30
30
|
}
|
|
31
31
|
get messages() {
|
|
32
|
-
return
|
|
32
|
+
return reactivity_395fa766de714d01a2177bd6e730518f0.read(this.#messages);
|
|
33
33
|
}
|
|
34
34
|
set messages(_v1) {
|
|
35
|
-
|
|
35
|
+
reactivity_395fa766de714d01a2177bd6e730518f0.write(this.#messages, _v1);
|
|
36
36
|
}
|
|
37
37
|
get rerender() {
|
|
38
|
-
return
|
|
38
|
+
return reactivity_395fa766de714d01a2177bd6e730518f0.read(this.#rerender);
|
|
39
39
|
}
|
|
40
40
|
set rerender(_v2) {
|
|
41
|
-
|
|
41
|
+
reactivity_395fa766de714d01a2177bd6e730518f0.write(this.#rerender, _v2);
|
|
42
42
|
}
|
|
43
43
|
get type() {
|
|
44
|
-
return
|
|
44
|
+
return reactivity_395fa766de714d01a2177bd6e730518f0.read(this.#type);
|
|
45
45
|
}
|
|
46
46
|
set type(_v3) {
|
|
47
|
-
|
|
47
|
+
reactivity_395fa766de714d01a2177bd6e730518f0.write(this.#type, _v3);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
const OMIT = ['alert-close', 'alert-messages', 'alert-message'];
|
|
@@ -93,7 +93,7 @@ function deactivate(state) {
|
|
|
93
93
|
}, timeout);
|
|
94
94
|
}
|
|
95
95
|
export default (attributes) => {
|
|
96
|
-
let state = new
|
|
96
|
+
let state = new ReactiveObject_395fa766de714d01a2177bd6e730518f8(new Set(), '');
|
|
97
97
|
const error = (messages, seconds = 0) => activate('error', messages, seconds, state);
|
|
98
98
|
error.response = (response) => {
|
|
99
99
|
if (response.ok) {
|
|
@@ -108,41 +108,41 @@ export default (attributes) => {
|
|
|
108
108
|
};
|
|
109
109
|
return {
|
|
110
110
|
content: (() => {
|
|
111
|
-
let
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
new
|
|
111
|
+
let root_395fa766de714d01a2177bd6e730518fm = template_395fa766de714d01a2177bd6e730518fn(), element_395fa766de714d01a2177bd6e730518fo = root_395fa766de714d01a2177bd6e730518fm.firstChild, element_395fa766de714d01a2177bd6e730518fp = element_395fa766de714d01a2177bd6e730518fo.firstChild, element_395fa766de714d01a2177bd6e730518fq = element_395fa766de714d01a2177bd6e730518fo.firstElementChild, element_395fa766de714d01a2177bd6e730518fr = element_395fa766de714d01a2177bd6e730518fq.firstChild, element_395fa766de714d01a2177bd6e730518fs = element_395fa766de714d01a2177bd6e730518fq.nextElementSibling.firstElementChild, element_395fa766de714d01a2177bd6e730518ft = element_395fa766de714d01a2177bd6e730518fs.firstElementChild.firstChild, attributes_395fa766de714d01a2177bd6e730518fu = { "class": "alert anchor anchor--n --flex-row" }, attributes_395fa766de714d01a2177bd6e730518fv = { "class": "alert-messages --flex-column --flex-fill" }, attributes_395fa766de714d01a2177bd6e730518fw = { "class": "alert-close button --padding-300" };
|
|
112
|
+
template_395fa766de714d01a2177bd6e730518f1.setList(element_395fa766de714d01a2177bd6e730518fo, 'class', () => state.active && '--active', attributes_395fa766de714d01a2177bd6e730518fu);
|
|
113
|
+
template_395fa766de714d01a2177bd6e730518f1.setProperties(element_395fa766de714d01a2177bd6e730518fo, omit(attributes, OMIT), attributes_395fa766de714d01a2177bd6e730518fu);
|
|
114
|
+
new template_395fa766de714d01a2177bd6e730518f1.EffectSlot(element_395fa766de714d01a2177bd6e730518fp, () => {
|
|
115
115
|
let type = state.type;
|
|
116
116
|
return (() => {
|
|
117
|
-
let
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
return
|
|
117
|
+
let root_395fa766de714d01a2177bd6e730518f9 = template_395fa766de714d01a2177bd6e730518fa(), element_395fa766de714d01a2177bd6e730518fb = root_395fa766de714d01a2177bd6e730518f9.firstChild, element_395fa766de714d01a2177bd6e730518fc = element_395fa766de714d01a2177bd6e730518fb.firstChild, attributes_395fa766de714d01a2177bd6e730518fd = { "class": "--flex-vertical", "style": "" };
|
|
118
|
+
template_395fa766de714d01a2177bd6e730518f1.setList(element_395fa766de714d01a2177bd6e730518fb, 'style', `--color: var(--color-${modifiers[type]}-400);`, attributes_395fa766de714d01a2177bd6e730518fd);
|
|
119
|
+
template_395fa766de714d01a2177bd6e730518f1.slot(element_395fa766de714d01a2177bd6e730518fc, icon({ class: '--size-500' }, type === 'error' ? e : check));
|
|
120
|
+
return root_395fa766de714d01a2177bd6e730518f9;
|
|
121
121
|
})();
|
|
122
122
|
});
|
|
123
|
-
|
|
124
|
-
new
|
|
123
|
+
template_395fa766de714d01a2177bd6e730518f1.setProperties(element_395fa766de714d01a2177bd6e730518fq, attributes['alert-messages'], attributes_395fa766de714d01a2177bd6e730518fv);
|
|
124
|
+
new template_395fa766de714d01a2177bd6e730518f1.EffectSlot(element_395fa766de714d01a2177bd6e730518fr, () => {
|
|
125
125
|
let message = attributes['alert-message'];
|
|
126
126
|
return state.rerender && [...state.messages].map((content) => {
|
|
127
127
|
if (typeof content === 'string') {
|
|
128
128
|
return (() => {
|
|
129
|
-
let
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
return
|
|
129
|
+
let root_395fa766de714d01a2177bd6e730518fe = template_395fa766de714d01a2177bd6e730518ff(), element_395fa766de714d01a2177bd6e730518fg = root_395fa766de714d01a2177bd6e730518fe.firstChild, element_395fa766de714d01a2177bd6e730518fh = element_395fa766de714d01a2177bd6e730518fg.firstChild, attributes_395fa766de714d01a2177bd6e730518fi = {};
|
|
130
|
+
template_395fa766de714d01a2177bd6e730518f1.setProperties(element_395fa766de714d01a2177bd6e730518fg, message, attributes_395fa766de714d01a2177bd6e730518fi);
|
|
131
|
+
template_395fa766de714d01a2177bd6e730518f1.slot(element_395fa766de714d01a2177bd6e730518fh, content);
|
|
132
|
+
return root_395fa766de714d01a2177bd6e730518fe;
|
|
133
133
|
})();
|
|
134
134
|
}
|
|
135
135
|
return (() => {
|
|
136
|
-
let
|
|
137
|
-
|
|
138
|
-
return
|
|
136
|
+
let root_395fa766de714d01a2177bd6e730518fj = template_395fa766de714d01a2177bd6e730518fk(), element_395fa766de714d01a2177bd6e730518fl = root_395fa766de714d01a2177bd6e730518fj.firstChild.firstChild;
|
|
137
|
+
template_395fa766de714d01a2177bd6e730518f1.slot(element_395fa766de714d01a2177bd6e730518fl, content);
|
|
138
|
+
return root_395fa766de714d01a2177bd6e730518fj;
|
|
139
139
|
})();
|
|
140
140
|
});
|
|
141
141
|
});
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
return
|
|
142
|
+
template_395fa766de714d01a2177bd6e730518f1.delegate(element_395fa766de714d01a2177bd6e730518fs, 'click', () => deactivate(state));
|
|
143
|
+
template_395fa766de714d01a2177bd6e730518f1.setProperties(element_395fa766de714d01a2177bd6e730518fs, attributes['alert-close'], attributes_395fa766de714d01a2177bd6e730518fw);
|
|
144
|
+
template_395fa766de714d01a2177bd6e730518f1.slot(element_395fa766de714d01a2177bd6e730518ft, svg.sprite(close));
|
|
145
|
+
return root_395fa766de714d01a2177bd6e730518fm;
|
|
146
146
|
})(),
|
|
147
147
|
deactivate: () => deactivate(state),
|
|
148
148
|
error,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as template_395fa766de714d01a2177bd6e730518f1 from '@esportsplus/template';
|
|
2
2
|
import { Attributes } from '@esportsplus/template';
|
|
3
3
|
import './scss/index.scss';
|
|
4
4
|
declare const _default: {
|
|
5
5
|
(): ReturnType<(this: {
|
|
6
6
|
attributes?: Attributes;
|
|
7
|
-
}, attributes: Readonly<
|
|
8
|
-
<T extends
|
|
7
|
+
}, attributes: Readonly<template_395fa766de714d01a2177bd6e730518f1.Attributes>, content: template_395fa766de714d01a2177bd6e730518f1.Renderable<any>) => template_395fa766de714d01a2177bd6e730518f1.Renderable<any>>;
|
|
8
|
+
<T extends template_395fa766de714d01a2177bd6e730518f1.Attributes>(attributes: T): ReturnType<(this: {
|
|
9
9
|
attributes?: Attributes;
|
|
10
|
-
}, attributes: Readonly<
|
|
11
|
-
<T extends
|
|
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
12
|
attributes?: Attributes;
|
|
13
|
-
}, attributes: Readonly<
|
|
14
|
-
(attributes:
|
|
13
|
+
}, attributes: Readonly<template_395fa766de714d01a2177bd6e730518f1.Attributes>, content: template_395fa766de714d01a2177bd6e730518f1.Renderable<any>) => template_395fa766de714d01a2177bd6e730518f1.Renderable<any>>;
|
|
14
|
+
(attributes: template_395fa766de714d01a2177bd6e730518f1.Attributes, content: template_395fa766de714d01a2177bd6e730518f1.Renderable<any>): ReturnType<(this: {
|
|
15
15
|
attributes?: Attributes;
|
|
16
|
-
}, attributes: Readonly<
|
|
16
|
+
}, attributes: Readonly<template_395fa766de714d01a2177bd6e730518f1.Attributes>, content: template_395fa766de714d01a2177bd6e730518f1.Renderable<any>) => template_395fa766de714d01a2177bd6e730518f1.Renderable<any>>;
|
|
17
17
|
};
|
|
18
18
|
export default _default;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as template_395fa766de714d01a2177bd6e730518f1 from '@esportsplus/template';
|
|
2
2
|
import icon from '../../components/icon/index.js';
|
|
3
3
|
import template from '../../components/template/index.js';
|
|
4
4
|
import arrow from './svg/arrow.svg';
|
|
5
5
|
import './scss/index.scss';
|
|
6
|
-
const
|
|
6
|
+
const template_395fa766de714d01a2177bd6e730518fy = template_395fa766de714d01a2177bd6e730518f1.template(`<a class='back link --padding-0px --flex-vertical'><!--$--><!--$--></a>`);
|
|
7
7
|
export default template.factory(function (attributes, content) {
|
|
8
8
|
return (() => {
|
|
9
|
-
let
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
return
|
|
9
|
+
let root_395fa766de714d01a2177bd6e730518fx = template_395fa766de714d01a2177bd6e730518fy(), element_395fa766de714d01a2177bd6e730518fz = root_395fa766de714d01a2177bd6e730518fx.firstChild, element_395fa766de714d01a2177bd6e730518f10 = element_395fa766de714d01a2177bd6e730518fz.firstChild, element_395fa766de714d01a2177bd6e730518f11 = element_395fa766de714d01a2177bd6e730518f10.nextSibling, attributes_395fa766de714d01a2177bd6e730518f12 = { "class": "back link --padding-0px --flex-vertical" };
|
|
10
|
+
template_395fa766de714d01a2177bd6e730518f1.setProperties(element_395fa766de714d01a2177bd6e730518fz, this.attributes, attributes_395fa766de714d01a2177bd6e730518f12);
|
|
11
|
+
template_395fa766de714d01a2177bd6e730518f1.setProperties(element_395fa766de714d01a2177bd6e730518fz, attributes, attributes_395fa766de714d01a2177bd6e730518f12);
|
|
12
|
+
template_395fa766de714d01a2177bd6e730518f1.slot(element_395fa766de714d01a2177bd6e730518f10, icon({ class: 'back-arrow --margin-right --margin-200' }, arrow));
|
|
13
|
+
template_395fa766de714d01a2177bd6e730518f1.slot(element_395fa766de714d01a2177bd6e730518f11, content);
|
|
14
|
+
return root_395fa766de714d01a2177bd6e730518fx;
|
|
15
15
|
})();
|
|
16
16
|
});
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as template_395fa766de714d01a2177bd6e730518f1 from '@esportsplus/template';
|
|
2
2
|
import { Renderable } from '@esportsplus/template';
|
|
3
3
|
import './scss/index.scss';
|
|
4
4
|
declare const hold: {
|
|
5
5
|
(): ReturnType<(this: {
|
|
6
|
-
attributes?:
|
|
6
|
+
attributes?: template_395fa766de714d01a2177bd6e730518f1.Attributes | undefined;
|
|
7
7
|
content?: ((state: {
|
|
8
8
|
holding: boolean;
|
|
9
9
|
complete: boolean;
|
|
10
10
|
}) => Renderable<any>) | undefined;
|
|
11
|
-
}, attributes: Readonly<
|
|
11
|
+
}, attributes: Readonly<template_395fa766de714d01a2177bd6e730518f1.Attributes>, content: (state: {
|
|
12
12
|
holding: boolean;
|
|
13
13
|
complete: boolean;
|
|
14
14
|
}) => Renderable<any>) => Renderable<any>>;
|
|
15
|
-
<T extends
|
|
16
|
-
attributes?:
|
|
15
|
+
<T extends template_395fa766de714d01a2177bd6e730518f1.Attributes>(attributes: T): ReturnType<(this: {
|
|
16
|
+
attributes?: template_395fa766de714d01a2177bd6e730518f1.Attributes | undefined;
|
|
17
17
|
content?: ((state: {
|
|
18
18
|
holding: boolean;
|
|
19
19
|
complete: boolean;
|
|
20
20
|
}) => Renderable<any>) | undefined;
|
|
21
|
-
}, attributes: Readonly<
|
|
21
|
+
}, attributes: Readonly<template_395fa766de714d01a2177bd6e730518f1.Attributes>, content: (state: {
|
|
22
22
|
holding: boolean;
|
|
23
23
|
complete: boolean;
|
|
24
24
|
}) => Renderable<any>) => Renderable<any>>;
|
|
@@ -26,25 +26,25 @@ declare const hold: {
|
|
|
26
26
|
holding: boolean;
|
|
27
27
|
complete: boolean;
|
|
28
28
|
}) => Renderable<any>>(content: T): ReturnType<(this: {
|
|
29
|
-
attributes?:
|
|
29
|
+
attributes?: template_395fa766de714d01a2177bd6e730518f1.Attributes | undefined;
|
|
30
30
|
content?: ((state: {
|
|
31
31
|
holding: boolean;
|
|
32
32
|
complete: boolean;
|
|
33
33
|
}) => Renderable<any>) | undefined;
|
|
34
|
-
}, attributes: Readonly<
|
|
34
|
+
}, attributes: Readonly<template_395fa766de714d01a2177bd6e730518f1.Attributes>, content: (state: {
|
|
35
35
|
holding: boolean;
|
|
36
36
|
complete: boolean;
|
|
37
37
|
}) => Renderable<any>) => Renderable<any>>;
|
|
38
|
-
(attributes:
|
|
38
|
+
(attributes: template_395fa766de714d01a2177bd6e730518f1.Attributes, content: (state: {
|
|
39
39
|
holding: boolean;
|
|
40
40
|
complete: boolean;
|
|
41
41
|
}) => Renderable<any>): ReturnType<(this: {
|
|
42
|
-
attributes?:
|
|
42
|
+
attributes?: template_395fa766de714d01a2177bd6e730518f1.Attributes | undefined;
|
|
43
43
|
content?: ((state: {
|
|
44
44
|
holding: boolean;
|
|
45
45
|
complete: boolean;
|
|
46
46
|
}) => Renderable<any>) | undefined;
|
|
47
|
-
}, attributes: Readonly<
|
|
47
|
+
}, attributes: Readonly<template_395fa766de714d01a2177bd6e730518f1.Attributes>, content: (state: {
|
|
48
48
|
holding: boolean;
|
|
49
49
|
complete: boolean;
|
|
50
50
|
}) => Renderable<any>) => Renderable<any>>;
|
|
@@ -52,22 +52,22 @@ declare const hold: {
|
|
|
52
52
|
declare const _default: {
|
|
53
53
|
hold: {
|
|
54
54
|
(): ReturnType<(this: {
|
|
55
|
-
attributes?:
|
|
55
|
+
attributes?: template_395fa766de714d01a2177bd6e730518f1.Attributes | undefined;
|
|
56
56
|
content?: ((state: {
|
|
57
57
|
holding: boolean;
|
|
58
58
|
complete: boolean;
|
|
59
59
|
}) => Renderable<any>) | undefined;
|
|
60
|
-
}, attributes: Readonly<
|
|
60
|
+
}, attributes: Readonly<template_395fa766de714d01a2177bd6e730518f1.Attributes>, content: (state: {
|
|
61
61
|
holding: boolean;
|
|
62
62
|
complete: boolean;
|
|
63
63
|
}) => Renderable<any>) => Renderable<any>>;
|
|
64
|
-
<T extends
|
|
65
|
-
attributes?:
|
|
64
|
+
<T extends template_395fa766de714d01a2177bd6e730518f1.Attributes>(attributes: T): ReturnType<(this: {
|
|
65
|
+
attributes?: template_395fa766de714d01a2177bd6e730518f1.Attributes | undefined;
|
|
66
66
|
content?: ((state: {
|
|
67
67
|
holding: boolean;
|
|
68
68
|
complete: boolean;
|
|
69
69
|
}) => Renderable<any>) | undefined;
|
|
70
|
-
}, attributes: Readonly<
|
|
70
|
+
}, attributes: Readonly<template_395fa766de714d01a2177bd6e730518f1.Attributes>, content: (state: {
|
|
71
71
|
holding: boolean;
|
|
72
72
|
complete: boolean;
|
|
73
73
|
}) => Renderable<any>) => Renderable<any>>;
|
|
@@ -75,25 +75,25 @@ declare const _default: {
|
|
|
75
75
|
holding: boolean;
|
|
76
76
|
complete: boolean;
|
|
77
77
|
}) => Renderable<any>>(content: T): ReturnType<(this: {
|
|
78
|
-
attributes?:
|
|
78
|
+
attributes?: template_395fa766de714d01a2177bd6e730518f1.Attributes | undefined;
|
|
79
79
|
content?: ((state: {
|
|
80
80
|
holding: boolean;
|
|
81
81
|
complete: boolean;
|
|
82
82
|
}) => Renderable<any>) | undefined;
|
|
83
|
-
}, attributes: Readonly<
|
|
83
|
+
}, attributes: Readonly<template_395fa766de714d01a2177bd6e730518f1.Attributes>, content: (state: {
|
|
84
84
|
holding: boolean;
|
|
85
85
|
complete: boolean;
|
|
86
86
|
}) => Renderable<any>) => Renderable<any>>;
|
|
87
|
-
(attributes:
|
|
87
|
+
(attributes: template_395fa766de714d01a2177bd6e730518f1.Attributes, content: (state: {
|
|
88
88
|
holding: boolean;
|
|
89
89
|
complete: boolean;
|
|
90
90
|
}) => Renderable<any>): ReturnType<(this: {
|
|
91
|
-
attributes?:
|
|
91
|
+
attributes?: template_395fa766de714d01a2177bd6e730518f1.Attributes | undefined;
|
|
92
92
|
content?: ((state: {
|
|
93
93
|
holding: boolean;
|
|
94
94
|
complete: boolean;
|
|
95
95
|
}) => Renderable<any>) | undefined;
|
|
96
|
-
}, attributes: Readonly<
|
|
96
|
+
}, attributes: Readonly<template_395fa766de714d01a2177bd6e730518f1.Attributes>, content: (state: {
|
|
97
97
|
holding: boolean;
|
|
98
98
|
complete: boolean;
|
|
99
99
|
}) => Renderable<any>) => Renderable<any>>;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as template_395fa766de714d01a2177bd6e730518f1 from '@esportsplus/template';
|
|
2
|
+
import * as reactivity_395fa766de714d01a2177bd6e730518f0 from '@esportsplus/reactivity';
|
|
3
3
|
import template from '../template/index.js';
|
|
4
4
|
import './scss/index.scss';
|
|
5
|
-
const
|
|
6
|
-
class
|
|
7
|
-
#complete = this[
|
|
8
|
-
#holding = this[
|
|
5
|
+
const template_395fa766de714d01a2177bd6e730518f15 = template_395fa766de714d01a2177bd6e730518f1.template(`<div class='button '><!--$--></div>`);
|
|
6
|
+
class ReactiveObject_395fa766de714d01a2177bd6e730518f13 extends reactivity_395fa766de714d01a2177bd6e730518f0.ReactiveObject {
|
|
7
|
+
#complete = this[reactivity_395fa766de714d01a2177bd6e730518f0.SIGNAL](false);
|
|
8
|
+
#holding = this[reactivity_395fa766de714d01a2177bd6e730518f0.SIGNAL](false);
|
|
9
9
|
constructor() {
|
|
10
10
|
super(null);
|
|
11
11
|
}
|
|
12
12
|
get complete() {
|
|
13
|
-
return
|
|
13
|
+
return reactivity_395fa766de714d01a2177bd6e730518f0.read(this.#complete);
|
|
14
14
|
}
|
|
15
15
|
set complete(_v0) {
|
|
16
|
-
|
|
16
|
+
reactivity_395fa766de714d01a2177bd6e730518f0.write(this.#complete, _v0);
|
|
17
17
|
}
|
|
18
18
|
get holding() {
|
|
19
|
-
return
|
|
19
|
+
return reactivity_395fa766de714d01a2177bd6e730518f0.read(this.#holding);
|
|
20
20
|
}
|
|
21
21
|
set holding(_v1) {
|
|
22
|
-
|
|
22
|
+
reactivity_395fa766de714d01a2177bd6e730518f0.write(this.#holding, _v1);
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
const hold = template.factory(function (attributes, content) {
|
|
@@ -27,34 +27,33 @@ const hold = template.factory(function (attributes, content) {
|
|
|
27
27
|
if (!state.complete) {
|
|
28
28
|
state.holding = false;
|
|
29
29
|
}
|
|
30
|
-
}, state = new
|
|
30
|
+
}, state = new ReactiveObject_395fa766de714d01a2177bd6e730518f13();
|
|
31
31
|
return (() => {
|
|
32
|
-
let
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
template_c9c73d187a134116af27de99479178b21.delegate(element_c9c73d187a134116af27de99479178b216, 'mousedown', (e) => {
|
|
32
|
+
let root_395fa766de714d01a2177bd6e730518f14 = template_395fa766de714d01a2177bd6e730518f15(), element_395fa766de714d01a2177bd6e730518f16 = root_395fa766de714d01a2177bd6e730518f14.firstChild, element_395fa766de714d01a2177bd6e730518f17 = element_395fa766de714d01a2177bd6e730518f16.firstChild, attributes_395fa766de714d01a2177bd6e730518f18 = { "class": "button" };
|
|
33
|
+
template_395fa766de714d01a2177bd6e730518f1.setList(element_395fa766de714d01a2177bd6e730518f16, 'class', () => state.holding && 'button--holding', attributes_395fa766de714d01a2177bd6e730518f18);
|
|
34
|
+
template_395fa766de714d01a2177bd6e730518f1.delegate(element_395fa766de714d01a2177bd6e730518f16, 'mousedown', (e) => {
|
|
36
35
|
e.preventDefault();
|
|
37
36
|
state.holding = true;
|
|
38
37
|
});
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
template_395fa766de714d01a2177bd6e730518f1.setProperties(element_395fa766de714d01a2177bd6e730518f16, attributes, attributes_395fa766de714d01a2177bd6e730518f18);
|
|
39
|
+
template_395fa766de714d01a2177bd6e730518f1.delegate(element_395fa766de714d01a2177bd6e730518f16, 'animationend', (e) => {
|
|
41
40
|
if (e.animationName === 'buttonHolding') {
|
|
42
41
|
state.complete = true;
|
|
43
42
|
}
|
|
44
43
|
});
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
template_395fa766de714d01a2177bd6e730518f1.delegate(element_395fa766de714d01a2177bd6e730518f16, 'click', () => { });
|
|
45
|
+
template_395fa766de714d01a2177bd6e730518f1.delegate(element_395fa766de714d01a2177bd6e730518f16, 'mousedown', (e) => {
|
|
47
46
|
e.preventDefault();
|
|
48
47
|
state.holding = true;
|
|
49
48
|
});
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
49
|
+
template_395fa766de714d01a2177bd6e730518f1.delegate(element_395fa766de714d01a2177bd6e730518f16, 'mouseup', end);
|
|
50
|
+
template_395fa766de714d01a2177bd6e730518f1.delegate(element_395fa766de714d01a2177bd6e730518f16, 'touchend', end);
|
|
51
|
+
template_395fa766de714d01a2177bd6e730518f1.delegate(element_395fa766de714d01a2177bd6e730518f16, 'touchstart', (e) => {
|
|
53
52
|
e.preventDefault();
|
|
54
53
|
state.holding = true;
|
|
55
54
|
});
|
|
56
|
-
new
|
|
57
|
-
return
|
|
55
|
+
new template_395fa766de714d01a2177bd6e730518f1.EffectSlot(element_395fa766de714d01a2177bd6e730518f17, () => content(state));
|
|
56
|
+
return root_395fa766de714d01a2177bd6e730518f14;
|
|
58
57
|
})();
|
|
59
58
|
});
|
|
60
59
|
export default { hold };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@layer components {.button{--background:var(--background-default);--background-active:var(--background-default);--background-default:transparent;--background-hover:var(--background-default);--background-pressed:var(--background-default);--border-color:var(--border-color-default);--border-color-active:var(--border-color-default);--border-color-default:var(--background);--border-color-hover:var(--border-color-default);--border-color-pressed:var(--border-color-default);--border-radius:var(--border-radius-400);--border-width:0px;--box-shadow:var(--box-shadow-default);--box-shadow-default:none;--color:var(--color-default);--color-active:var(--color-default);--color-default:var(--color-text-400);--color-hover:var(--color-default);--color-pressed:var(--color-default);--font-size:var(--font-size-400);--font-weight:var(--font-weight-400);--line-height:var(--line-height-400);--padding-horizontal:var(--size-400);--padding-vertical:var(--size-400);--width:auto}.button.--active{--background:var(--background-active);--border-color:var(--border-color-active);--color:var(--color-active)}.button:not(.--active):hover{--background:var(--background-hover);--border-color:var(--border-color-hover);--color:var(--color-hover)}.button:not(.--active):active{--background:var(--background-pressed);--border-color:var(--border-color-pressed);--color:var(--color-pressed)}.button--holding{--animation-duration:2.4s;--background-hold:var(--background-active)}.button--processing{--animation-duration:.64s;--border-width:var(--border-width-400);--processing-color:var(--color);--size:var(--size-400)}.button--skeleton{--animation-duration:6.4s}.button{background:var(--background);border-radius:var(--border-radius);color:var(--color);cursor:pointer;font-size:var(--font-size);font-weight:var(--font-weight);line-height:var(--line-height);padding:calc(var(--padding-vertical) - var(--border-width))calc(var(--padding-horizontal) - var(--border-width));transition:all var(--transition-duration)ease-in-out;width:var(--width);flex-wrap:wrap;place-content:center;align-items:center;display:flex;position:relative}.button:after{border-radius:inherit;box-shadow:var(--box-shadow);content:"";pointer-events:none;transition:box-shadow var(--transition-duration)ease-in-out,opacity var(--transition-duration)ease-in-out;z-index:-1;position:absolute;inset:0}.button--flat:after{display:none}.button--holding{overflow:hidden}.button--holding:after{animation:buttonHolding var(--animation-duration)ease-in-out forwards;box-shadow:unset;background:var(--background-hold);z-index:1;border-radius:0;width:110%;height:100%;display:block;transform:translate(-100%)}@keyframes buttonHolding{to{transform:translate(0%)}}.button--holding>*{animation:buttonHoldingContentPulse calc(var(--animation-duration)/3)infinite ease-in-out;z-index:2}@keyframes buttonHoldingContentPulse{0%,to{opacity:1}50%{opacity:.4}}.button--processing{color:#0000;pointer-events:none}.button--processing:before{animation:buttonProcessing var(--animation-duration)infinite linear;border:var(--border-width)solid color-mix(in srgb,var(--processing-color),transparent 90%);border-left-color:var(--processing-color);content:"";height:var(--size);width:var(--size);border-top-color:#0000;border-right-color:#0000;border-radius:100%;position:absolute;bottom:50%;right:50%;transform:translate(50%,50%)}.button--processing *{opacity:0}@keyframes buttonProcessing{0%{transform:translate(50%,50%)rotate(0)}to{transform:translate(50%,50%)rotate(359deg)}}.button--skeleton{animation:var(--animation-duration)ease-in-out infinite buttonSkeleton;background-image:linear-gradient(270deg,var(--background-pressed),var(--background-default),var(--background-default),var(--background-pressed));color:#0000;pointer-events:none;background-size:400% 100%}.button--skeleton *{opacity:0}@keyframes buttonSkeleton{0%{background-position:200% 0}to{background-position:-200% 0}}.button--top-left,.button--top-right{top:calc((var(--padding-vertical) + var(--line-height)/2)*-1);position:absolute}.button--top-left{left:calc((var(--padding-horizontal) + var(--line-height)/2)*-1)}.button--top-right{right:calc((var(--padding-horizontal) + var(--line-height)/2)*-1)}.button--underline.--active,.button--underline:not(.--active):hover{text-decoration:underline}}
|
|
1
|
+
@layer components {.button{--background:var(--background-default);--background-active:var(--background-default);--background-default:transparent;--background-hover:var(--background-default);--background-pressed:var(--background-default);--border-color:var(--border-color-default);--border-color-active:var(--border-color-default);--border-color-default:var(--background);--border-color-hover:var(--border-color-default);--border-color-pressed:var(--border-color-default);--border-radius:var(--border-radius-400);--border-width:0px;--box-shadow:var(--box-shadow-default);--box-shadow-default:none;--color:var(--color-default);--color-active:var(--color-default);--color-default:var(--color-text-400);--color-hover:var(--color-default);--color-pressed:var(--color-default);--font-size:var(--font-size-400);--font-weight:var(--font-weight-400);--line-height:var(--line-height-400);--padding-horizontal:var(--size-400);--padding-vertical:var(--size-400);--width:auto}.button.--active{--background:var(--background-active);--border-color:var(--border-color-active);--color:var(--color-active)}.button:not(.--active):hover{--background:var(--background-hover);--border-color:var(--border-color-hover);--color:var(--color-hover)}.button:not(.--active):active{--background:var(--background-pressed);--border-color:var(--border-color-pressed);--color:var(--color-pressed)}.button--holding{--animation-duration:2.4s;--background-hold:var(--background-active)}.button--processing{--animation-duration:.64s;--border-width:var(--border-width-400);--processing-color:var(--color);--size:var(--size-400)}.button--skeleton{--animation-duration:6.4s}.button{background:var(--background);border-radius:var(--border-radius);color:var(--color);cursor:pointer;font-size:var(--font-size);font-weight:var(--font-weight);line-height:var(--line-height);padding:calc(var(--padding-vertical) - var(--border-width))calc(var(--padding-horizontal) - var(--border-width));transition:all var(--transition-duration)ease-in-out;width:var(--width);flex-wrap:wrap;place-content:center;align-items:center;display:flex;position:relative}.button:after{border-radius:inherit;box-shadow:var(--box-shadow);content:"";pointer-events:none;transition:box-shadow var(--transition-duration)ease-in-out,opacity var(--transition-duration)ease-in-out;z-index:-1;position:absolute;inset:0}.button--flat:after{display:none}.button--holding{-webkit-user-select:none;user-select:none;overflow:hidden}.button--holding:after{animation:buttonHolding var(--animation-duration)ease-in-out forwards;box-shadow:unset;background:var(--background-hold);z-index:1;border-radius:0;width:110%;height:100%;display:block;transform:translate(-100%)}@keyframes buttonHolding{to{transform:translate(0%)}}.button--holding>*{animation:buttonHoldingContentPulse calc(var(--animation-duration)/3)infinite ease-in-out;z-index:2}@keyframes buttonHoldingContentPulse{0%,to{opacity:1}50%{opacity:.4}}.button--processing{color:#0000;pointer-events:none}.button--processing:before{animation:buttonProcessing var(--animation-duration)infinite linear;border:var(--border-width)solid color-mix(in srgb,var(--processing-color),transparent 90%);border-left-color:var(--processing-color);content:"";height:var(--size);width:var(--size);border-top-color:#0000;border-right-color:#0000;border-radius:100%;position:absolute;bottom:50%;right:50%;transform:translate(50%,50%)}.button--processing *{opacity:0}@keyframes buttonProcessing{0%{transform:translate(50%,50%)rotate(0)}to{transform:translate(50%,50%)rotate(359deg)}}.button--skeleton{animation:var(--animation-duration)ease-in-out infinite buttonSkeleton;background-image:linear-gradient(270deg,var(--background-pressed),var(--background-default),var(--background-default),var(--background-pressed));color:#0000;pointer-events:none;background-size:400% 100%}.button--skeleton *{opacity:0}@keyframes buttonSkeleton{0%{background-position:200% 0}to{background-position:-200% 0}}.button--top-left,.button--top-right{top:calc((var(--padding-vertical) + var(--line-height)/2)*-1);position:absolute}.button--top-left{left:calc((var(--padding-horizontal) + var(--line-height)/2)*-1)}.button--top-right{right:calc((var(--padding-horizontal) + var(--line-height)/2)*-1)}.button--underline.--active,.button--underline:not(.--active):hover{text-decoration:underline}}
|
|
2
2
|
/*$vite$:1*/
|