@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/components/SlideoutPanel/SlideoutPanel.d.ts.map +1 -1
- package/dist/index.cjs +20 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +20 -2
- package/dist/index.js.map +1 -1
- package/dist/notifications/components/NotificationBell/NotificationBell.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlideoutPanel.d.ts","sourceRoot":"","sources":["../../../src/components/SlideoutPanel/SlideoutPanel.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAqB,MAAM,OAAO,CAAC;AAK1D,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,uEAAuE;IACvE,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAChC;
|
|
1
|
+
{"version":3,"file":"SlideoutPanel.d.ts","sourceRoot":"","sources":["../../../src/components/SlideoutPanel/SlideoutPanel.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAqB,MAAM,OAAO,CAAC;AAK1D,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,uEAAuE;IACvE,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAChC;AA0JD,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,+BAWtD"}
|
package/dist/index.cjs
CHANGED
|
@@ -37653,7 +37653,13 @@ function SlideoutContent({
|
|
|
37653
37653
|
{
|
|
37654
37654
|
isOpen: open,
|
|
37655
37655
|
onClose,
|
|
37656
|
-
isDismissable: true
|
|
37656
|
+
isDismissable: true,
|
|
37657
|
+
// Don't treat a click inside a PORTALED floating element (Select /
|
|
37658
|
+
// Combobox / MultiSelect / DatePicker / DropdownMenu / ContextMenu — all
|
|
37659
|
+
// marked data-ods-floating and rendered to <body>, i.e. outside this
|
|
37660
|
+
// panel's DOM) as an outside click. Without this, opening a dropdown or
|
|
37661
|
+
// picking an option inside the sheet dismisses the whole sheet.
|
|
37662
|
+
shouldCloseOnInteractOutside: (el) => !el.closest?.("[data-ods-floating]")
|
|
37657
37663
|
},
|
|
37658
37664
|
overlayRef
|
|
37659
37665
|
);
|
|
@@ -47057,7 +47063,19 @@ function NotificationBell({
|
|
|
47057
47063
|
/* @__PURE__ */ (0, import_jsx_runtime190.jsxs)("div", { className: "ods-notif-bell__head", children: [
|
|
47058
47064
|
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)("h3", { className: "ods-notif-bell__title", children: label }),
|
|
47059
47065
|
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)("span", { className: "ods-notif-bell__spacer" }),
|
|
47060
|
-
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
|
+
)
|
|
47061
47079
|
] }),
|
|
47062
47080
|
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)("div", { className: "ods-notif-bell__body", children: /* @__PURE__ */ (0, import_jsx_runtime190.jsx)(
|
|
47063
47081
|
NotificationInbox,
|