@ai-matrx/records-ui 0.115.85 → 0.115.86
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 +22 -1
- package/dist/index.cjs +19 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +19 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,31 @@
|
|
|
1
1
|
# Changelog — @ai-matrx/records-ui
|
|
2
2
|
|
|
3
|
-
## 0.115.
|
|
3
|
+
## 0.115.86
|
|
4
4
|
|
|
5
5
|
UNVERIFIED: this release has no Unreleased entry and the source comparison could not be made (the caller supplied no source comparison). Whether source changed is unknown; consumer action is unknown.
|
|
6
6
|
Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/records-ui/src`.
|
|
7
7
|
|
|
8
|
+
## 0.115.85
|
|
9
|
+
|
|
10
|
+
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
11
|
+
so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
|
|
12
|
+
Diff: `git diff 35c2117c58 7b1d72070c -- apps/shared/records-ui/src`
|
|
13
|
+
|
|
14
|
+
Changed shipped source files (16):
|
|
15
|
+
- `apps/shared/records-ui/src/AsOfReading.tsx`
|
|
16
|
+
- `apps/shared/records-ui/src/CommentThread.tsx`
|
|
17
|
+
- `apps/shared/records-ui/src/FieldHistoryPanel.tsx`
|
|
18
|
+
- `apps/shared/records-ui/src/FieldRetype.tsx`
|
|
19
|
+
- `apps/shared/records-ui/src/HistoryPanel.tsx`
|
|
20
|
+
- `apps/shared/records-ui/src/Peek.tsx`
|
|
21
|
+
- `apps/shared/records-ui/src/PersonNamesBridge.tsx`
|
|
22
|
+
- `apps/shared/records-ui/src/RecordsMount.tsx`
|
|
23
|
+
- `apps/shared/records-ui/src/RetiredValues.tsx`
|
|
24
|
+
- `apps/shared/records-ui/src/ValueAlternates.tsx`
|
|
25
|
+
- `apps/shared/records-ui/src/host.tsx`
|
|
26
|
+
- `apps/shared/records-ui/src/memberNames.ts`
|
|
27
|
+
- ...and 4 more
|
|
28
|
+
|
|
8
29
|
## 0.115.84
|
|
9
30
|
|
|
10
31
|
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
package/dist/index.cjs
CHANGED
|
@@ -7899,13 +7899,31 @@ function keptAsideReason(field2, entry) {
|
|
|
7899
7899
|
}
|
|
7900
7900
|
function KeptAsideValue({ field: field2, entry, shown: shown5 }) {
|
|
7901
7901
|
const why = keptAsideReason(field2, entry);
|
|
7902
|
+
const open = useRecordsUi().openPerson;
|
|
7903
|
+
const person = (Array.isArray(entry.value) ? entry.value : [entry.value]).find(isUserId);
|
|
7904
|
+
const opens = open && typeof person === "string";
|
|
7902
7905
|
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
7903
7906
|
"span",
|
|
7904
7907
|
{
|
|
7905
7908
|
"data-records-kept-aside": field2.key,
|
|
7906
7909
|
title: why,
|
|
7907
7910
|
"aria-label": `${shown5}. ${why}`,
|
|
7908
|
-
className: "cursor-help rounded-sm bg-amber-500/10 px-0.5 text-amber-700 dark:text-amber-300
|
|
7911
|
+
className: `${opens ? "cursor-pointer underline-offset-2 hover:underline" : "cursor-help"} rounded-sm bg-amber-500/10 px-0.5 text-amber-700 dark:text-amber-300`,
|
|
7912
|
+
...opens ? {
|
|
7913
|
+
role: "button",
|
|
7914
|
+
tabIndex: 0,
|
|
7915
|
+
onClick: (e) => {
|
|
7916
|
+
e.stopPropagation();
|
|
7917
|
+
void openStoredPerson(person, open);
|
|
7918
|
+
},
|
|
7919
|
+
onKeyDown: (e) => {
|
|
7920
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
7921
|
+
e.preventDefault();
|
|
7922
|
+
e.stopPropagation();
|
|
7923
|
+
void openStoredPerson(person, open);
|
|
7924
|
+
}
|
|
7925
|
+
}
|
|
7926
|
+
} : {},
|
|
7909
7927
|
children: shown5
|
|
7910
7928
|
}
|
|
7911
7929
|
);
|