@appartmint/mint 2.10.3 → 2.10.6

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@appartmint/mint",
3
3
  "author": "App Art Mint LLC",
4
- "version": "2.10.3",
4
+ "version": "2.10.6",
5
5
  "license": "MIT",
6
6
  "description": "The front-end TS/SCSS framework of App Art Mint",
7
7
  "keywords": [
@@ -21,6 +21,30 @@
21
21
  }
22
22
  }
23
23
 
24
+ @keyframes #{prefix(spin-centered)} {
25
+ 0% {
26
+ transform: rotate(0deg) translate(-50%, -50%);
27
+ }
28
+
29
+ 100% {
30
+ transform: rotate(360deg) translate(-50%, -50%);
31
+ }
32
+ }
33
+
34
+ @keyframes #{prefix(pulse)} {
35
+ 0% {
36
+ opacity: 0;
37
+ }
38
+
39
+ 75% {
40
+ opacity: 0.75;
41
+ }
42
+
43
+ 100% {
44
+ opacity: 0;
45
+ }
46
+ }
47
+
24
48
  @keyframes #{prefix(stretch-in)} {
25
49
  0% {
26
50
  transform: scale(1);
@@ -133,7 +157,29 @@
133
157
  }
134
158
 
135
159
  #{class(spin)} {
136
- animation: #{prefix(spin)} 0.75s linear infinite;
160
+ animation: #{prefix(spin)} 1s linear infinite;
161
+
162
+ @for $i from 1 through 5 {
163
+ &-#{$i} {
164
+ animation-duration: #{$i}s;
165
+ }
166
+ }
167
+
168
+ &-hover {
169
+ @include states(hover, focus) {
170
+ animation: #{prefix(spin)} 1.5s ease-in-out forwards;
171
+ }
172
+
173
+ &-icon {
174
+ @include states(hover, focus) {
175
+ animation: #{prefix(spin)} 1.5s ease-in-out forwards;
176
+ }
177
+ }
178
+ }
179
+ }
180
+
181
+ #{class(pulse-out)} {
182
+ animation: #{prefix(pulse)} 0.75s ease-in-out forwards;
137
183
  }
138
184
 
139
185
  #{class(stretch)} {