@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/primitives.mjs
CHANGED
|
@@ -430,7 +430,7 @@ function Working({ text, size = "md", progress, className }) {
|
|
|
430
430
|
] }),
|
|
431
431
|
/* @__PURE__ */ jsxs("span", { className: "oc-working-text", children: [
|
|
432
432
|
text,
|
|
433
|
-
progress && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground
|
|
433
|
+
progress && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground ml-1.5", children: [
|
|
434
434
|
"[",
|
|
435
435
|
progress,
|
|
436
436
|
"]"
|
|
@@ -973,7 +973,7 @@ function Modal({ open, onOpenChange, title, subtitle, children, actions, width =
|
|
|
973
973
|
/* @__PURE__ */ jsx("span", { className: "terminal-dot opacity-70", "aria-hidden": true }),
|
|
974
974
|
/* @__PURE__ */ jsx("span", { className: "terminal-dot opacity-50", "aria-hidden": true }),
|
|
975
975
|
/* @__PURE__ */ jsx(SheetPrimitive.Title, { className: "ml-2 truncate [flex-shrink:1]", children: title }),
|
|
976
|
-
subtitle && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground
|
|
976
|
+
subtitle && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground ml-1 min-w-0 truncate text-[10px] normal-case tracking-normal [flex-shrink:100]", children: [
|
|
977
977
|
"\xB7 ",
|
|
978
978
|
subtitle
|
|
979
979
|
] })
|
|
@@ -1001,7 +1001,7 @@ function Pagination({ page, pageSize, total, onPage, className }) {
|
|
|
1001
1001
|
const start = page * pageSize;
|
|
1002
1002
|
const shown = Math.max(0, Math.min(pageSize, total - start));
|
|
1003
1003
|
return /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between " + (className ?? "mt-3"), children: [
|
|
1004
|
-
/* @__PURE__ */ jsxs("span", { className: "text-muted-foreground
|
|
1004
|
+
/* @__PURE__ */ jsxs("span", { className: "text-muted-foreground font-mono text-[10px]", children: [
|
|
1005
1005
|
start + 1,
|
|
1006
1006
|
"\u2013",
|
|
1007
1007
|
start + shown,
|
|
@@ -1530,13 +1530,13 @@ function Card({
|
|
|
1530
1530
|
/* @__PURE__ */ jsx("span", { className: "terminal-dot opacity-70", "aria-hidden": true }),
|
|
1531
1531
|
/* @__PURE__ */ jsx("span", { className: "terminal-dot opacity-50", "aria-hidden": true }),
|
|
1532
1532
|
/* @__PURE__ */ jsx("span", { className: "ml-2 truncate [flex-shrink:1]", children: title }),
|
|
1533
|
-
subtitle && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground
|
|
1533
|
+
subtitle && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground ml-1 min-w-0 truncate text-[10px] tracking-normal normal-case [flex-shrink:100]", children: [
|
|
1534
1534
|
"\xB7 ",
|
|
1535
1535
|
subtitle
|
|
1536
1536
|
] })
|
|
1537
1537
|
] }),
|
|
1538
1538
|
/* @__PURE__ */ jsxs("div", { className: "flex shrink-0 items-center gap-2", children: [
|
|
1539
|
-
refreshedAt && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
1539
|
+
refreshedAt && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground hidden text-[10px] tracking-normal normal-case sm:inline", children: refreshedAt }),
|
|
1540
1540
|
actions,
|
|
1541
1541
|
expandable && /* @__PURE__ */ jsx(
|
|
1542
1542
|
"button",
|
|
@@ -1545,7 +1545,7 @@ function Card({
|
|
|
1545
1545
|
onClick: () => setExpanded(true),
|
|
1546
1546
|
"aria-label": `expand ${title}`,
|
|
1547
1547
|
title: "expand to fullscreen",
|
|
1548
|
-
className: "text-muted-foreground
|
|
1548
|
+
className: "text-muted-foreground hover:text-foreground inline-flex h-6 w-6 items-center justify-center rounded-sm",
|
|
1549
1549
|
children: /* @__PURE__ */ jsx(Maximize2, { className: "size-3" })
|
|
1550
1550
|
}
|
|
1551
1551
|
)
|
|
@@ -1562,7 +1562,7 @@ function Card({
|
|
|
1562
1562
|
onOpenChange: setExpanded,
|
|
1563
1563
|
title,
|
|
1564
1564
|
...subtitle ? { subtitle } : {},
|
|
1565
|
-
actions: refreshedAt ? /* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
1565
|
+
actions: refreshedAt ? /* @__PURE__ */ jsx("span", { className: "text-muted-foreground hidden text-[10px] tracking-normal normal-case sm:inline", children: refreshedAt }) : null,
|
|
1566
1566
|
children
|
|
1567
1567
|
}
|
|
1568
1568
|
)
|