@burdenoff/fe-libs 2026.920.4 → 2026.921.1
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationPanel.d.ts","sourceRoot":"","sources":["../../../src/chrome/notificationCenter/NotificationPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"NotificationPanel.d.ts","sourceRoot":"","sources":["../../../src/chrome/notificationCenter/NotificationPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGhD,UAAU,sBAAsB;IAC9B,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CA8BxD,CAAC"}
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import { Fragment as e, jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
2
|
+
import { createPortal as r } from "react-dom";
|
|
2
3
|
//#region src/chrome/notificationCenter/NotificationPanel.tsx
|
|
3
|
-
var
|
|
4
|
-
className: "fixed inset-0 bg-bg-overlay backdrop-blur-sm z-[
|
|
5
|
-
onClick:
|
|
4
|
+
var i = ({ isMobile: i, onClose: a, children: o }) => i ? typeof document > "u" ? null : r(/* @__PURE__ */ n(e, { children: [/* @__PURE__ */ t("div", {
|
|
5
|
+
className: "fixed inset-0 bg-bg-overlay backdrop-blur-sm z-[110]",
|
|
6
|
+
onClick: a,
|
|
6
7
|
"aria-hidden": "true"
|
|
7
8
|
}), /* @__PURE__ */ t("div", {
|
|
8
|
-
className: "fixed inset-
|
|
9
|
+
className: "fixed inset-0 bg-bg-elevated z-[120] flex flex-col",
|
|
9
10
|
role: "dialog",
|
|
10
11
|
"aria-label": "Notifications panel",
|
|
11
|
-
children:
|
|
12
|
-
})] }) : /* @__PURE__ */ t("div", {
|
|
12
|
+
children: o
|
|
13
|
+
})] }), document.body) : /* @__PURE__ */ t("div", {
|
|
13
14
|
className: "absolute right-0 top-full mt-2 w-[calc(100vw-1.5rem)] sm:w-[420px] max-h-[600px] bg-bg-elevated border border-border-subtle rounded-card shadow-[var(--shadow-elevation-4)] z-50 overflow-hidden flex flex-col",
|
|
14
15
|
role: "dialog",
|
|
15
16
|
"aria-label": "Notifications panel",
|
|
16
|
-
children:
|
|
17
|
+
children: o
|
|
17
18
|
});
|
|
18
19
|
//#endregion
|
|
19
|
-
export {
|
|
20
|
+
export { i as NotificationPanel };
|