@quanticjs/notification-ui 8.1.0 → 9.0.0
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 +10 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -363,7 +363,7 @@ function NotificationBell({
|
|
|
363
363
|
"span",
|
|
364
364
|
{
|
|
365
365
|
"aria-hidden": "true",
|
|
366
|
-
className: "absolute -end-0.5 -top-0.5 inline-flex min-w-5 items-center justify-center rounded-full bg-
|
|
366
|
+
className: "absolute -end-0.5 -top-0.5 inline-flex min-w-5 items-center justify-center rounded-full bg-coral px-1.5 text-xs font-semibold text-coral-foreground ring-2 ring-background",
|
|
367
367
|
children: count > 99 ? "99+" : count
|
|
368
368
|
}
|
|
369
369
|
)
|
|
@@ -451,7 +451,7 @@ function InboxRow({
|
|
|
451
451
|
),
|
|
452
452
|
children: [
|
|
453
453
|
/* @__PURE__ */ jsxs3("span", { className: "flex items-center gap-2 text-sm font-medium", children: [
|
|
454
|
-
!item.isRead && /* @__PURE__ */ jsx5("span", { "aria-hidden": "true", className: "h-2 w-2 rounded-full bg-
|
|
454
|
+
!item.isRead && /* @__PURE__ */ jsx5("span", { "aria-hidden": "true", className: "h-2 w-2 rounded-full bg-coral" }),
|
|
455
455
|
item.title
|
|
456
456
|
] }),
|
|
457
457
|
item.body && /* @__PURE__ */ jsx5("span", { className: "text-xs text-muted-foreground", children: item.body })
|
|
@@ -533,7 +533,7 @@ function NotificationCenter({
|
|
|
533
533
|
"span",
|
|
534
534
|
{
|
|
535
535
|
"aria-hidden": true,
|
|
536
|
-
className: "absolute -end-0.5 -top-0.5 inline-flex min-w-5 items-center justify-center rounded-full bg-
|
|
536
|
+
className: "absolute -end-0.5 -top-0.5 inline-flex min-w-5 items-center justify-center rounded-full bg-coral px-1.5 text-xs font-semibold text-coral-foreground ring-2 ring-background",
|
|
537
537
|
children: badge
|
|
538
538
|
}
|
|
539
539
|
)
|
|
@@ -663,14 +663,14 @@ import {
|
|
|
663
663
|
import { jsx as jsx8, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
664
664
|
function TrendChart({ data, className }) {
|
|
665
665
|
return /* @__PURE__ */ jsx8("div", { className: cn6("h-72 w-full", className), role: "img", "aria-label": "Delivery trend over time", children: /* @__PURE__ */ jsx8(ResponsiveContainer, { width: "100%", height: "100%", children: /* @__PURE__ */ jsxs6(LineChart, { data, margin: { top: 8, right: 16, bottom: 8, left: 0 }, children: [
|
|
666
|
-
/* @__PURE__ */ jsx8(CartesianGrid, { strokeDasharray: "3 3", stroke: "
|
|
667
|
-
/* @__PURE__ */ jsx8(XAxis, { dataKey: "day", stroke: "
|
|
668
|
-
/* @__PURE__ */ jsx8(YAxis, { stroke: "
|
|
666
|
+
/* @__PURE__ */ jsx8(CartesianGrid, { strokeDasharray: "3 3", stroke: "var(--border)" }),
|
|
667
|
+
/* @__PURE__ */ jsx8(XAxis, { dataKey: "day", stroke: "var(--muted-foreground)", fontSize: 12 }),
|
|
668
|
+
/* @__PURE__ */ jsx8(YAxis, { stroke: "var(--muted-foreground)", fontSize: 12, allowDecimals: false }),
|
|
669
669
|
/* @__PURE__ */ jsx8(Tooltip, {}),
|
|
670
|
-
/* @__PURE__ */ jsx8(Line, { type: "monotone", dataKey: "sends", stroke: "
|
|
671
|
-
/* @__PURE__ */ jsx8(Line, { type: "monotone", dataKey: "delivered", stroke: "
|
|
672
|
-
/* @__PURE__ */ jsx8(Line, { type: "monotone", dataKey: "opened", stroke: "
|
|
673
|
-
/* @__PURE__ */ jsx8(Line, { type: "monotone", dataKey: "clicked", stroke: "
|
|
670
|
+
/* @__PURE__ */ jsx8(Line, { type: "monotone", dataKey: "sends", stroke: "var(--primary)", dot: false }),
|
|
671
|
+
/* @__PURE__ */ jsx8(Line, { type: "monotone", dataKey: "delivered", stroke: "var(--chart-2, var(--primary))", dot: false }),
|
|
672
|
+
/* @__PURE__ */ jsx8(Line, { type: "monotone", dataKey: "opened", stroke: "var(--chart-3, var(--primary))", dot: false }),
|
|
673
|
+
/* @__PURE__ */ jsx8(Line, { type: "monotone", dataKey: "clicked", stroke: "var(--chart-4, var(--primary))", dot: false })
|
|
674
674
|
] }) }) });
|
|
675
675
|
}
|
|
676
676
|
|