@moontra/moonui-pro 3.5.4 → 3.5.5
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/cdn/index.global.js +122 -122
- package/dist/cdn/index.global.js.map +1 -1
- package/dist/index.mjs +24 -20
- package/dist/next-config-plugin.cjs +1 -1
- package/dist/next-config-plugin.mjs +1 -1
- package/dist/server.mjs +1 -1
- package/dist/styles/nprogress.mjs +1 -1
- package/dist/vite-plugin.cjs +1 -1
- package/dist/vite-plugin.mjs +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -40,7 +40,7 @@ import NProgress from 'nprogress';
|
|
|
40
40
|
import { useTheme } from 'next-themes';
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
|
-
* @moontra/moonui-pro v3.5.
|
|
43
|
+
* @moontra/moonui-pro v3.5.5
|
|
44
44
|
* Premium UI components for MoonUI
|
|
45
45
|
* (c) 2026 MoonUI. All rights reserved.
|
|
46
46
|
* @license Commercial - https://moonui.dev/license
|
|
@@ -20700,8 +20700,8 @@ function CalendarInternal({
|
|
|
20700
20700
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(MoonUICardTitlePro, { className: "flex items-center gap-2", children: [
|
|
20701
20701
|
/* @__PURE__ */ jsx(Calendar$1, { className: "h-5 w-5" }),
|
|
20702
20702
|
view === "month" && `${MONTHS[currentMonth]} ${currentYear}`,
|
|
20703
|
-
view === "week" && `Week of ${currentDate.toLocaleDateString()}`,
|
|
20704
|
-
view === "day" && currentDate.toLocaleDateString(),
|
|
20703
|
+
view === "week" && `Week of ${currentDate.toLocaleDateString(locale)}`,
|
|
20704
|
+
view === "day" && currentDate.toLocaleDateString(locale),
|
|
20705
20705
|
view === "agenda" && "Agenda"
|
|
20706
20706
|
] }) })
|
|
20707
20707
|
] }),
|
|
@@ -21042,7 +21042,7 @@ function CalendarInternal({
|
|
|
21042
21042
|
] }, i);
|
|
21043
21043
|
}).filter(Boolean) }) }),
|
|
21044
21044
|
selectedDate && view === "month" && /* @__PURE__ */ jsxs("div", { className: "border rounded-lg p-4 bg-muted/50 mt-4", children: [
|
|
21045
|
-
/* @__PURE__ */ jsx("h4", { className: "font-medium mb-2", children: selectedDate.toLocaleDateString(
|
|
21045
|
+
/* @__PURE__ */ jsx("h4", { className: "font-medium mb-2", children: selectedDate.toLocaleDateString(locale, {
|
|
21046
21046
|
weekday: "long",
|
|
21047
21047
|
year: "numeric",
|
|
21048
21048
|
month: "long",
|
|
@@ -22912,7 +22912,7 @@ function KanbanInternal({
|
|
|
22912
22912
|
csv += `"${card.description || ""}",`;
|
|
22913
22913
|
csv += `"${card.priority || ""}",`;
|
|
22914
22914
|
csv += `"${card.assignees?.map((a2) => a2.name).join(", ") || ""}",`;
|
|
22915
|
-
csv += `"${card.dueDate ? new Date(card.dueDate).toLocaleDateString() : ""}",`;
|
|
22915
|
+
csv += `"${card.dueDate ? new Date(card.dueDate).toLocaleDateString("en-US", { timeZone: "UTC" }) : ""}",`;
|
|
22916
22916
|
csv += `"${card.tags?.join(", ") || ""}"
|
|
22917
22917
|
`;
|
|
22918
22918
|
});
|
|
@@ -64159,7 +64159,7 @@ function RichTextEditorInternal({
|
|
|
64159
64159
|
tokensUsed > 0 && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
|
|
64160
64160
|
/* @__PURE__ */ jsx(Zap, { className: "w-3 h-3 text-orange-500" }),
|
|
64161
64161
|
/* @__PURE__ */ jsxs("span", { className: "font-medium", children: [
|
|
64162
|
-
tokensUsed.toLocaleString(),
|
|
64162
|
+
tokensUsed.toLocaleString("en-US"),
|
|
64163
64163
|
" tokens used"
|
|
64164
64164
|
] })
|
|
64165
64165
|
] }),
|
|
@@ -66806,7 +66806,7 @@ var CustomTooltip = ({ active, payload, label, darkMode = false }) => {
|
|
|
66806
66806
|
":"
|
|
66807
66807
|
] })
|
|
66808
66808
|
] }),
|
|
66809
|
-
/* @__PURE__ */ jsx("span", { style: entryValueStyles, children: typeof entry.value === "number" ? entry.value.toLocaleString() : entry.value })
|
|
66809
|
+
/* @__PURE__ */ jsx("span", { style: entryValueStyles, children: typeof entry.value === "number" ? entry.value.toLocaleString("en-US") : entry.value })
|
|
66810
66810
|
] }, index2)) })
|
|
66811
66811
|
]
|
|
66812
66812
|
}
|
|
@@ -68793,7 +68793,7 @@ function ProgressWidget({
|
|
|
68793
68793
|
/* @__PURE__ */ jsxs("span", { children: [
|
|
68794
68794
|
isOverdue2 ? "Overdue" : "Due",
|
|
68795
68795
|
": ",
|
|
68796
|
-
isMounted ? new Date(item.deadline).toLocaleDateString() : "Loading..."
|
|
68796
|
+
isMounted ? new Date(item.deadline).toLocaleDateString("en-US", { timeZone: "UTC" }) : "Loading..."
|
|
68797
68797
|
] })
|
|
68798
68798
|
] }),
|
|
68799
68799
|
item.trend && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1 text-xs text-green-600 dark:text-green-400", children: [
|
|
@@ -68833,7 +68833,7 @@ function ComparisonWidget({
|
|
|
68833
68833
|
} else if (value >= 1e3) {
|
|
68834
68834
|
return (value / 1e3).toFixed(0) + "K";
|
|
68835
68835
|
}
|
|
68836
|
-
return value.toLocaleString();
|
|
68836
|
+
return value.toLocaleString("en-US");
|
|
68837
68837
|
};
|
|
68838
68838
|
return /* @__PURE__ */ jsxs(MoonUICardPro, { className: cn(
|
|
68839
68839
|
"h-full flex flex-col overflow-hidden",
|
|
@@ -70383,7 +70383,7 @@ function formatRelativeTime(date) {
|
|
|
70383
70383
|
return `${Math.floor(diffInSeconds / 3600)}h ago`;
|
|
70384
70384
|
if (diffInSeconds < 604800)
|
|
70385
70385
|
return `${Math.floor(diffInSeconds / 86400)}d ago`;
|
|
70386
|
-
return date.toLocaleDateString();
|
|
70386
|
+
return date.toLocaleDateString("en-US", { timeZone: "UTC" });
|
|
70387
70387
|
}
|
|
70388
70388
|
var DashboardInternal = React81__default.memo(function DashboardInternal2({
|
|
70389
70389
|
config,
|
|
@@ -72192,7 +72192,7 @@ async function githubFetch(url, token) {
|
|
|
72192
72192
|
if (response.status === 403 && response.headers.get("X-RateLimit-Remaining") === "0") {
|
|
72193
72193
|
const resetTime = parseInt(response.headers.get("X-RateLimit-Reset") || "0") * 1e3;
|
|
72194
72194
|
const resetDate = new Date(resetTime);
|
|
72195
|
-
throw new Error(`GitHub API rate limit exceeded. Resets at ${resetDate.toLocaleTimeString()}`);
|
|
72195
|
+
throw new Error(`GitHub API rate limit exceeded. Resets at ${resetDate.toLocaleTimeString("en-US")}`);
|
|
72196
72196
|
}
|
|
72197
72197
|
if (!response.ok) {
|
|
72198
72198
|
throw new Error(`GitHub API error: ${response.status} ${response.statusText}`);
|
|
@@ -72420,8 +72420,8 @@ function exportAsCSV(repositories, filename) {
|
|
|
72420
72420
|
repo.language || "",
|
|
72421
72421
|
repo.description || "",
|
|
72422
72422
|
repo.html_url,
|
|
72423
|
-
new Date(repo.created_at).toLocaleDateString(),
|
|
72424
|
-
new Date(repo.updated_at).toLocaleDateString()
|
|
72423
|
+
new Date(repo.created_at).toLocaleDateString("en-US", { timeZone: "UTC" }),
|
|
72424
|
+
new Date(repo.updated_at).toLocaleDateString("en-US", { timeZone: "UTC" })
|
|
72425
72425
|
]);
|
|
72426
72426
|
const csvContent = [
|
|
72427
72427
|
headers.join(","),
|
|
@@ -73440,7 +73440,7 @@ var GitHubStarsInternal = ({
|
|
|
73440
73440
|
/* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: error }),
|
|
73441
73441
|
rateLimitInfo && rateLimitInfo.remaining === 0 && /* @__PURE__ */ jsxs("p", { className: "text-xs text-muted-foreground mt-2", children: [
|
|
73442
73442
|
"Rate limit will reset at ",
|
|
73443
|
-
new Date(rateLimitInfo.reset).toLocaleTimeString()
|
|
73443
|
+
new Date(rateLimitInfo.reset).toLocaleTimeString("en-US")
|
|
73444
73444
|
] })
|
|
73445
73445
|
] }),
|
|
73446
73446
|
/* @__PURE__ */ jsxs(MoonUIButtonPro, { onClick: refresh, variant: "outline", children: [
|
|
@@ -73711,7 +73711,7 @@ var HealthCheckInternal = ({
|
|
|
73711
73711
|
] }),
|
|
73712
73712
|
lastCheck && /* @__PURE__ */ jsxs(MoonUICardDescriptionPro, { children: [
|
|
73713
73713
|
"Last checked: ",
|
|
73714
|
-
lastCheck.toLocaleTimeString()
|
|
73714
|
+
lastCheck.toLocaleTimeString("en-US")
|
|
73715
73715
|
] })
|
|
73716
73716
|
] })
|
|
73717
73717
|
] }) }),
|
|
@@ -75160,7 +75160,7 @@ var PerformanceDebuggerInternal = ({
|
|
|
75160
75160
|
] }),
|
|
75161
75161
|
/* @__PURE__ */ jsx("div", { className: "space-y-2 max-h-96 overflow-y-auto", children: entries.map((entry, index2) => /* @__PURE__ */ jsx(MoonUICardPro, { children: /* @__PURE__ */ jsxs(MoonUICardContentPro, { className: "p-4", children: [
|
|
75162
75162
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between mb-2", children: [
|
|
75163
|
-
/* @__PURE__ */ jsx("span", { className: "text-sm font-medium", children: new Date(entry.timestamp).toLocaleTimeString() }),
|
|
75163
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm font-medium", children: new Date(entry.timestamp).toLocaleTimeString("en-US") }),
|
|
75164
75164
|
/* @__PURE__ */ jsxs(MoonUIBadgePro, { variant: "outline", className: "text-xs", children: [
|
|
75165
75165
|
entry.metrics.length,
|
|
75166
75166
|
" metrics"
|
|
@@ -75759,7 +75759,7 @@ var PerformanceMonitorInternal = ({
|
|
|
75759
75759
|
alert.value.toFixed(1),
|
|
75760
75760
|
alert.metric === "Network" ? "ms" : "%"
|
|
75761
75761
|
] }),
|
|
75762
|
-
/* @__PURE__ */ jsx("div", { className: "text-xs text-muted-foreground", children: alert.timestamp.toLocaleTimeString() })
|
|
75762
|
+
/* @__PURE__ */ jsx("div", { className: "text-xs text-muted-foreground", children: alert.timestamp.toLocaleTimeString("en-US") })
|
|
75763
75763
|
] })
|
|
75764
75764
|
] }) }) })
|
|
75765
75765
|
},
|
|
@@ -85833,7 +85833,7 @@ function FunnelWidget({
|
|
|
85833
85833
|
} else if (value >= 1e3) {
|
|
85834
85834
|
return `${formatNumber2(value / 1e3)}K`;
|
|
85835
85835
|
}
|
|
85836
|
-
return value.toLocaleString();
|
|
85836
|
+
return value.toLocaleString("en-US");
|
|
85837
85837
|
};
|
|
85838
85838
|
const renderVerticalFunnel = () => {
|
|
85839
85839
|
return /* @__PURE__ */ jsx("div", { className: "space-y-2", children: processedStages.map((stage, index2) => {
|
|
@@ -86573,6 +86573,10 @@ function ServerMonitorWidget({
|
|
|
86573
86573
|
const servers = Array.isArray(data) ? data : [data];
|
|
86574
86574
|
const [selectedTab, setSelectedTab] = React81__default.useState("overview");
|
|
86575
86575
|
const [liveData, setLiveData] = React81__default.useState(servers);
|
|
86576
|
+
const [isMounted, setIsMounted] = React81__default.useState(false);
|
|
86577
|
+
React81__default.useEffect(() => {
|
|
86578
|
+
setIsMounted(true);
|
|
86579
|
+
}, []);
|
|
86576
86580
|
const formatNumber2 = (value) => {
|
|
86577
86581
|
if (typeof value === "string")
|
|
86578
86582
|
return value;
|
|
@@ -86806,7 +86810,7 @@ function ServerMonitorWidget({
|
|
|
86806
86810
|
] }),
|
|
86807
86811
|
server.lastUpdated && /* @__PURE__ */ jsxs("div", { className: "mt-4 pt-4 border-t flex items-center justify-between text-xs text-muted-foreground", children: [
|
|
86808
86812
|
/* @__PURE__ */ jsx("span", { children: "Last updated" }),
|
|
86809
|
-
/* @__PURE__ */ jsx("span", { children: new Date(server.lastUpdated).toLocaleTimeString() })
|
|
86813
|
+
/* @__PURE__ */ jsx("span", { children: isMounted ? new Date(server.lastUpdated).toLocaleTimeString("en-US") : "\u2014" })
|
|
86810
86814
|
] })
|
|
86811
86815
|
]
|
|
86812
86816
|
}
|
|
@@ -86907,7 +86911,7 @@ function ServerMonitorWidget({
|
|
|
86907
86911
|
alert.type === "error" ? /* @__PURE__ */ jsx(XCircle, { className: "h-5 w-5 text-red-600" }) : alert.type === "warning" ? /* @__PURE__ */ jsx(AlertTriangle, { className: "h-5 w-5 text-yellow-600" }) : /* @__PURE__ */ jsx(AlertCircle, { className: "h-5 w-5 text-blue-600" }),
|
|
86908
86912
|
/* @__PURE__ */ jsxs("div", { className: "flex-1", children: [
|
|
86909
86913
|
/* @__PURE__ */ jsx("p", { className: "font-medium", children: alert.message }),
|
|
86910
|
-
/* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground mt-1", children: new Date(alert.timestamp).toLocaleString() })
|
|
86914
|
+
/* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground mt-1", children: isMounted ? new Date(alert.timestamp).toLocaleString("en-US") : "\u2014" })
|
|
86911
86915
|
] })
|
|
86912
86916
|
]
|
|
86913
86917
|
},
|
|
@@ -27,7 +27,7 @@ var fs__namespace = /*#__PURE__*/_interopNamespace(fs);
|
|
|
27
27
|
var path__namespace = /*#__PURE__*/_interopNamespace(path);
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
* @moontra/moonui-pro v3.5.
|
|
30
|
+
* @moontra/moonui-pro v3.5.5 - CommonJS build (next-config + vite plugins)
|
|
31
31
|
* (c) 2026 MoonUI. All rights reserved.
|
|
32
32
|
* @license Commercial - https://moonui.dev/license
|
|
33
33
|
*/
|
package/dist/server.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import * as crypto from 'crypto';
|
|
|
4
4
|
import crypto__default from 'crypto';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* @moontra/moonui-pro v3.5.
|
|
7
|
+
* @moontra/moonui-pro v3.5.5
|
|
8
8
|
* Premium UI components for MoonUI
|
|
9
9
|
* (c) 2026 MoonUI. All rights reserved.
|
|
10
10
|
* @license Commercial - https://moonui.dev/license
|
package/dist/vite-plugin.cjs
CHANGED
|
@@ -27,7 +27,7 @@ var fs__namespace = /*#__PURE__*/_interopNamespace(fs);
|
|
|
27
27
|
var path__namespace = /*#__PURE__*/_interopNamespace(path);
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
* @moontra/moonui-pro v3.5.
|
|
30
|
+
* @moontra/moonui-pro v3.5.5 - CommonJS build (next-config + vite plugins)
|
|
31
31
|
* (c) 2026 MoonUI. All rights reserved.
|
|
32
32
|
* @license Commercial - https://moonui.dev/license
|
|
33
33
|
*/
|
package/dist/vite-plugin.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moontra/moonui-pro",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.5",
|
|
4
4
|
"description": "Premium React components for MoonUI - Advanced UI library with 50+ pro components including performance, interactive, and gesture components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.mjs",
|