@ai-matrx/design-system 0.53.4 → 0.54.1
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 +14 -0
- package/dist/data-table/index.cjs +3 -2
- package/dist/data-table/index.cjs.map +1 -1
- package/dist/data-table/index.js +3 -2
- package/dist/data-table/index.js.map +1 -1
- package/dist/index.cjs +17 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js +48 -32
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/data-table/index.js
CHANGED
|
@@ -34807,6 +34807,7 @@ function ConfirmDialog({
|
|
|
34807
34807
|
variant = "default",
|
|
34808
34808
|
busy = false,
|
|
34809
34809
|
confirmDisabled = false,
|
|
34810
|
+
confirmHeld = false,
|
|
34810
34811
|
portalContainer,
|
|
34811
34812
|
onConfirm
|
|
34812
34813
|
}) {
|
|
@@ -34823,7 +34824,7 @@ function ConfirmDialog({
|
|
|
34823
34824
|
content ?? null,
|
|
34824
34825
|
/* @__PURE__ */ jsxs6(AlertDialogFooter, { children: [
|
|
34825
34826
|
cancelLabel === null ? null : /* @__PURE__ */ jsx10(AlertDialogCancel, { className: "max-lg:min-h-11", disabled: busy, children: cancelLabel }),
|
|
34826
|
-
/* @__PURE__ */ jsxs6(
|
|
34827
|
+
confirmHeld ? null : /* @__PURE__ */ jsxs6(
|
|
34827
34828
|
AlertDialogAction,
|
|
34828
34829
|
{
|
|
34829
34830
|
disabled: busy || confirmDisabled,
|
|
@@ -56480,7 +56481,7 @@ function MatrxDataTableCore(coreProps) {
|
|
|
56480
56481
|
}
|
|
56481
56482
|
) : null,
|
|
56482
56483
|
/* @__PURE__ */ jsxs47("div", { className: "flex min-w-0 flex-1 flex-wrap items-center gap-x-2", children: [
|
|
56483
|
-
/* @__PURE__ */ jsx58("p", { className: "min-w-0 break-words font-medium text-foreground", children: isLoading ? "Loading rows\u2026" : readView.failure ? "Nothing loaded \u2014 the read failed" : appendQuery.pagination.sourceRecords ? `${formatCount12(processed.length)} ${appendQuery.pagination.sourceRecords.rowLabel}${appendQuery.pagination.sourceRecords.matchedRecords === void 0 ? "" : ` (${formatCount12(appendQuery.pagination.sourceRecords.matchedRecords)} matching ${appendQuery.pagination.sourceRecords.label})`} \xB7 ${formatCount12(appendQuery.pagination.sourceRecords.loaded)}${appendQuery.pagination.sourceRecords.total === void 0 ? "" : ` / ${formatCount12(appendQuery.pagination.sourceRecords.total)}`} ${appendQuery.pagination.sourceRecords.label} loaded` : `${formatCount12(data.length)} loaded${appendQuery.pagination.totalItems === void 0 ? "" : ` of ${formatCount12(appendQuery.pagination.totalItems)}`}` }),
|
|
56484
|
+
/* @__PURE__ */ jsx58("p", { className: "min-w-0 break-words font-medium text-foreground", children: isLoading ? "Loading rows\u2026" : readView.failure ? "Nothing loaded \u2014 the read failed" : appendQuery.pagination.sourceRecords ? `${formatCount12(processed.length)} ${appendQuery.pagination.sourceRecords.rowLabel}${appendQuery.pagination.sourceRecords.matchedRecords === void 0 ? "" : ` (${formatCount12(appendQuery.pagination.sourceRecords.matchedRecords)} matching ${appendQuery.pagination.sourceRecords.label})`} \xB7 ${formatCount12(appendQuery.pagination.sourceRecords.loaded)}${appendQuery.pagination.sourceRecords.total === void 0 ? "" : ` / ${formatCount12(appendQuery.pagination.sourceRecords.total)}`} ${appendQuery.pagination.sourceRecords.label} loaded` : `${processed.length === data.length ? "" : `${formatCount12(processed.length)} matching loaded ${processed.length === 1 ? "row" : "rows"} \xB7 `}${formatCount12(data.length)} loaded${appendQuery.pagination.totalItems === void 0 ? "" : ` of ${formatCount12(appendQuery.pagination.totalItems)}`}` }),
|
|
56484
56485
|
appendQuery.pagination.sourceUntil || appendUsesLocalProcessing ? /* @__PURE__ */ jsxs47(Tooltip, { children: [
|
|
56485
56486
|
/* @__PURE__ */ jsx58(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx58("button", { type: "button", "aria-label": "Source coverage", className: "shrink-0 text-xs text-muted-foreground underline decoration-dotted underline-offset-4", children: "Source info" }) }),
|
|
56486
56487
|
/* @__PURE__ */ jsxs47(TooltipContent, { children: [
|