@ai-matrx/design-system 0.60.8 → 0.60.9

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.
Files changed (35) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/data-table/copy-helpers.d.cts +1 -1
  3. package/dist/data-table/copy-helpers.d.ts +1 -1
  4. package/dist/data-table/filter-engine.d.cts +1 -1
  5. package/dist/data-table/filter-engine.d.ts +1 -1
  6. package/dist/data-table/host.d.cts +1 -1
  7. package/dist/data-table/host.d.ts +1 -1
  8. package/dist/data-table/index.cjs +357 -334
  9. package/dist/data-table/index.cjs.map +1 -1
  10. package/dist/data-table/index.d.cts +2 -2
  11. package/dist/data-table/index.d.ts +2 -2
  12. package/dist/data-table/index.js +357 -334
  13. package/dist/data-table/index.js.map +1 -1
  14. package/dist/data-table/infer-filter.d.cts +1 -1
  15. package/dist/data-table/infer-filter.d.ts +1 -1
  16. package/dist/data-table/layered-filters.d.cts +1 -1
  17. package/dist/data-table/layered-filters.d.ts +1 -1
  18. package/dist/data-table/query-control.d.cts +1 -1
  19. package/dist/data-table/query-control.d.ts +1 -1
  20. package/dist/data-table/types.cjs.map +1 -1
  21. package/dist/data-table/types.d.cts +1 -1
  22. package/dist/data-table/types.d.ts +1 -1
  23. package/dist/data-table/url-state.d.cts +1 -1
  24. package/dist/data-table/url-state.d.ts +1 -1
  25. package/dist/data-table/xlsx.d.cts +1 -1
  26. package/dist/data-table/xlsx.d.ts +1 -1
  27. package/dist/index.cjs +365 -233
  28. package/dist/index.cjs.map +1 -1
  29. package/dist/index.d.cts +19 -2
  30. package/dist/index.d.ts +19 -2
  31. package/dist/index.js +365 -233
  32. package/dist/index.js.map +1 -1
  33. package/dist/{layered-filters-BsnawJgC.d.ts → layered-filters-B0q8G3QR.d.ts} +21 -0
  34. package/dist/{layered-filters-C9MwGVTc.d.cts → layered-filters-CisXX8K5.d.cts} +21 -0
  35. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.60.9 — the pill clamp + pill guard; table placed in a page's rows without overrides
4
+
5
+ - `Badge` clamps itself: one line, `max-w-[16rem]`, text children truncate (icons do not), and a
6
+ text label becomes the `title` tooltip. A sentence-length value can no longer stretch a capsule
7
+ across the page or wrap it (owner, 2026-10-04: "Also made from" pills a quarter of the page wide).
8
+ - `enablePillGuard()` / `findPillViolation()` / `PILL_MAX_WIDTH_PX` (320) — the dev-only twin of
9
+ the tap-target guard: any rendered Badge, `data-matrx-pill`, or `rounded-full` a/button/span/div
10
+ carrying text that is wider than 320px or wraps to a second line gets a dashed red outline and
11
+ one `[pill-guard]` console error. Opt out a deliberately wide capsule with `data-matrx-pill="off"`.
12
+
13
+ - `toolbar.tabsPortalInto` — the saved-view tabs draw into the page row's leading slot (far
14
+ left), apart from the table's actions in `toolbar.portalInto`, without the strip's rule.
15
+ - `frameHeight: "content"` — the bordered frame ends at its last row (replaces a host
16
+ `tableClassName="h-auto max-h-full"`).
17
+ - `emptyHeader: "hide"` — a settled empty result draws no column header unless a column filter
18
+ is set (replaces a host `[&_thead]:hidden`).
19
+
20
+ Consumer action: call `enablePillGuard()` beside `enableTapTargetGuard()` in development only; a
21
+ Badge that relied on wrapping (`whitespace-normal` in its className) should become a list row. A host
22
+ that forced these through `className` / `tableClassName` or descendant
23
+ selectors (`[&_[data-matrx-table-*]]`, `[&_thead]`, `[&_td]`) switches to the options; compact rows
24
+ are `density="condensed"`, never `[&_td]:py-1`.
25
+
3
26
  ## 0.60.8
4
27
 
