adminium 1.0.2 → 1.0.3

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.
@@ -21,3 +21,68 @@
21
21
  /** Dark/Light Theme Variant **/
22
22
  @custom-variant dark (&:is(.dark *));
23
23
  @custom-variant light (&:not(.dark *));
24
+
25
+ /** Accordion Animations **/
26
+ @theme {
27
+ --animate-accordion-down: accordion-down 0.2s ease-out;
28
+ --animate-accordion-up: accordion-up 0.2s ease-out;
29
+ }
30
+
31
+ @keyframes accordion-down {
32
+ from {
33
+ height: 0;
34
+ }
35
+ to {
36
+ height: var(--radix-accordion-content-height);
37
+ }
38
+ }
39
+
40
+ @keyframes accordion-up {
41
+ from {
42
+ height: var(--radix-accordion-content-height);
43
+ }
44
+ to {
45
+ height: 0;
46
+ }
47
+ }
48
+
49
+ /** Collapsible Animations **/
50
+ @theme {
51
+ --animate-collapsible-down: collapsible-down 0.2s ease-out;
52
+ --animate-collapsible-up: collapsible-up 0.2s ease-out;
53
+ }
54
+
55
+ @keyframes collapsible-down {
56
+ from {
57
+ height: 0;
58
+ }
59
+ to {
60
+ height: var(--radix-collapsible-content-height);
61
+ }
62
+ }
63
+
64
+ @keyframes collapsible-up {
65
+ from {
66
+ height: var(--radix-collapsible-content-height);
67
+ }
68
+ to {
69
+ height: 0;
70
+ }
71
+ }
72
+
73
+ /** Caret Blink Animation (InputOTP) **/
74
+ @theme {
75
+ --animate-caret-blink: caret-blink 1.25s ease-out infinite;
76
+ }
77
+
78
+ @keyframes caret-blink {
79
+ 0%,
80
+ 70%,
81
+ 100% {
82
+ opacity: 1;
83
+ }
84
+ 20%,
85
+ 50% {
86
+ opacity: 0;
87
+ }
88
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminium",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Metronic UI Component Library - A beautiful, reusable React component library built with Tailwind CSS",
5
5
  "author": "linkedunion",
6
6
  "license": "MIT",
@@ -69,6 +69,7 @@
69
69
  "@testing-library/dom": "^10.4.1",
70
70
  "class-variance-authority": "^0.7.1",
71
71
  "clsx": "^2.1.1",
72
+ "cmdk": "^1.1.1",
72
73
  "date-fns": "^4.1.0",
73
74
  "embla-carousel": "8.6.0",
74
75
  "embla-carousel-autoplay": "8.6.0",