@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/chrome.js
CHANGED
|
@@ -560,7 +560,7 @@ var SECTIONS = [
|
|
|
560
560
|
function CategoryChip({ category }) {
|
|
561
561
|
if (category === "hub") return null;
|
|
562
562
|
const label = category === "product" ? "product" : category === "protocol" ? "protocol" : "owner";
|
|
563
|
-
const tone = category === "product" ? "border-primary/25 bg-primary/10 text-primary" : category === "protocol" ? "border-muted-foreground/20 bg-muted/40 text-muted-foreground
|
|
563
|
+
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";
|
|
564
564
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
565
565
|
"span",
|
|
566
566
|
{
|
|
@@ -577,7 +577,7 @@ function SiteStateBadge({ state }) {
|
|
|
577
577
|
"span",
|
|
578
578
|
{
|
|
579
579
|
"aria-label": `site lifecycle: ${state}`,
|
|
580
|
-
className: "text-muted-foreground
|
|
580
|
+
className: "text-muted-foreground ml-1 hidden font-mono text-[9px] font-medium tracking-widest uppercase sm:inline-block",
|
|
581
581
|
"data-oc-site-state": state,
|
|
582
582
|
children: SITE_STATE_LABEL[state]
|
|
583
583
|
}
|
|
@@ -586,7 +586,7 @@ function SiteStateBadge({ state }) {
|
|
|
586
586
|
function MenuCategoryChip({ category }) {
|
|
587
587
|
if (category === "hub") return null;
|
|
588
588
|
const label = category === "product" ? "pro" : category === "protocol" ? "spec" : "own";
|
|
589
|
-
const tone = category === "product" ? "bg-primary/10 text-primary" : category === "protocol" ? "bg-muted/60 text-muted-foreground
|
|
589
|
+
const tone = category === "product" ? "bg-primary/10 text-primary" : category === "protocol" ? "bg-muted/60 text-muted-foreground" : "bg-warning/15 text-warning";
|
|
590
590
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
591
591
|
"span",
|
|
592
592
|
{
|
|
@@ -703,7 +703,7 @@ function OcLogoDropdown({
|
|
|
703
703
|
lucideReact.ChevronDown,
|
|
704
704
|
{
|
|
705
705
|
"aria-hidden": true,
|
|
706
|
-
className: "text-muted-foreground
|
|
706
|
+
className: "text-muted-foreground group-hover:text-foreground/80 h-3.5 w-3.5 shrink-0 transition-transform duration-200 " + (open ? "rotate-180" : "")
|
|
707
707
|
}
|
|
708
708
|
)
|
|
709
709
|
]
|
|
@@ -718,7 +718,7 @@ function OcLogoDropdown({
|
|
|
718
718
|
"aria-label": "go to " + homeHref + " (this site's home)",
|
|
719
719
|
onClick: () => setOpen(false),
|
|
720
720
|
tabIndex: open ? 0 : -1,
|
|
721
|
-
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
|
|
721
|
+
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"),
|
|
722
722
|
"data-oc-logo-dropdown-home-hint": "",
|
|
723
723
|
children: [
|
|
724
724
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -754,7 +754,7 @@ function OcLogoDropdown({
|
|
|
754
754
|
{
|
|
755
755
|
role: "separator",
|
|
756
756
|
"aria-hidden": true,
|
|
757
|
-
className: "text-muted-foreground
|
|
757
|
+
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"),
|
|
758
758
|
children: label
|
|
759
759
|
}
|
|
760
760
|
),
|
|
@@ -976,7 +976,7 @@ function CopyableDid({ did }) {
|
|
|
976
976
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
977
977
|
"span",
|
|
978
978
|
{
|
|
979
|
-
className: "mt-px shrink-0 transition-colors " + (copied ? "text-primary" : "text-muted-foreground
|
|
979
|
+
className: "mt-px shrink-0 transition-colors " + (copied ? "text-primary" : "text-muted-foreground group-hover/did:text-foreground/80"),
|
|
980
980
|
"aria-hidden": true,
|
|
981
981
|
children: copied ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { className: "size-3.5" }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Copy, { className: "size-3.5" })
|
|
982
982
|
}
|
|
@@ -1051,10 +1051,10 @@ function PromoteRow({
|
|
|
1051
1051
|
"data-oc-account-menu-promote-copy": kind,
|
|
1052
1052
|
"data-copied": copied ? "" : void 0,
|
|
1053
1053
|
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",
|
|
1054
|
-
children: copied ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { className: "text-primary size-3.5" }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Copy, { className: "text-muted-foreground
|
|
1054
|
+
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" })
|
|
1055
1055
|
}
|
|
1056
1056
|
),
|
|
1057
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground
|
|
1057
|
+
/* @__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 }),
|
|
1058
1058
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", "aria-live": "polite", children: copied ? "Copied to clipboard" : "" })
|
|
1059
1059
|
]
|
|
1060
1060
|
}
|
|
@@ -1111,7 +1111,7 @@ function IdentityPromoteSection({
|
|
|
1111
1111
|
}
|
|
1112
1112
|
};
|
|
1113
1113
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-border border-b p-1", "data-oc-account-menu-section": "show-as", children: [
|
|
1114
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground
|
|
1114
|
+
/* @__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" }),
|
|
1115
1115
|
options.map((opt) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1116
1116
|
PromoteRow,
|
|
1117
1117
|
{
|
|
@@ -1205,7 +1205,7 @@ function MobileMenu({
|
|
|
1205
1205
|
"data-oc-account-mobile-popover": "",
|
|
1206
1206
|
children: [
|
|
1207
1207
|
links.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-b p-1", children: [
|
|
1208
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground
|
|
1208
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground px-3 pt-2 pb-1 font-mono text-[10px] tracking-widest uppercase", children: "\xA7 navigate" }),
|
|
1209
1209
|
links.map(
|
|
1210
1210
|
(l) => l.external ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1211
1211
|
"a",
|
|
@@ -1219,7 +1219,7 @@ function MobileMenu({
|
|
|
1219
1219
|
children: [
|
|
1220
1220
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", "aria-hidden": true, children: "\u2192" }),
|
|
1221
1221
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1", children: l.label }),
|
|
1222
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground
|
|
1222
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground text-[10px]", "aria-hidden": true, children: "\u2197" })
|
|
1223
1223
|
]
|
|
1224
1224
|
},
|
|
1225
1225
|
l.href
|
|
@@ -1383,7 +1383,7 @@ function OcAccountMenuView({
|
|
|
1383
1383
|
tabPinned ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1384
1384
|
"span",
|
|
1385
1385
|
{
|
|
1386
|
-
className: "text-muted-foreground
|
|
1386
|
+
className: "text-muted-foreground normal-case",
|
|
1387
1387
|
"data-oc-account-menu-tab-pin": "",
|
|
1388
1388
|
title: "This tab keeps this account even if you switch accounts in another tab",
|
|
1389
1389
|
children: [
|
|
@@ -1395,10 +1395,10 @@ function OcAccountMenuView({
|
|
|
1395
1395
|
] }),
|
|
1396
1396
|
/* @__PURE__ */ jsxRuntime.jsx(CopyableDid, { did: account.didOc }),
|
|
1397
1397
|
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: [
|
|
1398
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground
|
|
1398
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground uppercase", children: IDENTITY_KIND_LABEL[account.displayIdentity.kind] }),
|
|
1399
1399
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-foreground/75", children: obscureIdentity(account.displayIdentity.value) })
|
|
1400
1400
|
] }) : null,
|
|
1401
|
-
displayName ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground
|
|
1401
|
+
displayName ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground mt-1 font-mono text-[10px] tracking-wide", children: displayName }) : null
|
|
1402
1402
|
] }),
|
|
1403
1403
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1404
1404
|
IdentityPromoteSection,
|
|
@@ -1439,7 +1439,7 @@ function OcAccountMenuView({
|
|
|
1439
1439
|
item.external ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1440
1440
|
"span",
|
|
1441
1441
|
{
|
|
1442
|
-
className: "text-muted-foreground
|
|
1442
|
+
className: "text-muted-foreground text-[10px]",
|
|
1443
1443
|
"aria-hidden": true,
|
|
1444
1444
|
children: "\u2197"
|
|
1445
1445
|
}
|
|
@@ -1488,7 +1488,7 @@ function OcAccountMenuView({
|
|
|
1488
1488
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1489
1489
|
"span",
|
|
1490
1490
|
{
|
|
1491
|
-
className: "text-muted-foreground
|
|
1491
|
+
className: "text-muted-foreground text-[10px]",
|
|
1492
1492
|
"aria-hidden": true,
|
|
1493
1493
|
children: "\u2197"
|
|
1494
1494
|
}
|
|
@@ -1560,7 +1560,7 @@ function AccountsSection({
|
|
|
1560
1560
|
}
|
|
1561
1561
|
};
|
|
1562
1562
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-border border-b p-1", "data-oc-account-menu-section": "accounts", children: [
|
|
1563
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground
|
|
1563
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground px-3 pt-2 pb-1 font-mono text-[10px] tracking-widest uppercase", children: "\xA7 accounts" }),
|
|
1564
1564
|
roster.map((peer) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1565
1565
|
SwitchRow,
|
|
1566
1566
|
{
|
|
@@ -1638,7 +1638,7 @@ function SwitchRow({
|
|
|
1638
1638
|
}
|
|
1639
1639
|
),
|
|
1640
1640
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-foreground/90 min-w-0 flex-1 truncate", children: label }),
|
|
1641
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground
|
|
1641
|
+
/* @__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 })
|
|
1642
1642
|
]
|
|
1643
1643
|
}
|
|
1644
1644
|
);
|
|
@@ -1657,7 +1657,7 @@ function PopoverSection({
|
|
|
1657
1657
|
className: cn("p-1", bordered && "border-border border-t", className),
|
|
1658
1658
|
"data-oc-account-menu-section": label,
|
|
1659
1659
|
children: [
|
|
1660
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-muted-foreground
|
|
1660
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-muted-foreground px-3 pt-2 pb-1 font-mono text-[10px] tracking-widest uppercase", children: [
|
|
1661
1661
|
"\xA7 ",
|
|
1662
1662
|
label
|
|
1663
1663
|
] }),
|
|
@@ -1675,7 +1675,7 @@ function PopoverSection({
|
|
|
1675
1675
|
children: [
|
|
1676
1676
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", "aria-hidden": true, children: "\u2192" }),
|
|
1677
1677
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1", children: item.label }),
|
|
1678
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground
|
|
1678
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground text-[10px]", "aria-hidden": true, children: "\u2197" })
|
|
1679
1679
|
]
|
|
1680
1680
|
},
|
|
1681
1681
|
item.href
|
|
@@ -1710,16 +1710,16 @@ function BuildFooter({
|
|
|
1710
1710
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1711
1711
|
"div",
|
|
1712
1712
|
{
|
|
1713
|
-
className: "text-muted-foreground
|
|
1713
|
+
className: "text-muted-foreground border-border border-t px-3 py-2 font-mono text-[9.5px] tracking-widest uppercase",
|
|
1714
1714
|
"data-oc-account-menu-build": "",
|
|
1715
1715
|
children: [
|
|
1716
1716
|
hostname,
|
|
1717
1717
|
state && state !== "live" ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1718
1718
|
" \xB7 ",
|
|
1719
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground
|
|
1719
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: state })
|
|
1720
1720
|
] }) : null,
|
|
1721
1721
|
" ",
|
|
1722
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground
|
|
1722
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground", children: [
|
|
1723
1723
|
"v",
|
|
1724
1724
|
build.version,
|
|
1725
1725
|
showSha ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
@@ -1766,7 +1766,7 @@ function OcPrimaryNav({
|
|
|
1766
1766
|
"span",
|
|
1767
1767
|
{
|
|
1768
1768
|
"aria-hidden": true,
|
|
1769
|
-
className: "text-muted-foreground
|
|
1769
|
+
className: "text-muted-foreground ml-1 text-[9px]",
|
|
1770
1770
|
children: "\u2197"
|
|
1771
1771
|
}
|
|
1772
1772
|
) : null
|
|
@@ -1949,10 +1949,10 @@ function Sidebar({
|
|
|
1949
1949
|
}
|
|
1950
1950
|
) : null
|
|
1951
1951
|
] }),
|
|
1952
|
-
siteLabel ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground
|
|
1952
|
+
siteLabel ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground mt-1 font-mono text-[10px] tracking-widest uppercase", children: siteLabel }) : null
|
|
1953
1953
|
] }),
|
|
1954
1954
|
/* @__PURE__ */ jsxRuntime.jsxs("nav", { className: "flex-1 overflow-y-auto px-2 py-3", children: [
|
|
1955
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground
|
|
1955
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground mb-1 px-3 font-mono text-[10px] tracking-widest uppercase", children: "\xA7 tools" }),
|
|
1956
1956
|
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: "space-y-0.5", children: tools.map((tool) => {
|
|
1957
1957
|
const isActive2 = tool.id === active;
|
|
1958
1958
|
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");
|
|
@@ -1960,19 +1960,19 @@ function Sidebar({
|
|
|
1960
1960
|
tool.icon ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1961
1961
|
"span",
|
|
1962
1962
|
{
|
|
1963
|
-
className: "shrink-0 font-mono text-[11px] " + (isActive2 ? "text-primary" : "text-muted-foreground
|
|
1963
|
+
className: "shrink-0 font-mono text-[11px] " + (isActive2 ? "text-primary" : "text-muted-foreground"),
|
|
1964
1964
|
"aria-hidden": true,
|
|
1965
1965
|
children: tool.icon
|
|
1966
1966
|
}
|
|
1967
1967
|
) : null,
|
|
1968
1968
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex-1 leading-tight", children: [
|
|
1969
1969
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: tool.label }),
|
|
1970
|
-
tool.tagline ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground
|
|
1970
|
+
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
|
|
1971
1971
|
] }),
|
|
1972
1972
|
tool.external ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1973
1973
|
"span",
|
|
1974
1974
|
{
|
|
1975
|
-
className: "text-muted-foreground
|
|
1975
|
+
className: "text-muted-foreground text-[10px]",
|
|
1976
1976
|
"aria-hidden": true,
|
|
1977
1977
|
children: "\u2197"
|
|
1978
1978
|
}
|
|
@@ -2027,14 +2027,14 @@ function OcDashboardHub({ tools, className }) {
|
|
|
2027
2027
|
tool.external ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
2028
2028
|
"span",
|
|
2029
2029
|
{
|
|
2030
|
-
className: "text-muted-foreground
|
|
2030
|
+
className: "text-muted-foreground ml-auto text-xs",
|
|
2031
2031
|
"aria-hidden": true,
|
|
2032
2032
|
children: "\u2197"
|
|
2033
2033
|
}
|
|
2034
2034
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
2035
2035
|
"span",
|
|
2036
2036
|
{
|
|
2037
|
-
className: "text-muted-foreground
|
|
2037
|
+
className: "text-muted-foreground ml-auto text-xs",
|
|
2038
2038
|
"aria-hidden": true,
|
|
2039
2039
|
children: "\u2192"
|
|
2040
2040
|
}
|
|
@@ -2102,7 +2102,7 @@ function LayoutSubHeader({
|
|
|
2102
2102
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground hidden tracking-widest whitespace-nowrap uppercase sm:inline", children: status }),
|
|
2103
2103
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-foreground truncate", children: product })
|
|
2104
2104
|
] }),
|
|
2105
|
-
tags.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground
|
|
2105
|
+
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)) })
|
|
2106
2106
|
] }) });
|
|
2107
2107
|
}
|
|
2108
2108
|
function OcAppBar({
|
|
@@ -2145,7 +2145,7 @@ var GRID = {
|
|
|
2145
2145
|
4: "md:grid-cols-[1.2fr_1fr_1fr_1fr_1fr]",
|
|
2146
2146
|
5: "md:grid-cols-[1.2fr_1fr_1fr_1fr_1fr_1fr]"
|
|
2147
2147
|
};
|
|
2148
|
-
var LINK_CLS = "text-muted-foreground hover:text-foreground font-mono text-xs tracking-wide lowercase transition-colors";
|
|
2148
|
+
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";
|
|
2149
2149
|
function FooterLinkItem({ link }) {
|
|
2150
2150
|
if (link.external) {
|
|
2151
2151
|
return /* @__PURE__ */ jsxRuntime.jsxs("a", { href: link.href, target: "_blank", rel: "noreferrer", className: LINK_CLS, children: [
|
|
@@ -2162,7 +2162,7 @@ function FooterLinkItem({ link }) {
|
|
|
2162
2162
|
function FooterColumnView({ column }) {
|
|
2163
2163
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
2164
2164
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "label-mono text-primary mb-3", children: column.label }),
|
|
2165
|
-
/* @__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}`)) })
|
|
2165
|
+
/* @__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}`)) })
|
|
2166
2166
|
] });
|
|
2167
2167
|
}
|
|
2168
2168
|
function familyColumn(category, label) {
|
|
@@ -2223,12 +2223,12 @@ function OcFamilyFooter({
|
|
|
2223
2223
|
year,
|
|
2224
2224
|
" orangecheck \xB7 mit + cc-by-4.0"
|
|
2225
2225
|
] }) }),
|
|
2226
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground
|
|
2226
|
+
/* @__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(
|
|
2227
2227
|
"a",
|
|
2228
2228
|
{
|
|
2229
2229
|
href: link.href,
|
|
2230
2230
|
...link.external ? { target: "_blank", rel: "noreferrer" } : {},
|
|
2231
|
-
className: "hover:text-foreground transition-colors",
|
|
2231
|
+
className: "hover:text-foreground inline-flex min-h-11 items-center transition-colors md:min-h-0",
|
|
2232
2232
|
children: link.label
|
|
2233
2233
|
},
|
|
2234
2234
|
link.label
|