@orangecheck/design 0.32.0 → 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/sigil.css +4 -2
- package/dist/styles/theme.css +10 -0
- package/package.json +2 -1
package/dist/primitives.js
CHANGED
|
@@ -464,7 +464,7 @@ function Working({ text, size = "md", progress, className }) {
|
|
|
464
464
|
] }),
|
|
465
465
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "oc-working-text", children: [
|
|
466
466
|
text,
|
|
467
|
-
progress && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground
|
|
467
|
+
progress && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground ml-1.5", children: [
|
|
468
468
|
"[",
|
|
469
469
|
progress,
|
|
470
470
|
"]"
|
|
@@ -1007,7 +1007,7 @@ function Modal({ open, onOpenChange, title, subtitle, children, actions, width =
|
|
|
1007
1007
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "terminal-dot opacity-70", "aria-hidden": true }),
|
|
1008
1008
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "terminal-dot opacity-50", "aria-hidden": true }),
|
|
1009
1009
|
/* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Title, { className: "ml-2 truncate [flex-shrink:1]", children: title }),
|
|
1010
|
-
subtitle && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground
|
|
1010
|
+
subtitle && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground ml-1 min-w-0 truncate text-[10px] normal-case tracking-normal [flex-shrink:100]", children: [
|
|
1011
1011
|
"\xB7 ",
|
|
1012
1012
|
subtitle
|
|
1013
1013
|
] })
|
|
@@ -1035,7 +1035,7 @@ function Pagination({ page, pageSize, total, onPage, className }) {
|
|
|
1035
1035
|
const start = page * pageSize;
|
|
1036
1036
|
const shown = Math.max(0, Math.min(pageSize, total - start));
|
|
1037
1037
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between " + (className ?? "mt-3"), children: [
|
|
1038
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground
|
|
1038
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground font-mono text-[10px]", children: [
|
|
1039
1039
|
start + 1,
|
|
1040
1040
|
"\u2013",
|
|
1041
1041
|
start + shown,
|
|
@@ -1564,13 +1564,13 @@ function Card({
|
|
|
1564
1564
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "terminal-dot opacity-70", "aria-hidden": true }),
|
|
1565
1565
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "terminal-dot opacity-50", "aria-hidden": true }),
|
|
1566
1566
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "ml-2 truncate [flex-shrink:1]", children: title }),
|
|
1567
|
-
subtitle && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground
|
|
1567
|
+
subtitle && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground ml-1 min-w-0 truncate text-[10px] tracking-normal normal-case [flex-shrink:100]", children: [
|
|
1568
1568
|
"\xB7 ",
|
|
1569
1569
|
subtitle
|
|
1570
1570
|
] })
|
|
1571
1571
|
] }),
|
|
1572
1572
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex shrink-0 items-center gap-2", children: [
|
|
1573
|
-
refreshedAt && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground
|
|
1573
|
+
refreshedAt && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground hidden text-[10px] tracking-normal normal-case sm:inline", children: refreshedAt }),
|
|
1574
1574
|
actions,
|
|
1575
1575
|
expandable && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1576
1576
|
"button",
|
|
@@ -1579,7 +1579,7 @@ function Card({
|
|
|
1579
1579
|
onClick: () => setExpanded(true),
|
|
1580
1580
|
"aria-label": `expand ${title}`,
|
|
1581
1581
|
title: "expand to fullscreen",
|
|
1582
|
-
className: "text-muted-foreground
|
|
1582
|
+
className: "text-muted-foreground hover:text-foreground inline-flex h-6 w-6 items-center justify-center rounded-sm",
|
|
1583
1583
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Maximize2, { className: "size-3" })
|
|
1584
1584
|
}
|
|
1585
1585
|
)
|
|
@@ -1596,7 +1596,7 @@ function Card({
|
|
|
1596
1596
|
onOpenChange: setExpanded,
|
|
1597
1597
|
title,
|
|
1598
1598
|
...subtitle ? { subtitle } : {},
|
|
1599
|
-
actions: refreshedAt ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground
|
|
1599
|
+
actions: refreshedAt ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground hidden text-[10px] tracking-normal normal-case sm:inline", children: refreshedAt }) : null,
|
|
1600
1600
|
children
|
|
1601
1601
|
}
|
|
1602
1602
|
)
|