@ai-matrx/design-system 0.44.2 → 0.44.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,23 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.44.4 (2026-09-26 — secure SheetJS release)
4
+
5
+ * **Security:** replaced the stale npm-registry SheetJS 0.18.5 dependency with the official
6
+ SheetJS 0.20.3 release. This removes the prototype-pollution and ReDoS advisories from XLSX
7
+ export and content-transfer workbook generation.
8
+
9
+ **Consumer action:** none.
10
+
11
+ ## 0.44.3 (2026-09-26 — nothing inside a context-menu region is restyled)
12
+
13
+ * **Fix:** 0.44.2 stopped sizing the context REGION, but the trigger's icon rules were descendant
14
+ selectors (`[data-alchemy-trigger] .matrx-tap-icon`, and its `:hover`), so every tap-button icon a
15
+ context menu wraps (message actions, composer buttons) was resized and recoloured, and hovering
16
+ the region recoloured them all. Both rules now exclude `="context"`.
17
+ * Test: `styles.test.ts` "never restyles the content INSIDE a context-menu region" (RED → GREEN).
18
+
19
+ **Consumer action:** none.
20
+
3
21
  ## 0.44.2 (2026-09-26 — a context-menu region is never sized like an icon)
4
22
 
5
23
  * **Fix:** `content-transfer.css` sized every `[data-alchemy-trigger]` to 2rem (2.75rem on coarse
@@ -2888,4 +2906,3 @@ New dependencies: `@radix-ui/react-dialog`, `@radix-ui/react-popover`,
2888
2906
 
2889
2907
  - Added Button, Badge, Label, Separator, and `cn` as the first shared semantic UI foundation.
2890
2908
  - Added strict TypeScript, SSR-focused tests, package linting, declaration analysis, and isolated tarball import verification.
2891
-
@@ -2,18 +2,19 @@
2
2
  @import "./tap-target.css";
3
3
  /* Match Matrx sidebar icon geometry and its theme-aware color vocabulary.
4
4
  `data-alchemy-trigger="context"` marks a whole context-menu REGION (a chat
5
- message, a row), never an icon button, so it is never sized here. */
5
+ message, a row), never an icon button, so neither it nor anything inside it
6
+ is sized or recoloured here. */
6
7
  [data-alchemy-trigger]:not([data-alchemy-trigger="context"]) {
7
8
  width: 2rem;
8
9
  height: 2rem;
9
10
  }
10
- [data-alchemy-trigger] .matrx-tap-icon {
11
+ [data-alchemy-trigger]:not([data-alchemy-trigger="context"]) .matrx-tap-icon {
11
12
  width: 1.125rem;
12
13
  height: 1.125rem;
13
14
  color: var(--shell-nav-icon, hsl(var(--foreground)));
14
15
  stroke-width: 1.75;
15
16
  }
16
- [data-alchemy-trigger]:hover .matrx-tap-icon {
17
+ [data-alchemy-trigger]:not([data-alchemy-trigger="context"]):hover .matrx-tap-icon {
17
18
  color: var(--shell-nav-icon-hover, hsl(var(--foreground)));
18
19
  }
19
20
  [data-alchemy-trigger="glass"] .matrx-tap-pill {
@@ -1,5 +1,5 @@
1
1
  import { AgentPayloadInput } from './copy-types.cjs';
2
- import { g as MatrxDataTableCopyConfig, M as MatrxColumnDef } from '../types-cvgKRetM.cjs';
2
+ import { g as MatrxDataTableCopyConfig, M as MatrxColumnDef } from '../types-JTUQsDV0.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 '../types-Bzzzed5d.js';
2
+ import { g as MatrxDataTableCopyConfig, M as MatrxColumnDef } from '../types-BNDN9all.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 '../types-cvgKRetM.cjs';
1
+ import { M as MatrxColumnDef, C as ColumnFiltersState, S as SortState, L as LayeredFilterRule, T as TableSearchMatchMode, a as ColumnFilterValue } from '../types-JTUQsDV0.cjs';
2
2
  import '../content-transfer.cjs';
3
3
  import 'react';
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 '../types-Bzzzed5d.js';
1
+ import { M as MatrxColumnDef, C as ColumnFiltersState, S as SortState, L as LayeredFilterRule, T as TableSearchMatchMode, a as ColumnFilterValue } from '../types-BNDN9all.js';
2
2
  import '../content-transfer.js';
3
3
  import 'react';
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 { b as TableSavedViewsProps, c as MatrxDataTableDensity, d as MatrxDataTableRecordControls } from '../types-cvgKRetM.cjs';
5
+ import { b as TableSavedViewsProps, c as MatrxDataTableDensity, d as MatrxDataTableRecordControls } from '../types-JTUQsDV0.cjs';
6
6
  import { MatrxTableMenuTarget, MatrxTableMenuPayload, MatrxTableMenuSectionsResolver, MatrxTableMenuIconName } from './menu-targets.cjs';
7
7
  export { MatrxTableMenuItem, 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 { b as TableSavedViewsProps, c as MatrxDataTableDensity, d as MatrxDataTableRecordControls } from '../types-Bzzzed5d.js';
5
+ import { b as TableSavedViewsProps, c as MatrxDataTableDensity, d as MatrxDataTableRecordControls } from '../types-BNDN9all.js';
6
6
  import { MatrxTableMenuTarget, MatrxTableMenuPayload, MatrxTableMenuSectionsResolver, MatrxTableMenuIconName } from './menu-targets.js';
7
7
  export { MatrxTableMenuItem, MatrxTableMenuSection } from './menu-targets.js';
8
8
  import '../content-transfer.js';
@@ -15495,7 +15495,7 @@ function MatrxDataTableCore({
15495
15495
  ...frozenStyle(id)
15496
15496
  },
15497
15497
  children: [
15498
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ColumnHeaderDropZone, { id, enabled: reorderableColumns, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
15498
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ColumnHeaderDropZone, { id, enabled: reorderableColumns && col.reorderable !== false, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
15499
15499
  ColumnHeaderCell,
15500
15500
  {
15501
15501
  label: col.header,
@@ -15537,7 +15537,7 @@ function MatrxDataTableCore({
15537
15537
  align: col.align,
15538
15538
  compact,
15539
15539
  marker,
15540
- reorderColumn: reorderableColumns ? { id, label: headerLabel } : void 0,
15540
+ reorderColumn: reorderableColumns && col.reorderable !== false ? { id, label: headerLabel } : void 0,
15541
15541
  menuItems: col.headerMenu,
15542
15542
  MenuIcon: host.MenuIcon
15543
15543
  }