@orangecheck/design 0.32.1 → 0.32.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/chrome.js +37 -37
- package/dist/chrome.js.map +1 -1
- package/dist/chrome.mjs +37 -37
- package/dist/chrome.mjs.map +1 -1
- package/dist/components.js +42 -42
- package/dist/components.js.map +1 -1
- package/dist/components.mjs +42 -42
- package/dist/components.mjs.map +1 -1
- package/dist/composites.js +5 -5
- package/dist/composites.js.map +1 -1
- package/dist/composites.mjs +5 -5
- package/dist/composites.mjs.map +1 -1
- package/dist/index.js +49 -49
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +49 -49
- package/dist/index.mjs.map +1 -1
- package/dist/primitives.js +7 -7
- package/dist/primitives.js.map +1 -1
- package/dist/primitives.mjs +7 -7
- package/dist/primitives.mjs.map +1 -1
- package/dist/styles/swagger.css +205 -0
- package/dist/styles/theme.css +10 -0
- package/package.json +2 -1
package/dist/components.mjs
CHANGED
|
@@ -45,7 +45,7 @@ function HelpHint({
|
|
|
45
45
|
onClick: (e) => e.stopPropagation(),
|
|
46
46
|
className: cn(
|
|
47
47
|
"focus-visible:ring-primary/60 inline-flex shrink-0 items-center justify-center rounded-full transition-colors outline-none focus-visible:ring-2",
|
|
48
|
-
tone === "subtle" ? "text-muted-foreground
|
|
48
|
+
tone === "subtle" ? "text-muted-foreground hover:text-foreground/80" : "text-primary/70 hover:text-primary",
|
|
49
49
|
className
|
|
50
50
|
),
|
|
51
51
|
children: /* @__PURE__ */ jsx(HelpCircle, { size: iconSize, "aria-hidden": true })
|
|
@@ -92,7 +92,7 @@ function SectionHeader({
|
|
|
92
92
|
] }),
|
|
93
93
|
hint && /* @__PURE__ */ jsx(HelpHint, { title: hint.title, side: hint.side ?? "bottom", children: hint.body })
|
|
94
94
|
] }),
|
|
95
|
-
meta && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
95
|
+
meta && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground font-mono text-[10px] tracking-widest uppercase", children: meta })
|
|
96
96
|
] });
|
|
97
97
|
}
|
|
98
98
|
var buttonVariants = cva(
|
|
@@ -305,7 +305,7 @@ function StatGrid({ items, columns = 3, className = "" }) {
|
|
|
305
305
|
function Tile({ item }) {
|
|
306
306
|
const tone = item.tone ?? (item.accent ? "primary" : "default");
|
|
307
307
|
return /* @__PURE__ */ jsxs("div", { className: "oc-stat-tile bg-background p-5", children: [
|
|
308
|
-
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground
|
|
308
|
+
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground font-mono text-[10px] tracking-widest uppercase", children: item.label }),
|
|
309
309
|
/* @__PURE__ */ jsx(
|
|
310
310
|
"div",
|
|
311
311
|
{
|
|
@@ -313,7 +313,7 @@ function Tile({ item }) {
|
|
|
313
313
|
children: item.value
|
|
314
314
|
}
|
|
315
315
|
),
|
|
316
|
-
item.sub && /* @__PURE__ */ jsx("div", { className: "text-muted-foreground
|
|
316
|
+
item.sub && /* @__PURE__ */ jsx("div", { className: "text-muted-foreground mt-1 font-mono text-[10px] tracking-widest uppercase", children: item.sub })
|
|
317
317
|
] });
|
|
318
318
|
}
|
|
319
319
|
function StatTile({ children, ...item }) {
|
|
@@ -914,7 +914,7 @@ function ComparisonTable({ rows, columns, className }) {
|
|
|
914
914
|
rows.map((row, i) => /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-[1.4fr_1fr_1fr] border-t", children: [
|
|
915
915
|
/* @__PURE__ */ jsx("div", { className: "px-4 py-3.5 font-medium text-foreground sm:px-6", children: row.label }),
|
|
916
916
|
/* @__PURE__ */ jsxs("div", { className: "text-muted-foreground flex items-center gap-2 px-4 py-3.5 sm:px-6", children: [
|
|
917
|
-
/* @__PURE__ */ jsx(X, { className: "text-muted-foreground
|
|
917
|
+
/* @__PURE__ */ jsx(X, { className: "text-muted-foreground size-4" }),
|
|
918
918
|
/* @__PURE__ */ jsx("span", { children: row.theirs })
|
|
919
919
|
] }),
|
|
920
920
|
/* @__PURE__ */ jsxs("div", { className: "bg-accent/40 border-border/60 flex items-center gap-2 border-l px-4 py-3.5 text-foreground sm:px-6", children: [
|
|
@@ -1550,7 +1550,7 @@ var SECTIONS = [
|
|
|
1550
1550
|
function CategoryChip({ category }) {
|
|
1551
1551
|
if (category === "hub") return null;
|
|
1552
1552
|
const label = category === "product" ? "product" : category === "protocol" ? "protocol" : "owner";
|
|
1553
|
-
const tone = category === "product" ? "border-primary/25 bg-primary/10 text-primary" : category === "protocol" ? "border-muted-foreground/20 bg-muted/40 text-muted-foreground
|
|
1553
|
+
const tone = category === "product" ? "border-primary/25 bg-primary/10 text-primary" : category === "protocol" ? "border-muted-foreground/20 bg-muted/40 text-muted-foreground" : "border-warning/30 bg-warning/10 text-warning";
|
|
1554
1554
|
return /* @__PURE__ */ jsx(
|
|
1555
1555
|
"span",
|
|
1556
1556
|
{
|
|
@@ -1567,7 +1567,7 @@ function SiteStateBadge({ state }) {
|
|
|
1567
1567
|
"span",
|
|
1568
1568
|
{
|
|
1569
1569
|
"aria-label": `site lifecycle: ${state}`,
|
|
1570
|
-
className: "text-muted-foreground
|
|
1570
|
+
className: "text-muted-foreground ml-1 hidden font-mono text-[9px] font-medium tracking-widest uppercase sm:inline-block",
|
|
1571
1571
|
"data-oc-site-state": state,
|
|
1572
1572
|
children: SITE_STATE_LABEL[state]
|
|
1573
1573
|
}
|
|
@@ -1576,7 +1576,7 @@ function SiteStateBadge({ state }) {
|
|
|
1576
1576
|
function MenuCategoryChip({ category }) {
|
|
1577
1577
|
if (category === "hub") return null;
|
|
1578
1578
|
const label = category === "product" ? "pro" : category === "protocol" ? "spec" : "own";
|
|
1579
|
-
const tone = category === "product" ? "bg-primary/10 text-primary" : category === "protocol" ? "bg-muted/60 text-muted-foreground
|
|
1579
|
+
const tone = category === "product" ? "bg-primary/10 text-primary" : category === "protocol" ? "bg-muted/60 text-muted-foreground" : "bg-warning/15 text-warning";
|
|
1580
1580
|
return /* @__PURE__ */ jsx(
|
|
1581
1581
|
"span",
|
|
1582
1582
|
{
|
|
@@ -1693,7 +1693,7 @@ function OcLogoDropdown({
|
|
|
1693
1693
|
ChevronDown,
|
|
1694
1694
|
{
|
|
1695
1695
|
"aria-hidden": true,
|
|
1696
|
-
className: "text-muted-foreground
|
|
1696
|
+
className: "text-muted-foreground group-hover:text-foreground/80 h-3.5 w-3.5 shrink-0 transition-transform duration-200 " + (open ? "rotate-180" : "")
|
|
1697
1697
|
}
|
|
1698
1698
|
)
|
|
1699
1699
|
]
|
|
@@ -1708,7 +1708,7 @@ function OcLogoDropdown({
|
|
|
1708
1708
|
"aria-label": "go to " + homeHref + " (this site's home)",
|
|
1709
1709
|
onClick: () => setOpen(false),
|
|
1710
1710
|
tabIndex: open ? 0 : -1,
|
|
1711
|
-
className: "hover:text-primary group/home -ml-1 hidden items-center gap-1 rounded-sm px-1.5 py-1 font-mono text-[9px] tracking-widest uppercase transition-all duration-200 sm:inline-flex " + (open ? "pointer-events-auto translate-x-0 text-muted-foreground
|
|
1711
|
+
className: "hover:text-primary group/home -ml-1 hidden items-center gap-1 rounded-sm px-1.5 py-1 font-mono text-[9px] tracking-widest uppercase transition-all duration-200 sm:inline-flex " + (open ? "pointer-events-auto translate-x-0 text-muted-foreground opacity-100 hover:bg-accent/30" : "pointer-events-none -translate-x-1 opacity-0"),
|
|
1712
1712
|
"data-oc-logo-dropdown-home-hint": "",
|
|
1713
1713
|
children: [
|
|
1714
1714
|
/* @__PURE__ */ jsx(
|
|
@@ -1744,7 +1744,7 @@ function OcLogoDropdown({
|
|
|
1744
1744
|
{
|
|
1745
1745
|
role: "separator",
|
|
1746
1746
|
"aria-hidden": true,
|
|
1747
|
-
className: "text-muted-foreground
|
|
1747
|
+
className: "text-muted-foreground px-4 pt-2.5 pb-1 font-mono text-[9px] font-medium tracking-widest uppercase " + (category === "hub" ? "" : "border-t mt-1"),
|
|
1748
1748
|
children: label
|
|
1749
1749
|
}
|
|
1750
1750
|
),
|
|
@@ -1966,7 +1966,7 @@ function CopyableDid({ did }) {
|
|
|
1966
1966
|
/* @__PURE__ */ jsx(
|
|
1967
1967
|
"span",
|
|
1968
1968
|
{
|
|
1969
|
-
className: "mt-px shrink-0 transition-colors " + (copied ? "text-primary" : "text-muted-foreground
|
|
1969
|
+
className: "mt-px shrink-0 transition-colors " + (copied ? "text-primary" : "text-muted-foreground group-hover/did:text-foreground/80"),
|
|
1970
1970
|
"aria-hidden": true,
|
|
1971
1971
|
children: copied ? /* @__PURE__ */ jsx(Check, { className: "size-3.5" }) : /* @__PURE__ */ jsx(Copy, { className: "size-3.5" })
|
|
1972
1972
|
}
|
|
@@ -2041,10 +2041,10 @@ function PromoteRow({
|
|
|
2041
2041
|
"data-oc-account-menu-promote-copy": kind,
|
|
2042
2042
|
"data-copied": copied ? "" : void 0,
|
|
2043
2043
|
className: "hover:bg-background/70 focus-visible:ring-ring/60 flex size-6 shrink-0 items-center justify-center rounded transition-colors focus-visible:ring-2 focus-visible:outline-none",
|
|
2044
|
-
children: copied ? /* @__PURE__ */ jsx(Check, { className: "text-primary size-3.5" }) : /* @__PURE__ */ jsx(Copy, { className: "text-muted-foreground
|
|
2044
|
+
children: copied ? /* @__PURE__ */ jsx(Check, { className: "text-primary size-3.5" }) : /* @__PURE__ */ jsx(Copy, { className: "text-muted-foreground size-3.5" })
|
|
2045
2045
|
}
|
|
2046
2046
|
),
|
|
2047
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
2047
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground w-14 shrink-0 text-right text-[9px] tracking-widest uppercase", children: busy ? /* @__PURE__ */ jsx(Loader2, { className: "ml-auto size-3 animate-spin" }) : kindLabel }),
|
|
2048
2048
|
/* @__PURE__ */ jsx("span", { className: "sr-only", "aria-live": "polite", children: copied ? "Copied to clipboard" : "" })
|
|
2049
2049
|
]
|
|
2050
2050
|
}
|
|
@@ -2101,7 +2101,7 @@ function IdentityPromoteSection({
|
|
|
2101
2101
|
}
|
|
2102
2102
|
};
|
|
2103
2103
|
return /* @__PURE__ */ jsxs("div", { className: "border-border border-b p-1", "data-oc-account-menu-section": "show-as", children: [
|
|
2104
|
-
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground
|
|
2104
|
+
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground px-3 pt-2 pb-1 font-mono text-[10px] tracking-widest uppercase", children: "\xA7 show as" }),
|
|
2105
2105
|
options.map((opt) => /* @__PURE__ */ jsx(
|
|
2106
2106
|
PromoteRow,
|
|
2107
2107
|
{
|
|
@@ -2195,7 +2195,7 @@ function MobileMenu({
|
|
|
2195
2195
|
"data-oc-account-mobile-popover": "",
|
|
2196
2196
|
children: [
|
|
2197
2197
|
links.length > 0 && /* @__PURE__ */ jsxs("div", { className: "border-b p-1", children: [
|
|
2198
|
-
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground
|
|
2198
|
+
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground px-3 pt-2 pb-1 font-mono text-[10px] tracking-widest uppercase", children: "\xA7 navigate" }),
|
|
2199
2199
|
links.map(
|
|
2200
2200
|
(l) => l.external ? /* @__PURE__ */ jsxs(
|
|
2201
2201
|
"a",
|
|
@@ -2209,7 +2209,7 @@ function MobileMenu({
|
|
|
2209
2209
|
children: [
|
|
2210
2210
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", "aria-hidden": true, children: "\u2192" }),
|
|
2211
2211
|
/* @__PURE__ */ jsx("span", { className: "flex-1", children: l.label }),
|
|
2212
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
2212
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[10px]", "aria-hidden": true, children: "\u2197" })
|
|
2213
2213
|
]
|
|
2214
2214
|
},
|
|
2215
2215
|
l.href
|
|
@@ -2373,7 +2373,7 @@ function OcAccountMenuView({
|
|
|
2373
2373
|
tabPinned ? /* @__PURE__ */ jsxs(
|
|
2374
2374
|
"span",
|
|
2375
2375
|
{
|
|
2376
|
-
className: "text-muted-foreground
|
|
2376
|
+
className: "text-muted-foreground normal-case",
|
|
2377
2377
|
"data-oc-account-menu-tab-pin": "",
|
|
2378
2378
|
title: "This tab keeps this account even if you switch accounts in another tab",
|
|
2379
2379
|
children: [
|
|
@@ -2385,10 +2385,10 @@ function OcAccountMenuView({
|
|
|
2385
2385
|
] }),
|
|
2386
2386
|
/* @__PURE__ */ jsx(CopyableDid, { did: account.didOc }),
|
|
2387
2387
|
account.displayIdentity.kind !== "did" && account.displayIdentity.value ? /* @__PURE__ */ jsxs("div", { className: "mt-1 flex items-center gap-1.5 font-mono text-[10px] tracking-wide", children: [
|
|
2388
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
2388
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground uppercase", children: IDENTITY_KIND_LABEL[account.displayIdentity.kind] }),
|
|
2389
2389
|
/* @__PURE__ */ jsx("span", { className: "text-foreground/75", children: obscureIdentity(account.displayIdentity.value) })
|
|
2390
2390
|
] }) : null,
|
|
2391
|
-
displayName ? /* @__PURE__ */ jsx("div", { className: "text-muted-foreground
|
|
2391
|
+
displayName ? /* @__PURE__ */ jsx("div", { className: "text-muted-foreground mt-1 font-mono text-[10px] tracking-wide", children: displayName }) : null
|
|
2392
2392
|
] }),
|
|
2393
2393
|
/* @__PURE__ */ jsx(
|
|
2394
2394
|
IdentityPromoteSection,
|
|
@@ -2429,7 +2429,7 @@ function OcAccountMenuView({
|
|
|
2429
2429
|
item.external ? /* @__PURE__ */ jsx(
|
|
2430
2430
|
"span",
|
|
2431
2431
|
{
|
|
2432
|
-
className: "text-muted-foreground
|
|
2432
|
+
className: "text-muted-foreground text-[10px]",
|
|
2433
2433
|
"aria-hidden": true,
|
|
2434
2434
|
children: "\u2197"
|
|
2435
2435
|
}
|
|
@@ -2478,7 +2478,7 @@ function OcAccountMenuView({
|
|
|
2478
2478
|
/* @__PURE__ */ jsx(
|
|
2479
2479
|
"span",
|
|
2480
2480
|
{
|
|
2481
|
-
className: "text-muted-foreground
|
|
2481
|
+
className: "text-muted-foreground text-[10px]",
|
|
2482
2482
|
"aria-hidden": true,
|
|
2483
2483
|
children: "\u2197"
|
|
2484
2484
|
}
|
|
@@ -2550,7 +2550,7 @@ function AccountsSection({
|
|
|
2550
2550
|
}
|
|
2551
2551
|
};
|
|
2552
2552
|
return /* @__PURE__ */ jsxs("div", { className: "border-border border-b p-1", "data-oc-account-menu-section": "accounts", children: [
|
|
2553
|
-
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground
|
|
2553
|
+
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground px-3 pt-2 pb-1 font-mono text-[10px] tracking-widest uppercase", children: "\xA7 accounts" }),
|
|
2554
2554
|
roster.map((peer) => /* @__PURE__ */ jsx(
|
|
2555
2555
|
SwitchRow,
|
|
2556
2556
|
{
|
|
@@ -2628,7 +2628,7 @@ function SwitchRow({
|
|
|
2628
2628
|
}
|
|
2629
2629
|
),
|
|
2630
2630
|
/* @__PURE__ */ jsx("span", { className: "text-foreground/90 min-w-0 flex-1 truncate", children: label }),
|
|
2631
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
2631
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground w-14 shrink-0 text-right text-[9px] tracking-widest uppercase", children: busy ? /* @__PURE__ */ jsx(Loader2, { className: "ml-auto size-3 animate-spin" }) : kindLabel })
|
|
2632
2632
|
]
|
|
2633
2633
|
}
|
|
2634
2634
|
);
|
|
@@ -2647,7 +2647,7 @@ function PopoverSection({
|
|
|
2647
2647
|
className: cn("p-1", bordered && "border-border border-t", className),
|
|
2648
2648
|
"data-oc-account-menu-section": label,
|
|
2649
2649
|
children: [
|
|
2650
|
-
/* @__PURE__ */ jsxs("div", { className: "text-muted-foreground
|
|
2650
|
+
/* @__PURE__ */ jsxs("div", { className: "text-muted-foreground px-3 pt-2 pb-1 font-mono text-[10px] tracking-widest uppercase", children: [
|
|
2651
2651
|
"\xA7 ",
|
|
2652
2652
|
label
|
|
2653
2653
|
] }),
|
|
@@ -2665,7 +2665,7 @@ function PopoverSection({
|
|
|
2665
2665
|
children: [
|
|
2666
2666
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", "aria-hidden": true, children: "\u2192" }),
|
|
2667
2667
|
/* @__PURE__ */ jsx("span", { className: "flex-1", children: item.label }),
|
|
2668
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
2668
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[10px]", "aria-hidden": true, children: "\u2197" })
|
|
2669
2669
|
]
|
|
2670
2670
|
},
|
|
2671
2671
|
item.href
|
|
@@ -2700,16 +2700,16 @@ function BuildFooter({
|
|
|
2700
2700
|
return /* @__PURE__ */ jsxs(
|
|
2701
2701
|
"div",
|
|
2702
2702
|
{
|
|
2703
|
-
className: "text-muted-foreground
|
|
2703
|
+
className: "text-muted-foreground border-border border-t px-3 py-2 font-mono text-[9.5px] tracking-widest uppercase",
|
|
2704
2704
|
"data-oc-account-menu-build": "",
|
|
2705
2705
|
children: [
|
|
2706
2706
|
hostname,
|
|
2707
2707
|
state && state !== "live" ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
2708
2708
|
" \xB7 ",
|
|
2709
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
2709
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: state })
|
|
2710
2710
|
] }) : null,
|
|
2711
2711
|
" ",
|
|
2712
|
-
/* @__PURE__ */ jsxs("span", { className: "text-muted-foreground
|
|
2712
|
+
/* @__PURE__ */ jsxs("span", { className: "text-muted-foreground", children: [
|
|
2713
2713
|
"v",
|
|
2714
2714
|
build.version,
|
|
2715
2715
|
showSha ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
@@ -2756,7 +2756,7 @@ function OcPrimaryNav({
|
|
|
2756
2756
|
"span",
|
|
2757
2757
|
{
|
|
2758
2758
|
"aria-hidden": true,
|
|
2759
|
-
className: "text-muted-foreground
|
|
2759
|
+
className: "text-muted-foreground ml-1 text-[9px]",
|
|
2760
2760
|
children: "\u2197"
|
|
2761
2761
|
}
|
|
2762
2762
|
) : null
|
|
@@ -2939,10 +2939,10 @@ function Sidebar({
|
|
|
2939
2939
|
}
|
|
2940
2940
|
) : null
|
|
2941
2941
|
] }),
|
|
2942
|
-
siteLabel ? /* @__PURE__ */ jsx("div", { className: "text-muted-foreground
|
|
2942
|
+
siteLabel ? /* @__PURE__ */ jsx("div", { className: "text-muted-foreground mt-1 font-mono text-[10px] tracking-widest uppercase", children: siteLabel }) : null
|
|
2943
2943
|
] }),
|
|
2944
2944
|
/* @__PURE__ */ jsxs("nav", { className: "flex-1 overflow-y-auto px-2 py-3", children: [
|
|
2945
|
-
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground
|
|
2945
|
+
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground mb-1 px-3 font-mono text-[10px] tracking-widest uppercase", children: "\xA7 tools" }),
|
|
2946
2946
|
/* @__PURE__ */ jsx("ul", { className: "space-y-0.5", children: tools.map((tool) => {
|
|
2947
2947
|
const isActive2 = tool.id === active;
|
|
2948
2948
|
const innerCls = "flex items-baseline gap-2 rounded px-3 py-1.5 text-[12.5px] transition-colors " + (isActive2 ? "bg-primary/10 text-primary font-semibold" : "text-muted-foreground hover:text-foreground hover:bg-muted/30");
|
|
@@ -2950,19 +2950,19 @@ function Sidebar({
|
|
|
2950
2950
|
tool.icon ? /* @__PURE__ */ jsx(
|
|
2951
2951
|
"span",
|
|
2952
2952
|
{
|
|
2953
|
-
className: "shrink-0 font-mono text-[11px] " + (isActive2 ? "text-primary" : "text-muted-foreground
|
|
2953
|
+
className: "shrink-0 font-mono text-[11px] " + (isActive2 ? "text-primary" : "text-muted-foreground"),
|
|
2954
2954
|
"aria-hidden": true,
|
|
2955
2955
|
children: tool.icon
|
|
2956
2956
|
}
|
|
2957
2957
|
) : null,
|
|
2958
2958
|
/* @__PURE__ */ jsxs("span", { className: "flex-1 leading-tight", children: [
|
|
2959
2959
|
/* @__PURE__ */ jsx("span", { children: tool.label }),
|
|
2960
|
-
tool.tagline ? /* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
2960
|
+
tool.tagline ? /* @__PURE__ */ jsx("span", { className: "text-muted-foreground mt-0.5 block font-mono text-[10px] tracking-wide normal-case", children: tool.tagline }) : null
|
|
2961
2961
|
] }),
|
|
2962
2962
|
tool.external ? /* @__PURE__ */ jsx(
|
|
2963
2963
|
"span",
|
|
2964
2964
|
{
|
|
2965
|
-
className: "text-muted-foreground
|
|
2965
|
+
className: "text-muted-foreground text-[10px]",
|
|
2966
2966
|
"aria-hidden": true,
|
|
2967
2967
|
children: "\u2197"
|
|
2968
2968
|
}
|
|
@@ -3017,14 +3017,14 @@ function OcDashboardHub({ tools, className }) {
|
|
|
3017
3017
|
tool.external ? /* @__PURE__ */ jsx(
|
|
3018
3018
|
"span",
|
|
3019
3019
|
{
|
|
3020
|
-
className: "text-muted-foreground
|
|
3020
|
+
className: "text-muted-foreground ml-auto text-xs",
|
|
3021
3021
|
"aria-hidden": true,
|
|
3022
3022
|
children: "\u2197"
|
|
3023
3023
|
}
|
|
3024
3024
|
) : /* @__PURE__ */ jsx(
|
|
3025
3025
|
"span",
|
|
3026
3026
|
{
|
|
3027
|
-
className: "text-muted-foreground
|
|
3027
|
+
className: "text-muted-foreground ml-auto text-xs",
|
|
3028
3028
|
"aria-hidden": true,
|
|
3029
3029
|
children: "\u2192"
|
|
3030
3030
|
}
|
|
@@ -3092,7 +3092,7 @@ function LayoutSubHeader({
|
|
|
3092
3092
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground hidden tracking-widest whitespace-nowrap uppercase sm:inline", children: status }),
|
|
3093
3093
|
/* @__PURE__ */ jsx("span", { className: "text-foreground truncate", children: product })
|
|
3094
3094
|
] }),
|
|
3095
|
-
tags.length > 0 && /* @__PURE__ */ jsx("div", { className: "text-muted-foreground
|
|
3095
|
+
tags.length > 0 && /* @__PURE__ */ jsx("div", { className: "text-muted-foreground hidden shrink-0 items-center gap-x-3 tracking-wider whitespace-nowrap uppercase sm:flex", children: tags.map((tag, i) => /* @__PURE__ */ jsx("span", { className: tag.hideBelow ? HIDE[tag.hideBelow] : void 0, children: tag.label }, i)) })
|
|
3096
3096
|
] }) });
|
|
3097
3097
|
}
|
|
3098
3098
|
function OcAppBar({
|
|
@@ -3135,7 +3135,7 @@ var GRID = {
|
|
|
3135
3135
|
4: "md:grid-cols-[1.2fr_1fr_1fr_1fr_1fr]",
|
|
3136
3136
|
5: "md:grid-cols-[1.2fr_1fr_1fr_1fr_1fr_1fr]"
|
|
3137
3137
|
};
|
|
3138
|
-
var LINK_CLS = "text-muted-foreground hover:text-foreground font-mono text-xs tracking-wide lowercase transition-colors";
|
|
3138
|
+
var LINK_CLS = "text-muted-foreground hover:text-foreground inline-flex min-h-11 min-w-11 items-center font-mono text-xs tracking-wide lowercase transition-colors md:min-h-0 md:min-w-0";
|
|
3139
3139
|
function FooterLinkItem({ link }) {
|
|
3140
3140
|
if (link.external) {
|
|
3141
3141
|
return /* @__PURE__ */ jsxs("a", { href: link.href, target: "_blank", rel: "noreferrer", className: LINK_CLS, children: [
|
|
@@ -3152,7 +3152,7 @@ function FooterLinkItem({ link }) {
|
|
|
3152
3152
|
function FooterColumnView({ column }) {
|
|
3153
3153
|
return /* @__PURE__ */ jsxs("div", { children: [
|
|
3154
3154
|
/* @__PURE__ */ jsx("div", { className: "label-mono text-primary mb-3", children: column.label }),
|
|
3155
|
-
/* @__PURE__ */ jsx("ul", { className: "space-y-2", children: column.links.map((link) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(FooterLinkItem, { link }) }, `${column.label}:${link.href}`)) })
|
|
3155
|
+
/* @__PURE__ */ jsx("ul", { className: "md:space-y-2", children: column.links.map((link) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(FooterLinkItem, { link }) }, `${column.label}:${link.href}`)) })
|
|
3156
3156
|
] });
|
|
3157
3157
|
}
|
|
3158
3158
|
function familyColumn(category, label) {
|
|
@@ -3213,12 +3213,12 @@ function OcFamilyFooter({
|
|
|
3213
3213
|
year,
|
|
3214
3214
|
" orangecheck \xB7 mit + cc-by-4.0"
|
|
3215
3215
|
] }) }),
|
|
3216
|
-
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground
|
|
3216
|
+
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground flex flex-wrap items-center gap-x-4 md:gap-y-1", children: links.map((link) => /* @__PURE__ */ jsx(
|
|
3217
3217
|
"a",
|
|
3218
3218
|
{
|
|
3219
3219
|
href: link.href,
|
|
3220
3220
|
...link.external ? { target: "_blank", rel: "noreferrer" } : {},
|
|
3221
|
-
className: "hover:text-foreground transition-colors",
|
|
3221
|
+
className: "hover:text-foreground inline-flex min-h-11 items-center transition-colors md:min-h-0",
|
|
3222
3222
|
children: link.label
|
|
3223
3223
|
},
|
|
3224
3224
|
link.label
|