evelearn-theme 2.0.43 → 2.0.44
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 +11 -11
- package/dist/index.mjs +11 -11
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -423,13 +423,13 @@ var Pagination = /* @__PURE__ */ __name(function(param) {
|
|
|
423
423
|
breakLabel: "...",
|
|
424
424
|
containerClassName: "w-full flex space-x-2 items-center",
|
|
425
425
|
pageClassName: "bg-slate-50 dark:bg-slate-800 dark:hover:bg-slate-700 hover:bg-white rounded-md",
|
|
426
|
-
activeLinkClassName: "bg-sky-500 rounded-md text-white dark:text-inherit",
|
|
427
|
-
pageLinkClassName: "h-9 w-9 flex justify-center items-center",
|
|
428
|
-
previousClassName: "text-gray-700 dark:text-gray-200",
|
|
429
|
-
previousLinkClassName: "p-2",
|
|
430
|
-
nextClassName: "text-gray-700 dark:text-gray-200",
|
|
426
|
+
activeLinkClassName: "bg-sky-500 rounded-md text-white dark:text-inherit cursor-pointer",
|
|
427
|
+
pageLinkClassName: "h-9 w-9 flex justify-center items-center cursor-pointer",
|
|
428
|
+
previousClassName: "text-gray-700 dark:text-gray-200 cursor-pointer",
|
|
429
|
+
previousLinkClassName: "p-2 cursor:pointer hover:opacity-90",
|
|
430
|
+
nextClassName: "text-gray-700 dark:text-gray-200 cursor-pointer",
|
|
431
431
|
nextLinkClassName: "p-2",
|
|
432
|
-
disabledClassName: "text-gray-200 dark:text-gray-400 rounded-xl",
|
|
432
|
+
disabledClassName: "text-gray-200 dark:text-gray-400 rounded-xl cursor-not-allowed",
|
|
433
433
|
disabledLinkClassName: "p-2",
|
|
434
434
|
onPageChange: handlePageClick,
|
|
435
435
|
pageRangeDisplayed: pageRangeDisplayed,
|
|
@@ -1340,21 +1340,21 @@ var Formik = /* @__PURE__ */ __name(function(param) {
|
|
|
1340
1340
|
className: "flex items-center space-x-2 cursor-pointer",
|
|
1341
1341
|
children: [
|
|
1342
1342
|
/* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
1343
|
-
className: "relative",
|
|
1343
|
+
className: "relative w-10 h-6",
|
|
1344
1344
|
children: [
|
|
1345
1345
|
/* @__PURE__ */ jsxRuntime.jsx("input", {
|
|
1346
1346
|
type: "checkbox",
|
|
1347
|
-
className: "opacity-0 absolute",
|
|
1347
|
+
className: "opacity-0 absolute w-full h-full",
|
|
1348
1348
|
checked: value,
|
|
1349
1349
|
onChange: handleChange
|
|
1350
1350
|
}),
|
|
1351
1351
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1352
|
-
className: tw("w-10 h-6 rounded-full
|
|
1352
|
+
className: tw("w-10 h-6 rounded-full transition-colors duration-300", value ? "bg-primary" : "dark:bg-slate-950 bg-stone-400"),
|
|
1353
1353
|
children: /* @__PURE__ */ jsxRuntime.jsx(framerMotion.motion.div, {
|
|
1354
|
-
className: "w-
|
|
1354
|
+
className: "w-6 h-6 bg-white rounded-full absolute top-0 left-0 shadow",
|
|
1355
1355
|
initial: false,
|
|
1356
1356
|
animate: {
|
|
1357
|
-
x: value ?
|
|
1357
|
+
x: value ? 16 : 0
|
|
1358
1358
|
},
|
|
1359
1359
|
transition: {
|
|
1360
1360
|
type: "spring",
|
package/dist/index.mjs
CHANGED
|
@@ -414,13 +414,13 @@ var Pagination = /* @__PURE__ */ __name(function(param) {
|
|
|
414
414
|
breakLabel: "...",
|
|
415
415
|
containerClassName: "w-full flex space-x-2 items-center",
|
|
416
416
|
pageClassName: "bg-slate-50 dark:bg-slate-800 dark:hover:bg-slate-700 hover:bg-white rounded-md",
|
|
417
|
-
activeLinkClassName: "bg-sky-500 rounded-md text-white dark:text-inherit",
|
|
418
|
-
pageLinkClassName: "h-9 w-9 flex justify-center items-center",
|
|
419
|
-
previousClassName: "text-gray-700 dark:text-gray-200",
|
|
420
|
-
previousLinkClassName: "p-2",
|
|
421
|
-
nextClassName: "text-gray-700 dark:text-gray-200",
|
|
417
|
+
activeLinkClassName: "bg-sky-500 rounded-md text-white dark:text-inherit cursor-pointer",
|
|
418
|
+
pageLinkClassName: "h-9 w-9 flex justify-center items-center cursor-pointer",
|
|
419
|
+
previousClassName: "text-gray-700 dark:text-gray-200 cursor-pointer",
|
|
420
|
+
previousLinkClassName: "p-2 cursor:pointer hover:opacity-90",
|
|
421
|
+
nextClassName: "text-gray-700 dark:text-gray-200 cursor-pointer",
|
|
422
422
|
nextLinkClassName: "p-2",
|
|
423
|
-
disabledClassName: "text-gray-200 dark:text-gray-400 rounded-xl",
|
|
423
|
+
disabledClassName: "text-gray-200 dark:text-gray-400 rounded-xl cursor-not-allowed",
|
|
424
424
|
disabledLinkClassName: "p-2",
|
|
425
425
|
onPageChange: handlePageClick,
|
|
426
426
|
pageRangeDisplayed: pageRangeDisplayed,
|
|
@@ -1331,21 +1331,21 @@ var Formik = /* @__PURE__ */ __name(function(param) {
|
|
|
1331
1331
|
className: "flex items-center space-x-2 cursor-pointer",
|
|
1332
1332
|
children: [
|
|
1333
1333
|
/* @__PURE__ */ jsxs("div", {
|
|
1334
|
-
className: "relative",
|
|
1334
|
+
className: "relative w-10 h-6",
|
|
1335
1335
|
children: [
|
|
1336
1336
|
/* @__PURE__ */ jsx("input", {
|
|
1337
1337
|
type: "checkbox",
|
|
1338
|
-
className: "opacity-0 absolute",
|
|
1338
|
+
className: "opacity-0 absolute w-full h-full",
|
|
1339
1339
|
checked: value,
|
|
1340
1340
|
onChange: handleChange
|
|
1341
1341
|
}),
|
|
1342
1342
|
/* @__PURE__ */ jsx("div", {
|
|
1343
|
-
className: tw("w-10 h-6 rounded-full
|
|
1343
|
+
className: tw("w-10 h-6 rounded-full transition-colors duration-300", value ? "bg-primary" : "dark:bg-slate-950 bg-stone-400"),
|
|
1344
1344
|
children: /* @__PURE__ */ jsx(motion.div, {
|
|
1345
|
-
className: "w-
|
|
1345
|
+
className: "w-6 h-6 bg-white rounded-full absolute top-0 left-0 shadow",
|
|
1346
1346
|
initial: false,
|
|
1347
1347
|
animate: {
|
|
1348
|
-
x: value ?
|
|
1348
|
+
x: value ? 16 : 0
|
|
1349
1349
|
},
|
|
1350
1350
|
transition: {
|
|
1351
1351
|
type: "spring",
|