@octaviaflow/core 3.1.0-beta.90 → 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
@@ -30967,7 +30967,13 @@ function SlideoutContent({
30967
30967
  {
30968
30968
  isOpen: open,
30969
30969
  onClose,
30970
- isDismissable: true
30970
+ isDismissable: true,
30971
+ // Don't treat a click inside a PORTALED floating element (Select /
30972
+ // Combobox / MultiSelect / DatePicker / DropdownMenu / ContextMenu — all
30973
+ // marked data-ods-floating and rendered to <body>, i.e. outside this
30974
+ // panel's DOM) as an outside click. Without this, opening a dropdown or
30975
+ // picking an option inside the sheet dismisses the whole sheet.
30976
+ shouldCloseOnInteractOutside: (el) => !el.closest?.("[data-ods-floating]")
30971
30977
  },
30972
30978
  overlayRef
30973
30979
  );
@@ -37652,7 +37658,19 @@ function NotificationBell({
37652
37658
  /* @__PURE__ */ jsxs148("div", { className: "ods-notif-bell__head", children: [
37653
37659
  /* @__PURE__ */ jsx156("h3", { className: "ods-notif-bell__title", children: label }),
37654
37660
  /* @__PURE__ */ jsx156("span", { className: "ods-notif-bell__spacer" }),
37655
- 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
+ )
37656
37674
  ] }),
37657
37675
  /* @__PURE__ */ jsx156("div", { className: "ods-notif-bell__body", children: /* @__PURE__ */ jsx156(
37658
37676
  NotificationInbox,