@dotcraft/avatar 0.6.3 → 0.6.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.
- package/LICENSE +201 -201
- package/README.md +46 -43
- package/dist/accessories.css +14 -14
- package/dist/avatar.css +62 -62
- package/dist/composer/ComposerMascot.d.ts +1 -1
- package/dist/composer/ComposerMascot.d.ts.map +1 -1
- package/dist/composer/ComposerMascot.js +2 -2
- package/dist/composer/ComposerMascot.js.map +1 -1
- package/dist/composer/styles/energy.css +99 -99
- package/dist/composer/styles/expressions.css +20 -20
- package/dist/composer/styles/feedback.css +188 -188
- package/dist/composer/styles/focus.css +72 -72
- package/dist/composer/styles/foundation.css +301 -287
- package/dist/composer/styles/idle.css +438 -438
- package/dist/composer/styles/overdrive.css +264 -264
- package/dist/composer/styles/props.css +21 -21
- package/dist/composer/types.d.ts +1 -0
- package/dist/composer/types.d.ts.map +1 -1
- package/dist/rig.css +265 -265
- package/dist/styles.css +13 -13
- package/package.json +56 -55
- package/src/AnimatedDecoration.tsx +43 -0
- package/src/AppearanceRig.tsx +15 -0
- package/src/Avatar.tsx +85 -0
- package/src/DecorationShapes.tsx +8 -0
- package/src/Decorations.tsx +31 -0
- package/src/Faces.tsx +37 -0
- package/src/HatDecorations.tsx +75 -0
- package/src/HeldDecorations.tsx +48 -0
- package/src/MascotRig.tsx +191 -0
- package/src/ObjectDecorations.tsx +55 -0
- package/src/accessories.css +14 -0
- package/src/appearanceModel.ts +65 -0
- package/src/avatar.css +62 -0
- package/src/characters.ts +5 -0
- package/src/composer/ComposerMascot.tsx +521 -0
- package/src/composer/ComposerMascotShadow.tsx +5 -0
- package/src/composer/constants.ts +68 -0
- package/src/composer/mascotHandoff.ts +19 -0
- package/src/composer/styles/energy.css +99 -0
- package/src/composer/styles/expressions.css +20 -0
- package/src/composer/styles/feedback.css +188 -0
- package/src/composer/styles/focus.css +72 -0
- package/src/composer/styles/foundation.css +301 -0
- package/src/composer/styles/idle.css +438 -0
- package/src/composer/styles/overdrive.css +264 -0
- package/src/composer/styles/props.css +21 -0
- package/src/composer/types.ts +32 -0
- package/src/composer/useComposerAvatarBehavior.ts +97 -0
- package/src/composer/useComposerMotion.ts +15 -0
- package/src/composer/useComposerProfile.ts +50 -0
- package/src/decorationCatalog.ts +45 -0
- package/src/decorationMotion.ts +68 -0
- package/src/environment.ts +46 -0
- package/src/index.ts +5 -0
- package/src/palette.ts +52 -0
- package/src/react.ts +6 -0
- package/src/rig.css +265 -0
- package/src/styles.css +13 -0
- package/src/useEventReplay.ts +13 -0
- package/src/useGesture.ts +51 -0
|
@@ -1,188 +1,188 @@
|
|
|
1
|
-
@keyframes composer-mascot-cheer {
|
|
2
|
-
0% {
|
|
3
|
-
transform: translateY(0) scale(1, 1);
|
|
4
|
-
}
|
|
5
|
-
12% {
|
|
6
|
-
transform: translateY(2px) scale(1.08, 0.9);
|
|
7
|
-
}
|
|
8
|
-
30% {
|
|
9
|
-
transform: translateY(-13px) scale(0.96, 1.06);
|
|
10
|
-
}
|
|
11
|
-
46% {
|
|
12
|
-
transform: translateY(0) scale(1.05, 0.94);
|
|
13
|
-
}
|
|
14
|
-
60% {
|
|
15
|
-
transform: translateY(-8px) scale(0.98, 1.03);
|
|
16
|
-
}
|
|
17
|
-
74% {
|
|
18
|
-
transform: translateY(0) scale(1.02, 0.98);
|
|
19
|
-
}
|
|
20
|
-
100% {
|
|
21
|
-
transform: translateY(0) scale(1, 1);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.composer-mascot-cheer {
|
|
26
|
-
animation: composer-mascot-cheer 1s ease-out;
|
|
27
|
-
transform-origin: bottom center;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.composer-mascot-sparkles {
|
|
31
|
-
position: absolute;
|
|
32
|
-
inset: 0;
|
|
33
|
-
pointer-events: none;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.composer-mascot-sparkles i {
|
|
37
|
-
position: absolute;
|
|
38
|
-
left: 50%;
|
|
39
|
-
top: 6%;
|
|
40
|
-
width: 7px;
|
|
41
|
-
height: 7px;
|
|
42
|
-
background: var(--success);
|
|
43
|
-
clip-path: polygon(50% 0, 64% 36%, 100% 50%, 64% 64%, 50% 100%, 36% 64%, 0 50%, 36% 36%);
|
|
44
|
-
animation: composer-mascot-sparkle 900ms ease-out forwards;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
@keyframes composer-mascot-sparkle {
|
|
48
|
-
0% {
|
|
49
|
-
opacity: 0;
|
|
50
|
-
transform: translate(0, 0) scale(0.4) rotate(0);
|
|
51
|
-
}
|
|
52
|
-
18% {
|
|
53
|
-
opacity: 1;
|
|
54
|
-
}
|
|
55
|
-
100% {
|
|
56
|
-
opacity: 0;
|
|
57
|
-
transform: translate(var(--dx), var(--dy)) scale(1) rotate(160deg);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
@keyframes composer-mascot-shake {
|
|
62
|
-
0%,
|
|
63
|
-
100% {
|
|
64
|
-
transform: translateX(0) rotate(0);
|
|
65
|
-
}
|
|
66
|
-
18% {
|
|
67
|
-
transform: translateX(-5px) rotate(-2.4deg);
|
|
68
|
-
}
|
|
69
|
-
38% {
|
|
70
|
-
transform: translateX(5px) rotate(2.4deg);
|
|
71
|
-
}
|
|
72
|
-
58% {
|
|
73
|
-
transform: translateX(-4px) rotate(-1.8deg);
|
|
74
|
-
}
|
|
75
|
-
78% {
|
|
76
|
-
transform: translateX(3px) rotate(1.2deg);
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.composer-mascot-shake {
|
|
81
|
-
animation: composer-mascot-shake 520ms ease-in-out;
|
|
82
|
-
transform-origin: bottom center;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
@keyframes composer-mascot-eager-hop {
|
|
86
|
-
0%,
|
|
87
|
-
100% {
|
|
88
|
-
transform: translateY(0) scale(1, 1);
|
|
89
|
-
}
|
|
90
|
-
50% {
|
|
91
|
-
transform: translateY(-4px) scale(0.99, 1.02);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.composer-mascot-eager {
|
|
96
|
-
animation: composer-mascot-eager-hop 460ms ease-in-out infinite;
|
|
97
|
-
transform-origin: bottom center;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
@keyframes composer-mascot-sleep-breathe {
|
|
101
|
-
0%,
|
|
102
|
-
100% {
|
|
103
|
-
transform: scale(1);
|
|
104
|
-
}
|
|
105
|
-
50% {
|
|
106
|
-
transform: scale(1.05, 1.06);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.composer-mascot-sleep-breathe {
|
|
111
|
-
animation: composer-mascot-sleep-breathe 5.6s ease-in-out infinite;
|
|
112
|
-
transform-origin: bottom center;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.composer-mascot-zzz {
|
|
116
|
-
position: absolute;
|
|
117
|
-
inset: 0;
|
|
118
|
-
pointer-events: none;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.composer-mascot-zzz span {
|
|
122
|
-
position: absolute;
|
|
123
|
-
right: -2px;
|
|
124
|
-
top: 2px;
|
|
125
|
-
font-family: Georgia, serif;
|
|
126
|
-
font-size: 13px;
|
|
127
|
-
font-weight: 700;
|
|
128
|
-
color: var(--
|
|
129
|
-
opacity: 0;
|
|
130
|
-
animation: composer-mascot-zzz 2.8s ease-out infinite;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.composer-mascot-zzz span:nth-child(2) {
|
|
134
|
-
animation-delay: 0.9s;
|
|
135
|
-
right: 2px;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.composer-mascot-zzz span:nth-child(3) {
|
|
139
|
-
animation-delay: 1.8s;
|
|
140
|
-
right: 6px;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
@keyframes composer-mascot-zzz {
|
|
144
|
-
0% {
|
|
145
|
-
opacity: 0;
|
|
146
|
-
transform: translate(0, 0) scale(0.7);
|
|
147
|
-
}
|
|
148
|
-
25% {
|
|
149
|
-
opacity: 0.9;
|
|
150
|
-
}
|
|
151
|
-
100% {
|
|
152
|
-
opacity: 0;
|
|
153
|
-
transform: translate(13px, -26px) scale(1.15);
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
@keyframes composer-mascot-startle {
|
|
158
|
-
0% {
|
|
159
|
-
transform: translateY(0) scale(1);
|
|
160
|
-
}
|
|
161
|
-
30% {
|
|
162
|
-
transform: translateY(-7px) scale(1.1, 0.96);
|
|
163
|
-
}
|
|
164
|
-
60% {
|
|
165
|
-
transform: translateY(0) scale(0.97, 1.03);
|
|
166
|
-
}
|
|
167
|
-
100% {
|
|
168
|
-
transform: translateY(0) scale(1);
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.composer-mascot-startle {
|
|
173
|
-
animation: composer-mascot-startle 320ms ease-out;
|
|
174
|
-
transform-origin: bottom center;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
@keyframes composer-mascot-push-lift {
|
|
178
|
-
0% { transform: translateY(0) scale(1); }
|
|
179
|
-
38% { transform: translateY(-7px) scale(0.98, 1.035); }
|
|
180
|
-
72% { transform: translateY(1px) scale(1.025, 0.975); }
|
|
181
|
-
88% { transform: translateY(-1px) scale(0.995, 1.01); }
|
|
182
|
-
100% { transform: translateY(0) scale(1); }
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.composer-mascot-push-lift {
|
|
186
|
-
animation: composer-mascot-push-lift 360ms cubic-bezier(0.22, 0.72, 0.24, 1);
|
|
187
|
-
transform-origin: bottom center;
|
|
188
|
-
}
|
|
1
|
+
@keyframes composer-mascot-cheer {
|
|
2
|
+
0% {
|
|
3
|
+
transform: translateY(0) scale(1, 1);
|
|
4
|
+
}
|
|
5
|
+
12% {
|
|
6
|
+
transform: translateY(2px) scale(1.08, 0.9);
|
|
7
|
+
}
|
|
8
|
+
30% {
|
|
9
|
+
transform: translateY(-13px) scale(0.96, 1.06);
|
|
10
|
+
}
|
|
11
|
+
46% {
|
|
12
|
+
transform: translateY(0) scale(1.05, 0.94);
|
|
13
|
+
}
|
|
14
|
+
60% {
|
|
15
|
+
transform: translateY(-8px) scale(0.98, 1.03);
|
|
16
|
+
}
|
|
17
|
+
74% {
|
|
18
|
+
transform: translateY(0) scale(1.02, 0.98);
|
|
19
|
+
}
|
|
20
|
+
100% {
|
|
21
|
+
transform: translateY(0) scale(1, 1);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.composer-mascot-cheer {
|
|
26
|
+
animation: composer-mascot-cheer 1s ease-out;
|
|
27
|
+
transform-origin: bottom center;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.composer-mascot-sparkles {
|
|
31
|
+
position: absolute;
|
|
32
|
+
inset: 0;
|
|
33
|
+
pointer-events: none;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.composer-mascot-sparkles i {
|
|
37
|
+
position: absolute;
|
|
38
|
+
left: 50%;
|
|
39
|
+
top: 6%;
|
|
40
|
+
width: 7px;
|
|
41
|
+
height: 7px;
|
|
42
|
+
background: var(--dca-theme-success);
|
|
43
|
+
clip-path: polygon(50% 0, 64% 36%, 100% 50%, 64% 64%, 50% 100%, 36% 64%, 0 50%, 36% 36%);
|
|
44
|
+
animation: composer-mascot-sparkle 900ms ease-out forwards;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@keyframes composer-mascot-sparkle {
|
|
48
|
+
0% {
|
|
49
|
+
opacity: 0;
|
|
50
|
+
transform: translate(0, 0) scale(0.4) rotate(0);
|
|
51
|
+
}
|
|
52
|
+
18% {
|
|
53
|
+
opacity: 1;
|
|
54
|
+
}
|
|
55
|
+
100% {
|
|
56
|
+
opacity: 0;
|
|
57
|
+
transform: translate(var(--dx), var(--dy)) scale(1) rotate(160deg);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@keyframes composer-mascot-shake {
|
|
62
|
+
0%,
|
|
63
|
+
100% {
|
|
64
|
+
transform: translateX(0) rotate(0);
|
|
65
|
+
}
|
|
66
|
+
18% {
|
|
67
|
+
transform: translateX(-5px) rotate(-2.4deg);
|
|
68
|
+
}
|
|
69
|
+
38% {
|
|
70
|
+
transform: translateX(5px) rotate(2.4deg);
|
|
71
|
+
}
|
|
72
|
+
58% {
|
|
73
|
+
transform: translateX(-4px) rotate(-1.8deg);
|
|
74
|
+
}
|
|
75
|
+
78% {
|
|
76
|
+
transform: translateX(3px) rotate(1.2deg);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.composer-mascot-shake {
|
|
81
|
+
animation: composer-mascot-shake 520ms ease-in-out;
|
|
82
|
+
transform-origin: bottom center;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
@keyframes composer-mascot-eager-hop {
|
|
86
|
+
0%,
|
|
87
|
+
100% {
|
|
88
|
+
transform: translateY(0) scale(1, 1);
|
|
89
|
+
}
|
|
90
|
+
50% {
|
|
91
|
+
transform: translateY(-4px) scale(0.99, 1.02);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.composer-mascot-eager {
|
|
96
|
+
animation: composer-mascot-eager-hop 460ms ease-in-out infinite;
|
|
97
|
+
transform-origin: bottom center;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
@keyframes composer-mascot-sleep-breathe {
|
|
101
|
+
0%,
|
|
102
|
+
100% {
|
|
103
|
+
transform: scale(1);
|
|
104
|
+
}
|
|
105
|
+
50% {
|
|
106
|
+
transform: scale(1.05, 1.06);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.composer-mascot-sleep-breathe {
|
|
111
|
+
animation: composer-mascot-sleep-breathe 5.6s ease-in-out infinite;
|
|
112
|
+
transform-origin: bottom center;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.composer-mascot-zzz {
|
|
116
|
+
position: absolute;
|
|
117
|
+
inset: 0;
|
|
118
|
+
pointer-events: none;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.composer-mascot-zzz span {
|
|
122
|
+
position: absolute;
|
|
123
|
+
right: -2px;
|
|
124
|
+
top: 2px;
|
|
125
|
+
font-family: Georgia, serif;
|
|
126
|
+
font-size: 13px;
|
|
127
|
+
font-weight: 700;
|
|
128
|
+
color: var(--dca-theme-dimmed);
|
|
129
|
+
opacity: 0;
|
|
130
|
+
animation: composer-mascot-zzz 2.8s ease-out infinite;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.composer-mascot-zzz span:nth-child(2) {
|
|
134
|
+
animation-delay: 0.9s;
|
|
135
|
+
right: 2px;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.composer-mascot-zzz span:nth-child(3) {
|
|
139
|
+
animation-delay: 1.8s;
|
|
140
|
+
right: 6px;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
@keyframes composer-mascot-zzz {
|
|
144
|
+
0% {
|
|
145
|
+
opacity: 0;
|
|
146
|
+
transform: translate(0, 0) scale(0.7);
|
|
147
|
+
}
|
|
148
|
+
25% {
|
|
149
|
+
opacity: 0.9;
|
|
150
|
+
}
|
|
151
|
+
100% {
|
|
152
|
+
opacity: 0;
|
|
153
|
+
transform: translate(13px, -26px) scale(1.15);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
@keyframes composer-mascot-startle {
|
|
158
|
+
0% {
|
|
159
|
+
transform: translateY(0) scale(1);
|
|
160
|
+
}
|
|
161
|
+
30% {
|
|
162
|
+
transform: translateY(-7px) scale(1.1, 0.96);
|
|
163
|
+
}
|
|
164
|
+
60% {
|
|
165
|
+
transform: translateY(0) scale(0.97, 1.03);
|
|
166
|
+
}
|
|
167
|
+
100% {
|
|
168
|
+
transform: translateY(0) scale(1);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.composer-mascot-startle {
|
|
173
|
+
animation: composer-mascot-startle 320ms ease-out;
|
|
174
|
+
transform-origin: bottom center;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
@keyframes composer-mascot-push-lift {
|
|
178
|
+
0% { transform: translateY(0) scale(1); }
|
|
179
|
+
38% { transform: translateY(-7px) scale(0.98, 1.035); }
|
|
180
|
+
72% { transform: translateY(1px) scale(1.025, 0.975); }
|
|
181
|
+
88% { transform: translateY(-1px) scale(0.995, 1.01); }
|
|
182
|
+
100% { transform: translateY(0) scale(1); }
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.composer-mascot-push-lift {
|
|
186
|
+
animation: composer-mascot-push-lift 360ms cubic-bezier(0.22, 0.72, 0.24, 1);
|
|
187
|
+
transform-origin: bottom center;
|
|
188
|
+
}
|
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
@keyframes composer-mascot-launch {
|
|
2
|
-
0% {
|
|
3
|
-
transform: translateY(0) scale(1, 1);
|
|
4
|
-
}
|
|
5
|
-
14% {
|
|
6
|
-
transform: translateY(3px) scale(1.14, 0.8);
|
|
7
|
-
}
|
|
8
|
-
38% {
|
|
9
|
-
transform: translateY(-20px) scale(0.9, 1.14);
|
|
10
|
-
}
|
|
11
|
-
58% {
|
|
12
|
-
transform: translateY(0) scale(1.1, 0.88);
|
|
13
|
-
}
|
|
14
|
-
74% {
|
|
15
|
-
transform: translateY(-6px) scale(0.98, 1.04);
|
|
16
|
-
}
|
|
17
|
-
88% {
|
|
18
|
-
transform: translateY(0) scale(1.02, 0.98);
|
|
19
|
-
}
|
|
20
|
-
100% {
|
|
21
|
-
transform: translateY(0) scale(1, 1);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.composer-mascot-launch {
|
|
26
|
-
animation: composer-mascot-launch 820ms cubic-bezier(0.3, 0.9, 0.4, 1);
|
|
27
|
-
transform-origin: bottom center;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
@keyframes composer-mascot-jelly {
|
|
31
|
-
0% {
|
|
32
|
-
transform: scale(1, 1);
|
|
33
|
-
}
|
|
34
|
-
25% {
|
|
35
|
-
transform: scale(1.16, 0.84);
|
|
36
|
-
}
|
|
37
|
-
45% {
|
|
38
|
-
transform: scale(0.9, 1.1);
|
|
39
|
-
}
|
|
40
|
-
62% {
|
|
41
|
-
transform: scale(1.06, 0.94);
|
|
42
|
-
}
|
|
43
|
-
78% {
|
|
44
|
-
transform: scale(0.98, 1.02);
|
|
45
|
-
}
|
|
46
|
-
100% {
|
|
47
|
-
transform: scale(1, 1);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.composer-mascot-jelly {
|
|
52
|
-
transform-origin: bottom center;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.composer-mascot-jelly:hover {
|
|
56
|
-
animation: composer-mascot-jelly 600ms ease-out;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
@keyframes composer-mascot-bubble-in {
|
|
60
|
-
0% {
|
|
61
|
-
opacity: 0;
|
|
62
|
-
transform: translateY(6px) scale(0.94);
|
|
63
|
-
}
|
|
64
|
-
100% {
|
|
65
|
-
opacity: 1;
|
|
66
|
-
transform: translateY(0) scale(1);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.composer-mascot-bubble {
|
|
71
|
-
animation: composer-mascot-bubble-in 260ms cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
72
|
-
}
|
|
1
|
+
@keyframes composer-mascot-launch {
|
|
2
|
+
0% {
|
|
3
|
+
transform: translateY(0) scale(1, 1);
|
|
4
|
+
}
|
|
5
|
+
14% {
|
|
6
|
+
transform: translateY(3px) scale(1.14, 0.8);
|
|
7
|
+
}
|
|
8
|
+
38% {
|
|
9
|
+
transform: translateY(-20px) scale(0.9, 1.14);
|
|
10
|
+
}
|
|
11
|
+
58% {
|
|
12
|
+
transform: translateY(0) scale(1.1, 0.88);
|
|
13
|
+
}
|
|
14
|
+
74% {
|
|
15
|
+
transform: translateY(-6px) scale(0.98, 1.04);
|
|
16
|
+
}
|
|
17
|
+
88% {
|
|
18
|
+
transform: translateY(0) scale(1.02, 0.98);
|
|
19
|
+
}
|
|
20
|
+
100% {
|
|
21
|
+
transform: translateY(0) scale(1, 1);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.composer-mascot-launch {
|
|
26
|
+
animation: composer-mascot-launch 820ms cubic-bezier(0.3, 0.9, 0.4, 1);
|
|
27
|
+
transform-origin: bottom center;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@keyframes composer-mascot-jelly {
|
|
31
|
+
0% {
|
|
32
|
+
transform: scale(1, 1);
|
|
33
|
+
}
|
|
34
|
+
25% {
|
|
35
|
+
transform: scale(1.16, 0.84);
|
|
36
|
+
}
|
|
37
|
+
45% {
|
|
38
|
+
transform: scale(0.9, 1.1);
|
|
39
|
+
}
|
|
40
|
+
62% {
|
|
41
|
+
transform: scale(1.06, 0.94);
|
|
42
|
+
}
|
|
43
|
+
78% {
|
|
44
|
+
transform: scale(0.98, 1.02);
|
|
45
|
+
}
|
|
46
|
+
100% {
|
|
47
|
+
transform: scale(1, 1);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.composer-mascot-jelly {
|
|
52
|
+
transform-origin: bottom center;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.composer-mascot-jelly:hover {
|
|
56
|
+
animation: composer-mascot-jelly 600ms ease-out;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@keyframes composer-mascot-bubble-in {
|
|
60
|
+
0% {
|
|
61
|
+
opacity: 0;
|
|
62
|
+
transform: translateY(6px) scale(0.94);
|
|
63
|
+
}
|
|
64
|
+
100% {
|
|
65
|
+
opacity: 1;
|
|
66
|
+
transform: translateY(0) scale(1);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.composer-mascot-bubble {
|
|
71
|
+
animation: composer-mascot-bubble-in 260ms cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
72
|
+
}
|