@ai-matrx/records-ui 0.116.60 → 0.116.61
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 +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -2608,7 +2608,7 @@ import {
|
|
|
2608
2608
|
} from "@ai-matrx/records/react";
|
|
2609
2609
|
import { autonumberSearchOf, filterWithAutonumber } from "@ai-matrx/records";
|
|
2610
2610
|
import { asPermissionLevel, relationNameIndexOf, relationNamesIn } from "@ai-matrx/records";
|
|
2611
|
-
import { MatrxDataTable, MatrxTableCardShowMore, tableStyleIsEmpty, useMatrxTableCard } from "@ai-matrx/design-system/data-table";
|
|
2611
|
+
import { MatrxDataTable, MatrxTableCardShowMore, tableStyleIsEmpty, useMatrxDataTableHost, useMatrxTableCard } from "@ai-matrx/design-system/data-table";
|
|
2612
2612
|
import { announceRecordChanged as announceRecordChanged3, predictWriteRefusals as predictWriteRefusals2 } from "@ai-matrx/records/core";
|
|
2613
2613
|
|
|
2614
2614
|
// src/tableDecorations.ts
|
|
@@ -12497,6 +12497,7 @@ function GridBody({
|
|
|
12497
12497
|
);
|
|
12498
12498
|
const merged = host.grid === "merged";
|
|
12499
12499
|
const phone = useIsMobile();
|
|
12500
|
+
const macLook = useMatrxDataTableHost().defaultLook === "mac";
|
|
12500
12501
|
const toolbarFold2 = useTableToolbarFold();
|
|
12501
12502
|
const sheetExtras = useTableToolbarSheetExtras();
|
|
12502
12503
|
const rights = useTableRights(table.data);
|
|
@@ -14529,7 +14530,7 @@ function GridBody({
|
|
|
14529
14530
|
tableClassName: cn14(
|
|
14530
14531
|
!look.wrap && lines === 1 && "[&_tbody_td]:max-w-[28rem] [&_tbody_td]:overflow-hidden [&_tbody_td]:text-ellipsis [&_tbody_td]:whitespace-nowrap! [&_tbody_td_*:not(textarea)]:whitespace-nowrap!",
|
|
14531
14532
|
// (A textarea is only ever an OPEN long-text editor, whose words must wrap — records walk D10.)
|
|
14532
|
-
embedded && EMBEDDED_TABLE_CLASS,
|
|
14533
|
+
embedded && !macLook && EMBEDDED_TABLE_CLASS,
|
|
14533
14534
|
embedded && !calculationChosen && EMBEDDED_PLAIN_FOOTER_CLASS
|
|
14534
14535
|
),
|
|
14535
14536
|
footerRows,
|