@ai-matrx/records-ui 0.113.2 → 0.113.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 +6 -0
- package/dist/index.cjs +9 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -4
- package/dist/index.js.map +1 -1
- package/dist/pickers.cjs +4 -3
- package/dist/pickers.cjs.map +1 -1
- package/dist/pickers.js +4 -3
- package/dist/pickers.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog — @ai-matrx/records-ui
|
|
2
2
|
|
|
3
|
+
## 0.113.3
|
|
4
|
+
|
|
5
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
6
|
+
`git diff npm/records-ui/v0.113.2..npm/records-ui/v0.113.3 -- apps/shared/records-ui`).
|
|
7
|
+
No source changes intended and no consumer action required.
|
|
8
|
+
|
|
3
9
|
## 0.113.2
|
|
4
10
|
|
|
5
11
|
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
package/dist/index.cjs
CHANGED
|
@@ -6205,9 +6205,10 @@ function TypedDateHelper({
|
|
|
6205
6205
|
text: text2,
|
|
6206
6206
|
onText,
|
|
6207
6207
|
label,
|
|
6208
|
-
onPicked
|
|
6208
|
+
onPicked,
|
|
6209
|
+
startOpen = false
|
|
6209
6210
|
}) {
|
|
6210
|
-
const [open, setOpen] = (0, import_react33.useState)(
|
|
6211
|
+
const [open, setOpen] = (0, import_react33.useState)(startOpen);
|
|
6211
6212
|
const held = readBox(text2, kind);
|
|
6212
6213
|
usePersonTimeZone();
|
|
6213
6214
|
const today = personWallNow();
|
|
@@ -6574,7 +6575,7 @@ function TypedTextControl({ field: field2, value, onChange, disabled, id, onComm
|
|
|
6574
6575
|
return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("span", { className: "flex flex-col gap-0.5", children: [
|
|
6575
6576
|
helper && !disabled ? /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("span", { className: "flex min-w-0 items-center gap-0.5", children: [
|
|
6576
6577
|
box,
|
|
6577
|
-
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(TypedDateHelper, { kind: helper, text: value.text, onText: retype, label: fieldName(field2), onPicked: onCommit })
|
|
6578
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(TypedDateHelper, { kind: helper, text: value.text, onText: retype, label: fieldName(field2), onPicked: onCommit, startOpen: value.openedAs !== void 0 })
|
|
6578
6579
|
] }) : box,
|
|
6579
6580
|
judged === null ? /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("span", { "data-records-cell-note": "", className: "text-[10px] text-muted-foreground", children: [
|
|
6580
6581
|
"Reading ",
|
|
@@ -9793,6 +9794,10 @@ function GridCell({
|
|
|
9793
9794
|
openThisCell(event);
|
|
9794
9795
|
return;
|
|
9795
9796
|
}
|
|
9797
|
+
if (dateHelperKind(field2, value) !== null) {
|
|
9798
|
+
if (wasActive.current || event.target !== closedControl.current && event.target instanceof Node && closedControl.current?.contains(event.target)) openThisCell(event);
|
|
9799
|
+
return;
|
|
9800
|
+
}
|
|
9796
9801
|
if (!opensAsAList(field2, hostTakesFiles(ui))) return;
|
|
9797
9802
|
if (wasActive.current || clickLandsOnAChip(event.target)) openThisCell(event);
|
|
9798
9803
|
};
|
|
@@ -10045,7 +10050,7 @@ function closesOnBlur(field2) {
|
|
|
10045
10050
|
return true;
|
|
10046
10051
|
}
|
|
10047
10052
|
}
|
|
10048
|
-
var LIST_CELL_CHIP = "[data-records-choice-chip], [data-records-person-chip]
|
|
10053
|
+
var LIST_CELL_CHIP = "[data-records-choice-chip], [data-records-person-chip]";
|
|
10049
10054
|
function clickLandsOnAChip(target) {
|
|
10050
10055
|
return target instanceof Element && target.closest(LIST_CELL_CHIP) !== null;
|
|
10051
10056
|
}
|