@octaviaflow/core 3.1.0-beta.91 → 3.1.0-beta.92

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
@@ -37658,7 +37658,19 @@ function NotificationBell({
37658
37658
  /* @__PURE__ */ jsxs148("div", { className: "ods-notif-bell__head", children: [
37659
37659
  /* @__PURE__ */ jsx156("h3", { className: "ods-notif-bell__title", children: label }),
37660
37660
  /* @__PURE__ */ jsx156("span", { className: "ods-notif-bell__spacer" }),
37661
- onMarkAllRead && hasUnread && /* @__PURE__ */ jsx156(Button, { size: "sm", variant: "ghost", onClick: onMarkAllRead, children: "Mark all read" })
37661
+ onMarkAllRead && // Always offered so the control is discoverable; disabled (not
37662
+ // hidden) when there's nothing unread, so it never appears to
37663
+ // vanish between visits.
37664
+ /* @__PURE__ */ jsx156(
37665
+ Button,
37666
+ {
37667
+ size: "sm",
37668
+ variant: "ghost",
37669
+ onClick: onMarkAllRead,
37670
+ disabled: !hasUnread,
37671
+ children: "Mark all read"
37672
+ }
37673
+ )
37662
37674
  ] }),
37663
37675
  /* @__PURE__ */ jsx156("div", { className: "ods-notif-bell__body", children: /* @__PURE__ */ jsx156(
37664
37676
  NotificationInbox,