@ai-matrx/records-ui 0.115.37 → 0.115.38
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/CHANGELOG.md +2 -2
- package/dist/index.cjs +6 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# Changelog — @ai-matrx/records-ui
|
|
2
2
|
|
|
3
|
-
## 0.115.
|
|
3
|
+
## 0.115.38
|
|
4
4
|
|
|
5
5
|
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
6
|
-
`git diff npm/records-ui/v0.115.
|
|
6
|
+
`git diff npm/records-ui/v0.115.37..npm/records-ui/v0.115.38 -- apps/shared/records-ui`).
|
|
7
7
|
No source changes intended and no consumer action required.
|
|
8
8
|
|
|
9
9
|
## 0.115.36
|
package/dist/index.cjs
CHANGED
|
@@ -35022,6 +35022,9 @@ function packRows(bars) {
|
|
|
35022
35022
|
return { ...bar, row };
|
|
35023
35023
|
});
|
|
35024
35024
|
}
|
|
35025
|
+
function shortDay(day2) {
|
|
35026
|
+
return dayAt(day2).toLocaleDateString(void 0, { month: "short", day: "numeric" });
|
|
35027
|
+
}
|
|
35025
35028
|
function windowStart(anchor, zoom, firstDay) {
|
|
35026
35029
|
const from = dayAt(addDays(anchor, -WINDOW[zoom].lead));
|
|
35027
35030
|
if (zoom === "day" || zoom === "week") from.setDate(from.getDate() - daysSinceWeekStart(from.getDay(), firstDay));
|
|
@@ -35359,7 +35362,7 @@ function TimelineView({
|
|
|
35359
35362
|
try {
|
|
35360
35363
|
const make = async (current, key, label) => {
|
|
35361
35364
|
if (current) return current.key;
|
|
35362
|
-
const made = await knobClient.fieldDeclare({ table_id: tableId, spec: { key, label, type: "date" } });
|
|
35365
|
+
const made = await knobClient.fieldDeclare({ table_id: tableId, spec: { key, label, type: "datetime", kind: "date" } });
|
|
35363
35366
|
if (!made.ok) {
|
|
35364
35367
|
moves.say(refusalSentence(made.error));
|
|
35365
35368
|
return null;
|
|
@@ -35880,8 +35883,8 @@ function TimelineView({
|
|
|
35880
35883
|
const slip = slipDays(baselineOf(b.p.row)?.last ?? null, at.last);
|
|
35881
35884
|
return /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("div", { "data-timeline-list-row": b.p.row.id, className: "flex items-center gap-1 px-1.5 text-xs", style: { height: ROW_PX }, children: [
|
|
35882
35885
|
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("button", { type: "button", className: "min-w-0 flex-1 truncate text-left hover:underline", onClick: () => onOpenRecord?.(b.p.row.id), children: titleOf(b.p.row) }),
|
|
35883
|
-
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("span", { className: "w-12 shrink-0 tabular-nums text-muted-foreground", children:
|
|
35884
|
-
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("span", { className: "w-12 shrink-0 tabular-nums text-muted-foreground", children:
|
|
35886
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("span", { className: "w-12 shrink-0 whitespace-nowrap tabular-nums text-muted-foreground", children: shortDay(at.first) }),
|
|
35887
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("span", { className: "w-12 shrink-0 whitespace-nowrap tabular-nums text-muted-foreground", children: shortDay(at.last) }),
|
|
35885
35888
|
/* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("span", { className: "w-14 shrink-0 text-right tabular-nums", title: slip !== null ? slipWords(slip) : void 0, children: [
|
|
35886
35889
|
daysBetween(at.first, at.last) + 1,
|
|
35887
35890
|
"d",
|