@ai-matrx/design-system 0.20.19 → 0.20.21
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/dist/data-table/index.js
CHANGED
|
@@ -10332,7 +10332,7 @@ function MatrxDataTableCore({
|
|
|
10332
10332
|
"data-matrx-table-scroll": true,
|
|
10333
10333
|
onScroll: updateScrollHint,
|
|
10334
10334
|
"aria-busy": isLoading || isFetching,
|
|
10335
|
-
|
|
10335
|
+
style: { containerType: "inline-size" },
|
|
10336
10336
|
className: cn(
|
|
10337
10337
|
"relative h-full w-full overflow-auto rounded-md border border-border bg-card",
|
|
10338
10338
|
mobileCards && tableWithCardsClass,
|
|
@@ -10538,8 +10538,8 @@ function MatrxDataTableCore({
|
|
|
10538
10538
|
"td",
|
|
10539
10539
|
{
|
|
10540
10540
|
colSpan: visibleColumns.length + leadingCols + (showActionsCol ? 1 : 0),
|
|
10541
|
-
className: "px-
|
|
10542
|
-
children: /* @__PURE__ */ jsxs30("div", { className: "
|
|
10541
|
+
className: "px-0 py-12 text-center",
|
|
10542
|
+
children: /* @__PURE__ */ jsxs30("div", { "data-matrx-table-empty-state": true, className: "sticky left-0 flex flex-col items-center gap-2 whitespace-normal px-4", style: { width: "100cqw", maxWidth: "100%" }, children: [
|
|
10543
10543
|
renderedEmptyState?.icon,
|
|
10544
10544
|
/* @__PURE__ */ jsx40("p", { className: "text-sm font-medium text-foreground", children: renderedEmptyState?.title ?? "No rows" }),
|
|
10545
10545
|
renderedEmptyState?.description ? /* @__PURE__ */ jsx40("p", { className: "text-xs text-muted-foreground", children: renderedEmptyState.description }) : null,
|