@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/index.mjs
CHANGED
|
@@ -1538,7 +1538,7 @@ function Working({ text, size = "md", progress, className }) {
|
|
|
1538
1538
|
] }),
|
|
1539
1539
|
/* @__PURE__ */ jsxs("span", { className: "oc-working-text", children: [
|
|
1540
1540
|
text,
|
|
1541
|
-
progress && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground
|
|
1541
|
+
progress && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground ml-1.5", children: [
|
|
1542
1542
|
"[",
|
|
1543
1543
|
progress,
|
|
1544
1544
|
"]"
|
|
@@ -2081,7 +2081,7 @@ function Modal({ open, onOpenChange, title, subtitle, children, actions, width =
|
|
|
2081
2081
|
/* @__PURE__ */ jsx("span", { className: "terminal-dot opacity-70", "aria-hidden": true }),
|
|
2082
2082
|
/* @__PURE__ */ jsx("span", { className: "terminal-dot opacity-50", "aria-hidden": true }),
|
|
2083
2083
|
/* @__PURE__ */ jsx(SheetPrimitive.Title, { className: "ml-2 truncate [flex-shrink:1]", children: title }),
|
|
2084
|
-
subtitle && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground
|
|
2084
|
+
subtitle && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground ml-1 min-w-0 truncate text-[10px] normal-case tracking-normal [flex-shrink:100]", children: [
|
|
2085
2085
|
"\xB7 ",
|
|
2086
2086
|
subtitle
|
|
2087
2087
|
] })
|
|
@@ -2109,7 +2109,7 @@ function Pagination({ page, pageSize, total, onPage, className }) {
|
|
|
2109
2109
|
const start = page * pageSize;
|
|
2110
2110
|
const shown = Math.max(0, Math.min(pageSize, total - start));
|
|
2111
2111
|
return /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between " + (className ?? "mt-3"), children: [
|
|
2112
|
-
/* @__PURE__ */ jsxs("span", { className: "text-muted-foreground
|
|
2112
|
+
/* @__PURE__ */ jsxs("span", { className: "text-muted-foreground font-mono text-[10px]", children: [
|
|
2113
2113
|
start + 1,
|
|
2114
2114
|
"\u2013",
|
|
2115
2115
|
start + shown,
|
|
@@ -2638,13 +2638,13 @@ function Card({
|
|
|
2638
2638
|
/* @__PURE__ */ jsx("span", { className: "terminal-dot opacity-70", "aria-hidden": true }),
|
|
2639
2639
|
/* @__PURE__ */ jsx("span", { className: "terminal-dot opacity-50", "aria-hidden": true }),
|
|
2640
2640
|
/* @__PURE__ */ jsx("span", { className: "ml-2 truncate [flex-shrink:1]", children: title }),
|
|
2641
|
-
subtitle && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground
|
|
2641
|
+
subtitle && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground ml-1 min-w-0 truncate text-[10px] tracking-normal normal-case [flex-shrink:100]", children: [
|
|
2642
2642
|
"\xB7 ",
|
|
2643
2643
|
subtitle
|
|
2644
2644
|
] })
|
|
2645
2645
|
] }),
|
|
2646
2646
|
/* @__PURE__ */ jsxs("div", { className: "flex shrink-0 items-center gap-2", children: [
|
|
2647
|
-
refreshedAt && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
2647
|
+
refreshedAt && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground hidden text-[10px] tracking-normal normal-case sm:inline", children: refreshedAt }),
|
|
2648
2648
|
actions,
|
|
2649
2649
|
expandable && /* @__PURE__ */ jsx(
|
|
2650
2650
|
"button",
|
|
@@ -2653,7 +2653,7 @@ function Card({
|
|
|
2653
2653
|
onClick: () => setExpanded(true),
|
|
2654
2654
|
"aria-label": `expand ${title}`,
|
|
2655
2655
|
title: "expand to fullscreen",
|
|
2656
|
-
className: "text-muted-foreground
|
|
2656
|
+
className: "text-muted-foreground hover:text-foreground inline-flex h-6 w-6 items-center justify-center rounded-sm",
|
|
2657
2657
|
children: /* @__PURE__ */ jsx(Maximize2, { className: "size-3" })
|
|
2658
2658
|
}
|
|
2659
2659
|
)
|
|
@@ -2670,7 +2670,7 @@ function Card({
|
|
|
2670
2670
|
onOpenChange: setExpanded,
|
|
2671
2671
|
title,
|
|
2672
2672
|
...subtitle ? { subtitle } : {},
|
|
2673
|
-
actions: refreshedAt ? /* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
2673
|
+
actions: refreshedAt ? /* @__PURE__ */ jsx("span", { className: "text-muted-foreground hidden text-[10px] tracking-normal normal-case sm:inline", children: refreshedAt }) : null,
|
|
2674
2674
|
children
|
|
2675
2675
|
}
|
|
2676
2676
|
)
|
|
@@ -3119,7 +3119,7 @@ function HelpHint({
|
|
|
3119
3119
|
onClick: (e) => e.stopPropagation(),
|
|
3120
3120
|
className: cn(
|
|
3121
3121
|
"focus-visible:ring-primary/60 inline-flex shrink-0 items-center justify-center rounded-full transition-colors outline-none focus-visible:ring-2",
|
|
3122
|
-
tone === "subtle" ? "text-muted-foreground
|
|
3122
|
+
tone === "subtle" ? "text-muted-foreground hover:text-foreground/80" : "text-primary/70 hover:text-primary",
|
|
3123
3123
|
className
|
|
3124
3124
|
),
|
|
3125
3125
|
children: /* @__PURE__ */ jsx(HelpCircle, { size: iconSize, "aria-hidden": true })
|
|
@@ -3166,7 +3166,7 @@ function SectionHeader({
|
|
|
3166
3166
|
] }),
|
|
3167
3167
|
hint && /* @__PURE__ */ jsx(HelpHint, { title: hint.title, side: hint.side ?? "bottom", children: hint.body })
|
|
3168
3168
|
] }),
|
|
3169
|
-
meta && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
3169
|
+
meta && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground font-mono text-[10px] tracking-widest uppercase", children: meta })
|
|
3170
3170
|
] });
|
|
3171
3171
|
}
|
|
3172
3172
|
var VARIANTS = {
|
|
@@ -3330,7 +3330,7 @@ function StatGrid({ items, columns = 3, className = "" }) {
|
|
|
3330
3330
|
function Tile({ item }) {
|
|
3331
3331
|
const tone = item.tone ?? (item.accent ? "primary" : "default");
|
|
3332
3332
|
return /* @__PURE__ */ jsxs("div", { className: "oc-stat-tile bg-background p-5", children: [
|
|
3333
|
-
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground
|
|
3333
|
+
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground font-mono text-[10px] tracking-widest uppercase", children: item.label }),
|
|
3334
3334
|
/* @__PURE__ */ jsx(
|
|
3335
3335
|
"div",
|
|
3336
3336
|
{
|
|
@@ -3338,7 +3338,7 @@ function Tile({ item }) {
|
|
|
3338
3338
|
children: item.value
|
|
3339
3339
|
}
|
|
3340
3340
|
),
|
|
3341
|
-
item.sub && /* @__PURE__ */ jsx("div", { className: "text-muted-foreground
|
|
3341
|
+
item.sub && /* @__PURE__ */ jsx("div", { className: "text-muted-foreground mt-1 font-mono text-[10px] tracking-widest uppercase", children: item.sub })
|
|
3342
3342
|
] });
|
|
3343
3343
|
}
|
|
3344
3344
|
function StatTile({ children, ...item }) {
|
|
@@ -3590,7 +3590,7 @@ function ComparisonTable({ rows, columns, className }) {
|
|
|
3590
3590
|
rows.map((row, i) => /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-[1.4fr_1fr_1fr] border-t", children: [
|
|
3591
3591
|
/* @__PURE__ */ jsx("div", { className: "px-4 py-3.5 font-medium text-foreground sm:px-6", children: row.label }),
|
|
3592
3592
|
/* @__PURE__ */ jsxs("div", { className: "text-muted-foreground flex items-center gap-2 px-4 py-3.5 sm:px-6", children: [
|
|
3593
|
-
/* @__PURE__ */ jsx(X, { className: "text-muted-foreground
|
|
3593
|
+
/* @__PURE__ */ jsx(X, { className: "text-muted-foreground size-4" }),
|
|
3594
3594
|
/* @__PURE__ */ jsx("span", { children: row.theirs })
|
|
3595
3595
|
] }),
|
|
3596
3596
|
/* @__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: [
|
|
@@ -4226,7 +4226,7 @@ var SECTIONS = [
|
|
|
4226
4226
|
function CategoryChip({ category }) {
|
|
4227
4227
|
if (category === "hub") return null;
|
|
4228
4228
|
const label = category === "product" ? "product" : category === "protocol" ? "protocol" : "owner";
|
|
4229
|
-
const tone = category === "product" ? "border-primary/25 bg-primary/10 text-primary" : category === "protocol" ? "border-muted-foreground/20 bg-muted/40 text-muted-foreground
|
|
4229
|
+
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";
|
|
4230
4230
|
return /* @__PURE__ */ jsx(
|
|
4231
4231
|
"span",
|
|
4232
4232
|
{
|
|
@@ -4243,7 +4243,7 @@ function SiteStateBadge({ state }) {
|
|
|
4243
4243
|
"span",
|
|
4244
4244
|
{
|
|
4245
4245
|
"aria-label": `site lifecycle: ${state}`,
|
|
4246
|
-
className: "text-muted-foreground
|
|
4246
|
+
className: "text-muted-foreground ml-1 hidden font-mono text-[9px] font-medium tracking-widest uppercase sm:inline-block",
|
|
4247
4247
|
"data-oc-site-state": state,
|
|
4248
4248
|
children: SITE_STATE_LABEL[state]
|
|
4249
4249
|
}
|
|
@@ -4252,7 +4252,7 @@ function SiteStateBadge({ state }) {
|
|
|
4252
4252
|
function MenuCategoryChip({ category }) {
|
|
4253
4253
|
if (category === "hub") return null;
|
|
4254
4254
|
const label = category === "product" ? "pro" : category === "protocol" ? "spec" : "own";
|
|
4255
|
-
const tone = category === "product" ? "bg-primary/10 text-primary" : category === "protocol" ? "bg-muted/60 text-muted-foreground
|
|
4255
|
+
const tone = category === "product" ? "bg-primary/10 text-primary" : category === "protocol" ? "bg-muted/60 text-muted-foreground" : "bg-warning/15 text-warning";
|
|
4256
4256
|
return /* @__PURE__ */ jsx(
|
|
4257
4257
|
"span",
|
|
4258
4258
|
{
|
|
@@ -4369,7 +4369,7 @@ function OcLogoDropdown({
|
|
|
4369
4369
|
ChevronDown,
|
|
4370
4370
|
{
|
|
4371
4371
|
"aria-hidden": true,
|
|
4372
|
-
className: "text-muted-foreground
|
|
4372
|
+
className: "text-muted-foreground group-hover:text-foreground/80 h-3.5 w-3.5 shrink-0 transition-transform duration-200 " + (open ? "rotate-180" : "")
|
|
4373
4373
|
}
|
|
4374
4374
|
)
|
|
4375
4375
|
]
|
|
@@ -4384,7 +4384,7 @@ function OcLogoDropdown({
|
|
|
4384
4384
|
"aria-label": "go to " + homeHref + " (this site's home)",
|
|
4385
4385
|
onClick: () => setOpen(false),
|
|
4386
4386
|
tabIndex: open ? 0 : -1,
|
|
4387
|
-
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
|
|
4387
|
+
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"),
|
|
4388
4388
|
"data-oc-logo-dropdown-home-hint": "",
|
|
4389
4389
|
children: [
|
|
4390
4390
|
/* @__PURE__ */ jsx(
|
|
@@ -4420,7 +4420,7 @@ function OcLogoDropdown({
|
|
|
4420
4420
|
{
|
|
4421
4421
|
role: "separator",
|
|
4422
4422
|
"aria-hidden": true,
|
|
4423
|
-
className: "text-muted-foreground
|
|
4423
|
+
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"),
|
|
4424
4424
|
children: label
|
|
4425
4425
|
}
|
|
4426
4426
|
),
|
|
@@ -4542,7 +4542,7 @@ function CopyableDid({ did }) {
|
|
|
4542
4542
|
/* @__PURE__ */ jsx(
|
|
4543
4543
|
"span",
|
|
4544
4544
|
{
|
|
4545
|
-
className: "mt-px shrink-0 transition-colors " + (copied ? "text-primary" : "text-muted-foreground
|
|
4545
|
+
className: "mt-px shrink-0 transition-colors " + (copied ? "text-primary" : "text-muted-foreground group-hover/did:text-foreground/80"),
|
|
4546
4546
|
"aria-hidden": true,
|
|
4547
4547
|
children: copied ? /* @__PURE__ */ jsx(Check, { className: "size-3.5" }) : /* @__PURE__ */ jsx(Copy, { className: "size-3.5" })
|
|
4548
4548
|
}
|
|
@@ -4617,10 +4617,10 @@ function PromoteRow({
|
|
|
4617
4617
|
"data-oc-account-menu-promote-copy": kind,
|
|
4618
4618
|
"data-copied": copied ? "" : void 0,
|
|
4619
4619
|
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",
|
|
4620
|
-
children: copied ? /* @__PURE__ */ jsx(Check, { className: "text-primary size-3.5" }) : /* @__PURE__ */ jsx(Copy, { className: "text-muted-foreground
|
|
4620
|
+
children: copied ? /* @__PURE__ */ jsx(Check, { className: "text-primary size-3.5" }) : /* @__PURE__ */ jsx(Copy, { className: "text-muted-foreground size-3.5" })
|
|
4621
4621
|
}
|
|
4622
4622
|
),
|
|
4623
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
4623
|
+
/* @__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 }),
|
|
4624
4624
|
/* @__PURE__ */ jsx("span", { className: "sr-only", "aria-live": "polite", children: copied ? "Copied to clipboard" : "" })
|
|
4625
4625
|
]
|
|
4626
4626
|
}
|
|
@@ -4677,7 +4677,7 @@ function IdentityPromoteSection({
|
|
|
4677
4677
|
}
|
|
4678
4678
|
};
|
|
4679
4679
|
return /* @__PURE__ */ jsxs("div", { className: "border-border border-b p-1", "data-oc-account-menu-section": "show-as", children: [
|
|
4680
|
-
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground
|
|
4680
|
+
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground px-3 pt-2 pb-1 font-mono text-[10px] tracking-widest uppercase", children: "\xA7 show as" }),
|
|
4681
4681
|
options.map((opt) => /* @__PURE__ */ jsx(
|
|
4682
4682
|
PromoteRow,
|
|
4683
4683
|
{
|
|
@@ -4771,7 +4771,7 @@ function MobileMenu({
|
|
|
4771
4771
|
"data-oc-account-mobile-popover": "",
|
|
4772
4772
|
children: [
|
|
4773
4773
|
links.length > 0 && /* @__PURE__ */ jsxs("div", { className: "border-b p-1", children: [
|
|
4774
|
-
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground
|
|
4774
|
+
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground px-3 pt-2 pb-1 font-mono text-[10px] tracking-widest uppercase", children: "\xA7 navigate" }),
|
|
4775
4775
|
links.map(
|
|
4776
4776
|
(l) => l.external ? /* @__PURE__ */ jsxs(
|
|
4777
4777
|
"a",
|
|
@@ -4785,7 +4785,7 @@ function MobileMenu({
|
|
|
4785
4785
|
children: [
|
|
4786
4786
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", "aria-hidden": true, children: "\u2192" }),
|
|
4787
4787
|
/* @__PURE__ */ jsx("span", { className: "flex-1", children: l.label }),
|
|
4788
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
4788
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[10px]", "aria-hidden": true, children: "\u2197" })
|
|
4789
4789
|
]
|
|
4790
4790
|
},
|
|
4791
4791
|
l.href
|
|
@@ -4949,7 +4949,7 @@ function OcAccountMenuView({
|
|
|
4949
4949
|
tabPinned ? /* @__PURE__ */ jsxs(
|
|
4950
4950
|
"span",
|
|
4951
4951
|
{
|
|
4952
|
-
className: "text-muted-foreground
|
|
4952
|
+
className: "text-muted-foreground normal-case",
|
|
4953
4953
|
"data-oc-account-menu-tab-pin": "",
|
|
4954
4954
|
title: "This tab keeps this account even if you switch accounts in another tab",
|
|
4955
4955
|
children: [
|
|
@@ -4961,10 +4961,10 @@ function OcAccountMenuView({
|
|
|
4961
4961
|
] }),
|
|
4962
4962
|
/* @__PURE__ */ jsx(CopyableDid, { did: account.didOc }),
|
|
4963
4963
|
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: [
|
|
4964
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
4964
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground uppercase", children: IDENTITY_KIND_LABEL[account.displayIdentity.kind] }),
|
|
4965
4965
|
/* @__PURE__ */ jsx("span", { className: "text-foreground/75", children: obscureIdentity(account.displayIdentity.value) })
|
|
4966
4966
|
] }) : null,
|
|
4967
|
-
displayName ? /* @__PURE__ */ jsx("div", { className: "text-muted-foreground
|
|
4967
|
+
displayName ? /* @__PURE__ */ jsx("div", { className: "text-muted-foreground mt-1 font-mono text-[10px] tracking-wide", children: displayName }) : null
|
|
4968
4968
|
] }),
|
|
4969
4969
|
/* @__PURE__ */ jsx(
|
|
4970
4970
|
IdentityPromoteSection,
|
|
@@ -5005,7 +5005,7 @@ function OcAccountMenuView({
|
|
|
5005
5005
|
item.external ? /* @__PURE__ */ jsx(
|
|
5006
5006
|
"span",
|
|
5007
5007
|
{
|
|
5008
|
-
className: "text-muted-foreground
|
|
5008
|
+
className: "text-muted-foreground text-[10px]",
|
|
5009
5009
|
"aria-hidden": true,
|
|
5010
5010
|
children: "\u2197"
|
|
5011
5011
|
}
|
|
@@ -5054,7 +5054,7 @@ function OcAccountMenuView({
|
|
|
5054
5054
|
/* @__PURE__ */ jsx(
|
|
5055
5055
|
"span",
|
|
5056
5056
|
{
|
|
5057
|
-
className: "text-muted-foreground
|
|
5057
|
+
className: "text-muted-foreground text-[10px]",
|
|
5058
5058
|
"aria-hidden": true,
|
|
5059
5059
|
children: "\u2197"
|
|
5060
5060
|
}
|
|
@@ -5126,7 +5126,7 @@ function AccountsSection({
|
|
|
5126
5126
|
}
|
|
5127
5127
|
};
|
|
5128
5128
|
return /* @__PURE__ */ jsxs("div", { className: "border-border border-b p-1", "data-oc-account-menu-section": "accounts", children: [
|
|
5129
|
-
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground
|
|
5129
|
+
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground px-3 pt-2 pb-1 font-mono text-[10px] tracking-widest uppercase", children: "\xA7 accounts" }),
|
|
5130
5130
|
roster.map((peer) => /* @__PURE__ */ jsx(
|
|
5131
5131
|
SwitchRow,
|
|
5132
5132
|
{
|
|
@@ -5204,7 +5204,7 @@ function SwitchRow({
|
|
|
5204
5204
|
}
|
|
5205
5205
|
),
|
|
5206
5206
|
/* @__PURE__ */ jsx("span", { className: "text-foreground/90 min-w-0 flex-1 truncate", children: label }),
|
|
5207
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
5207
|
+
/* @__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 })
|
|
5208
5208
|
]
|
|
5209
5209
|
}
|
|
5210
5210
|
);
|
|
@@ -5223,7 +5223,7 @@ function PopoverSection({
|
|
|
5223
5223
|
className: cn("p-1", bordered && "border-border border-t", className),
|
|
5224
5224
|
"data-oc-account-menu-section": label,
|
|
5225
5225
|
children: [
|
|
5226
|
-
/* @__PURE__ */ jsxs("div", { className: "text-muted-foreground
|
|
5226
|
+
/* @__PURE__ */ jsxs("div", { className: "text-muted-foreground px-3 pt-2 pb-1 font-mono text-[10px] tracking-widest uppercase", children: [
|
|
5227
5227
|
"\xA7 ",
|
|
5228
5228
|
label
|
|
5229
5229
|
] }),
|
|
@@ -5241,7 +5241,7 @@ function PopoverSection({
|
|
|
5241
5241
|
children: [
|
|
5242
5242
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", "aria-hidden": true, children: "\u2192" }),
|
|
5243
5243
|
/* @__PURE__ */ jsx("span", { className: "flex-1", children: item.label }),
|
|
5244
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
5244
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[10px]", "aria-hidden": true, children: "\u2197" })
|
|
5245
5245
|
]
|
|
5246
5246
|
},
|
|
5247
5247
|
item.href
|
|
@@ -5276,16 +5276,16 @@ function BuildFooter({
|
|
|
5276
5276
|
return /* @__PURE__ */ jsxs(
|
|
5277
5277
|
"div",
|
|
5278
5278
|
{
|
|
5279
|
-
className: "text-muted-foreground
|
|
5279
|
+
className: "text-muted-foreground border-border border-t px-3 py-2 font-mono text-[9.5px] tracking-widest uppercase",
|
|
5280
5280
|
"data-oc-account-menu-build": "",
|
|
5281
5281
|
children: [
|
|
5282
5282
|
hostname,
|
|
5283
5283
|
state && state !== "live" ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
5284
5284
|
" \xB7 ",
|
|
5285
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
5285
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: state })
|
|
5286
5286
|
] }) : null,
|
|
5287
5287
|
" ",
|
|
5288
|
-
/* @__PURE__ */ jsxs("span", { className: "text-muted-foreground
|
|
5288
|
+
/* @__PURE__ */ jsxs("span", { className: "text-muted-foreground", children: [
|
|
5289
5289
|
"v",
|
|
5290
5290
|
build.version,
|
|
5291
5291
|
showSha ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -5332,7 +5332,7 @@ function OcPrimaryNav({
|
|
|
5332
5332
|
"span",
|
|
5333
5333
|
{
|
|
5334
5334
|
"aria-hidden": true,
|
|
5335
|
-
className: "text-muted-foreground
|
|
5335
|
+
className: "text-muted-foreground ml-1 text-[9px]",
|
|
5336
5336
|
children: "\u2197"
|
|
5337
5337
|
}
|
|
5338
5338
|
) : null
|
|
@@ -5515,10 +5515,10 @@ function Sidebar({
|
|
|
5515
5515
|
}
|
|
5516
5516
|
) : null
|
|
5517
5517
|
] }),
|
|
5518
|
-
siteLabel ? /* @__PURE__ */ jsx("div", { className: "text-muted-foreground
|
|
5518
|
+
siteLabel ? /* @__PURE__ */ jsx("div", { className: "text-muted-foreground mt-1 font-mono text-[10px] tracking-widest uppercase", children: siteLabel }) : null
|
|
5519
5519
|
] }),
|
|
5520
5520
|
/* @__PURE__ */ jsxs("nav", { className: "flex-1 overflow-y-auto px-2 py-3", children: [
|
|
5521
|
-
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground
|
|
5521
|
+
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground mb-1 px-3 font-mono text-[10px] tracking-widest uppercase", children: "\xA7 tools" }),
|
|
5522
5522
|
/* @__PURE__ */ jsx("ul", { className: "space-y-0.5", children: tools.map((tool) => {
|
|
5523
5523
|
const isActive2 = tool.id === active;
|
|
5524
5524
|
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");
|
|
@@ -5526,19 +5526,19 @@ function Sidebar({
|
|
|
5526
5526
|
tool.icon ? /* @__PURE__ */ jsx(
|
|
5527
5527
|
"span",
|
|
5528
5528
|
{
|
|
5529
|
-
className: "shrink-0 font-mono text-[11px] " + (isActive2 ? "text-primary" : "text-muted-foreground
|
|
5529
|
+
className: "shrink-0 font-mono text-[11px] " + (isActive2 ? "text-primary" : "text-muted-foreground"),
|
|
5530
5530
|
"aria-hidden": true,
|
|
5531
5531
|
children: tool.icon
|
|
5532
5532
|
}
|
|
5533
5533
|
) : null,
|
|
5534
5534
|
/* @__PURE__ */ jsxs("span", { className: "flex-1 leading-tight", children: [
|
|
5535
5535
|
/* @__PURE__ */ jsx("span", { children: tool.label }),
|
|
5536
|
-
tool.tagline ? /* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
5536
|
+
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
|
|
5537
5537
|
] }),
|
|
5538
5538
|
tool.external ? /* @__PURE__ */ jsx(
|
|
5539
5539
|
"span",
|
|
5540
5540
|
{
|
|
5541
|
-
className: "text-muted-foreground
|
|
5541
|
+
className: "text-muted-foreground text-[10px]",
|
|
5542
5542
|
"aria-hidden": true,
|
|
5543
5543
|
children: "\u2197"
|
|
5544
5544
|
}
|
|
@@ -5593,14 +5593,14 @@ function OcDashboardHub({ tools, className }) {
|
|
|
5593
5593
|
tool.external ? /* @__PURE__ */ jsx(
|
|
5594
5594
|
"span",
|
|
5595
5595
|
{
|
|
5596
|
-
className: "text-muted-foreground
|
|
5596
|
+
className: "text-muted-foreground ml-auto text-xs",
|
|
5597
5597
|
"aria-hidden": true,
|
|
5598
5598
|
children: "\u2197"
|
|
5599
5599
|
}
|
|
5600
5600
|
) : /* @__PURE__ */ jsx(
|
|
5601
5601
|
"span",
|
|
5602
5602
|
{
|
|
5603
|
-
className: "text-muted-foreground
|
|
5603
|
+
className: "text-muted-foreground ml-auto text-xs",
|
|
5604
5604
|
"aria-hidden": true,
|
|
5605
5605
|
children: "\u2192"
|
|
5606
5606
|
}
|
|
@@ -5668,7 +5668,7 @@ function LayoutSubHeader({
|
|
|
5668
5668
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground hidden tracking-widest whitespace-nowrap uppercase sm:inline", children: status }),
|
|
5669
5669
|
/* @__PURE__ */ jsx("span", { className: "text-foreground truncate", children: product })
|
|
5670
5670
|
] }),
|
|
5671
|
-
tags.length > 0 && /* @__PURE__ */ jsx("div", { className: "text-muted-foreground
|
|
5671
|
+
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)) })
|
|
5672
5672
|
] }) });
|
|
5673
5673
|
}
|
|
5674
5674
|
function OcAppBar({
|
|
@@ -5711,7 +5711,7 @@ var GRID = {
|
|
|
5711
5711
|
4: "md:grid-cols-[1.2fr_1fr_1fr_1fr_1fr]",
|
|
5712
5712
|
5: "md:grid-cols-[1.2fr_1fr_1fr_1fr_1fr_1fr]"
|
|
5713
5713
|
};
|
|
5714
|
-
var LINK_CLS = "text-muted-foreground hover:text-foreground font-mono text-xs tracking-wide lowercase transition-colors";
|
|
5714
|
+
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";
|
|
5715
5715
|
function FooterLinkItem({ link }) {
|
|
5716
5716
|
if (link.external) {
|
|
5717
5717
|
return /* @__PURE__ */ jsxs("a", { href: link.href, target: "_blank", rel: "noreferrer", className: LINK_CLS, children: [
|
|
@@ -5728,7 +5728,7 @@ function FooterLinkItem({ link }) {
|
|
|
5728
5728
|
function FooterColumnView({ column }) {
|
|
5729
5729
|
return /* @__PURE__ */ jsxs("div", { children: [
|
|
5730
5730
|
/* @__PURE__ */ jsx("div", { className: "label-mono text-primary mb-3", children: column.label }),
|
|
5731
|
-
/* @__PURE__ */ jsx("ul", { className: "space-y-2", children: column.links.map((link) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(FooterLinkItem, { link }) }, `${column.label}:${link.href}`)) })
|
|
5731
|
+
/* @__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}`)) })
|
|
5732
5732
|
] });
|
|
5733
5733
|
}
|
|
5734
5734
|
function familyColumn(category, label) {
|
|
@@ -5789,12 +5789,12 @@ function OcFamilyFooter({
|
|
|
5789
5789
|
year,
|
|
5790
5790
|
" orangecheck \xB7 mit + cc-by-4.0"
|
|
5791
5791
|
] }) }),
|
|
5792
|
-
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground
|
|
5792
|
+
/* @__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(
|
|
5793
5793
|
"a",
|
|
5794
5794
|
{
|
|
5795
5795
|
href: link.href,
|
|
5796
5796
|
...link.external ? { target: "_blank", rel: "noreferrer" } : {},
|
|
5797
|
-
className: "hover:text-foreground transition-colors",
|
|
5797
|
+
className: "hover:text-foreground inline-flex min-h-11 items-center transition-colors md:min-h-0",
|
|
5798
5798
|
children: link.label
|
|
5799
5799
|
},
|
|
5800
5800
|
link.label
|