@flamingo-stack/openframe-frontend-core 0.0.203 → 0.0.204-snapshot.20260522211610
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/{chunk-E6Q6UGDK.js → chunk-3KGUV6LK.js} +70 -163
- package/dist/chunk-3KGUV6LK.js.map +1 -0
- package/dist/{chunk-3YH2M76N.cjs → chunk-F2Y4YQGR.cjs} +59 -152
- package/dist/chunk-F2Y4YQGR.cjs.map +1 -0
- package/dist/components/features/index.cjs +2 -2
- package/dist/components/features/index.js +1 -1
- package/dist/components/index.cjs +2 -2
- package/dist/components/index.js +1 -1
- package/dist/components/navigation/index.cjs +2 -2
- package/dist/components/navigation/index.js +1 -1
- package/dist/components/navigation/navigation-sidebar.d.ts.map +1 -1
- package/dist/components/shared/product-release/product-release-card-skeleton.d.ts +1 -1
- package/dist/components/shared/product-release/product-release-card-skeleton.d.ts.map +1 -1
- package/dist/components/shared/product-release/product-release-card.d.ts +19 -12
- package/dist/components/shared/product-release/product-release-card.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +2 -2
- package/dist/components/ui/index.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/components/navigation/navigation-sidebar.tsx +3 -1
- package/src/components/shared/product-release/product-release-card-skeleton.tsx +66 -70
- package/src/components/shared/product-release/product-release-card.tsx +194 -242
- package/dist/chunk-3YH2M76N.cjs.map +0 -1
- package/dist/chunk-E6Q6UGDK.js.map +0 -1
|
@@ -10524,7 +10524,8 @@ function NavigationSidebar({ config, disabled = false }) {
|
|
|
10524
10524
|
} else if (item.path) {
|
|
10525
10525
|
config.onNavigate?.(item.path);
|
|
10526
10526
|
}
|
|
10527
|
-
|
|
10527
|
+
if (isTablet) setTabletMinimized(true);
|
|
10528
|
+
}, [config, isTablet]);
|
|
10528
10529
|
const { primaryItems, secondaryItems } = useMemo10(() => ({
|
|
10529
10530
|
primaryItems: config.items.filter((item) => item.section !== "secondary"),
|
|
10530
10531
|
secondaryItems: config.items.filter((item) => item.section === "secondary")
|
|
@@ -17581,7 +17582,6 @@ import Image8 from "next/image";
|
|
|
17581
17582
|
init_cn();
|
|
17582
17583
|
import {
|
|
17583
17584
|
AlertTriangle,
|
|
17584
|
-
ChevronRight as ChevronRight6,
|
|
17585
17585
|
Eye,
|
|
17586
17586
|
Package as Package3,
|
|
17587
17587
|
Play,
|
|
@@ -17598,7 +17598,7 @@ function ProductReleaseCard({
|
|
|
17598
17598
|
onClick,
|
|
17599
17599
|
anchorProps,
|
|
17600
17600
|
className,
|
|
17601
|
-
size = "
|
|
17601
|
+
size = "lg",
|
|
17602
17602
|
coverImage,
|
|
17603
17603
|
hasVideoCover,
|
|
17604
17604
|
releaseType,
|
|
@@ -17608,34 +17608,28 @@ function ProductReleaseCard({
|
|
|
17608
17608
|
author,
|
|
17609
17609
|
changelogCounts
|
|
17610
17610
|
}) {
|
|
17611
|
-
if (size === "
|
|
17611
|
+
if (size === "lg") {
|
|
17612
17612
|
const totalChangelog = (changelogCounts?.features ?? 0) + (changelogCounts?.fixes ?? 0) + (changelogCounts?.improvements ?? 0) + (changelogCounts?.breaking ?? 0);
|
|
17613
|
-
const valueCells = [
|
|
17614
|
-
|
|
17615
|
-
valueCells.push({
|
|
17613
|
+
const valueCells = [
|
|
17614
|
+
releaseType && releaseTypeBadgeColor ? {
|
|
17616
17615
|
value: releaseType.toUpperCase(),
|
|
17617
17616
|
label: "Type",
|
|
17618
17617
|
uppercase: true,
|
|
17619
17618
|
colorScheme: releaseTypeBadgeColor
|
|
17620
|
-
}
|
|
17621
|
-
|
|
17622
|
-
if (releaseStatus) {
|
|
17623
|
-
valueCells.push({
|
|
17619
|
+
} : { value: "\u2014", label: "Type", uppercase: false },
|
|
17620
|
+
releaseStatus ? {
|
|
17624
17621
|
value: releaseStatus.toUpperCase(),
|
|
17625
17622
|
label: "Status",
|
|
17626
17623
|
uppercase: true
|
|
17627
|
-
}
|
|
17628
|
-
|
|
17629
|
-
if (formattedDate) {
|
|
17630
|
-
valueCells.push({
|
|
17624
|
+
} : { value: "\u2014", label: "Status", uppercase: false },
|
|
17625
|
+
formattedDate ? {
|
|
17631
17626
|
value: formattedDate,
|
|
17632
17627
|
label: "Released",
|
|
17633
17628
|
uppercase: false
|
|
17634
|
-
}
|
|
17635
|
-
|
|
17636
|
-
const
|
|
17637
|
-
const
|
|
17638
|
-
const gridColsClass = totalCells >= 4 ? "md:grid-cols-4" : totalCells === 3 ? "md:grid-cols-3" : totalCells === 2 ? "md:grid-cols-2" : "md:grid-cols-1";
|
|
17629
|
+
} : { value: "\u2014", label: "Released", uppercase: false }
|
|
17630
|
+
];
|
|
17631
|
+
const effectiveAuthor = author?.full_name ? author : { full_name: "\u2014", avatar_url: null, job_title: "Unknown" };
|
|
17632
|
+
const gridColsClass = "md:grid-cols-4";
|
|
17639
17633
|
const dividerClass = "border-b md:border-b-0 md:border-r border-ods-border";
|
|
17640
17634
|
const frameClass = cn(
|
|
17641
17635
|
"group bg-ods-system-greys-black border border-ods-border rounded-lg overflow-hidden",
|
|
@@ -17667,11 +17661,11 @@ function ProductReleaseCard({
|
|
|
17667
17661
|
"v",
|
|
17668
17662
|
version
|
|
17669
17663
|
] }) }),
|
|
17670
|
-
/* @__PURE__ */ jsx139("h3", { className: "font-['Azeret_Mono'] font-semibold text-xl md:text-2xl text-ods-text-primary leading-tight line-clamp-2
|
|
17671
|
-
|
|
17664
|
+
/* @__PURE__ */ jsx139("div", { className: "min-h-[60px] md:min-h-[72px] flex items-start mb-3", children: /* @__PURE__ */ jsx139("h3", { className: "font-['Azeret_Mono'] font-semibold text-xl md:text-2xl text-ods-text-primary leading-tight line-clamp-2", children: title }) }),
|
|
17665
|
+
/* @__PURE__ */ jsx139("div", { className: "min-h-[68px] md:min-h-[78px]", children: /* @__PURE__ */ jsx139("p", { className: "font-['DM_Sans'] text-sm md:text-base text-ods-text-secondary leading-relaxed line-clamp-3", children: summary ?? "" }) })
|
|
17672
17666
|
] })
|
|
17673
17667
|
] }),
|
|
17674
|
-
|
|
17668
|
+
/* @__PURE__ */ jsx139("div", { className: "border-t border-ods-border pt-3 flex flex-wrap items-center gap-x-4 gap-y-1.5 font-['DM_Sans'] text-sm text-ods-text-secondary", children: totalChangelog > 0 && changelogCounts ? /* @__PURE__ */ jsxs110(Fragment20, { children: [
|
|
17675
17669
|
changelogCounts.features > 0 && /* @__PURE__ */ jsxs110("span", { className: "inline-flex items-center gap-1.5", children: [
|
|
17676
17670
|
/* @__PURE__ */ jsx139(Sparkles2, { className: "w-3.5 h-3.5" }),
|
|
17677
17671
|
changelogCounts.features,
|
|
@@ -17695,8 +17689,8 @@ function ProductReleaseCard({
|
|
|
17695
17689
|
changelogCounts.breaking,
|
|
17696
17690
|
" breaking"
|
|
17697
17691
|
] })
|
|
17698
|
-
] }),
|
|
17699
|
-
|
|
17692
|
+
] }) : /* @__PURE__ */ jsx139("span", { className: "text-sm text-ods-text-secondary", children: "No changelog entries yet" }) }),
|
|
17693
|
+
/* @__PURE__ */ jsxs110(
|
|
17700
17694
|
"div",
|
|
17701
17695
|
{
|
|
17702
17696
|
className: cn(
|
|
@@ -17708,12 +17702,7 @@ function ProductReleaseCard({
|
|
|
17708
17702
|
valueCells.map((cell, i) => /* @__PURE__ */ jsx139(
|
|
17709
17703
|
"div",
|
|
17710
17704
|
{
|
|
17711
|
-
className: cn(
|
|
17712
|
-
"bg-ods-card p-4 flex flex-col gap-3",
|
|
17713
|
-
// Last value cell skips the trailing divider when no
|
|
17714
|
-
// author cell follows; otherwise every value cell gets it.
|
|
17715
|
-
(i < valueCells.length - 1 || hasAuthorCell) && dividerClass
|
|
17716
|
-
),
|
|
17705
|
+
className: cn("bg-ods-card p-4 flex flex-col gap-3", dividerClass),
|
|
17717
17706
|
children: /* @__PURE__ */ jsxs110("div", { className: "flex flex-col gap-0", children: [
|
|
17718
17707
|
cell.colorScheme ? /* @__PURE__ */ jsx139(
|
|
17719
17708
|
StatusBadge,
|
|
@@ -17724,26 +17713,37 @@ function ProductReleaseCard({
|
|
|
17724
17713
|
singleLine: true,
|
|
17725
17714
|
className: "self-start"
|
|
17726
17715
|
}
|
|
17727
|
-
) : /* @__PURE__ */ jsx139(
|
|
17716
|
+
) : /* @__PURE__ */ jsx139(
|
|
17717
|
+
"p",
|
|
17718
|
+
{
|
|
17719
|
+
className: cn(
|
|
17720
|
+
"text-h4",
|
|
17721
|
+
// Em-dash placeholder reads as secondary text;
|
|
17722
|
+
// populated values stay primary.
|
|
17723
|
+
cell.value === "\u2014" ? "text-ods-text-secondary" : "text-ods-text-primary"
|
|
17724
|
+
),
|
|
17725
|
+
children: cell.uppercase ? cell.value.toLocaleUpperCase() : cell.value
|
|
17726
|
+
}
|
|
17727
|
+
),
|
|
17728
17728
|
/* @__PURE__ */ jsx139("p", { className: "font-['DM_Sans'] font-medium text-[14px] leading-[20px] text-ods-text-secondary", children: cell.label })
|
|
17729
17729
|
] })
|
|
17730
17730
|
},
|
|
17731
17731
|
`${cell.label}-${i}`
|
|
17732
17732
|
)),
|
|
17733
|
-
|
|
17733
|
+
/* @__PURE__ */ jsxs110("div", { className: "bg-ods-card p-4 flex items-center gap-3", children: [
|
|
17734
17734
|
/* @__PURE__ */ jsx139(
|
|
17735
17735
|
SquareAvatar,
|
|
17736
17736
|
{
|
|
17737
|
-
src:
|
|
17738
|
-
alt:
|
|
17739
|
-
fallback:
|
|
17737
|
+
src: effectiveAuthor.avatar_url ?? void 0,
|
|
17738
|
+
alt: effectiveAuthor.full_name,
|
|
17739
|
+
fallback: effectiveAuthor.full_name.charAt(0).toUpperCase(),
|
|
17740
17740
|
size: "md",
|
|
17741
17741
|
variant: "round"
|
|
17742
17742
|
}
|
|
17743
17743
|
),
|
|
17744
17744
|
/* @__PURE__ */ jsxs110("div", { className: "flex flex-col gap-0 flex-1 min-w-0", children: [
|
|
17745
|
-
/* @__PURE__ */ jsx139("p", { className: "text-h3 tracking-[-0.36px] text-ods-text-primary truncate", children:
|
|
17746
|
-
/* @__PURE__ */ jsx139("p", { className: "font-['DM_Sans'] font-medium text-[14px] leading-[20px] text-ods-text-secondary", children:
|
|
17745
|
+
/* @__PURE__ */ jsx139("p", { className: "text-h3 tracking-[-0.36px] text-ods-text-primary truncate", children: effectiveAuthor.full_name }),
|
|
17746
|
+
/* @__PURE__ */ jsx139("p", { className: "font-['DM_Sans'] font-medium text-[14px] leading-[20px] text-ods-text-secondary", children: effectiveAuthor.job_title || "Author" })
|
|
17747
17747
|
] })
|
|
17748
17748
|
] })
|
|
17749
17749
|
]
|
|
@@ -17837,79 +17837,14 @@ function ProductReleaseCard({
|
|
|
17837
17837
|
}
|
|
17838
17838
|
);
|
|
17839
17839
|
}
|
|
17840
|
-
|
|
17841
|
-
return /* @__PURE__ */ jsxs110(
|
|
17842
|
-
"a",
|
|
17843
|
-
{
|
|
17844
|
-
...anchorProps,
|
|
17845
|
-
className: cn(
|
|
17846
|
-
"bg-ods-card border border-ods-border rounded-[6px]",
|
|
17847
|
-
"flex flex-col md:flex-row",
|
|
17848
|
-
"items-start md:items-center",
|
|
17849
|
-
"gap-3 md:gap-4",
|
|
17850
|
-
"p-4 no-underline",
|
|
17851
|
-
"transition-colors hover:border-ods-text-secondary/40",
|
|
17852
|
-
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ods-accent focus-visible:ring-offset-1 focus-visible:ring-offset-ods-card",
|
|
17853
|
-
className
|
|
17854
|
-
),
|
|
17855
|
-
children: [
|
|
17856
|
-
/* @__PURE__ */ jsxs110("div", { className: "flex-1 w-full md:w-auto min-w-0 flex flex-col justify-center gap-2", children: [
|
|
17857
|
-
/* @__PURE__ */ jsx139("div", { className: "min-h-[48px] flex items-center", children: /* @__PURE__ */ jsx139("h3", { className: "text-h3 text-ods-text-primary tracking-[-0.36px] line-clamp-2", title, children: title }) }),
|
|
17858
|
-
/* @__PURE__ */ jsx139("p", { className: "text-h4 text-ods-text-secondary line-clamp-3", title: summary || " ", children: summary || " " })
|
|
17859
|
-
] }),
|
|
17860
|
-
/* @__PURE__ */ jsxs110("div", { className: "flex items-center gap-2 w-full md:w-auto justify-start md:justify-end shrink-0", children: [
|
|
17861
|
-
/* @__PURE__ */ jsxs110("div", { className: "w-[200px] flex flex-col justify-center gap-2", children: [
|
|
17862
|
-
/* @__PURE__ */ jsx139("p", { className: "text-h3 text-ods-text-primary tracking-[-0.36px] truncate", children: version }),
|
|
17863
|
-
/* @__PURE__ */ jsx139("p", { className: "font-['DM_Sans'] font-medium text-[14px] leading-[20px] text-ods-text-secondary truncate", children: formattedDate })
|
|
17864
|
-
] }),
|
|
17865
|
-
/* @__PURE__ */ jsx139("div", { className: "flex items-center justify-center p-3 shrink-0", children: /* @__PURE__ */ jsx139(ChevronRight6, { className: "h-6 w-6 text-ods-text-primary" }) })
|
|
17866
|
-
] })
|
|
17867
|
-
]
|
|
17868
|
-
}
|
|
17869
|
-
);
|
|
17870
|
-
}
|
|
17871
|
-
return /* @__PURE__ */ jsxs110(
|
|
17872
|
-
InteractiveCard,
|
|
17873
|
-
{
|
|
17874
|
-
clickable: true,
|
|
17875
|
-
onClick,
|
|
17876
|
-
className: cn(
|
|
17877
|
-
"bg-ods-card border border-ods-border rounded-[6px]",
|
|
17878
|
-
"flex flex-col md:flex-row",
|
|
17879
|
-
"items-start md:items-center",
|
|
17880
|
-
"gap-3 md:gap-4",
|
|
17881
|
-
"p-4",
|
|
17882
|
-
className
|
|
17883
|
-
),
|
|
17884
|
-
children: [
|
|
17885
|
-
/* @__PURE__ */ jsxs110("div", { className: "flex-1 w-full md:w-auto min-w-0 flex flex-col justify-center gap-2", children: [
|
|
17886
|
-
/* @__PURE__ */ jsx139("div", { className: "min-h-[48px] flex items-center", children: /* @__PURE__ */ jsx139("h3", { className: "text-h3 text-ods-text-primary tracking-[-0.36px] line-clamp-2", title, children: title }) }),
|
|
17887
|
-
/* @__PURE__ */ jsx139("p", { className: "text-h4 text-ods-text-secondary line-clamp-3", title: summary || "\xA0", children: summary || "\xA0" })
|
|
17888
|
-
] }),
|
|
17889
|
-
/* @__PURE__ */ jsxs110(
|
|
17890
|
-
"div",
|
|
17891
|
-
{
|
|
17892
|
-
className: "flex items-center gap-2 w-full md:w-auto justify-start md:justify-end shrink-0",
|
|
17893
|
-
onClick: (e) => e.stopPropagation(),
|
|
17894
|
-
children: [
|
|
17895
|
-
/* @__PURE__ */ jsxs110("div", { className: "w-[200px] flex flex-col justify-center gap-2", children: [
|
|
17896
|
-
/* @__PURE__ */ jsx139("p", { className: "text-h3 text-ods-text-primary tracking-[-0.36px] truncate", children: version }),
|
|
17897
|
-
/* @__PURE__ */ jsx139("p", { className: "font-['DM_Sans'] font-medium text-[14px] leading-[20px] text-ods-text-secondary truncate", children: formattedDate })
|
|
17898
|
-
] }),
|
|
17899
|
-
/* @__PURE__ */ jsx139("div", { className: "flex items-center justify-center p-3 shrink-0", children: /* @__PURE__ */ jsx139(ChevronRight6, { className: "h-6 w-6 text-ods-text-primary" }) })
|
|
17900
|
-
]
|
|
17901
|
-
}
|
|
17902
|
-
)
|
|
17903
|
-
]
|
|
17904
|
-
}
|
|
17905
|
-
);
|
|
17840
|
+
throw new Error(`ProductReleaseCard: unsupported size '${size}'`);
|
|
17906
17841
|
}
|
|
17907
17842
|
|
|
17908
17843
|
// src/components/shared/product-release/product-release-card-skeleton.tsx
|
|
17909
17844
|
init_cn();
|
|
17910
17845
|
import { jsx as jsx140, jsxs as jsxs111 } from "react/jsx-runtime";
|
|
17911
|
-
function ProductReleaseCardSkeleton({ className, size = "
|
|
17912
|
-
if (size === "
|
|
17846
|
+
function ProductReleaseCardSkeleton({ className, size = "lg" }) {
|
|
17847
|
+
if (size === "lg") {
|
|
17913
17848
|
return /* @__PURE__ */ jsxs111(
|
|
17914
17849
|
"div",
|
|
17915
17850
|
{
|
|
@@ -17921,24 +17856,29 @@ function ProductReleaseCardSkeleton({ className, size = "default" }) {
|
|
|
17921
17856
|
),
|
|
17922
17857
|
children: [
|
|
17923
17858
|
/* @__PURE__ */ jsxs111("div", { className: "flex flex-col md:flex-row gap-4 md:gap-6", children: [
|
|
17924
|
-
/* @__PURE__ */ jsx140("div", { className: "w-full md:w-[256px] aspect-[16/9] bg-ods-
|
|
17859
|
+
/* @__PURE__ */ jsx140("div", { className: "w-full md:w-[256px] aspect-[16/9] bg-ods-border rounded-lg flex-shrink-0" }),
|
|
17925
17860
|
/* @__PURE__ */ jsxs111("div", { className: "flex-1 min-w-0 flex flex-col", children: [
|
|
17926
|
-
/* @__PURE__ */ jsx140("div", { className: "h-
|
|
17927
|
-
/* @__PURE__ */
|
|
17928
|
-
|
|
17929
|
-
|
|
17930
|
-
|
|
17861
|
+
/* @__PURE__ */ jsx140("div", { className: "flex items-center gap-3 mb-3", children: /* @__PURE__ */ jsx140("div", { className: "h-7 w-20 bg-ods-border rounded" }) }),
|
|
17862
|
+
/* @__PURE__ */ jsxs111("div", { className: "min-h-[60px] md:min-h-[72px] flex flex-col gap-1.5 justify-start mb-3", children: [
|
|
17863
|
+
/* @__PURE__ */ jsx140("div", { className: "h-[25px] md:h-[30px] w-3/4 bg-ods-border rounded" }),
|
|
17864
|
+
/* @__PURE__ */ jsx140("div", { className: "h-[25px] md:h-[30px] w-1/2 bg-ods-border rounded" })
|
|
17865
|
+
] }),
|
|
17866
|
+
/* @__PURE__ */ jsxs111("div", { className: "min-h-[68px] md:min-h-[78px] flex flex-col gap-2 justify-start", children: [
|
|
17867
|
+
/* @__PURE__ */ jsx140("div", { className: "h-3 w-full bg-ods-border/70 rounded" }),
|
|
17868
|
+
/* @__PURE__ */ jsx140("div", { className: "h-3 w-11/12 bg-ods-border/70 rounded" }),
|
|
17869
|
+
/* @__PURE__ */ jsx140("div", { className: "h-3 w-5/6 bg-ods-border/70 rounded" })
|
|
17870
|
+
] })
|
|
17931
17871
|
] })
|
|
17932
17872
|
] }),
|
|
17933
|
-
/* @__PURE__ */ jsx140("div", { className: "border-t border-ods-border pt-3", children: /* @__PURE__ */ jsx140("div", { className: "h-
|
|
17873
|
+
/* @__PURE__ */ jsx140("div", { className: "border-t border-ods-border pt-3", children: /* @__PURE__ */ jsx140("div", { className: "h-5 w-2/3 bg-ods-border/70 rounded" }) }),
|
|
17934
17874
|
/* @__PURE__ */ jsxs111("div", { className: "grid grid-cols-1 md:grid-cols-4 border border-ods-border rounded-md overflow-hidden w-full", children: [
|
|
17935
17875
|
[0, 1, 2].map((i) => /* @__PURE__ */ jsx140(
|
|
17936
17876
|
"div",
|
|
17937
17877
|
{
|
|
17938
17878
|
className: "bg-ods-card p-4 flex flex-col gap-3 border-b md:border-b-0 md:border-r border-ods-border",
|
|
17939
17879
|
children: /* @__PURE__ */ jsxs111("div", { className: "flex flex-col gap-2", children: [
|
|
17940
|
-
/* @__PURE__ */ jsx140("div", { className: "h-
|
|
17941
|
-
/* @__PURE__ */ jsx140("div", { className: "h-
|
|
17880
|
+
/* @__PURE__ */ jsx140("div", { className: "h-7 w-24 bg-ods-bg rounded" }),
|
|
17881
|
+
/* @__PURE__ */ jsx140("div", { className: "h-4 w-16 bg-ods-bg/60 rounded" })
|
|
17942
17882
|
] })
|
|
17943
17883
|
},
|
|
17944
17884
|
`cell-${i}`
|
|
@@ -17946,8 +17886,8 @@ function ProductReleaseCardSkeleton({ className, size = "default" }) {
|
|
|
17946
17886
|
/* @__PURE__ */ jsxs111("div", { className: "bg-ods-card p-4 flex items-center gap-3", children: [
|
|
17947
17887
|
/* @__PURE__ */ jsx140("div", { className: "h-10 w-10 rounded-full bg-ods-bg shrink-0" }),
|
|
17948
17888
|
/* @__PURE__ */ jsxs111("div", { className: "flex flex-col gap-2 flex-1 min-w-0", children: [
|
|
17949
|
-
/* @__PURE__ */ jsx140("div", { className: "h-
|
|
17950
|
-
/* @__PURE__ */ jsx140("div", { className: "h-
|
|
17889
|
+
/* @__PURE__ */ jsx140("div", { className: "h-5 w-3/4 bg-ods-bg rounded" }),
|
|
17890
|
+
/* @__PURE__ */ jsx140("div", { className: "h-4 w-1/2 bg-ods-bg/60 rounded" })
|
|
17951
17891
|
] })
|
|
17952
17892
|
] })
|
|
17953
17893
|
] })
|
|
@@ -17978,40 +17918,7 @@ function ProductReleaseCardSkeleton({ className, size = "default" }) {
|
|
|
17978
17918
|
}
|
|
17979
17919
|
);
|
|
17980
17920
|
}
|
|
17981
|
-
|
|
17982
|
-
"div",
|
|
17983
|
-
{
|
|
17984
|
-
className: cn(
|
|
17985
|
-
"bg-ods-card border border-ods-border rounded-[6px]",
|
|
17986
|
-
"flex flex-col md:flex-row",
|
|
17987
|
-
"items-start md:items-center",
|
|
17988
|
-
"gap-3 md:gap-4",
|
|
17989
|
-
"p-4",
|
|
17990
|
-
"animate-pulse",
|
|
17991
|
-
className
|
|
17992
|
-
),
|
|
17993
|
-
children: [
|
|
17994
|
-
/* @__PURE__ */ jsxs111("div", { className: "flex-1 w-full md:w-auto min-w-0 flex flex-col justify-center gap-2", children: [
|
|
17995
|
-
/* @__PURE__ */ jsx140("div", { className: "min-h-[48px] flex items-center", children: /* @__PURE__ */ jsxs111("div", { className: "flex flex-col gap-1 w-full", children: [
|
|
17996
|
-
/* @__PURE__ */ jsx140("div", { className: "h-[24px] w-3/4 bg-ods-border rounded" }),
|
|
17997
|
-
/* @__PURE__ */ jsx140("div", { className: "h-[24px] w-1/2 bg-ods-border rounded" })
|
|
17998
|
-
] }) }),
|
|
17999
|
-
/* @__PURE__ */ jsxs111("div", { className: "flex flex-col gap-1", children: [
|
|
18000
|
-
/* @__PURE__ */ jsx140("div", { className: "h-[24px] w-full bg-ods-border rounded" }),
|
|
18001
|
-
/* @__PURE__ */ jsx140("div", { className: "h-[24px] w-full bg-ods-border rounded" }),
|
|
18002
|
-
/* @__PURE__ */ jsx140("div", { className: "h-[24px] w-2/3 bg-ods-border rounded" })
|
|
18003
|
-
] })
|
|
18004
|
-
] }),
|
|
18005
|
-
/* @__PURE__ */ jsxs111("div", { className: "flex items-center gap-2 w-full md:w-auto justify-start md:justify-end shrink-0", children: [
|
|
18006
|
-
/* @__PURE__ */ jsxs111("div", { className: "w-[200px] flex flex-col justify-center gap-2", children: [
|
|
18007
|
-
/* @__PURE__ */ jsx140("div", { className: "h-[24px] w-20 bg-ods-border rounded" }),
|
|
18008
|
-
/* @__PURE__ */ jsx140("div", { className: "h-[20px] w-32 bg-ods-border rounded" })
|
|
18009
|
-
] }),
|
|
18010
|
-
/* @__PURE__ */ jsx140("div", { className: "h-6 w-6 bg-ods-border rounded shrink-0 mx-3" })
|
|
18011
|
-
] })
|
|
18012
|
-
]
|
|
18013
|
-
}
|
|
18014
|
-
);
|
|
17921
|
+
throw new Error(`ProductReleaseCardSkeleton: unsupported size '${size}'`);
|
|
18015
17922
|
}
|
|
18016
17923
|
|
|
18017
17924
|
// src/components/shared/product-release/release-detail-page.tsx
|
|
@@ -18126,7 +18033,7 @@ function ReleaseChangelogSection({
|
|
|
18126
18033
|
|
|
18127
18034
|
// src/components/ui/image-gallery-modal.tsx
|
|
18128
18035
|
import { useState as useState35, useEffect as useEffect28 } from "react";
|
|
18129
|
-
import { ChevronLeft as ChevronLeft3, ChevronRight as
|
|
18036
|
+
import { ChevronLeft as ChevronLeft3, ChevronRight as ChevronRight6 } from "lucide-react";
|
|
18130
18037
|
import Image9 from "next/image";
|
|
18131
18038
|
import { Fragment as Fragment21, jsx as jsx144, jsxs as jsxs114 } from "react/jsx-runtime";
|
|
18132
18039
|
function ImageGalleryModal({
|
|
@@ -18202,7 +18109,7 @@ function ImageGalleryModal({
|
|
|
18202
18109
|
size: "small-legacy",
|
|
18203
18110
|
onClick: goToNextImage,
|
|
18204
18111
|
className: "rounded-full bg-black/50 text-white hover:bg-black/70 p-2",
|
|
18205
|
-
leftIcon: /* @__PURE__ */ jsx144(
|
|
18112
|
+
leftIcon: /* @__PURE__ */ jsx144(ChevronRight6, { className: "w-6 h-6" })
|
|
18206
18113
|
}
|
|
18207
18114
|
) })
|
|
18208
18115
|
] }),
|
|
@@ -20809,7 +20716,7 @@ AccordionContent.displayName = "AccordionContent";
|
|
|
20809
20716
|
init_cn();
|
|
20810
20717
|
import * as React64 from "react";
|
|
20811
20718
|
import { Slot } from "@radix-ui/react-slot";
|
|
20812
|
-
import { ChevronRight as
|
|
20719
|
+
import { ChevronRight as ChevronRight7, MoreHorizontal as MoreHorizontal2 } from "lucide-react";
|
|
20813
20720
|
import { jsx as jsx168, jsxs as jsxs135 } from "react/jsx-runtime";
|
|
20814
20721
|
var Breadcrumb = React64.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx168("nav", { ref, "aria-label": "breadcrumb", ...props }));
|
|
20815
20722
|
Breadcrumb.displayName = "Breadcrumb";
|
|
@@ -20869,7 +20776,7 @@ var BreadcrumbSeparator = ({
|
|
|
20869
20776
|
"aria-hidden": "true",
|
|
20870
20777
|
className: cn("[&>svg]:w-3.5 [&>svg]:h-3.5", className),
|
|
20871
20778
|
...props,
|
|
20872
|
-
children: children ?? /* @__PURE__ */ jsx168(
|
|
20779
|
+
children: children ?? /* @__PURE__ */ jsx168(ChevronRight7, {})
|
|
20873
20780
|
}
|
|
20874
20781
|
);
|
|
20875
20782
|
BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
|
|
@@ -20895,7 +20802,7 @@ BreadcrumbEllipsis.displayName = "BreadcrumbElipssis";
|
|
|
20895
20802
|
init_cn();
|
|
20896
20803
|
import * as React65 from "react";
|
|
20897
20804
|
import * as MenubarPrimitive from "@radix-ui/react-menubar";
|
|
20898
|
-
import { Check as Check3, ChevronRight as
|
|
20805
|
+
import { Check as Check3, ChevronRight as ChevronRight8, Circle } from "lucide-react";
|
|
20899
20806
|
import { jsx as jsx169, jsxs as jsxs136 } from "react/jsx-runtime";
|
|
20900
20807
|
var MenubarMenu = MenubarPrimitive.Menu;
|
|
20901
20808
|
var MenubarGroup = MenubarPrimitive.Group;
|
|
@@ -20938,7 +20845,7 @@ var MenubarSubTrigger = React65.forwardRef(({ className, inset, children, ...pro
|
|
|
20938
20845
|
...props,
|
|
20939
20846
|
children: [
|
|
20940
20847
|
children,
|
|
20941
|
-
/* @__PURE__ */ jsx169(
|
|
20848
|
+
/* @__PURE__ */ jsx169(ChevronRight8, { className: "ml-auto h-4 w-4" })
|
|
20942
20849
|
]
|
|
20943
20850
|
}
|
|
20944
20851
|
));
|
|
@@ -23990,7 +23897,7 @@ init_button2();
|
|
|
23990
23897
|
// src/components/ui/cursor-pagination.tsx
|
|
23991
23898
|
init_cn();
|
|
23992
23899
|
init_button2();
|
|
23993
|
-
import { ChevronLeft as ChevronLeft4, ChevronRight as
|
|
23900
|
+
import { ChevronLeft as ChevronLeft4, ChevronRight as ChevronRight9, RotateCcw as RotateCcw2, Home as Home2 } from "lucide-react";
|
|
23994
23901
|
import { jsx as jsx212, jsxs as jsxs169 } from "react/jsx-runtime";
|
|
23995
23902
|
function CursorPagination({
|
|
23996
23903
|
hasNextPage,
|
|
@@ -24088,7 +23995,7 @@ function CursorPagination({
|
|
|
24088
23995
|
className: cn(
|
|
24089
23996
|
compact && "h-8 px-3"
|
|
24090
23997
|
),
|
|
24091
|
-
rightIcon: /* @__PURE__ */ jsx212(
|
|
23998
|
+
rightIcon: /* @__PURE__ */ jsx212(ChevronRight9, { className: "h-4 w-4" }),
|
|
24092
23999
|
"aria-label": "Go to next page",
|
|
24093
24000
|
children: /* @__PURE__ */ jsx212("span", { className: compact ? "hidden md:inline" : "", children: "Next" })
|
|
24094
24001
|
}
|
|
@@ -24140,7 +24047,7 @@ function CursorPaginationSimple({
|
|
|
24140
24047
|
onClick: () => onNext?.(""),
|
|
24141
24048
|
disabled: !hasNextPage || loading,
|
|
24142
24049
|
className: "h-8 w-8",
|
|
24143
|
-
rightIcon: /* @__PURE__ */ jsx212(
|
|
24050
|
+
rightIcon: /* @__PURE__ */ jsx212(ChevronRight9, { className: "h-4 w-4" }),
|
|
24144
24051
|
"aria-label": "Next"
|
|
24145
24052
|
}
|
|
24146
24053
|
)
|
|
@@ -33200,7 +33107,7 @@ init_button2();
|
|
|
33200
33107
|
init_cn();
|
|
33201
33108
|
import * as React100 from "react";
|
|
33202
33109
|
import * as DropdownMenuPrimitive2 from "@radix-ui/react-dropdown-menu";
|
|
33203
|
-
import { Check as Check5, ChevronRight as
|
|
33110
|
+
import { Check as Check5, ChevronRight as ChevronRight10, Circle as Circle2 } from "lucide-react";
|
|
33204
33111
|
import { jsx as jsx294, jsxs as jsxs237 } from "react/jsx-runtime";
|
|
33205
33112
|
var DropdownMenu2 = DropdownMenuPrimitive2.Root;
|
|
33206
33113
|
var DropdownMenuTrigger2 = DropdownMenuPrimitive2.Trigger;
|
|
@@ -33216,7 +33123,7 @@ var DropdownMenuSubTrigger = React100.forwardRef(({ className, inset, children,
|
|
|
33216
33123
|
...props,
|
|
33217
33124
|
children: [
|
|
33218
33125
|
children,
|
|
33219
|
-
/* @__PURE__ */ jsx294(
|
|
33126
|
+
/* @__PURE__ */ jsx294(ChevronRight10, { className: "ml-auto" })
|
|
33220
33127
|
]
|
|
33221
33128
|
}
|
|
33222
33129
|
));
|
|
@@ -35096,4 +35003,4 @@ export {
|
|
|
35096
35003
|
TMCG_SOCIAL_PLATFORMS,
|
|
35097
35004
|
assets
|
|
35098
35005
|
};
|
|
35099
|
-
//# sourceMappingURL=chunk-
|
|
35006
|
+
//# sourceMappingURL=chunk-3KGUV6LK.js.map
|