@retinalabsllc/zairusjs 13.0.0 → 13.0.20

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 CHANGED
@@ -3942,16 +3942,6 @@ var ManagedProjectsBlock = ({
3942
3942
  var import_react69 = __toESM(require("react"));
3943
3943
  var import_react70 = require("@hugeicons/react");
3944
3944
  var import_core_free_icons23 = require("@hugeicons/core-free-icons");
3945
- var Banner2 = ({ message, type = "info" }) => {
3946
- const styles = {
3947
- info: { bg: "bg-blue-50", text: "text-blue-700", icon: import_core_free_icons23.InformationCircleIcon },
3948
- warning: { bg: "bg-orange-50", text: "text-orange-700", icon: import_core_free_icons23.InformationCircleIcon },
3949
- error: { bg: "bg-red-50", text: "text-red-700", icon: import_core_free_icons23.Cancel01Icon },
3950
- success: { bg: "bg-green-50", text: "text-green-700", icon: import_core_free_icons23.NewReleasesIcon }
3951
- };
3952
- const activeStyle = styles[type];
3953
- return /* @__PURE__ */ import_react69.default.createElement("div", { className: `w-full p-4 mb-6 rounded-xl ${activeStyle.bg} flex items-start` }, /* @__PURE__ */ import_react69.default.createElement("p", { className: `text-[13px] leading-relaxed ${activeStyle.text}` }, message));
3954
- };
3955
3945
  var VerificationRow = ({
3956
3946
  icon,
3957
3947
  title,
@@ -4001,10 +3991,10 @@ var VerificationRow = ({
4001
3991
  "div",
4002
3992
  {
4003
3993
  onClick: isDisabled ? void 0 : onClick,
4004
- className: `flex items-center pl-4 pr-4 pt-1 pb-1 transition-colors ${bg} ${!isLast ? "" : ""} ${isDisabled ? "opacity-70 cursor-default" : "cursor-pointer hover:bg-neutral-50"}`
3994
+ className: `flex items-center p-4 transition-colors ${!isLast ? "" : ""} ${isDisabled ? "opacity-70 cursor-default" : "cursor-pointer hover:bg-neutral-50"}`
4005
3995
  },
4006
3996
  /* @__PURE__ */ import_react69.default.createElement("div", { className: "w-9 h-9 rounded-full border border-neutral-200 bg-white flex items-center justify-center shrink-0 mr-4" }, /* @__PURE__ */ import_react69.default.createElement(import_react70.HugeiconsIcon, { icon, size: 16, className: "text-black" })),
4007
- /* @__PURE__ */ import_react69.default.createElement("div", { className: "flex-1 min-w-0" }, /* @__PURE__ */ import_react69.default.createElement("p", { className: "text-[14px] truncate text-black" }, title), /* @__PURE__ */ import_react69.default.createElement("p", { className: `text-[12px] truncate ${statusColor} mt-0.5` }, statusText)),
3997
+ /* @__PURE__ */ import_react69.default.createElement("div", { className: "flex-1 min-w-0" }, /* @__PURE__ */ import_react69.default.createElement("p", { className: "text-[14px] truncate text-black" }, title), /* @__PURE__ */ import_react69.default.createElement("p", { className: `text-[12px] inline-flex items-center ${bg} rounded-full px-2 py-1 ${statusColor} mt-0.5` }, statusText)),
4008
3998
  /* @__PURE__ */ import_react69.default.createElement("div", { className: "shrink-0 ml-2" }, isLoading ? /* @__PURE__ */ import_react69.default.createElement(import_react70.HugeiconsIcon, { icon: import_core_free_icons23.Loading03Icon, size: 20, className: "animate-spin text-black" }) : /* @__PURE__ */ import_react69.default.createElement(import_react70.HugeiconsIcon, { icon: StatusIcon, size: 20, className: iconColor }))
4009
3999
  );
4010
4000
  };
@@ -4026,7 +4016,7 @@ var UniversalVerificationPage = ({
4026
4016
  },
4027
4017
  /* @__PURE__ */ import_react69.default.createElement(import_react70.HugeiconsIcon, { icon: import_core_free_icons23.ArrowLeft01Icon, size: 16 }),
4028
4018
  " Back"
4029
- )), bannerMessage && /* @__PURE__ */ import_react69.default.createElement(Banner2, { message: bannerMessage, type: bannerType }), /* @__PURE__ */ import_react69.default.createElement("div", { className: "w-full flex flex-col gap-4 mb-8" }, /* @__PURE__ */ import_react69.default.createElement("div", { className: "w-full bg-white rounded-2xl overflow-hidden" }, /* @__PURE__ */ import_react69.default.createElement(
4019
+ )), /* @__PURE__ */ import_react69.default.createElement("div", { className: "w-full flex flex-col gap-4 mb-8" }, /* @__PURE__ */ import_react69.default.createElement("div", { className: "w-full bg-white rounded-2xl overflow-hidden" }, /* @__PURE__ */ import_react69.default.createElement(
4030
4020
  VerificationRow,
4031
4021
  {
4032
4022
  icon: import_core_free_icons23.Mail01Icon,
package/dist/index.mjs CHANGED
@@ -3951,16 +3951,6 @@ import {
3951
3951
  InformationCircleIcon as InformationCircleIcon2,
3952
3952
  Loading03Icon as Loading03Icon16
3953
3953
  } from "@hugeicons/core-free-icons";
3954
- var Banner2 = ({ message, type = "info" }) => {
3955
- const styles = {
3956
- info: { bg: "bg-blue-50", text: "text-blue-700", icon: InformationCircleIcon2 },
3957
- warning: { bg: "bg-orange-50", text: "text-orange-700", icon: InformationCircleIcon2 },
3958
- error: { bg: "bg-red-50", text: "text-red-700", icon: Cancel01Icon2 },
3959
- success: { bg: "bg-green-50", text: "text-green-700", icon: NewReleasesIcon }
3960
- };
3961
- const activeStyle = styles[type];
3962
- return /* @__PURE__ */ React42.createElement("div", { className: `w-full p-4 mb-6 rounded-xl ${activeStyle.bg} flex items-start` }, /* @__PURE__ */ React42.createElement("p", { className: `text-[13px] leading-relaxed ${activeStyle.text}` }, message));
3963
- };
3964
3954
  var VerificationRow = ({
3965
3955
  icon,
3966
3956
  title,
@@ -4010,10 +4000,10 @@ var VerificationRow = ({
4010
4000
  "div",
4011
4001
  {
4012
4002
  onClick: isDisabled ? void 0 : onClick,
4013
- className: `flex items-center pl-4 pr-4 pt-1 pb-1 transition-colors ${bg} ${!isLast ? "" : ""} ${isDisabled ? "opacity-70 cursor-default" : "cursor-pointer hover:bg-neutral-50"}`
4003
+ className: `flex items-center p-4 transition-colors ${!isLast ? "" : ""} ${isDisabled ? "opacity-70 cursor-default" : "cursor-pointer hover:bg-neutral-50"}`
4014
4004
  },
4015
4005
  /* @__PURE__ */ React42.createElement("div", { className: "w-9 h-9 rounded-full border border-neutral-200 bg-white flex items-center justify-center shrink-0 mr-4" }, /* @__PURE__ */ React42.createElement(HugeiconsIcon28, { icon, size: 16, className: "text-black" })),
4016
- /* @__PURE__ */ React42.createElement("div", { className: "flex-1 min-w-0" }, /* @__PURE__ */ React42.createElement("p", { className: "text-[14px] truncate text-black" }, title), /* @__PURE__ */ React42.createElement("p", { className: `text-[12px] truncate ${statusColor} mt-0.5` }, statusText)),
4006
+ /* @__PURE__ */ React42.createElement("div", { className: "flex-1 min-w-0" }, /* @__PURE__ */ React42.createElement("p", { className: "text-[14px] truncate text-black" }, title), /* @__PURE__ */ React42.createElement("p", { className: `text-[12px] inline-flex items-center ${bg} rounded-full px-2 py-1 ${statusColor} mt-0.5` }, statusText)),
4017
4007
  /* @__PURE__ */ React42.createElement("div", { className: "shrink-0 ml-2" }, isLoading ? /* @__PURE__ */ React42.createElement(HugeiconsIcon28, { icon: Loading03Icon16, size: 20, className: "animate-spin text-black" }) : /* @__PURE__ */ React42.createElement(HugeiconsIcon28, { icon: StatusIcon, size: 20, className: iconColor }))
4018
4008
  );
4019
4009
  };
@@ -4035,7 +4025,7 @@ var UniversalVerificationPage = ({
4035
4025
  },
4036
4026
  /* @__PURE__ */ React42.createElement(HugeiconsIcon28, { icon: ArrowLeft01Icon8, size: 16 }),
4037
4027
  " Back"
4038
- )), bannerMessage && /* @__PURE__ */ React42.createElement(Banner2, { message: bannerMessage, type: bannerType }), /* @__PURE__ */ React42.createElement("div", { className: "w-full flex flex-col gap-4 mb-8" }, /* @__PURE__ */ React42.createElement("div", { className: "w-full bg-white rounded-2xl overflow-hidden" }, /* @__PURE__ */ React42.createElement(
4028
+ )), /* @__PURE__ */ React42.createElement("div", { className: "w-full flex flex-col gap-4 mb-8" }, /* @__PURE__ */ React42.createElement("div", { className: "w-full bg-white rounded-2xl overflow-hidden" }, /* @__PURE__ */ React42.createElement(
4039
4029
  VerificationRow,
4040
4030
  {
4041
4031
  icon: Mail01Icon,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@retinalabsllc/zairusjs",
3
- "version": "13.0.0",
3
+ "version": "13.0.20",
4
4
  "description": "A perceptive, Ai data driven Next.js UI component library.",
5
5
  "author": "Retina Labs Company",
6
6
  "license": "MIT",