@shuriken-ui/tailwind 4.0.0-alpha.2 → 4.0.0-alpha.3
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/css/progress.css +16 -0
- package/src/css/tooltip.css +20 -0
package/package.json
CHANGED
package/src/css/progress.css
CHANGED
@@ -88,3 +88,19 @@
|
|
88
88
|
@apply bg-black dark:bg-white;
|
89
89
|
}
|
90
90
|
}
|
91
|
+
|
92
|
+
@utility animate-nui-progress-indeterminate {
|
93
|
+
animation: nui-progress-indeterminate 3s linear infinite forwards;
|
94
|
+
}
|
95
|
+
|
96
|
+
@keyframes nui-progress-indeterminate {
|
97
|
+
0% {
|
98
|
+
margin-left: -100%;
|
99
|
+
}
|
100
|
+
60% {
|
101
|
+
margin-left: 100%;
|
102
|
+
}
|
103
|
+
100% {
|
104
|
+
margin-left: -100%;
|
105
|
+
}
|
106
|
+
}
|
package/src/css/tooltip.css
CHANGED
@@ -97,3 +97,23 @@
|
|
97
97
|
[data-nui-tooltip][data-nui-tooltip-position^='left']:hover::before,[data-nui-tooltip][data-nui-tooltip-position^='left']:hover::after,[data-nui-tooltip][data-nui-tooltip-position^='right']:hover::before,[data-nui-tooltip][data-nui-tooltip-position^='right']:hover::after,[data-nui-tooltip][data-nui-tooltip-position^='start']:hover::before,[data-nui-tooltip][data-nui-tooltip-position^='start']:hover::after,[data-nui-tooltip][data-nui-tooltip-position^='end']:hover::before,[data-nui-tooltip][data-nui-tooltip-position^='end']:hover::after,[data-nui-tooltip][data-nui-tooltip-position^='left']:focus-visible::before,[data-nui-tooltip][data-nui-tooltip-position^='left']:focus-visible::after,[data-nui-tooltip][data-nui-tooltip-position^='right']:focus-visible::before,[data-nui-tooltip][data-nui-tooltip-position^='right']:focus-visible::after,[data-nui-tooltip][data-nui-tooltip-position^='start']:focus-visible::before,[data-nui-tooltip][data-nui-tooltip-position^='start']:focus-visible::after,[data-nui-tooltip][data-nui-tooltip-position^='end']:focus-visible::before,[data-nui-tooltip][data-nui-tooltip-position^='end']:focus-visible::after {
|
98
98
|
@apply animate-nui-tooltip-y;
|
99
99
|
}
|
100
|
+
|
101
|
+
@utility animate-nui-tooltip-x {
|
102
|
+
animation: nui-tooltip-x 300ms ease-out forwards;
|
103
|
+
}
|
104
|
+
@utility animate-nui-tooltip-y {
|
105
|
+
animation: nui-tooltip-y 300ms ease-out forwards;
|
106
|
+
}
|
107
|
+
|
108
|
+
@keyframes nui-tooltip-x {
|
109
|
+
to {
|
110
|
+
opacity: 1;
|
111
|
+
transform: translate(-50%, 0);
|
112
|
+
}
|
113
|
+
}
|
114
|
+
@keyframes nui-tooltip-y {
|
115
|
+
to {
|
116
|
+
opacity: 1;
|
117
|
+
transform: translate(0, -50%);
|
118
|
+
}
|
119
|
+
}
|