@retinalabsllc/zairusjs 20.1.0 → 20.1.1

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
@@ -3701,7 +3701,7 @@ var PortfolioHero = ({
3701
3701
  ref: heroContentRef,
3702
3702
  className: "w-full opacity-0 translate-y-5 transition-all duration-1000 ease-out relative z-10"
3703
3703
  },
3704
- /* @__PURE__ */ import_react62.default.createElement("div", { className: "flex flex-col sm:flex-row sm:items-center gap-5 sm:gap-8 mb-10" }, /* @__PURE__ */ import_react62.default.createElement("div", { className: "relative w-20 h-20 sm:w-32 sm:h-32 rounded-full overflow-hidden border border-stone-200 shrink-0 shadow-sm" }, /* @__PURE__ */ import_react62.default.createElement(
3704
+ /* @__PURE__ */ import_react62.default.createElement("div", { className: "flex flex-col sm:flex-row sm:items-center gap-5 sm:gap-8 mb-10" }, /* @__PURE__ */ import_react62.default.createElement("div", { className: "relative w-22 h-22 rounded-full overflow-hidden border border-stone-200 shrink-0" }, /* @__PURE__ */ import_react62.default.createElement(
3705
3705
  import_image7.default,
3706
3706
  {
3707
3707
  src: imageSrc,
@@ -3712,7 +3712,7 @@ var PortfolioHero = ({
3712
3712
  sizes: "(max-width: 640px) 80px, 128px",
3713
3713
  quality: 100
3714
3714
  }
3715
- )), /* @__PURE__ */ import_react62.default.createElement("div", { className: "flex flex-col text-left" }, /* @__PURE__ */ import_react62.default.createElement("h1", { className: " text-3xl sm:text-5xl lg:text-6xl tracking-tight text-black leading-none mb-3" }, name), socialLabel && /* @__PURE__ */ import_react62.default.createElement("span", { className: "text-xs tracking-[0.2em] text-stone-500 " }, socialLabel), socialLinkText && socialLinkHref && /* @__PURE__ */ import_react62.default.createElement(
3715
+ )), /* @__PURE__ */ import_react62.default.createElement("div", { className: "flex flex-col text-left" }, /* @__PURE__ */ import_react62.default.createElement("h1", { className: " text-3xl tracking-tight text-black leading-none mb-3" }, name), socialLabel && /* @__PURE__ */ import_react62.default.createElement("span", { className: "text-xs tracking-[0.2em] text-stone-500 " }, socialLabel), socialLinkText && socialLinkHref && /* @__PURE__ */ import_react62.default.createElement(
3716
3716
  "a",
3717
3717
  {
3718
3718
  href: socialLinkHref,
@@ -3734,7 +3734,7 @@ var PortfolioHero = ({
3734
3734
  import_link8.default,
3735
3735
  {
3736
3736
  href: secondaryCtaHref,
3737
- className: "w-full sm:w-auto inline-flex items-center justify-center gap-3 text-xs tracking-[0.2em] rounded-full px-8 py-3.5 bg-stone-200 transition-colors text-black hover:bg-stone-50 outline-none"
3737
+ className: "w-full sm:w-auto inline-flex items-center justify-center gap-3 text-xs tracking-[0.2em] rounded-full px-8 py-2 bg-stone-200 transition-colors text-black hover:bg-stone-50 outline-none"
3738
3738
  },
3739
3739
  secondaryCtaText,
3740
3740
  /* @__PURE__ */ import_react62.default.createElement(import_react63.HugeiconsIcon, { icon: import_core_free_icons21.ArrowRight01Icon, size: 16 })
@@ -5463,7 +5463,7 @@ var UniversalSettings = ({
5463
5463
  if (typeof window !== "undefined") window.history.back();
5464
5464
  });
5465
5465
  const isOrg = accountType === "ORGANIZATION";
5466
- const canManage = userRole === "ADMIN" || userRole === "MANAGER";
5466
+ const canManage = userRole === "ADMIN" || userRole === "MANAGER" || userRole === "OWNER";
5467
5467
  const [activeTab, setActiveTab] = (0, import_react90.useState)(isOrg ? "MEMBERS" : "ACCOUNT");
5468
5468
  const [expandedId, setExpandedId] = (0, import_react90.useState)(null);
5469
5469
  const [memberToRemove, setMemberToRemove] = (0, import_react90.useState)(null);
@@ -5693,7 +5693,7 @@ var UniversalCreateHuddle = ({
5693
5693
  onMembersSearchChange,
5694
5694
  onCreateSubmit
5695
5695
  }) => {
5696
- const canManage = userRole === "ADMIN" || userRole === "MANAGER";
5696
+ const canManage = userRole === "ADMIN" || userRole === "MANAGER" || userRole === "OWNER";
5697
5697
  const [huddleDate, setHuddleDate] = (0, import_react92.useState)(() => {
5698
5698
  const d = /* @__PURE__ */ new Date();
5699
5699
  d.setHours(d.getHours() + 1, 0, 0, 0);
package/dist/index.mjs CHANGED
@@ -3701,7 +3701,7 @@ var PortfolioHero = ({
3701
3701
  ref: heroContentRef,
3702
3702
  className: "w-full opacity-0 translate-y-5 transition-all duration-1000 ease-out relative z-10"
3703
3703
  },
3704
- /* @__PURE__ */ React37.createElement("div", { className: "flex flex-col sm:flex-row sm:items-center gap-5 sm:gap-8 mb-10" }, /* @__PURE__ */ React37.createElement("div", { className: "relative w-20 h-20 sm:w-32 sm:h-32 rounded-full overflow-hidden border border-stone-200 shrink-0 shadow-sm" }, /* @__PURE__ */ React37.createElement(
3704
+ /* @__PURE__ */ React37.createElement("div", { className: "flex flex-col sm:flex-row sm:items-center gap-5 sm:gap-8 mb-10" }, /* @__PURE__ */ React37.createElement("div", { className: "relative w-22 h-22 rounded-full overflow-hidden border border-stone-200 shrink-0" }, /* @__PURE__ */ React37.createElement(
3705
3705
  Image8,
3706
3706
  {
3707
3707
  src: imageSrc,
@@ -3712,7 +3712,7 @@ var PortfolioHero = ({
3712
3712
  sizes: "(max-width: 640px) 80px, 128px",
3713
3713
  quality: 100
3714
3714
  }
3715
- )), /* @__PURE__ */ React37.createElement("div", { className: "flex flex-col text-left" }, /* @__PURE__ */ React37.createElement("h1", { className: " text-3xl sm:text-5xl lg:text-6xl tracking-tight text-black leading-none mb-3" }, name), socialLabel && /* @__PURE__ */ React37.createElement("span", { className: "text-xs tracking-[0.2em] text-stone-500 " }, socialLabel), socialLinkText && socialLinkHref && /* @__PURE__ */ React37.createElement(
3715
+ )), /* @__PURE__ */ React37.createElement("div", { className: "flex flex-col text-left" }, /* @__PURE__ */ React37.createElement("h1", { className: " text-3xl tracking-tight text-black leading-none mb-3" }, name), socialLabel && /* @__PURE__ */ React37.createElement("span", { className: "text-xs tracking-[0.2em] text-stone-500 " }, socialLabel), socialLinkText && socialLinkHref && /* @__PURE__ */ React37.createElement(
3716
3716
  "a",
3717
3717
  {
3718
3718
  href: socialLinkHref,
@@ -3734,7 +3734,7 @@ var PortfolioHero = ({
3734
3734
  Link8,
3735
3735
  {
3736
3736
  href: secondaryCtaHref,
3737
- className: "w-full sm:w-auto inline-flex items-center justify-center gap-3 text-xs tracking-[0.2em] rounded-full px-8 py-3.5 bg-stone-200 transition-colors text-black hover:bg-stone-50 outline-none"
3737
+ className: "w-full sm:w-auto inline-flex items-center justify-center gap-3 text-xs tracking-[0.2em] rounded-full px-8 py-2 bg-stone-200 transition-colors text-black hover:bg-stone-50 outline-none"
3738
3738
  },
3739
3739
  secondaryCtaText,
3740
3740
  /* @__PURE__ */ React37.createElement(HugeiconsIcon26, { icon: ArrowRight01Icon9, size: 16 })
@@ -5519,7 +5519,7 @@ var UniversalSettings = ({
5519
5519
  if (typeof window !== "undefined") window.history.back();
5520
5520
  });
5521
5521
  const isOrg = accountType === "ORGANIZATION";
5522
- const canManage = userRole === "ADMIN" || userRole === "MANAGER";
5522
+ const canManage = userRole === "ADMIN" || userRole === "MANAGER" || userRole === "OWNER";
5523
5523
  const [activeTab, setActiveTab] = useState38(isOrg ? "MEMBERS" : "ACCOUNT");
5524
5524
  const [expandedId, setExpandedId] = useState38(null);
5525
5525
  const [memberToRemove, setMemberToRemove] = useState38(null);
@@ -5759,7 +5759,7 @@ var UniversalCreateHuddle = ({
5759
5759
  onMembersSearchChange,
5760
5760
  onCreateSubmit
5761
5761
  }) => {
5762
- const canManage = userRole === "ADMIN" || userRole === "MANAGER";
5762
+ const canManage = userRole === "ADMIN" || userRole === "MANAGER" || userRole === "OWNER";
5763
5763
  const [huddleDate, setHuddleDate] = useState39(() => {
5764
5764
  const d = /* @__PURE__ */ new Date();
5765
5765
  d.setHours(d.getHours() + 1, 0, 0, 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@retinalabsllc/zairusjs",
3
- "version": "20.1.0",
3
+ "version": "20.1.1",
4
4
  "description": "A perceptive, Ai data driven Next.js UI component library.",
5
5
  "author": "Retina Labs Company",
6
6
  "license": "MIT",