@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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.54.1
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/design-system/v0.54.0..npm/design-system/v0.54.1 -- apps/shared/design-system`).
7
+ No source changes intended and no consumer action required.
8
+
9
+ ## 0.54.0
10
+
11
+ - **`ConfirmDialogHost` holds Confirm while the question is not ready.** A `confirm({ ready })` (kit ≥ 0.22.0) opens at once and offers Confirm only when `ready` settles — resolved or rejected, so a failed read never traps the person. Cancel is always offered. `ConfirmDialog` gains `confirmHeld` (Confirm absent, never a disabled dead button). Guard: `src/confirm-host-ready.test.tsx` (2 red before).
12
+
13
+ ### Consumer action
14
+
15
+ - None. Needs `@ai-matrx/kit` ≥ 0.22.0 for the `ready` option's type.
16
+
3
17
  ## 0.53.4
4
18
 
5
19
  Automatic changed-only republish (docs/metadata drift since the last tag — see
@@ -35015,6 +35015,7 @@ function ConfirmDialog({
35015
35015
  variant = "default",
35016
35016
  busy = false,
35017
35017
  confirmDisabled = false,
35018
+ confirmHeld = false,
35018
35019
  portalContainer,
35019
35020
  onConfirm
35020
35021
  }) {
@@ -35031,7 +35032,7 @@ function ConfirmDialog({
35031
35032
  content ?? null,
35032
35033
  /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(AlertDialogFooter, { children: [
35033
35034
  cancelLabel === null ? null : /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(AlertDialogCancel, { className: "max-lg:min-h-11", disabled: busy, children: cancelLabel }),
35034
- /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
35035
+ confirmHeld ? null : /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
35035
35036
  AlertDialogAction,
35036
35037
  {
35037
35038
  disabled: busy || confirmDisabled,
@@ -56594,7 +56595,7 @@ function MatrxDataTableCore(coreProps) {
56594
56595
  }
56595
56596
  ) : null,
56596
56597
  /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex min-w-0 flex-1 flex-wrap items-center gap-x-2", children: [
56597
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("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 ? `${(0, import_format14.formatCount)(processed.length)} ${appendQuery.pagination.sourceRecords.rowLabel}${appendQuery.pagination.sourceRecords.matchedRecords === void 0 ? "" : ` (${(0, import_format14.formatCount)(appendQuery.pagination.sourceRecords.matchedRecords)} matching ${appendQuery.pagination.sourceRecords.label})`} \xB7 ${(0, import_format14.formatCount)(appendQuery.pagination.sourceRecords.loaded)}${appendQuery.pagination.sourceRecords.total === void 0 ? "" : ` / ${(0, import_format14.formatCount)(appendQuery.pagination.sourceRecords.total)}`} ${appendQuery.pagination.sourceRecords.label} loaded` : `${(0, import_format14.formatCount)(data.length)} loaded${appendQuery.pagination.totalItems === void 0 ? "" : ` of ${(0, import_format14.formatCount)(appendQuery.pagination.totalItems)}`}` }),
56598
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("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 ? `${(0, import_format14.formatCount)(processed.length)} ${appendQuery.pagination.sourceRecords.rowLabel}${appendQuery.pagination.sourceRecords.matchedRecords === void 0 ? "" : ` (${(0, import_format14.formatCount)(appendQuery.pagination.sourceRecords.matchedRecords)} matching ${appendQuery.pagination.sourceRecords.label})`} \xB7 ${(0, import_format14.formatCount)(appendQuery.pagination.sourceRecords.loaded)}${appendQuery.pagination.sourceRecords.total === void 0 ? "" : ` / ${(0, import_format14.formatCount)(appendQuery.pagination.sourceRecords.total)}`} ${appendQuery.pagination.sourceRecords.label} loaded` : `${processed.length === data.length ? "" : `${(0, import_format14.formatCount)(processed.length)} matching loaded ${processed.length === 1 ? "row" : "rows"} \xB7 `}${(0, import_format14.formatCount)(data.length)} loaded${appendQuery.pagination.totalItems === void 0 ? "" : ` of ${(0, import_format14.formatCount)(appendQuery.pagination.totalItems)}`}` }),
56598
56599
  appendQuery.pagination.sourceUntil || appendUsesLocalProcessing ? /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(Tooltip, { children: [
56599
56600
  /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("button", { type: "button", "aria-label": "Source coverage", className: "shrink-0 text-xs text-muted-foreground underline decoration-dotted underline-offset-4", children: "Source info" }) }),
56600
56601
  /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(TooltipContent, { children: [