@ai-matrx/records-ui 0.116.105 → 0.116.107

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,10 +1,15 @@
1
1
  # Changelog
2
2
 
3
- ## 0.116.105
3
+ ## 0.116.107
4
4
 
5
5
  UNVERIFIED: this release has no Unreleased entry and the source comparison could not be made (the caller supplied no source comparison). Whether source changed is unknown; consumer action is unknown.
6
6
  Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/records-ui/src`.
7
7
 
8
+ ## 0.116.105
9
+
10
+ Automatic changed-only republish (docs/metadata drift since the last published version; verified: `git diff 82d533cb27 5b7c48a99c -- apps/shared/records-ui/src`
11
+ has no shipped-source changes outside tests, fixtures and docs). No consumer action required.
12
+
8
13
  ## 0.116.104
9
14
 
10
15
  SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
package/dist/index.cjs CHANGED
@@ -40978,6 +40978,8 @@ function EntityTableCardBody({
40978
40978
  initialRows,
40979
40979
  headingLevel,
40980
40980
  editable,
40981
+ facts,
40982
+ headerActions,
40981
40983
  className
40982
40984
  }) {
40983
40985
  const batch = initialRows ?? import_data_table16.TABLE_CARD_DEFAULT_INITIAL_ROWS;
@@ -40994,7 +40996,13 @@ function EntityTableCardBody({
40994
40996
  ...railClassName ? { railClassName } : {},
40995
40997
  ...open ? { open } : {},
40996
40998
  ...edit ? { edit } : {},
40997
- ...entity.newer > 0 ? { headerActions: /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(import_design_system119.Button, { size: "sm", variant: "ghost", onClick: entity.refresh, children: `${entity.newer.toLocaleString()} new` }) } : {},
40999
+ ...facts ? { facts } : {},
41000
+ ...entity.newer > 0 || headerActions ? {
41001
+ headerActions: /* @__PURE__ */ (0, import_jsx_runtime140.jsxs)(import_jsx_runtime140.Fragment, { children: [
41002
+ entity.newer > 0 ? /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(import_design_system119.Button, { size: "sm", variant: "ghost", onClick: entity.refresh, children: `${entity.newer.toLocaleString()} new` }) : null,
41003
+ headerActions
41004
+ ] })
41005
+ } : {},
40998
41006
  ...initialRows ? { initialRows } : {},
40999
41007
  ...className ? { className } : {},
41000
41008
  children: entity.error ? /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(import_data_table16.MatrxTableCardEmpty, { message: `This table could not be read: ${entity.error}` }) : /* @__PURE__ */ (0, import_jsx_runtime140.jsxs)(import_jsx_runtime140.Fragment, { children: [
@@ -41024,6 +41032,8 @@ function ConnectedRecordsTableCard({
41024
41032
  onOpenRecord,
41025
41033
  openRowInCard,
41026
41034
  editable,
41035
+ facts,
41036
+ headerActions,
41027
41037
  className
41028
41038
  }) {
41029
41039
  const table = (0, import_react235.useTable)(source.id);
@@ -41045,6 +41055,8 @@ function ConnectedRecordsTableCard({
41045
41055
  ...railClassName ? { railClassName } : {},
41046
41056
  ...open ? { open } : {},
41047
41057
  ...edit ? { edit } : {},
41058
+ ...facts ? { facts } : {},
41059
+ ...headerActions ? { headerActions } : {},
41048
41060
  ...initialRows ? { initialRows } : {},
41049
41061
  ...className ? { className } : {},
41050
41062
  children: table.error ? /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(import_data_table16.MatrxTableCardEmpty, { message: `This table could not be read: ${refusalSentence(table.error)}` }) : inCard ? /* @__PURE__ */ (0, import_jsx_runtime140.jsxs)("div", { className: "flex flex-col gap-2", "data-records-card-detail": "", children: [