@mesh.ai/rabbit 0.0.67 → 1.0.0
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/@mesh.ai/rabbit.es.js +29 -19
- package/dist/@mesh.ai/rabbit.umd.js +2 -2
- package/dist/index.d.ts +2 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -6965,7 +6965,7 @@ const t0 = X(({ className: e, ...t }, n) => /* @__PURE__ */ $(
|
|
|
6965
6965
|
{
|
|
6966
6966
|
ref: n,
|
|
6967
6967
|
className: $e(
|
|
6968
|
-
"rabbit-ds z-[1510] relative min-w-[8rem] max-w-xs p-1 bg-white rounded-lg shadow flex flex-col justify-start items-start gap-1 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
6968
|
+
"rabbit-ds z-[1510] relative min-w-[8rem] max-w-xs p-1 bg-white rounded-lg !shadow flex flex-col justify-start items-start gap-1 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
6969
6969
|
e
|
|
6970
6970
|
),
|
|
6971
6971
|
...t
|
|
@@ -6978,7 +6978,7 @@ const Bl = X(({ className: e, sideOffset: t = 4, ...n }, r) => /* @__PURE__ */ $
|
|
|
6978
6978
|
ref: r,
|
|
6979
6979
|
sideOffset: t,
|
|
6980
6980
|
className: $e(
|
|
6981
|
-
"z-[1500] relative min-w-[8rem] max-w-xs p-1 bg-white rounded-lg shadow flex flex-col justify-start items-start gap-1 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
6981
|
+
"z-[1500] relative min-w-[8rem] max-w-xs p-1 bg-white rounded-lg !shadow flex flex-col justify-start items-start gap-1 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
6982
6982
|
e
|
|
6983
6983
|
),
|
|
6984
6984
|
...n
|
|
@@ -10045,14 +10045,15 @@ function z0({
|
|
|
10045
10045
|
showTime: r = !1,
|
|
10046
10046
|
dateFormat: o = "MMM dd, yyyy",
|
|
10047
10047
|
timeFormat: i = "HH:mm",
|
|
10048
|
-
highlightDate: a = n
|
|
10048
|
+
highlightDate: a = n,
|
|
10049
|
+
className: s
|
|
10049
10050
|
}) {
|
|
10050
|
-
const
|
|
10051
|
-
let
|
|
10052
|
-
return n ? (
|
|
10051
|
+
const c = /* @__PURE__ */ new Date(), l = R3(e, c) || UC(e, c);
|
|
10052
|
+
let d = "";
|
|
10053
|
+
return n ? (d = HC(e, {
|
|
10053
10054
|
addSuffix: !0
|
|
10054
|
-
}),
|
|
10055
|
-
|
|
10055
|
+
}), d = db(d)) : d = Ts(e, o), /* @__PURE__ */ $("div", { className: "rabbit-ds", children: /* @__PURE__ */ re("span", { className: $e("text-sm", a && (l ? "text-functional-warn font-semibold" : ""), s), children: [
|
|
10056
|
+
d,
|
|
10056
10057
|
r && " • ",
|
|
10057
10058
|
r && Ts(e, i),
|
|
10058
10059
|
r && t && ` - ${Ts(I3(e, t), i)}`
|
|
@@ -20265,7 +20266,7 @@ function Zk({ ...e }) {
|
|
|
20265
20266
|
return /* @__PURE__ */ $(
|
|
20266
20267
|
Xk,
|
|
20267
20268
|
{
|
|
20268
|
-
className: `absolute top-5 right-0 ${t ? "" : "translate-x-full"}`,
|
|
20269
|
+
className: `absolute top-5 right-0 z-20 ${t ? "" : "translate-x-full"}`,
|
|
20269
20270
|
isCollapsed: !t,
|
|
20270
20271
|
onClick: n,
|
|
20271
20272
|
...e
|
|
@@ -20315,7 +20316,7 @@ function G_({ children: e }) {
|
|
|
20315
20316
|
function Y_({ children: e, ...t }) {
|
|
20316
20317
|
return /* @__PURE__ */ $(t3, { ...t, children: e });
|
|
20317
20318
|
}
|
|
20318
|
-
const Qk = tt("", {
|
|
20319
|
+
const Qk = tt("shrink-0", {
|
|
20319
20320
|
variants: {
|
|
20320
20321
|
orientation: {
|
|
20321
20322
|
horizontal: "ml-2",
|
|
@@ -20327,7 +20328,7 @@ const Qk = tt("", {
|
|
|
20327
20328
|
}
|
|
20328
20329
|
});
|
|
20329
20330
|
function q_({ className: e, orientation: t, ...n }) {
|
|
20330
|
-
return /* @__PURE__ */ $("div", { className: Qk({ orientation: t }), children: /* @__PURE__ */ $(tn, { className: e, ...n }) });
|
|
20331
|
+
return /* @__PURE__ */ $("div", { className: Qk({ orientation: t }), children: /* @__PURE__ */ $(tn, { className: e, variant: "outline", ...n }) });
|
|
20331
20332
|
}
|
|
20332
20333
|
const Jk = {
|
|
20333
20334
|
ON_TRACK: {
|
|
@@ -20354,8 +20355,8 @@ const Jk = {
|
|
|
20354
20355
|
function K_({ title: e, achieved: t, status: n }) {
|
|
20355
20356
|
const r = eN[n];
|
|
20356
20357
|
return /* @__PURE__ */ $("div", { className: "rabbit-ds mr-auto", children: /* @__PURE__ */ re("div", { className: "flex flex-col p-2 gap-1", children: [
|
|
20357
|
-
/* @__PURE__ */ $("div", { className: "text-sm font-semibold", children: e }),
|
|
20358
|
-
/* @__PURE__ */ re("div", { className: "flex items-end gap-
|
|
20358
|
+
/* @__PURE__ */ $("div", { className: "text-sm font-semibold mt-1", children: e }),
|
|
20359
|
+
/* @__PURE__ */ re("div", { className: "flex items-end gap-[18px] mt-[14px]", children: [
|
|
20359
20360
|
/* @__PURE__ */ re("div", { className: "flex flex-col", children: [
|
|
20360
20361
|
/* @__PURE__ */ $("span", { className: "text-xs text-dark-medium", children: "Achieved" }),
|
|
20361
20362
|
/* @__PURE__ */ re("span", { className: $e(r.colorScheme, "font-semibold text-2xl !bg-transparent"), children: [
|
|
@@ -20379,8 +20380,8 @@ function X_({
|
|
|
20379
20380
|
/* @__PURE__ */ re("div", { className: "flex flex-col items-start text-sm", children: [
|
|
20380
20381
|
/* @__PURE__ */ $("span", { className: "font-semibold", children: e }),
|
|
20381
20382
|
/* @__PURE__ */ $(Xl, { className: "mt-0.5", variant: "outlined", children: r }),
|
|
20382
|
-
/* @__PURE__ */ $("span", { className: "text-dark-medium mt-
|
|
20383
|
-
/* @__PURE__ */ re("span", { className: "text-dark-medium
|
|
20383
|
+
/* @__PURE__ */ $("span", { className: "text-dark-medium mt-1.5", children: n }),
|
|
20384
|
+
/* @__PURE__ */ re("span", { className: "text-dark-medium", children: [
|
|
20384
20385
|
"Due by ",
|
|
20385
20386
|
o
|
|
20386
20387
|
] })
|
|
@@ -20406,8 +20407,8 @@ function Q_({
|
|
|
20406
20407
|
/* @__PURE__ */ $(io, { size: "xl", children: /* @__PURE__ */ $(ao, { src: t, alt: "Avatar" }) }),
|
|
20407
20408
|
/* @__PURE__ */ re("div", { className: "flex flex-col items-start text-sm w-full", children: [
|
|
20408
20409
|
/* @__PURE__ */ $("span", { className: "font-semibold", children: e }),
|
|
20409
|
-
/* @__PURE__ */ $(Xl, {
|
|
20410
|
-
/* @__PURE__ */ $("span", { className: "text-dark-medium mt-
|
|
20410
|
+
/* @__PURE__ */ $(Xl, { variant: "outlined", children: n }),
|
|
20411
|
+
/* @__PURE__ */ $("span", { className: "text-dark-medium mt-1 w-full overflow-hidden whitespace-nowrap text-ellipsis", children: r })
|
|
20411
20412
|
] })
|
|
20412
20413
|
] }) });
|
|
20413
20414
|
}
|
|
@@ -20454,7 +20455,7 @@ function eD({ nudgeCardList: e, title: t, imgSrc: n, description: r, pageSize: o
|
|
|
20454
20455
|
] }),
|
|
20455
20456
|
/* @__PURE__ */ re("div", { className: "flex items-center gap-4 mt-1", children: [
|
|
20456
20457
|
/* @__PURE__ */ $(io, { className: "h-24 w-24", children: /* @__PURE__ */ $(ao, { src: n, alt: t }) }),
|
|
20457
|
-
/* @__PURE__ */ $("span", { children: r })
|
|
20458
|
+
/* @__PURE__ */ $("span", { className: "text-base", children: r })
|
|
20458
20459
|
] }),
|
|
20459
20460
|
c,
|
|
20460
20461
|
l && /* @__PURE__ */ $("div", { className: "mx-auto", children: /* @__PURE__ */ re(
|
|
@@ -20504,7 +20505,16 @@ function nD({
|
|
|
20504
20505
|
/* @__PURE__ */ $(io, { size: "xl", children: /* @__PURE__ */ $(ao, { src: t, alt: e }) }),
|
|
20505
20506
|
/* @__PURE__ */ re("div", { className: "flex flex-col gap-1 items-center", children: [
|
|
20506
20507
|
/* @__PURE__ */ $("span", { className: "font-semibold", children: e }),
|
|
20507
|
-
/* @__PURE__ */ $(
|
|
20508
|
+
/* @__PURE__ */ $(
|
|
20509
|
+
z0,
|
|
20510
|
+
{
|
|
20511
|
+
date: n,
|
|
20512
|
+
duration: r,
|
|
20513
|
+
timeFormat: "HH:mm a",
|
|
20514
|
+
showTime: !0,
|
|
20515
|
+
className: "text-dark-medium"
|
|
20516
|
+
}
|
|
20517
|
+
)
|
|
20508
20518
|
] })
|
|
20509
20519
|
] }) });
|
|
20510
20520
|
}
|