@moontra/moonui-pro 2.15.1 → 2.15.3
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.mjs
CHANGED
|
@@ -55067,7 +55067,7 @@ function Timeline({
|
|
|
55067
55067
|
return null;
|
|
55068
55068
|
const baseClasses = cn(
|
|
55069
55069
|
"absolute",
|
|
55070
|
-
layout === "horizontal" ? "h-0.5 top-4" : "w-0.5 left-
|
|
55070
|
+
layout === "horizontal" ? "h-0.5 top-4" : "w-0.5 left-1/2 -ml-px transform -translate-x-1/2",
|
|
55071
55071
|
gradientConnectors && "bg-gradient-to-b from-border to-transparent"
|
|
55072
55072
|
);
|
|
55073
55073
|
if (layout === "horizontal") {
|
|
@@ -55126,7 +55126,7 @@ function Timeline({
|
|
|
55126
55126
|
"aria-expanded": isNestedEvent ? isExpanded : void 0,
|
|
55127
55127
|
children: [
|
|
55128
55128
|
/* @__PURE__ */ jsxs("div", { className: cn(
|
|
55129
|
-
"flex flex-col items-center",
|
|
55129
|
+
"flex flex-col items-center relative",
|
|
55130
55130
|
layout === "horizontal" && "flex-row"
|
|
55131
55131
|
), children: [
|
|
55132
55132
|
/* @__PURE__ */ jsx(
|
|
@@ -55523,7 +55523,7 @@ function Timeline({
|
|
|
55523
55523
|
] })
|
|
55524
55524
|
] }),
|
|
55525
55525
|
/* @__PURE__ */ jsx(MoonUICardContentPro, { className: cn(
|
|
55526
|
-
compactMode
|
|
55526
|
+
compactMode ? "pt-2" : "pt-6",
|
|
55527
55527
|
"relative"
|
|
55528
55528
|
), children: filteredAndSortedEvents.length > 0 ? renderTimeline() : /* @__PURE__ */ jsxs("div", { className: "text-center py-12", children: [
|
|
55529
55529
|
/* @__PURE__ */ jsx(Clock, { className: "h-12 w-12 mx-auto mb-4 text-muted-foreground" }),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moontra/moonui-pro",
|
|
3
|
-
"version": "2.15.
|
|
3
|
+
"version": "2.15.3",
|
|
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",
|
|
@@ -542,7 +542,7 @@ export function Timeline({
|
|
|
542
542
|
|
|
543
543
|
const baseClasses = cn(
|
|
544
544
|
"absolute",
|
|
545
|
-
layout === 'horizontal' ? "h-0.5 top-4" : "w-0.5 left-
|
|
545
|
+
layout === 'horizontal' ? "h-0.5 top-4" : "w-0.5 left-1/2 -ml-px transform -translate-x-1/2",
|
|
546
546
|
gradientConnectors && "bg-gradient-to-b from-border to-transparent"
|
|
547
547
|
)
|
|
548
548
|
|
|
@@ -605,7 +605,7 @@ export function Timeline({
|
|
|
605
605
|
>
|
|
606
606
|
{/* Timeline Node */}
|
|
607
607
|
<div className={cn(
|
|
608
|
-
"flex flex-col items-center",
|
|
608
|
+
"flex flex-col items-center relative",
|
|
609
609
|
layout === 'horizontal' && "flex-row"
|
|
610
610
|
)}>
|
|
611
611
|
<motion.div
|
|
@@ -1125,7 +1125,7 @@ export function Timeline({
|
|
|
1125
1125
|
</CardHeader>
|
|
1126
1126
|
|
|
1127
1127
|
<CardContent className={cn(
|
|
1128
|
-
compactMode
|
|
1128
|
+
compactMode ? "pt-2" : "pt-6",
|
|
1129
1129
|
"relative"
|
|
1130
1130
|
)}>
|
|
1131
1131
|
{filteredAndSortedEvents.length > 0 ? (
|