5
28
  Automatic changed-only republish (docs/metadata drift since the last tag — see
@@ -1,5 +1,5 @@
1
1
  import { AgentPayloadInput } from './copy-types.cjs';
2
- import { g as MatrxDataTableCopyConfig, M as MatrxColumnDef } from '../layered-filters-C9MwGVTc.cjs';
2
+ import { g as MatrxDataTableCopyConfig, M as MatrxColumnDef } from '../layered-filters-CisXX8K5.cjs';
3
3
  import '../content-transfer.cjs';
4
4
  import 'react';
5
5
  import '@ai-matrx/kit/content-transfer';
@@ -1,5 +1,5 @@
1
1
  import { AgentPayloadInput } from './copy-types.js';
2
- import { g as MatrxDataTableCopyConfig, M as MatrxColumnDef } from '../layered-filters-BsnawJgC.js';
2
+ import { g as MatrxDataTableCopyConfig, M as MatrxColumnDef } from '../layered-filters-B0q8G3QR.js';
3
3
  import '../content-transfer.js';
4
4
  import 'react';
5
5
  import '@ai-matrx/kit/content-transfer';
@@ -1,4 +1,4 @@
1
- import { M as MatrxColumnDef, C as ColumnFiltersState, S as SortState, L as LayeredFilterRule, T as TableSearchMatchMode, a as ColumnFilterValue } from '../layered-filters-C9MwGVTc.cjs';
1
+ import { M as MatrxColumnDef, C as ColumnFiltersState, S as SortState, L as LayeredFilterRule, T as TableSearchMatchMode, a as ColumnFilterValue } from '../layered-filters-CisXX8K5.cjs';
2
2
  import 'react';
3
3
  import '../content-transfer.cjs';
4
4
  import '@ai-matrx/kit/content-transfer';
@@ -1,4 +1,4 @@
1
- import { M as MatrxColumnDef, C as ColumnFiltersState, S as SortState, L as LayeredFilterRule, T as TableSearchMatchMode, a as ColumnFilterValue } from '../layered-filters-BsnawJgC.js';
1
+ import { M as MatrxColumnDef, C as ColumnFiltersState, S as SortState, L as LayeredFilterRule, T as TableSearchMatchMode, a as ColumnFilterValue } from '../layered-filters-B0q8G3QR.js';
2
2
  import 'react';
3
3
  import '../content-transfer.js';
4
4
  import '@ai-matrx/kit/content-transfer';
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import { ComponentType, ReactNode, MouseEventHandler } from 'react';
3
3
  import { CopyControlProps } from './copy-types.cjs';
4
4
  export { AgentPayloadInput, AiCustomSource, AiVariant, CopyExportConfig } from './copy-types.cjs';
5
- import { M as MatrxColumnDef, b as TableSavedViewsProps, c as MatrxDataTableDensity, d as MatrxDataTableRecordControls } from '../layered-filters-C9MwGVTc.cjs';
5
+ import { M as MatrxColumnDef, b as TableSavedViewsProps, c as MatrxDataTableDensity, d as MatrxDataTableRecordControls } from '../layered-filters-CisXX8K5.cjs';
6
6
  import { MatrxTableMenuItem, MatrxTableMenuTarget, MatrxTableMenuPayload, MatrxTableMenuSectionsResolver, MatrxTableMenuIconName } from './menu-targets.cjs';
7
7
  export { MatrxTableMenuSection } from './menu-targets.cjs';
8
8
  import '../content-transfer.cjs';
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import { ComponentType, ReactNode, MouseEventHandler } from 'react';
3
3
  import { CopyControlProps } from './copy-types.js';
4
4
  export { AgentPayloadInput, AiCustomSource, AiVariant, CopyExportConfig } from './copy-types.js';
5
- import { M as MatrxColumnDef, b as TableSavedViewsProps, c as MatrxDataTableDensity, d as MatrxDataTableRecordControls } from '../layered-filters-BsnawJgC.js';
5
+ import { M as MatrxColumnDef, b as TableSavedViewsProps, c as MatrxDataTableDensity, d as MatrxDataTableRecordControls } from '../layered-filters-B0q8G3QR.js';
6
6
  import { MatrxTableMenuItem, MatrxTableMenuTarget, MatrxTableMenuPayload, MatrxTableMenuSectionsResolver, MatrxTableMenuIconName } from './menu-targets.js';
7
7
  export { MatrxTableMenuSection } from './menu-targets.js';
8
8
  import '../content-transfer.js';