@appartmint/mint 2.10.2 → 2.10.5

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.2",
4
+ "version": "2.10.5",
5
5
  "license": "MIT",
6
6
  "description": "The front-end TS/SCSS framework of App Art Mint",
7
7
  "keywords": [
@@ -11,6 +11,40 @@
11
11
  @use '../util' as *;
12
12
 
13
13
  /// Animations
14
+ @keyframes #{prefix(spin)} {
15
+ 0% {
16
+ transform: rotate(0deg);
17
+ }
18
+
19
+ 100% {
20
+ transform: rotate(360deg);
21
+ }
22
+ }
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
+
14
48
  @keyframes #{prefix(stretch-in)} {
15
49
  0% {
16
50
  transform: scale(1);
@@ -122,6 +156,20 @@
122
156
  }
123
157
  }
124
158
 
159
+ #{class(spin)} {
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
+
169
+ #{class(pulse-out)} {
170
+ animation: #{prefix(pulse)} 0.75s ease-in-out forwards;
171
+ }
172
+
125
173
  #{class(stretch)} {
126
174
  animation: #{prefix(stretch-out)} 0.5s ease forwards;
127
175
  @include states(hover, focus) {