@ai-matrx/design-system 0.53.3 → 0.53.4

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,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.53.4
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/design-system/v0.53.3..npm/design-system/v0.53.4 -- apps/shared/design-system`).
7
+ No source changes intended and no consumer action required.
8
+
3
9
  ## 0.53.3
4
10
 
5
11
  - Placement guard, rule 1 (glass only floats): a fixed or sticky ancestor counts only when it is reached BEFORE any scroll container. The app shell's root is `position: fixed`, so every page button "floated" and glass on a page, card or table was never flagged. A sticky bar inside a scroller still floats. Guard: `tap-placement.test.tsx` ("content inside a scroller does not float").
@@ -3809,3 +3815,4 @@ New dependencies: `@radix-ui/react-dialog`, `@radix-ui/react-popover`,
3809
3815
  - Added Button, Badge, Label, Separator, and `cn` as the first shared semantic UI foundation.
3810
3816
  - Added strict TypeScript, SSR-focused tests, package linting, declaration analysis, and isolated tarball import verification.
3811
3817
 
3818
+
@@ -56643,32 +56643,14 @@ function MatrxDataTableCore(coreProps) {
56643
56643
  ]
56644
56644
  }
56645
56645
  ) : null,
56646
- appendQuery.pagination.loadAll?.isLoading ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
56647
- Button,
56648
- {
56649
- type: "button",
56650
- variant: "outline",
56651
- className: "h-8 shrink-0 px-3 text-sm",
56652
- onClick: appendQuery.pagination.loadAll.stop,
56653
- children: "Stop loading"
56654
- }
56655
- ) : scrollPagination.error ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
56656
- Button,
56657
- {
56658
- type: "button",
56659
- variant: "outline",
56660
- className: "h-8 shrink-0 px-3 text-sm",
56661
- onClick: appendQuery.pagination.retrySource ?? (appendQuery.pagination.hasNextPage ? appendQuery.pagination.loadNextPage : appendQuery.pagination.refresh),
56662
- children: appendQuery.pagination.retrySource ? "Retry source" : appendQuery.pagination.hasNextPage ? "Retry" : "Reload rows"
56663
- }
56664
- ) : appendQuery.pagination.hasNextPage || scrollPagination.error ? /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex min-w-0 max-w-full flex-wrap gap-0", children: [
56646
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex min-w-0 max-w-full flex-wrap gap-0", children: [
56665
56647
  /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
56666
56648
  Button,
56667
56649
  {
56668
56650
  type: "button",
56669
56651
  variant: "outline",
56670
56652
  className: "h-8 px-3 text-sm",
56671
- disabled: isLoading || isFetching,
56653
+ disabled: isLoading || isFetching || Boolean(appendQuery.pagination.loadAll?.isLoading) || Boolean(scrollPagination.error) || !appendQuery.pagination.hasNextPage,
56672
56654
  onClick: () => void scrollPagination.requestNextPage(),
56673
56655
  children: "Load more"
56674
56656
  }
@@ -56679,12 +56661,31 @@ function MatrxDataTableCore(coreProps) {
56679
56661
  type: "button",
56680
56662
  variant: "ghost",
56681
56663
  className: "h-8 px-3 text-sm",
56682
- disabled: isLoading || isFetching,
56664
+ disabled: isLoading || isFetching || Boolean(appendQuery.pagination.loadAll?.isLoading) || Boolean(scrollPagination.error) || !appendQuery.pagination.hasNextPage,
56683
56665
  onClick: appendQuery.pagination.loadAll.request,
56684
56666
  children: "Load all"
56685
56667
  }
56686
56668
  ) : null
56687
- ] }) : !isLoading && appendQuery.pagination.totalItems !== void 0 && data.length === appendQuery.pagination.totalItems ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: "min-w-0 max-w-full break-words whitespace-normal px-3 text-xs text-muted-foreground sm:text-sm", children: "All rows loaded" }) : null
56669
+ ] }),
56670
+ appendQuery.pagination.loadAll?.isLoading ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
56671
+ Button,
56672
+ {
56673
+ type: "button",
56674
+ variant: "outline",
56675
+ className: "h-8 shrink-0 px-3 text-sm",
56676
+ onClick: appendQuery.pagination.loadAll.stop,
56677
+ children: "Stop loading"
56678
+ }
56679
+ ) : scrollPagination.error ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
56680
+ Button,
56681
+ {
56682
+ type: "button",
56683
+ variant: "outline",
56684
+ className: "h-8 shrink-0 px-3 text-sm",
56685
+ onClick: appendQuery.pagination.retrySource ?? (appendQuery.pagination.hasNextPage ? appendQuery.pagination.loadNextPage : appendQuery.pagination.refresh),
56686
+ children: appendQuery.pagination.retrySource ? "Retry source" : appendQuery.pagination.hasNextPage ? "Retry" : "Reload rows"
56687
+ }
56688
+ ) : !isLoading && appendQuery.pagination.totalItems !== void 0 && data.length === appendQuery.pagination.totalItems ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: "min-w-0 max-w-full break-words whitespace-normal px-3 text-xs text-muted-foreground sm:text-sm", children: "All rows loaded" }) : null
56688
56689
  ]
56689
56690
  }
56690
56691
  ) : embedded && !hidePagination && !drillGrouped && (localProgressiveEnabled || pageCount <= 1 || remoteQuery?.mode === "controlled") ? (