@abdellatifui/react 3.2.33 → 3.2.34

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.
Files changed (2) hide show
  1. package/dist/nextgen.js +5 -3
  2. package/package.json +1 -1
package/dist/nextgen.js CHANGED
@@ -20429,12 +20429,14 @@ const Us = Ce(
20429
20429
  h.state && M(h.state, h.message);
20430
20430
  }, [h]);
20431
20431
  function M(ee, W) {
20432
- if (!["invalid", "valid"].includes(ee))
20432
+ if (!["invalid", "valid", "info"].includes(ee))
20433
20433
  throw new Error("Invalid status, must be invalid or valid.");
20434
20434
  if (ee === "invalid")
20435
20435
  E(/* @__PURE__ */ c.jsx("p", { className: "font-aptos text-destructive", children: W })), A && clearTimeout(A);
20436
- else if (ee === "valid") {
20437
- E(/* @__PURE__ */ c.jsx("p", { className: "font-aptos text-green-600", children: W })), A && clearTimeout(A);
20436
+ else if (ee === "valid" || ee === "info") {
20437
+ E(
20438
+ ee == "valid" ? /* @__PURE__ */ c.jsx("p", { className: "font-aptos text-green-600", children: W }) : /* @__PURE__ */ c.jsx("p", { className: "font-aptos text-blue-600", children: W })
20439
+ ), A && clearTimeout(A);
20438
20440
  const H = setTimeout(() => {
20439
20441
  E(r);
20440
20442
  }, 15e3);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@abdellatifui/react",
3
3
  "private": false,
4
- "version": "3.2.33",
4
+ "version": "3.2.34",
5
5
  "type": "module",
6
6
  "types": "dist/nextgen.d.ts",
7
7
  "files": [