@esportsplus/ui 0.20.10 → 0.20.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.
|
@@ -29,7 +29,15 @@ export default template.factory((attributes, content) => {
|
|
|
29
29
|
${a}
|
|
30
30
|
${omit(attributes, OMIT)}
|
|
31
31
|
>
|
|
32
|
-
<div
|
|
32
|
+
<div
|
|
33
|
+
class='loader'
|
|
34
|
+
${a}
|
|
35
|
+
${!content && {
|
|
36
|
+
onconnect: () => {
|
|
37
|
+
state.load = true;
|
|
38
|
+
}
|
|
39
|
+
}}
|
|
40
|
+
>
|
|
33
41
|
${content && html `
|
|
34
42
|
<div class='loader-content' ${attributes['loader-content']}>
|
|
35
43
|
<div
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@layer components {.loader-logo{--size:10svh;--translateY:8px}.loader{opacity:1;pointer-events:none;visibility:visible;z-index:9999;background-color:#01020964;transition:all .3s ease-in-out;position:fixed;inset:0}.loader--load{animation:.4s ease-in-out .2s both
|
|
1
|
+
@layer components {.loader-logo{--size:10svh;--translateY:8px}.loader{opacity:1;pointer-events:none;visibility:visible;z-index:9999;background-color:#01020964;transition:all .3s ease-in-out;position:fixed;inset:0}.loader--load{animation:.4s ease-in-out .2s both loaderMove}.loader--load .loader--load{animation:.4s ease-in-out both loaderMove}@keyframes loaderMove{0%{transform:translateY(0)}80%{transform:translateY(-102%)}to{transform:translateY(-102%)}}.loader .loader{background-color:var(--color-black-400)}.loader-content{position:absolute;inset:50% auto auto 50%;transform:translate(-50%)translateY(-50%)}.loader-logo{color:#fff}.loader-logo--scale{animation:.32s both loaderLogoScale}@keyframes loaderLogoScale{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale3d(1.8,1.8,1.8)}}}
|
|
2
2
|
/*$vite$:1*/
|
package/package.json
CHANGED
|
@@ -45,7 +45,15 @@ export default template.factory(
|
|
|
45
45
|
${a}
|
|
46
46
|
${omit(attributes, OMIT)}
|
|
47
47
|
>
|
|
48
|
-
<div
|
|
48
|
+
<div
|
|
49
|
+
class='loader'
|
|
50
|
+
${a}
|
|
51
|
+
${!content && {
|
|
52
|
+
onconnect: () => {
|
|
53
|
+
state.load = true;
|
|
54
|
+
}
|
|
55
|
+
}}
|
|
56
|
+
>
|
|
49
57
|
${content && html`
|
|
50
58
|
<div class='loader-content' ${attributes['loader-content']}>
|
|
51
59
|
<div
|
|
@@ -15,15 +15,15 @@
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
&--load {
|
|
18
|
-
animation: 0.4s 0.2s ease-in-out 1 both
|
|
18
|
+
animation: 0.4s 0.2s ease-in-out 1 both loaderMove;
|
|
19
19
|
|
|
20
20
|
& & {
|
|
21
|
-
animation: 0.4s ease-in-out 1 both
|
|
21
|
+
animation: 0.4s ease-in-out 1 both loaderMove;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
@keyframes
|
|
26
|
+
@keyframes loaderMove {
|
|
27
27
|
0% {
|
|
28
28
|
transform: translateY(0);
|
|
29
29
|
}
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
color: white;
|
|
54
54
|
|
|
55
55
|
&--scale {
|
|
56
|
-
animation:
|
|
56
|
+
animation: loaderLogoScale 0.32s 1;
|
|
57
57
|
animation-fill-mode: both;
|
|
58
58
|
|
|
59
|
-
@keyframes
|
|
59
|
+
@keyframes loaderLogoScale {
|
|
60
60
|
from {
|
|
61
61
|
opacity: 1;
|
|
62
62
|
transform: scale3d(1, 1, 1);
|