@arbidocs/react 0.3.161 → 0.3.163

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 CHANGED
@@ -4359,16 +4359,16 @@ function DocumentEntity({
4359
4359
  }
4360
4360
  var VARIANT_STYLES = {
4361
4361
  "mine-paid": {
4362
- pill: "bg-primary text-primary-foreground border-transparent",
4363
- icon: "text-primary-foreground"
4362
+ pill: "bg-primary/10 text-primary border-border/60",
4363
+ icon: "text-primary"
4364
4364
  },
4365
4365
  other: {
4366
- pill: "bg-secondary text-secondary-foreground border-transparent",
4367
- icon: "text-secondary-foreground"
4366
+ pill: "bg-secondary/10 text-secondary border-border/60",
4367
+ icon: "text-secondary"
4368
4368
  },
4369
4369
  "mine-free": {
4370
- pill: "bg-muted-foreground text-background border-transparent",
4371
- icon: "text-background"
4370
+ pill: "bg-muted-foreground/10 text-muted-foreground border-border/60",
4371
+ icon: "text-muted-foreground"
4372
4372
  },
4373
4373
  common: {
4374
4374
  pill: "",
@@ -4406,7 +4406,7 @@ function ProjectEntity({
4406
4406
  icon: iconNode,
4407
4407
  label: label ?? name,
4408
4408
  size,
4409
- shape: "pill",
4409
+ shape: "rounded",
4410
4410
  className: chunkZBZKHBDS_cjs.cn(pill, className),
4411
4411
  onClick,
4412
4412
  tooltipContent
@@ -5335,9 +5335,7 @@ function NotificationBell({
5335
5335
  const markAllRead = useNotify((s) => s.markAllRead);
5336
5336
  const markRead = useNotify((s) => s.markRead);
5337
5337
  const tone = (v) => toneClassNames?.[v] ?? DEFAULT_NOTIFY_TONE[v];
5338
- const [showAll, setShowAll] = React2.useState(false);
5339
- const hasAmbient = notifications.some((n) => n.ambient);
5340
- const visible = showAll ? notifications : notifications.filter((n) => !n.ambient);
5338
+ const visible = notifications.filter((n) => !n.ambient);
5341
5339
  return /* @__PURE__ */ jsxRuntime.jsxs(chunkZBZKHBDS_cjs.DropdownMenu, { children: [
5342
5340
  /* @__PURE__ */ jsxRuntime.jsx(chunkZBZKHBDS_cjs.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
5343
5341
  "button",
@@ -5370,19 +5368,6 @@ function NotificationBell({
5370
5368
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between gap-3 border-b border-border px-3.5 py-2.5", children: [
5371
5369
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm font-semibold text-foreground", children: "Notifications" }),
5372
5370
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
5373
- hasAmbient && /* @__PURE__ */ jsxRuntime.jsx(
5374
- "button",
5375
- {
5376
- onClick: () => setShowAll((v) => !v),
5377
- "aria-pressed": showAll,
5378
- className: chunkZBZKHBDS_cjs.cn(
5379
- "text-xs font-medium transition-colors",
5380
- showAll ? "text-primary" : "text-muted-foreground hover:text-foreground"
5381
- ),
5382
- "data-testid": `${testId}-all-activity`,
5383
- children: "All activity"
5384
- }
5385
- ),
5386
5371
  unread > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
5387
5372
  "button",
5388
5373
  {