@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/dist/pickers.js
CHANGED
|
@@ -3173,9 +3173,10 @@ function TypedDateHelper({
|
|
|
3173
3173
|
text,
|
|
3174
3174
|
onText,
|
|
3175
3175
|
label,
|
|
3176
|
-
onPicked
|
|
3176
|
+
onPicked,
|
|
3177
|
+
startOpen = false
|
|
3177
3178
|
}) {
|
|
3178
|
-
const [open, setOpen] = useState13(
|
|
3179
|
+
const [open, setOpen] = useState13(startOpen);
|
|
3179
3180
|
const held = readBox(text, kind);
|
|
3180
3181
|
usePersonTimeZone();
|
|
3181
3182
|
const today = personWallNow();
|
|
@@ -3506,7 +3507,7 @@ function TypedTextControl({ field, value, onChange, disabled, id, onCommit, onCa
|
|
|
3506
3507
|
return /* @__PURE__ */ jsxs16("span", { className: "flex flex-col gap-0.5", children: [
|
|
3507
3508
|
helper && !disabled ? /* @__PURE__ */ jsxs16("span", { className: "flex min-w-0 items-center gap-0.5", children: [
|
|
3508
3509
|
box,
|
|
3509
|
-
/* @__PURE__ */ jsx18(TypedDateHelper, { kind: helper, text: value.text, onText: retype, label: fieldName(field), onPicked: onCommit })
|
|
3510
|
+
/* @__PURE__ */ jsx18(TypedDateHelper, { kind: helper, text: value.text, onText: retype, label: fieldName(field), onPicked: onCommit, startOpen: value.openedAs !== void 0 })
|
|
3510
3511
|
] }) : box,
|
|
3511
3512
|
judged === null ? /* @__PURE__ */ jsxs16("span", { "data-records-cell-note": "", className: "text-[10px] text-muted-foreground", children: [
|
|
3512
3513
|
"Reading ",
|