@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/composites.js
CHANGED
|
@@ -69,7 +69,7 @@ function HelpHint({
|
|
|
69
69
|
onClick: (e) => e.stopPropagation(),
|
|
70
70
|
className: cn(
|
|
71
71
|
"focus-visible:ring-primary/60 inline-flex shrink-0 items-center justify-center rounded-full transition-colors outline-none focus-visible:ring-2",
|
|
72
|
-
tone === "subtle" ? "text-muted-foreground
|
|
72
|
+
tone === "subtle" ? "text-muted-foreground hover:text-foreground/80" : "text-primary/70 hover:text-primary",
|
|
73
73
|
className
|
|
74
74
|
),
|
|
75
75
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.HelpCircle, { size: iconSize, "aria-hidden": true })
|
|
@@ -116,7 +116,7 @@ function SectionHeader({
|
|
|
116
116
|
] }),
|
|
117
117
|
hint && /* @__PURE__ */ jsxRuntime.jsx(HelpHint, { title: hint.title, side: hint.side ?? "bottom", children: hint.body })
|
|
118
118
|
] }),
|
|
119
|
-
meta && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground
|
|
119
|
+
meta && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground font-mono text-[10px] tracking-widest uppercase", children: meta })
|
|
120
120
|
] });
|
|
121
121
|
}
|
|
122
122
|
var buttonVariants = classVarianceAuthority.cva(
|
|
@@ -329,7 +329,7 @@ function StatGrid({ items, columns = 3, className = "" }) {
|
|
|
329
329
|
function Tile({ item }) {
|
|
330
330
|
const tone = item.tone ?? (item.accent ? "primary" : "default");
|
|
331
331
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "oc-stat-tile bg-background p-5", children: [
|
|
332
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground
|
|
332
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground font-mono text-[10px] tracking-widest uppercase", children: item.label }),
|
|
333
333
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
334
334
|
"div",
|
|
335
335
|
{
|
|
@@ -337,7 +337,7 @@ function Tile({ item }) {
|
|
|
337
337
|
children: item.value
|
|
338
338
|
}
|
|
339
339
|
),
|
|
340
|
-
item.sub && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground
|
|
340
|
+
item.sub && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground mt-1 font-mono text-[10px] tracking-widest uppercase", children: item.sub })
|
|
341
341
|
] });
|
|
342
342
|
}
|
|
343
343
|
function StatTile({ children, ...item }) {
|
|
@@ -803,7 +803,7 @@ function ComparisonTable({ rows, columns, className }) {
|
|
|
803
803
|
rows.map((row, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-[1.4fr_1fr_1fr] border-t", children: [
|
|
804
804
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-4 py-3.5 font-medium text-foreground sm:px-6", children: row.label }),
|
|
805
805
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-muted-foreground flex items-center gap-2 px-4 py-3.5 sm:px-6", children: [
|
|
806
|
-
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "text-muted-foreground
|
|
806
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "text-muted-foreground size-4" }),
|
|
807
807
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: row.theirs })
|
|
808
808
|
] }),
|
|
809
809
|
/* @__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: [
|