anarock-widgets 1.0.205 → 1.0.206

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.es.js CHANGED
@@ -40540,7 +40540,7 @@ function vfe({ isStatic: e, data: t, communities: n }) {
40540
40540
  options: t?.communities
40541
40541
  }
40542
40542
  ),
40543
- children: /* @__PURE__ */ v.jsx("div", { className: "w-full h-[235px]", children: /* @__PURE__ */ v.jsx(zt, { width: "100%", height: "100%", children: /* @__PURE__ */ v.jsxs(
40543
+ children: /* @__PURE__ */ v.jsx("div", { className: "w-full h-[260px]", children: /* @__PURE__ */ v.jsx(zt, { width: "100%", height: "100%", children: /* @__PURE__ */ v.jsxs(
40544
40544
  ga,
40545
40545
  {
40546
40546
  data: i,
@@ -52250,7 +52250,7 @@ const Pk = ({ value: e = 0, total: t = 1, colorClass: n = "", label: r = "" }) =
52250
52250
  AdminsCount: r = 910
52251
52251
  }) => {
52252
52252
  const i = e?.total_occupants !== void 0 && e?.total_occupants !== null ? Number(e?.total_occupants) || 0 : Number(t) || 0, o = e?.total_members !== void 0 && e?.total_members !== null ? Number(e?.total_members) || 0 : Number(n) || 0, a = e?.total_admins !== void 0 && e?.total_admins !== null ? Number(e?.total_admins) || 0 : Number(r) || 0, s = (o || 0) + (a || 0);
52253
- return /* @__PURE__ */ v.jsx("div", { children: /* @__PURE__ */ v.jsxs("div", { className: "bg-white !border-[0.5px] !border-[#EBEBEB] rounded-xl shadow-[0_0_12px_0_#EAF2FF] p-4 h-[128px]", children: [
52253
+ return /* @__PURE__ */ v.jsx("div", { children: /* @__PURE__ */ v.jsxs("div", { className: "bg-white !border-[0.5px] !border-[#EBEBEB] rounded-xl shadow-[0_0_12px_0_#EAF2FF] p-[16px] h-[128px]", children: [
52254
52254
  /* @__PURE__ */ v.jsxs(
52255
52255
  "div",
52256
52256
  {
@@ -52374,20 +52374,20 @@ function Jfe() {
52374
52374
  icon: /* @__PURE__ */ v.jsx(nde, { className: "!text-[24px] text-[#FA7E28]" }),
52375
52375
  children: /* @__PURE__ */ v.jsxs("div", { className: "flex flex-col h-full", children: [
52376
52376
  /* @__PURE__ */ v.jsxs("div", { className: "grid grid-cols-2 gap-6 mb-6", children: [
52377
- /* @__PURE__ */ v.jsxs("div", { children: [
52377
+ /* @__PURE__ */ v.jsxs("div", { className: "flex flex-col gap-[8px]!", children: [
52378
52378
  /* @__PURE__ */ v.jsx("div", { className: "text-[12px] leading-[16px] text-[#64748B]", children: "Total Orders" }),
52379
- /* @__PURE__ */ v.jsx("div", { className: "mt-[4px] text-[28px] leading-[32px] font-medium text-[#8B5CF6]", children: 247 })
52379
+ /* @__PURE__ */ v.jsx("div", { className: "text-[28px] leading-[32px] font-medium text-[#8B5CF6]", children: 247 })
52380
52380
  ] }),
52381
- /* @__PURE__ */ v.jsxs("div", { children: [
52381
+ /* @__PURE__ */ v.jsxs("div", { className: "flex flex-col gap-[8px]!", children: [
52382
52382
  /* @__PURE__ */ v.jsx("div", { className: "text-[12px] leading-[16px] text-[#64748B]", children: "Revenue Generated" }),
52383
- /* @__PURE__ */ v.jsxs("div", { className: "mt-[4px] text-[28px] leading-[32px] font-medium text-[#329DFF]", children: [
52383
+ /* @__PURE__ */ v.jsxs("div", { className: "text-[28px] leading-[32px] font-medium text-[#329DFF]", children: [
52384
52384
  "₹ ",
52385
52385
  "82K"
52386
52386
  ] }),
52387
52387
  /* @__PURE__ */ v.jsxs(
52388
52388
  "div",
52389
52389
  {
52390
- className: "inline-flex items-center gap-1 mt-2 text-[10px] leading-[14px] px-2 py-1 rounded-full text-[#1FA05B] bg-green-50",
52390
+ className: "inline-flex items-center gap-1 text-[10px] leading-[14px] px-2 py-1 rounded-full text-[#1FA05B] bg-green-50",
52391
52391
  children: [
52392
52392
  /* @__PURE__ */ v.jsx(il, {}),
52393
52393
  8,
@@ -52510,14 +52510,14 @@ function epe({ data: e }) {
52510
52510
  children: /* @__PURE__ */ v.jsxs("div", { className: "flex flex-col h-full", children: [
52511
52511
  /* @__PURE__ */ v.jsxs("div", { className: "grid grid-cols-2 gap-6 mb-6", children: [
52512
52512
  /* @__PURE__ */ v.jsxs("div", { children: [
52513
- /* @__PURE__ */ v.jsxs("div", { className: "flex flex-col gap-[4px]!", children: [
52513
+ /* @__PURE__ */ v.jsxs("div", { className: "flex flex-col gap-[8px]!", children: [
52514
52514
  /* @__PURE__ */ v.jsx("div", { className: "text-[12px] leading-[16px] text-[#64748B]", children: "Total Bookings" }),
52515
52515
  /* @__PURE__ */ v.jsx("div", { className: "text-[28px] leading-[32px] font-medium text-[#8B5CF6]", children: a })
52516
52516
  ] }),
52517
52517
  /* @__PURE__ */ v.jsxs(
52518
52518
  "div",
52519
52519
  {
52520
- className: `inline-flex items-center gap-1 mt-2 text-[10px] leading-[14px] px-2 py-1 rounded-full ${l >= 0 ? "text-[#1FA05B] bg-green-50" : "text-red-600 bg-red-50"}`,
52520
+ className: `inline-flex items-center gap-1 text-[10px] leading-[14px] px-2 py-1 rounded-full ${l >= 0 ? "text-[#1FA05B] bg-green-50" : "text-red-600 bg-red-50"}`,
52521
52521
  children: [
52522
52522
  l >= 0 ? /* @__PURE__ */ v.jsx(il, {}) : /* @__PURE__ */ v.jsx(Uc, {}),
52523
52523
  l,
@@ -52527,7 +52527,7 @@ function epe({ data: e }) {
52527
52527
  }
52528
52528
  )
52529
52529
  ] }),
52530
- !o && /* @__PURE__ */ v.jsxs("div", { className: "flex flex-col gap-[4px]!", children: [
52530
+ !o && /* @__PURE__ */ v.jsxs("div", { className: "flex flex-col gap-[8px]!", children: [
52531
52531
  /* @__PURE__ */ v.jsx("div", { className: "text-[12px] leading-[16px] text-[#64748B]", children: "Revenue Generated" }),
52532
52532
  /* @__PURE__ */ v.jsxs("div", { className: "text-[28px] leading-[32px] font-medium text-[#329DFF]", children: [
52533
52533
  n?.currencyType || "₹",
@@ -52537,7 +52537,7 @@ function epe({ data: e }) {
52537
52537
  f !== null && /* @__PURE__ */ v.jsxs(
52538
52538
  "div",
52539
52539
  {
52540
- className: `inline-flex items-center gap-1 mt-2 text-[10px] leading-[14px] px-2 py-1 rounded-full ${p ? "text-[#1FA05B] bg-green-50" : "text-red-600 bg-red-50"}`,
52540
+ className: `inline-flex items-center gap-1 text-[10px] leading-[14px] px-2 py-1 rounded-full ${p ? "text-[#1FA05B] bg-green-50" : "text-red-600 bg-red-50"}`,
52541
52541
  children: [
52542
52542
  p ? /* @__PURE__ */ v.jsx(il, {}) : /* @__PURE__ */ v.jsx(Uc, {}),
52543
52543
  f,