@ai-matrx/records-ui 0.95.2 → 0.95.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog — @ai-matrx/records-ui
2
2
 
3
+ ## 0.95.3
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/records-ui/v0.95.2..npm/records-ui/v0.95.3 -- apps/shared/records-ui`).
7
+ No source changes intended and no consumer action required.
8
+
3
9
  ## 0.95.2
4
10
 
5
11
  - Table chords (TABLE-ACTIONS wave 4): `TABLE_ACTION_KEYS` gives the core verbs ⌥⇧ + a key (Share S,
@@ -14,6 +20,9 @@
14
20
 
15
21
  ## Unreleased
16
22
 
23
+ - `QuestionPanel`: a date column's groups read as the grid prints the date (Sep 28, 2026, never the
24
+ stored 2026-09-28; the key stays on the row's `data-group`), and the Sort row wraps on a phone
25
+ instead of pushing "Show" onto two lines. Guard: `a-saved-question-opens-for-a-second-member.test.tsx`.
17
26
  - `RecordPanel`: one record whole (form, history, the host's sections, checklists, comments) — the
18
27
  table rail draws it, and so does a host's record page. With `hrefForRecord` bound, the record
19
28
  menu's Open, Open in new tab and Copy link go to that page.
package/dist/index.cjs CHANGED
@@ -29274,7 +29274,7 @@ function ViewBar({ tableId, activeViewId, onActiveView, seed, settings, onViews,
29274
29274
  /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_design_system82.Button, { size: "sm", type: "submit", className: "h-7", children: "Save" })
29275
29275
  ]
29276
29276
  }
29277
- ) : viewActions(rights.admin ? null : rights.why("structure"), {
29277
+ ) : viewActions(rights.admin ? null : rightsReason(rights, "structure") ?? ACTION_NO_ACCESS_REASON, {
29278
29278
  rename: () => setRenaming(current.name),
29279
29279
  duplicate: () => duplicate(current),
29280
29280
  archive: () => archive(current)
@@ -38646,7 +38646,7 @@ function QuestionPanel({ tableId, activeQuestionId, className }) {
38646
38646
  ] }),
38647
38647
  spec.group ? /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(import_jsx_runtime123.Fragment, { children: [
38648
38648
  /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_design_system111.Label, { className: "pt-1.5 text-xs text-muted-foreground", children: "Sort" }),
38649
- /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)("div", { className: "flex items-center gap-1.5", children: [
38649
+ /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)("div", { className: "flex flex-wrap items-center gap-1.5", children: [
38650
38650
  /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
38651
38651
  PickOne,
38652
38652
  {
@@ -38661,7 +38661,7 @@ function QuestionPanel({ tableId, activeQuestionId, className }) {
38661
38661
  attrs: { "data-testid": "question-sort" }
38662
38662
  }
38663
38663
  ),
38664
- /* @__PURE__ */ (0, import_jsx_runtime123.jsx)("span", { className: "text-muted-foreground", children: "Show" }),
38664
+ /* @__PURE__ */ (0, import_jsx_runtime123.jsx)("span", { className: "whitespace-nowrap text-muted-foreground", children: "Show" }),
38665
38665
  /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
38666
38666
  import_design_system111.BasicInput,
38667
38667
  {
@@ -38864,6 +38864,10 @@ function Answer({ tableId, spec, answer, fields, related }) {
38864
38864
  const label = (value) => {
38865
38865
  if (value === null || value === "") return "No value";
38866
38866
  if (spec.group?.kind === "bucket") return bucketName(value, spec.group.by);
38867
+ if (groupField && isDateField(groupField)) {
38868
+ const asDate = dateText(groupField, value);
38869
+ if (asDate) return asDate;
38870
+ }
38867
38871
  if (answer.groupKey) {
38868
38872
  const named = namer?.(answer.groupKey, value);
38869
38873
  if (named !== void 0) return named ?? "\u2014";