evelearn-theme 2.0.40 → 2.0.42

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.d.mts CHANGED
@@ -134,7 +134,7 @@ declare const Button: ({ disabled, loading, onClick, kind, size, type, children
134
134
 
135
135
  interface Props$a {
136
136
  disabled?: boolean;
137
- color?: 'primary' | 'red' | 'green' | 'purple' | 'teal' | 'yellow' | 'cyan';
137
+ color?: 'primary' | 'red' | 'green' | 'purple' | 'teal' | 'yellow' | 'cyan' | 'slate';
138
138
  type?: 'button' | 'submit';
139
139
  active?: boolean;
140
140
  children: React$1.ReactNode;
package/dist/index.d.ts CHANGED
@@ -134,7 +134,7 @@ declare const Button: ({ disabled, loading, onClick, kind, size, type, children
134
134
 
135
135
  interface Props$a {
136
136
  disabled?: boolean;
137
- color?: 'primary' | 'red' | 'green' | 'purple' | 'teal' | 'yellow' | 'cyan';
137
+ color?: 'primary' | 'red' | 'green' | 'purple' | 'teal' | 'yellow' | 'cyan' | 'slate';
138
138
  type?: 'button' | 'submit';
139
139
  active?: boolean;
140
140
  children: React$1.ReactNode;
package/dist/index.js CHANGED
@@ -488,7 +488,7 @@ var Button = /* @__PURE__ */ __name(function(param) {
488
488
  var styled = /* @__PURE__ */ __name(function() {
489
489
  switch(kind){
490
490
  case "primary":
491
- return tw("bg-primary hover:bg-primary/95 shadow-xs hover:shadow-none dark:shadow-none dark:hover:bg-primary/90 font-header text-white font-medium transition-all duration-75 disabled:opacity-50 hover:bg-black/10");
491
+ return tw("bg-primary hover:bg-primary/95 shadow-md dark:shadow-m hover:shadow-none dark:hover:shadow-none dark:hover:bg-primary/90 font-header text-white font-medium transition-all duration-75 disabled:opacity-50 hover:bg-black/10");
492
492
  case "indigo":
493
493
  return tw("bg-indigo-500 font-header text-white font-medium transition-all duration-75 disabled:opacity-50 hover:bg-black/10");
494
494
  case "green":
@@ -576,6 +576,11 @@ var FunButton = /* @__PURE__ */ __name(function(param) {
576
576
  bottom: "#eab308",
577
577
  front: "#ca8a04"
578
578
  };
579
+ case "slate":
580
+ return {
581
+ bottom: "#94a3b8",
582
+ front: "#64748b"
583
+ };
579
584
  default:
580
585
  return {
581
586
  bottom: "#00b4d8",
@@ -1346,7 +1351,7 @@ var Formik = /* @__PURE__ */ __name(function(param) {
1346
1351
  className: "w-4 h-4 bg-white rounded-full absolute top-1",
1347
1352
  initial: false,
1348
1353
  animate: {
1349
- x: value ? 16 : 0
1354
+ x: value ? 18 : 4
1350
1355
  },
1351
1356
  transition: {
1352
1357
  type: "spring",
package/dist/index.mjs CHANGED
@@ -479,7 +479,7 @@ var Button = /* @__PURE__ */ __name(function(param) {
479
479
  var styled = /* @__PURE__ */ __name(function() {
480
480
  switch(kind){
481
481
  case "primary":
482
- return tw("bg-primary hover:bg-primary/95 shadow-xs hover:shadow-none dark:shadow-none dark:hover:bg-primary/90 font-header text-white font-medium transition-all duration-75 disabled:opacity-50 hover:bg-black/10");
482
+ return tw("bg-primary hover:bg-primary/95 shadow-md dark:shadow-m hover:shadow-none dark:hover:shadow-none dark:hover:bg-primary/90 font-header text-white font-medium transition-all duration-75 disabled:opacity-50 hover:bg-black/10");
483
483
  case "indigo":
484
484
  return tw("bg-indigo-500 font-header text-white font-medium transition-all duration-75 disabled:opacity-50 hover:bg-black/10");
485
485
  case "green":
@@ -567,6 +567,11 @@ var FunButton = /* @__PURE__ */ __name(function(param) {
567
567
  bottom: "#eab308",
568
568
  front: "#ca8a04"
569
569
  };
570
+ case "slate":
571
+ return {
572
+ bottom: "#94a3b8",
573
+ front: "#64748b"
574
+ };
570
575
  default:
571
576
  return {
572
577
  bottom: "#00b4d8",
@@ -1337,7 +1342,7 @@ var Formik = /* @__PURE__ */ __name(function(param) {
1337
1342
  className: "w-4 h-4 bg-white rounded-full absolute top-1",
1338
1343
  initial: false,
1339
1344
  animate: {
1340
- x: value ? 16 : 0
1345
+ x: value ? 18 : 4
1341
1346
  },
1342
1347
  transition: {
1343
1348
  type: "spring",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evelearn-theme",
3
- "version": "2.0.40",
3
+ "version": "2.0.42",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",