@arbidocs/react 0.3.175 → 0.3.176
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.cjs +20 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +21 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -5397,6 +5397,15 @@ function NotificationBell({
|
|
|
5397
5397
|
"data-testid": `${testId}-mute`,
|
|
5398
5398
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.BellOff, { className: "size-3.5" })
|
|
5399
5399
|
}
|
|
5400
|
+
),
|
|
5401
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5402
|
+
chunkFIPS3VPH_cjs.DropdownMenuItem,
|
|
5403
|
+
{
|
|
5404
|
+
className: "flex size-6 items-center justify-center rounded-md p-0 text-muted-foreground transition-colors hover:bg-accent hover:text-foreground focus:bg-accent",
|
|
5405
|
+
"aria-label": "Close notifications",
|
|
5406
|
+
"data-testid": `${testId}-close`,
|
|
5407
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "size-3.5" })
|
|
5408
|
+
}
|
|
5400
5409
|
)
|
|
5401
5410
|
] })
|
|
5402
5411
|
] }),
|
|
@@ -6472,8 +6481,18 @@ function UserMenu({
|
|
|
6472
6481
|
sideOffset: 8,
|
|
6473
6482
|
collisionPadding: 12,
|
|
6474
6483
|
className: "w-56 rounded-lg border-border/60 shadow-lg",
|
|
6484
|
+
"data-testid": "user-menu-panel",
|
|
6475
6485
|
children: [
|
|
6476
|
-
/* @__PURE__ */ jsxRuntime.jsxs(chunkFIPS3VPH_cjs.DropdownMenuLabel, { children: [
|
|
6486
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkFIPS3VPH_cjs.DropdownMenuLabel, { className: "relative pr-8", children: [
|
|
6487
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6488
|
+
chunkFIPS3VPH_cjs.DropdownMenuItem,
|
|
6489
|
+
{
|
|
6490
|
+
className: "absolute right-1 top-1 flex size-6 items-center justify-center rounded-md p-0 text-muted-foreground transition-colors hover:bg-accent hover:text-foreground focus:bg-accent",
|
|
6491
|
+
"aria-label": "Close account menu",
|
|
6492
|
+
"data-testid": "user-menu-close",
|
|
6493
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "size-3.5" })
|
|
6494
|
+
}
|
|
6495
|
+
),
|
|
6477
6496
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "font-medium text-foreground", children: user.name }),
|
|
6478
6497
|
user.email && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs font-normal text-muted-foreground", children: user.email }),
|
|
6479
6498
|
status && /* @__PURE__ */ jsxRuntime.jsxs(
|