@jis3r/icons 1.12.0 → 1.12.1

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.
@@ -22,7 +22,7 @@
22
22
 
23
23
  setTimeout(() => {
24
24
  isHovered = false;
25
- }, 500);
25
+ }, 1200);
26
26
  }
27
27
  </script>
28
28
 
@@ -42,8 +42,9 @@
42
42
  >
43
43
  <path
44
44
  d="M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z"
45
+ class="badge-path"
45
46
  />
46
- <path d="M9 12l2 2 4-4" class="check-path" />
47
+ <path d="m9 12 2 2 4-4" class="check-path" />
47
48
  </svg>
48
49
  </div>
49
50
 
@@ -55,26 +56,48 @@
55
56
  overflow: visible;
56
57
  }
57
58
 
59
+ .badge-path {
60
+ transform-origin: center;
61
+ transition: transform 1.2s ease-in-out;
62
+ }
63
+
58
64
  .check-path {
59
- stroke-dasharray: 9;
65
+ stroke-dasharray: 10;
60
66
  stroke-dashoffset: 0;
67
+ opacity: 1;
61
68
  transition:
62
- stroke-dashoffset 0.125s ease-out,
63
- opacity 0.125s ease-out;
69
+ stroke-dashoffset 1.2s ease-in-out,
70
+ opacity 0.01s ease-in-out;
71
+ }
72
+
73
+ .badge-check-icon.animate .badge-path {
74
+ animation: scaleBadge 1.2s ease-in-out;
64
75
  }
65
76
 
66
77
  .badge-check-icon.animate .check-path {
67
- animation: checkAnimation 0.5s ease-out backwards;
78
+ animation: drawCheck 1.2s ease-in-out;
79
+ }
80
+
81
+ @keyframes scaleBadge {
82
+ 0% {
83
+ transform: scale(1);
84
+ }
85
+ 50% {
86
+ transform: scale(0.9);
87
+ }
88
+ 100% {
89
+ transform: scale(1);
90
+ }
68
91
  }
69
92
 
70
- @keyframes checkAnimation {
93
+ @keyframes drawCheck {
71
94
  0% {
72
- stroke-dashoffset: 9;
73
- opacity: 0;
95
+ stroke-dashoffset: 0;
96
+ opacity: 1;
74
97
  }
75
- 33% {
76
- stroke-dashoffset: 9;
77
- opacity: 0;
98
+ 50% {
99
+ stroke-dashoffset: 10;
100
+ opacity: 1;
78
101
  }
79
102
  100% {
80
103
  stroke-dashoffset: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jis3r/icons",
3
- "version": "1.12.0",
3
+ "version": "1.12.1",
4
4
  "description": "beautifully crafted, moving icons. for svelte.",
5
5
  "keywords": [
6
6
  "svelte",