@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
package/dist/data-table/index.js
CHANGED
|
@@ -3416,7 +3416,7 @@ function MatrxCopyMenuSession(props) {
|
|
|
3416
3416
|
if (!column.id || !column.label || ids.has(column.id)) throw new Error("Sheet columns require unique nonempty ids and labels.");
|
|
3417
3417
|
ids.add(column.id);
|
|
3418
3418
|
}
|
|
3419
|
-
for (const row of rows) for (const key of Object.keys(row)) if (!ids.has(key)) throw new Error(
|
|
3419
|
+
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.");
|
|
3420
3420
|
return {
|
|
3421
3421
|
kind: "rows",
|
|
3422
3422
|
rows,
|
|
@@ -7350,6 +7350,7 @@ function MatrxDataTableCore({
|
|
|
7350
7350
|
[visibleColumns]
|
|
7351
7351
|
);
|
|
7352
7352
|
const tableCopySourceNamespace = useId2();
|
|
7353
|
+
const tableDndContextId = useId2();
|
|
7353
7354
|
const defaultCopyTitle = toolbar?.title || "Table";
|
|
7354
7355
|
const defaultCopy = useMemo5(() => ({
|
|
7355
7356
|
label: defaultCopyTitle,
|
|
@@ -7883,6 +7884,7 @@ function MatrxDataTableCore({
|
|
|
7883
7884
|
return /* @__PURE__ */ jsx36(TooltipProvider, { children: /* @__PURE__ */ jsxs27(
|
|
7884
7885
|
DndContext,
|
|
7885
7886
|
{
|
|
7887
|
+
id: tableDndContextId,
|
|
7886
7888
|
sensors: hierarchySensors,
|
|
7887
7889
|
collisionDetection: pointerWithin,
|
|
7888
7890
|
measuring: { droppable: { strategy: MeasuringStrategy.Always } },
|