@octaviaflow/core 3.1.0-beta.91 → 3.1.0-beta.93
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
|
@@ -47063,7 +47063,19 @@ function NotificationBell({
|
|
|
47063
47063
|
/* @__PURE__ */ (0, import_jsx_runtime190.jsxs)("div", { className: "ods-notif-bell__head", children: [
|
|
47064
47064
|
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)("h3", { className: "ods-notif-bell__title", children: label }),
|
|
47065
47065
|
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)("span", { className: "ods-notif-bell__spacer" }),
|
|
47066
|
-
onMarkAllRead &&
|
|
47066
|
+
onMarkAllRead && // Always offered so the control is discoverable; disabled (not
|
|
47067
|
+
// hidden) when there's nothing unread, so it never appears to
|
|
47068
|
+
// vanish between visits.
|
|
47069
|
+
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)(
|
|
47070
|
+
Button,
|
|
47071
|
+
{
|
|
47072
|
+
size: "sm",
|
|
47073
|
+
variant: "ghost",
|
|
47074
|
+
onClick: onMarkAllRead,
|
|
47075
|
+
disabled: !hasUnread,
|
|
47076
|
+
children: "Mark all read"
|
|
47077
|
+
}
|
|
47078
|
+
)
|
|
47067
47079
|
] }),
|
|
47068
47080
|
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)("div", { className: "ods-notif-bell__body", children: /* @__PURE__ */ (0, import_jsx_runtime190.jsx)(
|
|
47069
47081
|
NotificationInbox,
|