@ai-matrx/design-system 0.86.358 → 0.86.359

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.
@@ -1344,7 +1344,7 @@ interface TableFilterBarProps<T> extends TableFilterMenuProps<T> {
1344
1344
  /**
1345
1345
  * The table's own filter bar (Finder's search bar, Mail's filter tokens), drawn above its header
1346
1346
  * at one fixed height whether or not a filter is on, so the rows never move when one changes: the
1347
- * active filters' tokens (or the row count) lead; the search field and the filter button trail.
1347
+ * active filters' tokens (or the row count in words) lead; a bare row count is never drawn (the page's own heading already says it); the search field and the filter button trail.
1348
1348
  */
1349
1349
  declare function TableFilterBar<T>({ columns, rows, state, onChange, shown, label, noun }: TableFilterBarProps<T>): React.JSX.Element;
1350
1350
  declare function ClearFiltersButton({ onClear, className }: {
package/dist/desktop.d.ts CHANGED
@@ -1344,7 +1344,7 @@ interface TableFilterBarProps<T> extends TableFilterMenuProps<T> {
1344
1344
  /**
1345
1345
  * The table's own filter bar (Finder's search bar, Mail's filter tokens), drawn above its header
1346
1346
  * at one fixed height whether or not a filter is on, so the rows never move when one changes: the
1347
- * active filters' tokens (or the row count) lead; the search field and the filter button trail.
1347
+ * active filters' tokens (or the row count in words) lead; a bare row count is never drawn (the page's own heading already says it); the search field and the filter button trail.
1348
1348
  */
1349
1349
  declare function TableFilterBar<T>({ columns, rows, state, onChange, shown, label, noun }: TableFilterBarProps<T>): React.JSX.Element;
1350
1350
  declare function ClearFiltersButton({ onClear, className }: {
package/dist/desktop.js CHANGED
@@ -3365,7 +3365,7 @@ function TableFilterBar({ columns, rows, state, onChange, shown, label, noun })
3365
3365
  return /* @__PURE__ */ jsxs23("div", { "data-slot": "data-table-filter-bar", className: "flex h-table-filter-bar shrink-0 items-center gap-2 border-b border-separator px-3", children: [
3366
3366
  /* @__PURE__ */ jsxs23("div", { className: "flex min-w-0 flex-1 items-center gap-1.5 overflow-hidden", children: [
3367
3367
  /* @__PURE__ */ jsx29(TableFilterTokens, { columns, state, onChange }),
3368
- /* @__PURE__ */ jsx29(Text, { tone: "secondary", className: "shrink-0 tabular-nums", "data-table-filter-count": shown, children: `${active ? `${shown} of ${rows.length}` : `${rows.length}`}${noun ? ` ${rows.length === 1 ? noun[0] : noun[1]}` : ""}` })
3368
+ active || noun ? /* @__PURE__ */ jsx29(Text, { tone: "secondary", className: "shrink-0 tabular-nums", "data-table-filter-count": shown, children: `${active ? `${shown} of ${rows.length}` : `${rows.length}`}${noun ? ` ${rows.length === 1 ? noun[0] : noun[1]}` : ""}` }) : null
3369
3369
  ] }),
3370
3370
  searchable ? /* @__PURE__ */ jsx29(
3371
3371
  SearchField,