@orangecheck/app-design 0.5.1 → 0.5.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/components.d.mts +1 -0
- package/dist/components.d.ts +1 -0
- package/dist/components.js +9 -5
- package/dist/components.js.map +1 -1
- package/dist/components.mjs +9 -5
- package/dist/components.mjs.map +1 -1
- package/dist/index.js +9 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/components.mjs
CHANGED
|
@@ -959,9 +959,12 @@ function ActivityList({ items, empty, className }) {
|
|
|
959
959
|
if (items.length === 0 && empty) return /* @__PURE__ */ jsx(Fragment, { children: empty });
|
|
960
960
|
return /* @__PURE__ */ jsx("ul", { className: cn("divide-y divide-border rounded-[1.25rem] border border-border bg-card", className), children: items.map((it) => {
|
|
961
961
|
const body = /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between gap-4 px-5 py-4", children: [
|
|
962
|
-
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0
|
|
963
|
-
/* @__PURE__ */ jsx("
|
|
964
|
-
|
|
962
|
+
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
963
|
+
it.leading ? /* @__PURE__ */ jsx("div", { className: "shrink-0", children: it.leading }) : null,
|
|
964
|
+
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-col gap-0.5", children: [
|
|
965
|
+
/* @__PURE__ */ jsx("span", { className: "truncate text-[0.9375rem]", children: it.title }),
|
|
966
|
+
it.meta ? /* @__PURE__ */ jsx("span", { className: "truncate text-[0.8125rem] text-muted-foreground", children: it.meta }) : null
|
|
967
|
+
] })
|
|
965
968
|
] }),
|
|
966
969
|
it.trailing ? /* @__PURE__ */ jsx("div", { className: "shrink-0 text-right", children: it.trailing }) : null
|
|
967
970
|
] });
|
|
@@ -1305,8 +1308,9 @@ var GROUNDS = [
|
|
|
1305
1308
|
dot: "rgb(10 10 10 / 0.22)"
|
|
1306
1309
|
},
|
|
1307
1310
|
{
|
|
1308
|
-
|
|
1309
|
-
|
|
1311
|
+
// Lifted at the top edge so the tile keeps its shape on a dark card.
|
|
1312
|
+
className: "text-white ring-1 ring-inset ring-white/15",
|
|
1313
|
+
background: "linear-gradient(145deg, #3d3d3d, #0d0d0d 70%)",
|
|
1310
1314
|
dot: "rgb(255 255 255 / 0.16)"
|
|
1311
1315
|
},
|
|
1312
1316
|
{
|