evelearn-theme 2.0.33 → 2.0.35
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 +9 -9
- package/dist/index.mjs +9 -9
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -455,23 +455,23 @@ var Button = /* @__PURE__ */ __name(function(param) {
|
|
|
455
455
|
var styled = /* @__PURE__ */ __name(function() {
|
|
456
456
|
switch(kind){
|
|
457
457
|
case "primary":
|
|
458
|
-
return clsx__default.default("bg-primary font-header text-white font-medium transition-all duration-75 disabled:opacity-50
|
|
458
|
+
return clsx__default.default("bg-primary font-header text-white font-medium transition-all duration-75 disabled:opacity-50 hover:bg-black/10");
|
|
459
459
|
case "indigo":
|
|
460
|
-
return clsx__default.default("bg-indigo-500 font-header text-white font-medium transition-all duration-75 disabled:opacity-50
|
|
460
|
+
return clsx__default.default("bg-indigo-500 font-header text-white font-medium transition-all duration-75 disabled:opacity-50 hover:bg-black/10");
|
|
461
461
|
case "green":
|
|
462
|
-
return clsx__default.default("bg-green-500 font-header text-white font-medium transition-all duration-75 disabled:opacity-50
|
|
462
|
+
return clsx__default.default("bg-green-500 font-header text-white font-medium transition-all duration-75 disabled:opacity-50 hover:bg-black/10");
|
|
463
463
|
case "teal":
|
|
464
|
-
return clsx__default.default("bg-teal-500 font-header text-white font-medium transition-all duration-75 disabled:opacity-50
|
|
464
|
+
return clsx__default.default("bg-teal-500 font-header text-white font-medium transition-all duration-75 disabled:opacity-50 hover:bg-black/10");
|
|
465
465
|
case "secondary":
|
|
466
|
-
return clsx__default.default("bg-secondary text-white font-header font-medium transition-all duration-75 disabled:opacity-50
|
|
466
|
+
return clsx__default.default("bg-secondary text-white font-header font-medium transition-all duration-75 disabled:opacity-50 hover:bg-black/10");
|
|
467
467
|
case "base":
|
|
468
|
-
return clsx__default.default("bg-white border-1 font-header border-gray-200 dark:bg-slate-600 dark:text-gray-100 transition-all duration-75 disabled:opacity-50
|
|
468
|
+
return clsx__default.default("bg-white border-1 font-header border-gray-200 dark:bg-slate-600 dark:text-gray-100 transition-all duration-75 disabled:opacity-50 dark:hover:bg-slate-400 hover:bg-slate-100");
|
|
469
469
|
case "gray":
|
|
470
|
-
return clsx__default.default("bg-slate-400 dark:bg-slate-700 font-header text-white border-1 font-medium transition-opacity duration-75 disabled:opacity-50
|
|
470
|
+
return clsx__default.default("bg-slate-400 dark:bg-slate-700 font-header text-white border-1 font-medium transition-opacity duration-75 disabled:opacity-50 hover:bg-black/10");
|
|
471
471
|
case "alert":
|
|
472
|
-
return clsx__default.default("bg-amber-500 font-header text-white transition-all duration-75 disabled:opacity-50
|
|
472
|
+
return clsx__default.default("bg-amber-500 font-header text-white transition-all duration-75 disabled:opacity-50 hover:bg-black/10");
|
|
473
473
|
case "warning":
|
|
474
|
-
return clsx__default.default("bg-red-500 font-header text-white font-medium transition-opacity duration-75 disabled:opacity-50
|
|
474
|
+
return clsx__default.default("bg-red-500 font-header text-white font-medium transition-opacity duration-75 disabled:opacity-50 hover:bg-black/10");
|
|
475
475
|
}
|
|
476
476
|
}, "styled");
|
|
477
477
|
var sized = /* @__PURE__ */ __name(function() {
|
package/dist/index.mjs
CHANGED
|
@@ -447,23 +447,23 @@ var Button = /* @__PURE__ */ __name(function(param) {
|
|
|
447
447
|
var styled = /* @__PURE__ */ __name(function() {
|
|
448
448
|
switch(kind){
|
|
449
449
|
case "primary":
|
|
450
|
-
return clsx("bg-primary font-header text-white font-medium transition-all duration-75 disabled:opacity-50
|
|
450
|
+
return clsx("bg-primary font-header text-white font-medium transition-all duration-75 disabled:opacity-50 hover:bg-black/10");
|
|
451
451
|
case "indigo":
|
|
452
|
-
return clsx("bg-indigo-500 font-header text-white font-medium transition-all duration-75 disabled:opacity-50
|
|
452
|
+
return clsx("bg-indigo-500 font-header text-white font-medium transition-all duration-75 disabled:opacity-50 hover:bg-black/10");
|
|
453
453
|
case "green":
|
|
454
|
-
return clsx("bg-green-500 font-header text-white font-medium transition-all duration-75 disabled:opacity-50
|
|
454
|
+
return clsx("bg-green-500 font-header text-white font-medium transition-all duration-75 disabled:opacity-50 hover:bg-black/10");
|
|
455
455
|
case "teal":
|
|
456
|
-
return clsx("bg-teal-500 font-header text-white font-medium transition-all duration-75 disabled:opacity-50
|
|
456
|
+
return clsx("bg-teal-500 font-header text-white font-medium transition-all duration-75 disabled:opacity-50 hover:bg-black/10");
|
|
457
457
|
case "secondary":
|
|
458
|
-
return clsx("bg-secondary text-white font-header font-medium transition-all duration-75 disabled:opacity-50
|
|
458
|
+
return clsx("bg-secondary text-white font-header font-medium transition-all duration-75 disabled:opacity-50 hover:bg-black/10");
|
|
459
459
|
case "base":
|
|
460
|
-
return clsx("bg-white border-1 font-header border-gray-200 dark:bg-slate-600 dark:text-gray-100 transition-all duration-75 disabled:opacity-50
|
|
460
|
+
return clsx("bg-white border-1 font-header border-gray-200 dark:bg-slate-600 dark:text-gray-100 transition-all duration-75 disabled:opacity-50 dark:hover:bg-slate-400 hover:bg-slate-100");
|
|
461
461
|
case "gray":
|
|
462
|
-
return clsx("bg-slate-400 dark:bg-slate-700 font-header text-white border-1 font-medium transition-opacity duration-75 disabled:opacity-50
|
|
462
|
+
return clsx("bg-slate-400 dark:bg-slate-700 font-header text-white border-1 font-medium transition-opacity duration-75 disabled:opacity-50 hover:bg-black/10");
|
|
463
463
|
case "alert":
|
|
464
|
-
return clsx("bg-amber-500 font-header text-white transition-all duration-75 disabled:opacity-50
|
|
464
|
+
return clsx("bg-amber-500 font-header text-white transition-all duration-75 disabled:opacity-50 hover:bg-black/10");
|
|
465
465
|
case "warning":
|
|
466
|
-
return clsx("bg-red-500 font-header text-white font-medium transition-opacity duration-75 disabled:opacity-50
|
|
466
|
+
return clsx("bg-red-500 font-header text-white font-medium transition-opacity duration-75 disabled:opacity-50 hover:bg-black/10");
|
|
467
467
|
}
|
|
468
468
|
}, "styled");
|
|
469
469
|
var sized = /* @__PURE__ */ __name(function() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "evelearn-theme",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.35",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
"use-debounce": "^10.0.4"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"clsx": "^2.1.1"
|
|
46
|
+
"clsx": "^2.1.1",
|
|
47
|
+
"tailwindcss-corner-shape": "^1.4.5"
|
|
47
48
|
}
|
|
48
49
|
}
|