warqadui 0.0.62 → 0.0.63
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/dist/index.js +4 -1
- package/dist/index.mjs +4 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4888,7 +4888,10 @@ var Dropdown = ({
|
|
|
4888
4888
|
className: cn(
|
|
4889
4889
|
"flex w-full items-center gap-3 px-4 py-3 text-sm transition-all duration-150",
|
|
4890
4890
|
isDanger ? "text-red-600 dark:text-red-400" : "text-gray-700 dark:text-gray-200",
|
|
4891
|
-
!item.disabled && !isLoading ?
|
|
4891
|
+
!item.disabled && !isLoading ? cn(
|
|
4892
|
+
"cursor-pointer",
|
|
4893
|
+
isDanger ? "hover:bg-red-50 dark:hover:bg-red-900/10 active:bg-red-100 dark:active:bg-red-900/20" : "hover:bg-blue-50/50 dark:hover:bg-blue-900/10 active:bg-blue-100 dark:active:bg-blue-900/20"
|
|
4894
|
+
) : "opacity-40 cursor-not-allowed grayscale",
|
|
4892
4895
|
item.className
|
|
4893
4896
|
),
|
|
4894
4897
|
children: [
|
package/dist/index.mjs
CHANGED
|
@@ -4857,7 +4857,10 @@ var Dropdown = ({
|
|
|
4857
4857
|
className: cn(
|
|
4858
4858
|
"flex w-full items-center gap-3 px-4 py-3 text-sm transition-all duration-150",
|
|
4859
4859
|
isDanger ? "text-red-600 dark:text-red-400" : "text-gray-700 dark:text-gray-200",
|
|
4860
|
-
!item.disabled && !isLoading ?
|
|
4860
|
+
!item.disabled && !isLoading ? cn(
|
|
4861
|
+
"cursor-pointer",
|
|
4862
|
+
isDanger ? "hover:bg-red-50 dark:hover:bg-red-900/10 active:bg-red-100 dark:active:bg-red-900/20" : "hover:bg-blue-50/50 dark:hover:bg-blue-900/10 active:bg-blue-100 dark:active:bg-blue-900/20"
|
|
4863
|
+
) : "opacity-40 cursor-not-allowed grayscale",
|
|
4861
4864
|
item.className
|
|
4862
4865
|
),
|
|
4863
4866
|
children: [
|