@orangecheck/design 0.32.1 → 0.32.2
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/theme.css +10 -0
- package/package.json +2 -1
package/dist/components.js
CHANGED
|
@@ -71,7 +71,7 @@ function HelpHint({
|
|
|
71
71
|
onClick: (e) => e.stopPropagation(),
|
|
72
72
|
className: cn(
|
|
73
73
|
"focus-visible:ring-primary/60 inline-flex shrink-0 items-center justify-center rounded-full transition-colors outline-none focus-visible:ring-2",
|
|
74
|
-
tone === "subtle" ? "text-muted-foreground
|
|
74
|
+
tone === "subtle" ? "text-muted-foreground hover:text-foreground/80" : "text-primary/70 hover:text-primary",
|
|
75
75
|
className
|
|
76
76
|
),
|
|
77
77
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.HelpCircle, { size: iconSize, "aria-hidden": true })
|
|
@@ -118,7 +118,7 @@ function SectionHeader({
|
|
|
118
118
|
] }),
|
|
119
119
|
hint && /* @__PURE__ */ jsxRuntime.jsx(HelpHint, { title: hint.title, side: hint.side ?? "bottom", children: hint.body })
|
|
120
120
|
] }),
|
|
121
|
-
meta && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground
|
|
121
|
+
meta && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground font-mono text-[10px] tracking-widest uppercase", children: meta })
|
|
122
122
|
] });
|
|
123
123
|
}
|
|
124
124
|
var buttonVariants = classVarianceAuthority.cva(
|
|
@@ -331,7 +331,7 @@ function StatGrid({ items, columns = 3, className = "" }) {
|
|
|
331
331
|
function Tile({ item }) {
|
|
332
332
|
const tone = item.tone ?? (item.accent ? "primary" : "default");
|
|
333
333
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "oc-stat-tile bg-background p-5", children: [
|
|
334
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground
|
|
334
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground font-mono text-[10px] tracking-widest uppercase", children: item.label }),
|
|
335
335
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
336
336
|
"div",
|
|
337
337
|
{
|
|
@@ -339,7 +339,7 @@ function Tile({ item }) {
|
|
|
339
339
|
children: item.value
|
|
340
340
|
}
|
|
341
341
|
),
|
|
342
|
-
item.sub && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground
|
|
342
|
+
item.sub && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground mt-1 font-mono text-[10px] tracking-widest uppercase", children: item.sub })
|
|
343
343
|
] });
|
|
344
344
|
}
|
|
345
345
|
function StatTile({ children, ...item }) {
|
|
@@ -940,7 +940,7 @@ function ComparisonTable({ rows, columns, className }) {
|
|
|
940
940
|
rows.map((row, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-[1.4fr_1fr_1fr] border-t", children: [
|
|
941
941
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-4 py-3.5 font-medium text-foreground sm:px-6", children: row.label }),
|
|
942
942
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-muted-foreground flex items-center gap-2 px-4 py-3.5 sm:px-6", children: [
|
|
943
|
-
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "text-muted-foreground
|
|
943
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "text-muted-foreground size-4" }),
|
|
944
944
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: row.theirs })
|
|
945
945
|
] }),
|
|
946
946
|
/* @__PURE__ */ jsxRuntime.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: [
|
|
@@ -1576,7 +1576,7 @@ var SECTIONS = [
|
|
|
1576
1576
|
function CategoryChip({ category }) {
|
|
1577
1577
|
if (category === "hub") return null;
|
|
1578
1578
|
const label = category === "product" ? "product" : category === "protocol" ? "protocol" : "owner";
|
|
1579
|
-
const tone = category === "product" ? "border-primary/25 bg-primary/10 text-primary" : category === "protocol" ? "border-muted-foreground/20 bg-muted/40 text-muted-foreground
|
|
1579
|
+
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";
|
|
1580
1580
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1581
1581
|
"span",
|
|
1582
1582
|
{
|
|
@@ -1593,7 +1593,7 @@ function SiteStateBadge({ state }) {
|
|
|
1593
1593
|
"span",
|
|
1594
1594
|
{
|
|
1595
1595
|
"aria-label": `site lifecycle: ${state}`,
|
|
1596
|
-
className: "text-muted-foreground
|
|
1596
|
+
className: "text-muted-foreground ml-1 hidden font-mono text-[9px] font-medium tracking-widest uppercase sm:inline-block",
|
|
1597
1597
|
"data-oc-site-state": state,
|
|
1598
1598
|
children: SITE_STATE_LABEL[state]
|
|
1599
1599
|
}
|
|
@@ -1602,7 +1602,7 @@ function SiteStateBadge({ state }) {
|
|
|
1602
1602
|
function MenuCategoryChip({ category }) {
|
|
1603
1603
|
if (category === "hub") return null;
|
|
1604
1604
|
const label = category === "product" ? "pro" : category === "protocol" ? "spec" : "own";
|
|
1605
|
-
const tone = category === "product" ? "bg-primary/10 text-primary" : category === "protocol" ? "bg-muted/60 text-muted-foreground
|
|
1605
|
+
const tone = category === "product" ? "bg-primary/10 text-primary" : category === "protocol" ? "bg-muted/60 text-muted-foreground" : "bg-warning/15 text-warning";
|
|
1606
1606
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1607
1607
|
"span",
|
|
1608
1608
|
{
|
|
@@ -1719,7 +1719,7 @@ function OcLogoDropdown({
|
|
|
1719
1719
|
lucideReact.ChevronDown,
|
|
1720
1720
|
{
|
|
1721
1721
|
"aria-hidden": true,
|
|
1722
|
-
className: "text-muted-foreground
|
|
1722
|
+
className: "text-muted-foreground group-hover:text-foreground/80 h-3.5 w-3.5 shrink-0 transition-transform duration-200 " + (open ? "rotate-180" : "")
|
|
1723
1723
|
}
|
|
1724
1724
|
)
|
|
1725
1725
|
]
|
|
@@ -1734,7 +1734,7 @@ function OcLogoDropdown({
|
|
|
1734
1734
|
"aria-label": "go to " + homeHref + " (this site's home)",
|
|
1735
1735
|
onClick: () => setOpen(false),
|
|
1736
1736
|
tabIndex: open ? 0 : -1,
|
|
1737
|
-
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
|
|
1737
|
+
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"),
|
|
1738
1738
|
"data-oc-logo-dropdown-home-hint": "",
|
|
1739
1739
|
children: [
|
|
1740
1740
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1770,7 +1770,7 @@ function OcLogoDropdown({
|
|
|
1770
1770
|
{
|
|
1771
1771
|
role: "separator",
|
|
1772
1772
|
"aria-hidden": true,
|
|
1773
|
-
className: "text-muted-foreground
|
|
1773
|
+
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"),
|
|
1774
1774
|
children: label
|
|
1775
1775
|
}
|
|
1776
1776
|
),
|
|
@@ -1992,7 +1992,7 @@ function CopyableDid({ did }) {
|
|
|
1992
1992
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1993
1993
|
"span",
|
|
1994
1994
|
{
|
|
1995
|
-
className: "mt-px shrink-0 transition-colors " + (copied ? "text-primary" : "text-muted-foreground
|
|
1995
|
+
className: "mt-px shrink-0 transition-colors " + (copied ? "text-primary" : "text-muted-foreground group-hover/did:text-foreground/80"),
|
|
1996
1996
|
"aria-hidden": true,
|
|
1997
1997
|
children: copied ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { className: "size-3.5" }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Copy, { className: "size-3.5" })
|
|
1998
1998
|
}
|
|
@@ -2067,10 +2067,10 @@ function PromoteRow({
|
|
|
2067
2067
|
"data-oc-account-menu-promote-copy": kind,
|
|
2068
2068
|
"data-copied": copied ? "" : void 0,
|
|
2069
2069
|
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",
|
|
2070
|
-
children: copied ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { className: "text-primary size-3.5" }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Copy, { className: "text-muted-foreground
|
|
2070
|
+
children: copied ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { className: "text-primary size-3.5" }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Copy, { className: "text-muted-foreground size-3.5" })
|
|
2071
2071
|
}
|
|
2072
2072
|
),
|
|
2073
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground
|
|
2073
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground w-14 shrink-0 text-right text-[9px] tracking-widest uppercase", children: busy ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "ml-auto size-3 animate-spin" }) : kindLabel }),
|
|
2074
2074
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", "aria-live": "polite", children: copied ? "Copied to clipboard" : "" })
|
|
2075
2075
|
]
|
|
2076
2076
|
}
|
|
@@ -2127,7 +2127,7 @@ function IdentityPromoteSection({
|
|
|
2127
2127
|
}
|
|
2128
2128
|
};
|
|
2129
2129
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-border border-b p-1", "data-oc-account-menu-section": "show-as", children: [
|
|
2130
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground
|
|
2130
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground px-3 pt-2 pb-1 font-mono text-[10px] tracking-widest uppercase", children: "\xA7 show as" }),
|
|
2131
2131
|
options.map((opt) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2132
2132
|
PromoteRow,
|
|
2133
2133
|
{
|
|
@@ -2221,7 +2221,7 @@ function MobileMenu({
|
|
|
2221
2221
|
"data-oc-account-mobile-popover": "",
|
|
2222
2222
|
children: [
|
|
2223
2223
|
links.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-b p-1", children: [
|
|
2224
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground
|
|
2224
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground px-3 pt-2 pb-1 font-mono text-[10px] tracking-widest uppercase", children: "\xA7 navigate" }),
|
|
2225
2225
|
links.map(
|
|
2226
2226
|
(l) => l.external ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2227
2227
|
"a",
|
|
@@ -2235,7 +2235,7 @@ function MobileMenu({
|
|
|
2235
2235
|
children: [
|
|
2236
2236
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", "aria-hidden": true, children: "\u2192" }),
|
|
2237
2237
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1", children: l.label }),
|
|
2238
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground
|
|
2238
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground text-[10px]", "aria-hidden": true, children: "\u2197" })
|
|
2239
2239
|
]
|
|
2240
2240
|
},
|
|
2241
2241
|
l.href
|
|
@@ -2399,7 +2399,7 @@ function OcAccountMenuView({
|
|
|
2399
2399
|
tabPinned ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2400
2400
|
"span",
|
|
2401
2401
|
{
|
|
2402
|
-
className: "text-muted-foreground
|
|
2402
|
+
className: "text-muted-foreground normal-case",
|
|
2403
2403
|
"data-oc-account-menu-tab-pin": "",
|
|
2404
2404
|
title: "This tab keeps this account even if you switch accounts in another tab",
|
|
2405
2405
|
children: [
|
|
@@ -2411,10 +2411,10 @@ function OcAccountMenuView({
|
|
|
2411
2411
|
] }),
|
|
2412
2412
|
/* @__PURE__ */ jsxRuntime.jsx(CopyableDid, { did: account.didOc }),
|
|
2413
2413
|
account.displayIdentity.kind !== "did" && account.displayIdentity.value ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-1 flex items-center gap-1.5 font-mono text-[10px] tracking-wide", children: [
|
|
2414
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground
|
|
2414
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground uppercase", children: IDENTITY_KIND_LABEL[account.displayIdentity.kind] }),
|
|
2415
2415
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-foreground/75", children: obscureIdentity(account.displayIdentity.value) })
|
|
2416
2416
|
] }) : null,
|
|
2417
|
-
displayName ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground
|
|
2417
|
+
displayName ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground mt-1 font-mono text-[10px] tracking-wide", children: displayName }) : null
|
|
2418
2418
|
] }),
|
|
2419
2419
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2420
2420
|
IdentityPromoteSection,
|
|
@@ -2455,7 +2455,7 @@ function OcAccountMenuView({
|
|
|
2455
2455
|
item.external ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
2456
2456
|
"span",
|
|
2457
2457
|
{
|
|
2458
|
-
className: "text-muted-foreground
|
|
2458
|
+
className: "text-muted-foreground text-[10px]",
|
|
2459
2459
|
"aria-hidden": true,
|
|
2460
2460
|
children: "\u2197"
|
|
2461
2461
|
}
|
|
@@ -2504,7 +2504,7 @@ function OcAccountMenuView({
|
|
|
2504
2504
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2505
2505
|
"span",
|
|
2506
2506
|
{
|
|
2507
|
-
className: "text-muted-foreground
|
|
2507
|
+
className: "text-muted-foreground text-[10px]",
|
|
2508
2508
|
"aria-hidden": true,
|
|
2509
2509
|
children: "\u2197"
|
|
2510
2510
|
}
|
|
@@ -2576,7 +2576,7 @@ function AccountsSection({
|
|
|
2576
2576
|
}
|
|
2577
2577
|
};
|
|
2578
2578
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-border border-b p-1", "data-oc-account-menu-section": "accounts", children: [
|
|
2579
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground
|
|
2579
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground px-3 pt-2 pb-1 font-mono text-[10px] tracking-widest uppercase", children: "\xA7 accounts" }),
|
|
2580
2580
|
roster.map((peer) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2581
2581
|
SwitchRow,
|
|
2582
2582
|
{
|
|
@@ -2654,7 +2654,7 @@ function SwitchRow({
|
|
|
2654
2654
|
}
|
|
2655
2655
|
),
|
|
2656
2656
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-foreground/90 min-w-0 flex-1 truncate", children: label }),
|
|
2657
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground
|
|
2657
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground w-14 shrink-0 text-right text-[9px] tracking-widest uppercase", children: busy ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "ml-auto size-3 animate-spin" }) : kindLabel })
|
|
2658
2658
|
]
|
|
2659
2659
|
}
|
|
2660
2660
|
);
|
|
@@ -2673,7 +2673,7 @@ function PopoverSection({
|
|
|
2673
2673
|
className: cn("p-1", bordered && "border-border border-t", className),
|
|
2674
2674
|
"data-oc-account-menu-section": label,
|
|
2675
2675
|
children: [
|
|
2676
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-muted-foreground
|
|
2676
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-muted-foreground px-3 pt-2 pb-1 font-mono text-[10px] tracking-widest uppercase", children: [
|
|
2677
2677
|
"\xA7 ",
|
|
2678
2678
|
label
|
|
2679
2679
|
] }),
|
|
@@ -2691,7 +2691,7 @@ function PopoverSection({
|
|
|
2691
2691
|
children: [
|
|
2692
2692
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", "aria-hidden": true, children: "\u2192" }),
|
|
2693
2693
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1", children: item.label }),
|
|
2694
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground
|
|
2694
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground text-[10px]", "aria-hidden": true, children: "\u2197" })
|
|
2695
2695
|
]
|
|
2696
2696
|
},
|
|
2697
2697
|
item.href
|
|
@@ -2726,16 +2726,16 @@ function BuildFooter({
|
|
|
2726
2726
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2727
2727
|
"div",
|
|
2728
2728
|
{
|
|
2729
|
-
className: "text-muted-foreground
|
|
2729
|
+
className: "text-muted-foreground border-border border-t px-3 py-2 font-mono text-[9.5px] tracking-widest uppercase",
|
|
2730
2730
|
"data-oc-account-menu-build": "",
|
|
2731
2731
|
children: [
|
|
2732
2732
|
hostname,
|
|
2733
2733
|
state && state !== "live" ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2734
2734
|
" \xB7 ",
|
|
2735
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground
|
|
2735
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: state })
|
|
2736
2736
|
] }) : null,
|
|
2737
2737
|
" ",
|
|
2738
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground
|
|
2738
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground", children: [
|
|
2739
2739
|
"v",
|
|
2740
2740
|
build.version,
|
|
2741
2741
|
showSha ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
@@ -2782,7 +2782,7 @@ function OcPrimaryNav({
|
|
|
2782
2782
|
"span",
|
|
2783
2783
|
{
|
|
2784
2784
|
"aria-hidden": true,
|
|
2785
|
-
className: "text-muted-foreground
|
|
2785
|
+
className: "text-muted-foreground ml-1 text-[9px]",
|
|
2786
2786
|
children: "\u2197"
|
|
2787
2787
|
}
|
|
2788
2788
|
) : null
|
|
@@ -2965,10 +2965,10 @@ function Sidebar({
|
|
|
2965
2965
|
}
|
|
2966
2966
|
) : null
|
|
2967
2967
|
] }),
|
|
2968
|
-
siteLabel ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground
|
|
2968
|
+
siteLabel ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground mt-1 font-mono text-[10px] tracking-widest uppercase", children: siteLabel }) : null
|
|
2969
2969
|
] }),
|
|
2970
2970
|
/* @__PURE__ */ jsxRuntime.jsxs("nav", { className: "flex-1 overflow-y-auto px-2 py-3", children: [
|
|
2971
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground
|
|
2971
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground mb-1 px-3 font-mono text-[10px] tracking-widest uppercase", children: "\xA7 tools" }),
|
|
2972
2972
|
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: "space-y-0.5", children: tools.map((tool) => {
|
|
2973
2973
|
const isActive2 = tool.id === active;
|
|
2974
2974
|
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");
|
|
@@ -2976,19 +2976,19 @@ function Sidebar({
|
|
|
2976
2976
|
tool.icon ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
2977
2977
|
"span",
|
|
2978
2978
|
{
|
|
2979
|
-
className: "shrink-0 font-mono text-[11px] " + (isActive2 ? "text-primary" : "text-muted-foreground
|
|
2979
|
+
className: "shrink-0 font-mono text-[11px] " + (isActive2 ? "text-primary" : "text-muted-foreground"),
|
|
2980
2980
|
"aria-hidden": true,
|
|
2981
2981
|
children: tool.icon
|
|
2982
2982
|
}
|
|
2983
2983
|
) : null,
|
|
2984
2984
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex-1 leading-tight", children: [
|
|
2985
2985
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: tool.label }),
|
|
2986
|
-
tool.tagline ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground
|
|
2986
|
+
tool.tagline ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground mt-0.5 block font-mono text-[10px] tracking-wide normal-case", children: tool.tagline }) : null
|
|
2987
2987
|
] }),
|
|
2988
2988
|
tool.external ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
2989
2989
|
"span",
|
|
2990
2990
|
{
|
|
2991
|
-
className: "text-muted-foreground
|
|
2991
|
+
className: "text-muted-foreground text-[10px]",
|
|
2992
2992
|
"aria-hidden": true,
|
|
2993
2993
|
children: "\u2197"
|
|
2994
2994
|
}
|
|
@@ -3043,14 +3043,14 @@ function OcDashboardHub({ tools, className }) {
|
|
|
3043
3043
|
tool.external ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
3044
3044
|
"span",
|
|
3045
3045
|
{
|
|
3046
|
-
className: "text-muted-foreground
|
|
3046
|
+
className: "text-muted-foreground ml-auto text-xs",
|
|
3047
3047
|
"aria-hidden": true,
|
|
3048
3048
|
children: "\u2197"
|
|
3049
3049
|
}
|
|
3050
3050
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
3051
3051
|
"span",
|
|
3052
3052
|
{
|
|
3053
|
-
className: "text-muted-foreground
|
|
3053
|
+
className: "text-muted-foreground ml-auto text-xs",
|
|
3054
3054
|
"aria-hidden": true,
|
|
3055
3055
|
children: "\u2192"
|
|
3056
3056
|
}
|
|
@@ -3118,7 +3118,7 @@ function LayoutSubHeader({
|
|
|
3118
3118
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground hidden tracking-widest whitespace-nowrap uppercase sm:inline", children: status }),
|
|
3119
3119
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-foreground truncate", children: product })
|
|
3120
3120
|
] }),
|
|
3121
|
-
tags.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground
|
|
3121
|
+
tags.length > 0 && /* @__PURE__ */ jsxRuntime.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__ */ jsxRuntime.jsx("span", { className: tag.hideBelow ? HIDE[tag.hideBelow] : void 0, children: tag.label }, i)) })
|
|
3122
3122
|
] }) });
|
|
3123
3123
|
}
|
|
3124
3124
|
function OcAppBar({
|
|
@@ -3161,7 +3161,7 @@ var GRID = {
|
|
|
3161
3161
|
4: "md:grid-cols-[1.2fr_1fr_1fr_1fr_1fr]",
|
|
3162
3162
|
5: "md:grid-cols-[1.2fr_1fr_1fr_1fr_1fr_1fr]"
|
|
3163
3163
|
};
|
|
3164
|
-
var LINK_CLS = "text-muted-foreground hover:text-foreground font-mono text-xs tracking-wide lowercase transition-colors";
|
|
3164
|
+
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";
|
|
3165
3165
|
function FooterLinkItem({ link }) {
|
|
3166
3166
|
if (link.external) {
|
|
3167
3167
|
return /* @__PURE__ */ jsxRuntime.jsxs("a", { href: link.href, target: "_blank", rel: "noreferrer", className: LINK_CLS, children: [
|
|
@@ -3178,7 +3178,7 @@ function FooterLinkItem({ link }) {
|
|
|
3178
3178
|
function FooterColumnView({ column }) {
|
|
3179
3179
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
3180
3180
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "label-mono text-primary mb-3", children: column.label }),
|
|
3181
|
-
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: "space-y-2", children: column.links.map((link) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(FooterLinkItem, { link }) }, `${column.label}:${link.href}`)) })
|
|
3181
|
+
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: "md:space-y-2", children: column.links.map((link) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(FooterLinkItem, { link }) }, `${column.label}:${link.href}`)) })
|
|
3182
3182
|
] });
|
|
3183
3183
|
}
|
|
3184
3184
|
function familyColumn(category, label) {
|
|
@@ -3239,12 +3239,12 @@ function OcFamilyFooter({
|
|
|
3239
3239
|
year,
|
|
3240
3240
|
" orangecheck \xB7 mit + cc-by-4.0"
|
|
3241
3241
|
] }) }),
|
|
3242
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground
|
|
3242
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground flex flex-wrap items-center gap-x-4 md:gap-y-1", children: links.map((link) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3243
3243
|
"a",
|
|
3244
3244
|
{
|
|
3245
3245
|
href: link.href,
|
|
3246
3246
|
...link.external ? { target: "_blank", rel: "noreferrer" } : {},
|
|
3247
|
-
className: "hover:text-foreground transition-colors",
|
|
3247
|
+
className: "hover:text-foreground inline-flex min-h-11 items-center transition-colors md:min-h-0",
|
|
3248
3248
|
children: link.label
|
|
3249
3249
|
},
|
|
3250
3250
|
link.label
|