@ai-matrx/records-ui 0.113.8 → 0.113.10
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 +12 -0
- package/dist/index.cjs +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog — @ai-matrx/records-ui
|
|
2
2
|
|
|
3
|
+
## 0.113.10
|
|
4
|
+
|
|
5
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
6
|
+
`git diff npm/records-ui/v0.113.9..npm/records-ui/v0.113.10 -- apps/shared/records-ui`).
|
|
7
|
+
No source changes intended and no consumer action required.
|
|
8
|
+
|
|
9
|
+
## 0.113.9
|
|
10
|
+
|
|
11
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
12
|
+
`git diff npm/records-ui/v0.113.8..npm/records-ui/v0.113.9 -- apps/shared/records-ui`).
|
|
13
|
+
No source changes intended and no consumer action required.
|
|
14
|
+
|
|
3
15
|
## 0.113.8
|
|
4
16
|
|
|
5
17
|
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
package/dist/index.cjs
CHANGED
|
@@ -13185,6 +13185,9 @@ function OpenCell({
|
|
|
13185
13185
|
const picker = opensAsAList(field2, hostTakesFiles(useRecordsUi()));
|
|
13186
13186
|
const [ahead, setAhead] = (0, import_react64.useState)(initialSearch ?? "");
|
|
13187
13187
|
const blurCommits = !picker && closesOnBlur(field2);
|
|
13188
|
+
const typedWords = isTypedDraft(draft) ? draft.text : typeof draft === "string" ? draft : null;
|
|
13189
|
+
const widens = !picker && !multiline && typedWords !== null;
|
|
13190
|
+
const wideTo = widens ? `max(100%, calc(${Math.max(typedWords.length, 8) + 3}ch + ${dateHelperKind(field2) ? "2.75rem" : "1rem"}))` : void 0;
|
|
13188
13191
|
const done = (0, import_react64.useRef)(false);
|
|
13189
13192
|
const once = (run) => {
|
|
13190
13193
|
if (done.current) return;
|
|
@@ -13233,7 +13236,8 @@ function OpenCell({
|
|
|
13233
13236
|
{
|
|
13234
13237
|
ref: host,
|
|
13235
13238
|
"data-matrx-cell-control": "",
|
|
13236
|
-
"data-matrx-cell-fill": "",
|
|
13239
|
+
...widens ? { "data-matrx-cell-widens": "" } : { "data-matrx-cell-fill": "" },
|
|
13240
|
+
style: wideTo ? { width: wideTo, minWidth: wideTo, maxWidth: "28rem", right: "auto" } : void 0,
|
|
13237
13241
|
"data-matrx-cell-editor": "",
|
|
13238
13242
|
tabIndex: -1,
|
|
13239
13243
|
className: (0, import_design_system36.cn)(
|