@ai-matrx/design-system 0.18.5 → 0.18.7
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 +23 -0
- package/dist/content-transfer.cjs +1 -1
- package/dist/content-transfer.cjs.map +1 -1
- package/dist/content-transfer.js +1 -1
- package/dist/content-transfer.js.map +1 -1
- package/dist/data-table/copy-types.cjs.map +1 -1
- package/dist/data-table/copy-types.d.cts +1 -0
- package/dist/data-table/copy-types.d.ts +1 -0
- package/dist/data-table/data-row-inspector.cjs +1 -1
- package/dist/data-table/data-row-inspector.cjs.map +1 -1
- package/dist/data-table/data-row-inspector.js +1 -1
- package/dist/data-table/data-row-inspector.js.map +1 -1
- package/dist/data-table/data-row-window.cjs +1 -1
- package/dist/data-table/data-row-window.cjs.map +1 -1
- package/dist/data-table/data-row-window.js +1 -1
- package/dist/data-table/data-row-window.js.map +1 -1
- package/dist/data-table/index.cjs +3 -1
- package/dist/data-table/index.cjs.map +1 -1
- package/dist/data-table/index.js +3 -1
- package/dist/data-table/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -3419,7 +3419,7 @@ function MatrxCopyMenuSession(props) {
|
|
|
3419
3419
|
if (!column.id || !column.label || ids.has(column.id)) throw new Error("Sheet columns require unique nonempty ids and labels.");
|
|
3420
3420
|
ids.add(column.id);
|
|
3421
3421
|
}
|
|
3422
|
-
for (const row of rows) for (const key of Object.keys(row)) if (!ids.has(key)) throw new Error(
|
|
3422
|
+
for (const row of rows) for (const key of Object.keys(row)) if (!ids.has(key)) throw new Error("Table data contains a field outside its declared columns.");
|
|
3423
3423
|
return {
|
|
3424
3424
|
kind: "rows",
|
|
3425
3425
|
rows,
|
|
@@ -7337,6 +7337,7 @@ function MatrxDataTableCore({
|
|
|
7337
7337
|
[visibleColumns]
|
|
7338
7338
|
);
|
|
7339
7339
|
const tableCopySourceNamespace = (0, import_react13.useId)();
|
|
7340
|
+
const tableDndContextId = (0, import_react13.useId)();
|
|
7340
7341
|
const defaultCopyTitle = toolbar?.title || "Table";
|
|
7341
7342
|
const defaultCopy = (0, import_react13.useMemo)(() => ({
|
|
7342
7343
|
label: defaultCopyTitle,
|
|
@@ -7870,6 +7871,7 @@ function MatrxDataTableCore({
|
|
|
7870
7871
|
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(TooltipProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
|
|
7871
7872
|
import_core3.DndContext,
|
|
7872
7873
|
{
|
|
7874
|
+
id: tableDndContextId,
|
|
7873
7875
|
sensors: hierarchySensors,
|
|
7874
7876
|
collisionDetection: import_core3.pointerWithin,
|
|
7875
7877
|
measuring: { droppable: { strategy: import_core3.MeasuringStrategy.Always } },
|